
void sqlite3_free(void *p)

{
  int iVar1;
  
  if (p == (void *)0x0) {
    return;
  }
  if (sqlite3Config.bMemstat == 0) {
                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*sqlite3Config.m.xFree)(p);
    return;
  }
  sqlite3_mutex_enter(mem0.mutex);
  iVar1 = (*sqlite3Config.m.xSize)(p);
  sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;
  sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1;
  (*sqlite3Config.m.xFree)(p);
  sqlite3_mutex_leave(mem0.mutex);
  return;
}



void FUN_00119e00(long param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
    return;
  }
  if (DAT_0021f240 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*DAT_0021f278)();
    return;
  }
  FUN_0010f4d0(DAT_00221c10);
  iVar1 = (*DAT_0021f288)(param_1);
  DAT_00221ca8 = DAT_00221ca8 + -1;
  DAT_00221c60 = DAT_00221c60 - iVar1;
  (*DAT_0021f278)(param_1);
  FUN_0010f4f0(DAT_00221c10);
  return;
}


TEST RDI,RDI
JZ 0x00119e60
MOV EAX,dword ptr [0x0021f240]
TEST EAX,EAX
JNZ 0x00119e18
JMP qword ptr [0x0021f278]
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [0x00221c10]
CALL 0x0010f4d0
MOV RDI,RBX
CALL qword ptr [0x0021f288]
SUB qword ptr [0x00221ca8],0x1
MOV RDI,RBX
CDQE
SUB qword ptr [0x00221c60],RAX
CALL qword ptr [0x0021f278]
MOV RDI,qword ptr [0x00221c10]
POP RBX
JMP 0x0010f4f0
RET
(translation_unit "void FUN_00119e00(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}\n\n" (function_definition "void FUN_00119e00(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" primitive_type (function_declarator "FUN_00119e00(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (DAT_0021f240 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*DAT_0021f278)();\n    return;\n  }" if (parenthesized_expression "(DAT_0021f240 == 0)" ( (binary_expression "DAT_0021f240 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*DAT_0021f278)();\n    return;\n  }" { comment comment (expression_statement "(*DAT_0021f278)();" (call_expression "(*DAT_0021f278)()" (parenthesized_expression "(*DAT_0021f278)" ( (pointer_expression "*DAT_0021f278" * identifier) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0010f4d0(DAT_00221c10);" (call_expression "FUN_0010f4d0(DAT_00221c10)" identifier (argument_list "(DAT_00221c10)" ( identifier ))) ;) (expression_statement "iVar1 = (*DAT_0021f288)(param_1);" (assignment_expression "iVar1 = (*DAT_0021f288)(param_1)" identifier = (call_expression "(*DAT_0021f288)(param_1)" (parenthesized_expression "(*DAT_0021f288)" ( (pointer_expression "*DAT_0021f288" * identifier) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "DAT_00221ca8 = DAT_00221ca8 + -1;" (assignment_expression "DAT_00221ca8 = DAT_00221ca8 + -1" identifier = (binary_expression "DAT_00221ca8 + -1" identifier + number_literal)) ;) (expression_statement "DAT_00221c60 = DAT_00221c60 - iVar1;" (assignment_expression "DAT_00221c60 = DAT_00221c60 - iVar1" identifier = (binary_expression "DAT_00221c60 - iVar1" identifier - identifier)) ;) (expression_statement "(*DAT_0021f278)(param_1);" (call_expression "(*DAT_0021f278)(param_1)" (parenthesized_expression "(*DAT_0021f278)" ( (pointer_expression "*DAT_0021f278" * identifier) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0010f4f0(DAT_00221c10);" (call_expression "FUN_0010f4f0(DAT_00221c10)" identifier (argument_list "(DAT_00221c10)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3_free(void *p)\n\n{\n  int iVar1;\n  \n  if (p == (void *)0x0) {\n    return;\n  }\n  if (sqlite3Config.bMemstat == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*sqlite3Config.m.xFree)(p);\n    return;\n  }\n  sqlite3_mutex_enter(mem0.mutex);\n  iVar1 = (*sqlite3Config.m.xSize)(p);\n  sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;\n  sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1;\n  (*sqlite3Config.m.xFree)(p);\n  sqlite3_mutex_leave(mem0.mutex);\n  return;\n}\n\n" (function_definition "void sqlite3_free(void *p)\n\n{\n  int iVar1;\n  \n  if (p == (void *)0x0) {\n    return;\n  }\n  if (sqlite3Config.bMemstat == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*sqlite3Config.m.xFree)(p);\n    return;\n  }\n  sqlite3_mutex_enter(mem0.mutex);\n  iVar1 = (*sqlite3Config.m.xSize)(p);\n  sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;\n  sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1;\n  (*sqlite3Config.m.xFree)(p);\n  sqlite3_mutex_leave(mem0.mutex);\n  return;\n}" primitive_type (function_declarator "sqlite3_free(void *p)" identifier (parameter_list "(void *p)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (p == (void *)0x0) {\n    return;\n  }\n  if (sqlite3Config.bMemstat == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*sqlite3Config.m.xFree)(p);\n    return;\n  }\n  sqlite3_mutex_enter(mem0.mutex);\n  iVar1 = (*sqlite3Config.m.xSize)(p);\n  sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;\n  sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1;\n  (*sqlite3Config.m.xFree)(p);\n  sqlite3_mutex_leave(mem0.mutex);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (p == (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p == (void *)0x0)" ( (binary_expression "p == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (sqlite3Config.bMemstat == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*sqlite3Config.m.xFree)(p);\n    return;\n  }" if (parenthesized_expression "(sqlite3Config.bMemstat == 0)" ( (binary_expression "sqlite3Config.bMemstat == 0" (field_expression "sqlite3Config.bMemstat" identifier . field_identifier) == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*sqlite3Config.m.xFree)(p);\n    return;\n  }" { comment comment (expression_statement "(*sqlite3Config.m.xFree)(p);" (call_expression "(*sqlite3Config.m.xFree)(p)" (parenthesized_expression "(*sqlite3Config.m.xFree)" ( (pointer_expression "*sqlite3Config.m.xFree" * (field_expression "sqlite3Config.m.xFree" (field_expression "sqlite3Config.m" identifier . field_identifier) . field_identifier)) )) (argument_list "(p)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "sqlite3_mutex_enter(mem0.mutex);" (call_expression "sqlite3_mutex_enter(mem0.mutex)" identifier (argument_list "(mem0.mutex)" ( (field_expression "mem0.mutex" identifier . field_identifier) ))) ;) (expression_statement "iVar1 = (*sqlite3Config.m.xSize)(p);" (assignment_expression "iVar1 = (*sqlite3Config.m.xSize)(p)" identifier = (call_expression "(*sqlite3Config.m.xSize)(p)" (parenthesized_expression "(*sqlite3Config.m.xSize)" ( (pointer_expression "*sqlite3Config.m.xSize" * (field_expression "sqlite3Config.m.xSize" (field_expression "sqlite3Config.m" identifier . field_identifier) . field_identifier)) )) (argument_list "(p)" ( identifier )))) ;) (expression_statement "sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;" (assignment_expression "sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1" (subscript_expression "sqlite3Stat.nowValue[9]" (field_expression "sqlite3Stat.nowValue" identifier . field_identifier) [ number_literal ]) = (binary_expression "sqlite3Stat.nowValue[9] + -1" (subscript_expression "sqlite3Stat.nowValue[9]" (field_expression "sqlite3Stat.nowValue" identifier . field_identifier) [ number_literal ]) + number_literal)) ;) (expression_statement "sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1;" (assignment_expression "sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - iVar1" (subscript_expression "sqlite3Stat.nowValue[0]" (field_expression "sqlite3Stat.nowValue" identifier . field_identifier) [ number_literal ]) = (binary_expression "sqlite3Stat.nowValue[0] - iVar1" (subscript_expression "sqlite3Stat.nowValue[0]" (field_expression "sqlite3Stat.nowValue" identifier . field_identifier) [ number_literal ]) - identifier)) ;) (expression_statement "(*sqlite3Config.m.xFree)(p);" (call_expression "(*sqlite3Config.m.xFree)(p)" (parenthesized_expression "(*sqlite3Config.m.xFree)" ( (pointer_expression "*sqlite3Config.m.xFree" * (field_expression "sqlite3Config.m.xFree" (field_expression "sqlite3Config.m" identifier . field_identifier) . field_identifier)) )) (argument_list "(p)" ( identifier ))) ;) (expression_statement "sqlite3_mutex_leave(mem0.mutex);" (call_expression "sqlite3_mutex_leave(mem0.mutex)" identifier (argument_list "(mem0.mutex)" ( (field_expression "mem0.mutex" identifier . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00119e00(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}\n\n" (function_definition "void FUN_00119e00(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" primitive_type (function_declarator "FUN_00119e00(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }" if (parenthesized_expression "(DAT_0021f240 == 0)" ( (binary_expression "DAT_0021f240 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }" { (expression_statement "(*DAT_0021f278)();" (call_expression "(*DAT_0021f278)()" (parenthesized_expression "(*DAT_0021f278)" ( (pointer_expression "*DAT_0021f278" * identifier) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0010f4d0(DAT_00221c10);" (call_expression "FUN_0010f4d0(DAT_00221c10)" identifier (argument_list "(DAT_00221c10)" ( identifier ))) ;) (expression_statement "iVar1 = (*DAT_0021f288)(param_1);" (assignment_expression "iVar1 = (*DAT_0021f288)(param_1)" identifier = (call_expression "(*DAT_0021f288)(param_1)" (parenthesized_expression "(*DAT_0021f288)" ( (pointer_expression "*DAT_0021f288" * identifier) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "DAT_00221ca8 = DAT_00221ca8 + -1;" (assignment_expression "DAT_00221ca8 = DAT_00221ca8 + -1" identifier = (binary_expression "DAT_00221ca8 + -1" identifier + number_literal)) ;) (expression_statement "DAT_00221c60 = DAT_00221c60 - iVar1;" (assignment_expression "DAT_00221c60 = DAT_00221c60 - iVar1" identifier = (binary_expression "DAT_00221c60 - iVar1" identifier - identifier)) ;) (expression_statement "(*DAT_0021f278)(param_1);" (call_expression "(*DAT_0021f278)(param_1)" (parenthesized_expression "(*DAT_0021f278)" ( (pointer_expression "*DAT_0021f278" * identifier) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0010f4f0(DAT_00221c10);" (call_expression "FUN_0010f4f0(DAT_00221c10)" identifier (argument_list "(DAT_00221c10)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00119e00(long param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00119e00(long param_1)" (identifier "FUN_00119e00") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }\n  FUN_0010f4d0(DAT_00221c10);\n  iVar1 = (*DAT_0021f288)(param_1);\n  DAT_00221ca8 = DAT_00221ca8 + -1;\n  DAT_00221c60 = DAT_00221c60 - iVar1;\n  (*DAT_0021f278)(param_1);\n  FUN_0010f4f0(DAT_00221c10);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (DAT_0021f240 == 0) {\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0021f240 == 0)" (( "(") (binary_expression "DAT_0021f240 == 0" (identifier "DAT_0021f240") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (*DAT_0021f278)();\n    return;\n  }" ({ "{") (expression_statement "(*DAT_0021f278)();" (call_expression "(*DAT_0021f278)()" (parenthesized_expression "(*DAT_0021f278)" (( "(") (pointer_expression "*DAT_0021f278" (* "*") (identifier "DAT_0021f278")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0010f4d0(DAT_00221c10);" (call_expression "FUN_0010f4d0(DAT_00221c10)" (identifier "FUN_0010f4d0") (argument_list "(DAT_00221c10)" (( "(") (identifier "DAT_00221c10") () ")"))) (; ";")) (expression_statement "iVar1 = (*DAT_0021f288)(param_1);" (assignment_expression "iVar1 = (*DAT_0021f288)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*DAT_0021f288)(param_1)" (parenthesized_expression "(*DAT_0021f288)" (( "(") (pointer_expression "*DAT_0021f288" (* "*") (identifier "DAT_0021f288")) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "DAT_00221ca8 = DAT_00221ca8 + -1;" (assignment_expression "DAT_00221ca8 = DAT_00221ca8 + -1" (identifier "DAT_00221ca8") (= "=") (binary_expression "DAT_00221ca8 + -1" (identifier "DAT_00221ca8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "DAT_00221c60 = DAT_00221c60 - iVar1;" (assignment_expression "DAT_00221c60 = DAT_00221c60 - iVar1" (identifier "DAT_00221c60") (= "=") (binary_expression "DAT_00221c60 - iVar1" (identifier "DAT_00221c60") (- "-") (identifier "iVar1"))) (; ";")) (expression_statement "(*DAT_0021f278)(param_1);" (call_expression "(*DAT_0021f278)(param_1)" (parenthesized_expression "(*DAT_0021f278)" (( "(") (pointer_expression "*DAT_0021f278" (* "*") (identifier "DAT_0021f278")) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0010f4f0(DAT_00221c10);" (call_expression "FUN_0010f4f0(DAT_00221c10)" (identifier "FUN_0010f4f0") (argument_list "(DAT_00221c10)" (( "(") (identifier "DAT_00221c10") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *var_1)

{
  int var_3;
  
  if (var_1 == (void *)0x0) {
    return;
  }
  if (sqlite3Config.bMemstat == 0) {
                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*sqlite3Config.m.xFree)(var_1);
    return;
  }
  var_2(mem0.mutex);
  var_3 = (*sqlite3Config.m.xSize)(var_1);
  sqlite3Stat.nowValue[9] = sqlite3Stat.nowValue[9] + -1;
  sqlite3Stat.nowValue[0] = sqlite3Stat.nowValue[0] - var_3;
  (*sqlite3Config.m.xFree)(var_1);
  var_4(mem0.mutex);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(long param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
    return;
  }
  if (DAT_0021f240 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00119e0f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*DAT_0021f278)();
    return;
  }
  FUN_0010f4d0(DAT_00221c10);
  iVar1 = (*DAT_0021f288)(param_1);
  DAT_00221ca8 = DAT_00221ca8 + -1;
  DAT_00221c60 = DAT_00221c60 - iVar1;
  (*DAT_0021f278)(param_1);
  FUN_0010f4f0(DAT_00221c10);
  return;
}

