
int sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt,int i,sqlite3_uint64 n)

{
  uint uVar1;
  sqlite3 *db;
  uint in_a2;
  uint in_a3;
  
  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc));
  db = *(sqlite3 **)pStmt;
  uVar1 = db->aLimit[0] >> 0x1f;
  if ((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))) {
    uVar1 = 0x12;
    if (db->mallocFailed != '\0') {
LAB_00049d00:
      uVar1 = apiOomError(db);
      db = *(sqlite3 **)pStmt;
      goto LAB_00049d1c;
    }
  }
  else {
    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);
    db = *(sqlite3 **)pStmt;
    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;
  }
  uVar1 = uVar1 & db->errMask;
LAB_00049d1c:
  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);
  return uVar1;
}



uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)

{
  uint uVar1;
  int iVar2;
  
  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));
  iVar2 = *param_1;
  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;
  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {
    uVar1 = 0x12;
    if (*(char *)(iVar2 + 0x51) != '\0') {
LAB_00049d00:
      uVar1 = FUN_0003c218();
      iVar2 = *param_1;
      goto LAB_00049d1c;
    }
  }
  else {
    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);
    iVar2 = *param_1;
    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;
  }
  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);
LAB_00049d1c:
  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));
  return uVar1;
}


lui gp,0xb
addiu gp,gp,0x3658
addu gp,gp,t9
lw v0,0x0(a0)
addiu sp,sp,-0x30
lw t9,-0x7e58(gp)
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw s3,0x28(sp)
or s3,a1,zero
sw s2,0x24(sp)
or s2,a3,zero
sw s1,0x20(sp)
or s1,a2,zero
sw ra,0x2c(sp)
jalr t9
_lw a0,0xc(v0)
lw a0,0x0(s0)
lw v0,0x6c(a0)
sra v1,v0,0x1f
sltu a2,v1,s1
beq a2,zero,0x00049cc0
_lw gp,0x10(sp)
lbu v0,0x51(a0)
bne v0,zero,0x00049d00
_li v0,0x12
lw s1,0x44(a0)
b 0x00049d1c
_and s1,v0,s1
bne s1,v1,0x00049cd0
_sltu v0,v0,s2
bne v0,zero,0x00049ca8
_nop
lw t9,-0x7f68(gp)
or a0,s0,zero
or a2,s2,zero
jalr t9
_or a1,s3,zero
lw a0,0x0(s0)
lbu v1,0x51(a0)
bne v1,zero,0x00049d00
_lw gp,0x10(sp)
li v1,0xc0a
bne v0,v1,0x00049cb4
_nop
lw t9,-0x7fb8(gp)
addiu t9,t9,-0x3de8
bal 0x0003c218
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw a0,0x0(s0)
lw t9,-0x7e30(gp)
jalr t9
_lw a0,0xc(a0)
or v0,s1,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}\n\n" (function_definition "uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,uint param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(*param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;" (assignment_expression "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f" identifier = (binary_expression "(int)*(uint *)(iVar2 + 0x6c) >> 0x1f" (cast_expression "(int)*(uint *)(iVar2 + 0x6c)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(uint *)(iVar2 + 0x6c)" * (cast_expression "(uint *)(iVar2 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c)" ( (binary_expression "iVar2 + 0x6c" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" if (parenthesized_expression "((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))))" ( (binary_expression "(uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" (parenthesized_expression "(uVar1 < param_3)" ( (binary_expression "uVar1 < param_3" identifier < identifier) )) || (parenthesized_expression "((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" ( (parenthesized_expression "(param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))" ( (binary_expression "param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)" (binary_expression "param_3 == uVar1" identifier == identifier) && (parenthesized_expression "(*(uint *)(iVar2 + 0x6c) < param_4)" ( (binary_expression "*(uint *)(iVar2 + 0x6c) < param_4" (pointer_expression "*(uint *)(iVar2 + 0x6c)" * (cast_expression "(uint *)(iVar2 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c)" ( (binary_expression "iVar2 + 0x6c" identifier + number_literal) )))) < identifier) ))) )) ))) )) (compound_statement "{\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }" { (expression_statement "uVar1 = 0x12;" (assignment_expression "uVar1 = 0x12" identifier = number_literal) ;) (if_statement "if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" { (labeled_statement "LAB_00049d00:\n      uVar1 = FUN_0003c218();" statement_identifier : (expression_statement "uVar1 = FUN_0003c218();" (assignment_expression "uVar1 = FUN_0003c218()" identifier = (call_expression "FUN_0003c218()" identifier (argument_list "()" ( )))) ;)) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_00049d1c;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" identifier = (call_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_zeroblob_000f5338" * (cast_expression "(code *)PTR_sqlite3_bind_zeroblob_000f5338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_4)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;" if (parenthesized_expression "((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a))" ( (binary_expression "(*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(uVar1 == 0xc0a)" ( (binary_expression "uVar1 == 0xc0a" identifier == number_literal) ))) )) (goto_statement "goto LAB_00049d00;" goto statement_identifier ;)) }))) (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" identifier = (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" identifier & (pointer_expression "*(uint *)(iVar2 + 0x44)" * (cast_expression "(uint *)(iVar2 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))))) ;) (labeled_statement "LAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_leave_000f5470" * (cast_expression "(code *)PTR_sqlite3_mutex_leave_000f5470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) ))) ;)) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt,int i,sqlite3_uint64 n)\n\n{\n  uint uVar1;\n  sqlite3 *db;\n  uint in_a2;\n  uint in_a3;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc));\n  db = *(sqlite3 **)pStmt;\n  uVar1 = db->aLimit[0] >> 0x1f;\n  if ((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))) {\n    uVar1 = 0x12;\n    if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & db->errMask;\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);\n  return uVar1;\n}\n\n" (function_definition "int sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt,int i,sqlite3_uint64 n)\n\n{\n  uint uVar1;\n  sqlite3 *db;\n  uint in_a2;\n  uint in_a3;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc));\n  db = *(sqlite3 **)pStmt;\n  uVar1 = db->aLimit[0] >> 0x1f;\n  if ((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))) {\n    uVar1 = 0x12;\n    if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & db->errMask;\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);\n  return uVar1;\n}" primitive_type (function_declarator "sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt,int i,sqlite3_uint64 n)" identifier (parameter_list "(sqlite3_stmt *pStmt,int i,sqlite3_uint64 n)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int i" primitive_type identifier) , (parameter_declaration "sqlite3_uint64 n" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  sqlite3 *db;\n  uint in_a2;\n  uint in_a3;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc));\n  db = *(sqlite3 **)pStmt;\n  uVar1 = db->aLimit[0] >> 0x1f;\n  if ((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))) {\n    uVar1 = 0x12;\n    if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & db->errMask;\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "uint in_a2;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*(int *)pStmt + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(*(int *)pStmt + 0xc))" ( (pointer_expression "*(undefined4 *)(*(int *)pStmt + 0xc)" * (cast_expression "(undefined4 *)(*(int *)pStmt + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)pStmt + 0xc)" ( (binary_expression "*(int *)pStmt + 0xc" (pointer_expression "*(int *)pStmt" * (cast_expression "(int *)pStmt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) ))) ;) (expression_statement "db = *(sqlite3 **)pStmt;" (assignment_expression "db = *(sqlite3 **)pStmt" identifier = (pointer_expression "*(sqlite3 **)pStmt" * (cast_expression "(sqlite3 **)pStmt" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = db->aLimit[0] >> 0x1f;" (assignment_expression "uVar1 = db->aLimit[0] >> 0x1f" identifier = (binary_expression "db->aLimit[0] >> 0x1f" (subscript_expression "db->aLimit[0]" (field_expression "db->aLimit" identifier -> field_identifier) [ number_literal ]) >> number_literal)) ;) (if_statement "if ((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))) {\n    uVar1 = 0x12;\n    if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" if (parenthesized_expression "((uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3))))" ( (binary_expression "(uVar1 < in_a2) || ((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))" (parenthesized_expression "(uVar1 < in_a2)" ( (binary_expression "uVar1 < in_a2" identifier < identifier) )) || (parenthesized_expression "((in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)))" ( (parenthesized_expression "(in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3))" ( (binary_expression "in_a2 == uVar1 && ((uint)db->aLimit[0] < in_a3)" (binary_expression "in_a2 == uVar1" identifier == identifier) && (parenthesized_expression "((uint)db->aLimit[0] < in_a3)" ( (binary_expression "(uint)db->aLimit[0] < in_a3" (cast_expression "(uint)db->aLimit[0]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "db->aLimit[0]" (field_expression "db->aLimit" identifier -> field_identifier) [ number_literal ])) < identifier) ))) )) ))) )) (compound_statement "{\n    uVar1 = 0x12;\n    if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }\n  }" { (expression_statement "uVar1 = 0x12;" (assignment_expression "uVar1 = 0x12" identifier = number_literal) ;) (if_statement "if (db->mallocFailed != '\0') {\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }" if (parenthesized_expression "(db->mallocFailed != '\0')" ( (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00049d00:\n      uVar1 = apiOomError(db);\n      db = *(sqlite3 **)pStmt;\n      goto LAB_00049d1c;\n    }" { (labeled_statement "LAB_00049d00:\n      uVar1 = apiOomError(db);" statement_identifier : (expression_statement "uVar1 = apiOomError(db);" (assignment_expression "uVar1 = apiOomError(db)" identifier = (call_expression "apiOomError(db)" identifier (argument_list "(db)" ( identifier )))) ;)) (expression_statement "db = *(sqlite3 **)pStmt;" (assignment_expression "db = *(sqlite3 **)pStmt" identifier = (pointer_expression "*(sqlite3 **)pStmt" * (cast_expression "(sqlite3 **)pStmt" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (goto_statement "goto LAB_00049d1c;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);\n    db = *(sqlite3 **)pStmt;\n    if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3)" identifier = (call_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,in_a3)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_zeroblob_000f5338" * (cast_expression "(code *)PTR_sqlite3_bind_zeroblob_000f5338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pStmt,i,in_a3)" ( identifier , identifier , identifier )))) ;) (expression_statement "db = *(sqlite3 **)pStmt;" (assignment_expression "db = *(sqlite3 **)pStmt" identifier = (pointer_expression "*(sqlite3 **)pStmt" * (cast_expression "(sqlite3 **)pStmt" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((db->mallocFailed != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;" if (parenthesized_expression "((db->mallocFailed != '\0') || (uVar1 == 0xc0a))" ( (binary_expression "(db->mallocFailed != '\0') || (uVar1 == 0xc0a)" (parenthesized_expression "(db->mallocFailed != '\0')" ( (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(uVar1 == 0xc0a)" ( (binary_expression "uVar1 == 0xc0a" identifier == number_literal) ))) )) (goto_statement "goto LAB_00049d00;" goto statement_identifier ;)) }))) (expression_statement "uVar1 = uVar1 & db->errMask;" (assignment_expression "uVar1 = uVar1 & db->errMask" identifier = (binary_expression "uVar1 & db->errMask" identifier & (field_expression "db->errMask" identifier -> field_identifier))) ;) (labeled_statement "LAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);" (call_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex)" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_leave_000f5470" * (cast_expression "(code *)PTR_sqlite3_mutex_leave_000f5470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;)) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}\n\n" (function_definition "uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,uint param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(*param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;" (assignment_expression "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f" identifier = (binary_expression "(int)*(uint *)(iVar2 + 0x6c) >> 0x1f" (cast_expression "(int)*(uint *)(iVar2 + 0x6c)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(uint *)(iVar2 + 0x6c)" * (cast_expression "(uint *)(iVar2 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c)" ( (binary_expression "iVar2 + 0x6c" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" if (parenthesized_expression "((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))))" ( (binary_expression "(uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" (parenthesized_expression "(uVar1 < param_3)" ( (binary_expression "uVar1 < param_3" identifier < identifier) )) || (parenthesized_expression "((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" ( (parenthesized_expression "(param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))" ( (binary_expression "param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)" (binary_expression "param_3 == uVar1" identifier == identifier) && (parenthesized_expression "(*(uint *)(iVar2 + 0x6c) < param_4)" ( (binary_expression "*(uint *)(iVar2 + 0x6c) < param_4" (pointer_expression "*(uint *)(iVar2 + 0x6c)" * (cast_expression "(uint *)(iVar2 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c)" ( (binary_expression "iVar2 + 0x6c" identifier + number_literal) )))) < identifier) ))) )) ))) )) (compound_statement "{\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }" { (expression_statement "uVar1 = 0x12;" (assignment_expression "uVar1 = 0x12" identifier = number_literal) ;) (if_statement "if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" { (labeled_statement "LAB_00049d00:\n      uVar1 = FUN_0003c218();" statement_identifier : (expression_statement "uVar1 = FUN_0003c218();" (assignment_expression "uVar1 = FUN_0003c218()" identifier = (call_expression "FUN_0003c218()" identifier (argument_list "()" ( )))) ;)) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_00049d1c;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" identifier = (call_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_zeroblob_000f5338" * (cast_expression "(code *)PTR_sqlite3_bind_zeroblob_000f5338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_4)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;" if (parenthesized_expression "((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a))" ( (binary_expression "(*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(uVar1 == 0xc0a)" ( (binary_expression "uVar1 == 0xc0a" identifier == number_literal) ))) )) (goto_statement "goto LAB_00049d00;" goto statement_identifier ;)) }))) (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" identifier = (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" identifier & (pointer_expression "*(uint *)(iVar2 + 0x44)" * (cast_expression "(uint *)(iVar2 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))))) ;) (labeled_statement "LAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_leave_000f5470" * (cast_expression "(code *)PTR_sqlite3_mutex_leave_000f5470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) ))) ;)) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;)) (return_statement return IDENT ;) })))
(function_definition "uint sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "sqlite3_bind_zeroblob64(int *param_1,undefined4 param_2,uint param_3,uint param_4)" (identifier "sqlite3_bind_zeroblob64") (parameter_list "(int *param_1,undefined4 param_2,uint param_3,uint param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));\n  iVar2 = *param_1;\n  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;\n  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }\n  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\nLAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" (* "*") (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mutex_enter_000f5448"))) () ")")) (argument_list "(*(undefined4 *)(*param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;" (assignment_expression "uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f" (identifier "uVar1") (= "=") (binary_expression "(int)*(uint *)(iVar2 + 0x6c) >> 0x1f" (cast_expression "(int)*(uint *)(iVar2 + 0x6c)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(uint *)(iVar2 + 0x6c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x6c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x6c)" (( "(") (binary_expression "iVar2 + 0x6c" (identifier "iVar2") (+ "+") (number_literal "0x6c")) () ")"))))) (>> ">>") (number_literal "0x1f"))) (; ";")) (if_statement "if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }\n  else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" (if "if") (parenthesized_expression "((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))))" (( "(") (binary_expression "(uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" (parenthesized_expression "(uVar1 < param_3)" (( "(") (binary_expression "uVar1 < param_3" (identifier "uVar1") (< "<") (identifier "param_3")) () ")")) (|| "||") (parenthesized_expression "((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))" (( "(") (parenthesized_expression "(param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4))" (( "(") (binary_expression "param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)" (binary_expression "param_3 == uVar1" (identifier "param_3") (== "==") (identifier "uVar1")) (&& "&&") (parenthesized_expression "(*(uint *)(iVar2 + 0x6c) < param_4)" (( "(") (binary_expression "*(uint *)(iVar2 + 0x6c) < param_4" (pointer_expression "*(uint *)(iVar2 + 0x6c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x6c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x6c)" (( "(") (binary_expression "iVar2 + 0x6c" (identifier "iVar2") (+ "+") (number_literal "0x6c")) () ")")))) (< "<") (identifier "param_4")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = 0x12;\n    if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }\n  }" ({ "{") (expression_statement "uVar1 = 0x12;" (assignment_expression "uVar1 = 0x12" (identifier "uVar1") (= "=") (number_literal "0x12")) (; ";")) (if_statement "if (*(char *)(iVar2 + 0x51) != '\0') {\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" (* "*") (cast_expression "(char *)(iVar2 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x51)" (( "(") (binary_expression "iVar2 + 0x51" (identifier "iVar2") (+ "+") (number_literal "0x51")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00049d00:\n      uVar1 = FUN_0003c218();\n      iVar2 = *param_1;\n      goto LAB_00049d1c;\n    }" ({ "{") (labeled_statement "LAB_00049d00:\n      uVar1 = FUN_0003c218();" (statement_identifier "LAB_00049d00") (: ":") (expression_statement "uVar1 = FUN_0003c218();" (assignment_expression "uVar1 = FUN_0003c218()" (identifier "uVar1") (= "=") (call_expression "FUN_0003c218()" (identifier "FUN_0003c218") (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (goto_statement "goto LAB_00049d1c;" (goto "goto") (statement_identifier "LAB_00049d1c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" (else "else") (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);\n    iVar2 = *param_1;\n    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_zeroblob_000f5338)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_zeroblob_000f5338" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_zeroblob_000f5338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_zeroblob_000f5338"))) () ")")) (argument_list "(param_1,param_2,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;" (if "if") (parenthesized_expression "((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a))" (( "(") (binary_expression "(*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" (* "*") (cast_expression "(char *)(iVar2 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x51)" (( "(") (binary_expression "iVar2 + 0x51" (identifier "iVar2") (+ "+") (number_literal "0x51")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(uVar1 == 0xc0a)" (( "(") (binary_expression "uVar1 == 0xc0a" (identifier "uVar1") (== "==") (number_literal "0xc0a")) () ")"))) () ")")) (goto_statement "goto LAB_00049d00;" (goto "goto") (statement_identifier "LAB_00049d00") (; ";"))) (} "}")))) (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" (identifier "uVar1") (= "=") (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" (identifier "uVar1") (& "&") (pointer_expression "*(uint *)(iVar2 + 0x44)" (* "*") (cast_expression "(uint *)(iVar2 + 0x44)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))))) (; ";")) (labeled_statement "LAB_00049d1c:\n  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" (statement_identifier "LAB_00049d1c") (: ":") (expression_statement "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_leave_000f5470)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mutex_leave_000f5470" (* "*") (cast_expression "(code *)PTR_sqlite3_mutex_leave_000f5470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mutex_leave_000f5470"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(type_1 *pStmt,int i,type_2 n)

{
  type_3 var_1;
  type_4 *db;
  type_3 var_2;
  type_3 var_3;
  
  (*(type_5 *)PTR_sqlite3_mutex_enter_000f5448)(*(type_6 *)(*(int *)pStmt + 0xc));
  db = *(type_4 **)pStmt;
  var_1 = db->aLimit[0] >> 0x1f;
  if ((var_1 < var_2) || ((var_2 == var_1 && ((type_3)db->aLimit[0] < var_3)))) {
    var_1 = 0x12;
    if (db->mallocFailed != '\0') {
LAB_00049d00:
      var_1 = var_4(db);
      db = *(type_4 **)pStmt;
      goto LAB_00049d1c;
    }
  }
  else {
    var_1 = (*(type_5 *)PTR_sqlite3_bind_zeroblob_000f5338)(pStmt,i,var_3);
    db = *(type_4 **)pStmt;
    if ((db->mallocFailed != '\0') || (var_1 == 0xc0a)) goto LAB_00049d00;
  }
  var_1 = var_1 & db->errMask;
LAB_00049d1c:
  (*(type_5 *)PTR_sqlite3_mutex_leave_000f5470)(db->mutex);
  return var_1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier)))))

uint MASKED(int *param_1,undefined4 param_2,uint param_3,uint param_4)

{
  uint uVar1;
  int iVar2;
  
  (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(*param_1 + 0xc));
  iVar2 = *param_1;
  uVar1 = (int)*(uint *)(iVar2 + 0x6c) >> 0x1f;
  if ((uVar1 < param_3) || ((param_3 == uVar1 && (*(uint *)(iVar2 + 0x6c) < param_4)))) {
    uVar1 = 0x12;
    if (*(char *)(iVar2 + 0x51) != '\0') {
LAB_00049d00:
      uVar1 = FUN_0003c218();
      iVar2 = *param_1;
      goto LAB_00049d1c;
    }
  }
  else {
    uVar1 = (*(code *)PTR_sqlite3_bind_zeroblob_000f5338)(param_1,param_2,param_4);
    iVar2 = *param_1;
    if ((*(char *)(iVar2 + 0x51) != '\0') || (uVar1 == 0xc0a)) goto LAB_00049d00;
  }
  uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);
LAB_00049d1c:
  (*(code *)PTR_sqlite3_mutex_leave_000f5470)(*(undefined4 *)(iVar2 + 0xc));
  return uVar1;
}

