
Expr * sqlite3ExprAnd(sqlite3 *db,Expr *pLeft,Expr *pRight)

{
  int iVar1;
  Expr *pRoot;
  
  pRoot = pRight;
  if ((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)) {
    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);
    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {
      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);
      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);
    }
    else {
      sqlite3ExprDelete(db,pLeft);
      sqlite3ExprDelete(db,pRight);
      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);
    }
  }
  return pRoot;
}



int FUN_0006e334(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = param_3;
  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {
    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);
    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {
      iVar1 = FUN_000593b8(param_1,0x2c,0,0);
      FUN_0006e250(param_1,iVar1,param_2,param_3);
    }
    else {
      FUN_0006d9f4(param_1,param_2);
      FUN_0006d9f4(param_1,param_3);
      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);
    }
  }
  return iVar1;
}


lui gp,0x13
addiu gp,gp,-0x6a14
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
beq a1,zero,0x0006e484
_nop
beq a2,zero,0x0006e48c
_or s1,a2,zero
or s0,a1,zero
or s2,a0,zero
or a0,a1,zero
lw t9,-0x7d64(gp)
addiu t9,t9,-0x7e18
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x0006e3b0
_or a0,s1,zero
lw t9,-0x7d64(gp)
addiu t9,t9,-0x7e18
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0006e434
_or a3,zero,zero
or a1,s0,zero
or a0,s2,zero
lw s0,-0x7d1c(gp)
addiu s0,s0,-0x260c
or t9,s0,zero
bal 0x0006d9f4
_nop
lw gp,0x10(sp)
or a1,s1,zero
or a0,s2,zero
or t9,s0,zero
bal 0x0006d9f4
_nop
lw gp,0x10(sp)
or a3,zero,zero
lw a2,-0x7fd8(gp)
addiu a2,a2,-0x2078
li a1,0x8f
or a0,s2,zero
lw t9,-0x7d50(gp)
addiu t9,t9,-0x6c48
bal 0x000593b8
_nop
lw gp,0x10(sp)
or s3,v0,zero
or v0,s3,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
or a2,zero,zero
li a1,0x2c
or a0,s2,zero
lw t9,-0x7d50(gp)
addiu t9,t9,-0x6c48
bal 0x000593b8
_nop
lw gp,0x10(sp)
or s3,v0,zero
or a3,s1,zero
or a2,s0,zero
or a1,v0,zero
or a0,s2,zero
lw t9,-0x7d1c(gp)
addiu t9,t9,-0x1db0
bal 0x0006e250
_nop
lw gp,0x10(sp)
b 0x0006e418
_or v0,s3,zero
b 0x0006e414
_or s3,a2,zero
b 0x0006e414
_or s3,a1,zero
(translation_unit "int FUN_0006e334(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0006e334(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0006e334(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" identifier = identifier) ;) (if_statement "if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" if (parenthesized_expression "((param_2 != 0) && (iVar1 = param_2, param_3 != 0))" ( (binary_expression "(param_2 != 0) && (iVar1 = param_2, param_3 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = param_2, param_3 != 0)" ( (comma_expression "iVar1 = param_2, param_3 != 0" (assignment_expression "iVar1 = param_2" identifier = identifier) , (binary_expression "param_3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }" { (expression_statement "iVar1 = FUN_000593b8(param_1,0x2c,0,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x2c,0,0)" identifier = (call_expression "FUN_000593b8(param_1,0x2c,0,0)" identifier (argument_list "(param_1,0x2c,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0006e250(param_1,iVar1,param_2,param_3);" (call_expression "FUN_0006e250(param_1,iVar1,param_2,param_3)" identifier (argument_list "(param_1,iVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" else (compound_statement "{\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" { (expression_statement "FUN_0006d9f4(param_1,param_2);" (call_expression "FUN_0006d9f4(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_0006d9f4(param_1,param_3);" (call_expression "FUN_0006d9f4(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" identifier = (call_expression "FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" identifier (argument_list "(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" ( identifier , number_literal , (binary_expression "PTR_DAT_0018f948 + -0x2078" identifier + number_literal) , number_literal )))) ;) }))) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "Expr * sqlite3ExprAnd(sqlite3 *db,Expr *pLeft,Expr *pRight)\n\n{\n  int iVar1;\n  Expr *pRoot;\n  \n  pRoot = pRight;\n  if ((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }\n  }\n  return pRoot;\n}\n\n" (function_definition "Expr * sqlite3ExprAnd(sqlite3 *db,Expr *pLeft,Expr *pRight)\n\n{\n  int iVar1;\n  Expr *pRoot;\n  \n  pRoot = pRight;\n  if ((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }\n  }\n  return pRoot;\n}" type_identifier (pointer_declarator "* sqlite3ExprAnd(sqlite3 *db,Expr *pLeft,Expr *pRight)" * (function_declarator "sqlite3ExprAnd(sqlite3 *db,Expr *pLeft,Expr *pRight)" identifier (parameter_list "(sqlite3 *db,Expr *pLeft,Expr *pRight)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Expr *pLeft" type_identifier (pointer_declarator "*pLeft" * identifier)) , (parameter_declaration "Expr *pRight" type_identifier (pointer_declarator "*pRight" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  Expr *pRoot;\n  \n  pRoot = pRight;\n  if ((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }\n  }\n  return pRoot;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Expr *pRoot;" type_identifier (pointer_declarator "*pRoot" * identifier) ;) (expression_statement "pRoot = pRight;" (assignment_expression "pRoot = pRight" identifier = identifier) ;) (if_statement "if ((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }\n  }" if (parenthesized_expression "((pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0))" ( (binary_expression "(pLeft != (Expr *)0x0) && (pRoot = pLeft, pRight != (Expr *)0x0)" (parenthesized_expression "(pLeft != (Expr *)0x0)" ( (binary_expression "pLeft != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pRoot = pLeft, pRight != (Expr *)0x0)" ( (comma_expression "pRoot = pLeft, pRight != (Expr *)0x0" (assignment_expression "pRoot = pLeft" identifier = identifier) , (binary_expression "pRight != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pLeft)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(pLeft)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)) {\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }\n    else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(pRight)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(pRight)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);\n      sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);\n    }" { (expression_statement "pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0);" (assignment_expression "pRoot = sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0)" identifier = (call_expression "sqlite3ExprAlloc(db,0x2c,(Token *)0x0,0)" identifier (argument_list "(db,0x2c,(Token *)0x0,0)" ( identifier , number_literal , (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal )))) ;) (expression_statement "sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight);" (call_expression "sqlite3ExprAttachSubtrees(db,pRoot,pLeft,pRight)" identifier (argument_list "(db,pRoot,pLeft,pRight)" ( identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }" else (compound_statement "{\n      sqlite3ExprDelete(db,pLeft);\n      sqlite3ExprDelete(db,pRight);\n      pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);\n    }" { (expression_statement "sqlite3ExprDelete(db,pLeft);" (call_expression "sqlite3ExprDelete(db,pLeft)" identifier (argument_list "(db,pLeft)" ( identifier , identifier ))) ;) (expression_statement "sqlite3ExprDelete(db,pRight);" (call_expression "sqlite3ExprDelete(db,pRight)" identifier (argument_list "(db,pRight)" ( identifier , identifier ))) ;) (expression_statement "pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0);" (assignment_expression "pRoot = sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0)" identifier = (call_expression "sqlite3ExprAlloc(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0)" identifier (argument_list "(db,0x8f,(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078),0)" ( identifier , number_literal , (cast_expression "(Token *)(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078)" ( (binary_expression "PTR_sBegin_ru_stime_tv_sec_0018f948 + -0x2078" identifier + number_literal) ))) , number_literal )))) ;) }))) })) (return_statement "return pRoot;" return identifier ;) })))
(translation_unit "int FUN_0006e334(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0006e334(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0006e334(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" identifier = identifier) ;) (if_statement "if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" if (parenthesized_expression "((param_2 != 0) && (iVar1 = param_2, param_3 != 0))" ( (binary_expression "(param_2 != 0) && (iVar1 = param_2, param_3 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = param_2, param_3 != 0)" ( (comma_expression "iVar1 = param_2, param_3 != 0" (assignment_expression "iVar1 = param_2" identifier = identifier) , (binary_expression "param_3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" ( (binary_expression "PTR_LAB_0018fbbc + -0x7e18" identifier + number_literal) )))) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }" { (expression_statement "iVar1 = FUN_000593b8(param_1,0x2c,0,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x2c,0,0)" identifier = (call_expression "FUN_000593b8(param_1,0x2c,0,0)" identifier (argument_list "(param_1,0x2c,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0006e250(param_1,iVar1,param_2,param_3);" (call_expression "FUN_0006e250(param_1,iVar1,param_2,param_3)" identifier (argument_list "(param_1,iVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" else (compound_statement "{\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" { (expression_statement "FUN_0006d9f4(param_1,param_2);" (call_expression "FUN_0006d9f4(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_0006d9f4(param_1,param_3);" (call_expression "FUN_0006d9f4(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" identifier = (call_expression "FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" identifier (argument_list "(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" ( identifier , number_literal , (binary_expression "PTR_DAT_0018f948 + -0x2078" identifier + number_literal) , number_literal )))) ;) }))) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , LIT )))) ;) }))) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0006e334(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0006e334(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_0006e334") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_3;\n  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" (identifier "iVar1") (= "=") (identifier "param_3")) (; ";")) (if_statement "if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && (iVar1 = param_2, param_3 != 0))" (( "(") (binary_expression "(param_2 != 0) && (iVar1 = param_2, param_3 != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = param_2, param_3 != 0)" (( "(") (comma_expression "iVar1 = param_2, param_3 != 0" (assignment_expression "iVar1 = param_2" (identifier "iVar1") (= "=") (identifier "param_2")) (, ",") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);\n    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" (( "(") (binary_expression "PTR_LAB_0018fbbc + -0x7e18" (identifier "PTR_LAB_0018fbbc") (+ "+") (number_literal "-0x7e18")) () ")")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }\n    else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" (if "if") (parenthesized_expression "((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0))" (( "(") (binary_expression "(iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x7e18))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x7e18)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x7e18)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fbbc + -0x7e18)" (( "(") (binary_expression "PTR_LAB_0018fbbc + -0x7e18" (identifier "PTR_LAB_0018fbbc") (+ "+") (number_literal "-0x7e18")) () ")")))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar1 = FUN_000593b8(param_1,0x2c,0,0);\n      FUN_0006e250(param_1,iVar1,param_2,param_3);\n    }" ({ "{") (expression_statement "iVar1 = FUN_000593b8(param_1,0x2c,0,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x2c,0,0)" (identifier "iVar1") (= "=") (call_expression "FUN_000593b8(param_1,0x2c,0,0)" (identifier "FUN_000593b8") (argument_list "(param_1,0x2c,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2c") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_0006e250(param_1,iVar1,param_2,param_3);" (call_expression "FUN_0006e250(param_1,iVar1,param_2,param_3)" (identifier "FUN_0006e250") (argument_list "(param_1,iVar1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" (else "else") (compound_statement "{\n      FUN_0006d9f4(param_1,param_2);\n      FUN_0006d9f4(param_1,param_3);\n      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);\n    }" ({ "{") (expression_statement "FUN_0006d9f4(param_1,param_2);" (call_expression "FUN_0006d9f4(param_1,param_2)" (identifier "FUN_0006d9f4") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_0006d9f4(param_1,param_3);" (call_expression "FUN_0006d9f4(param_1,param_3)" (identifier "FUN_0006d9f4") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);" (assignment_expression "iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" (identifier "iVar1") (= "=") (call_expression "FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" (identifier "FUN_000593b8") (argument_list "(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x8f") (, ",") (binary_expression "PTR_DAT_0018f948 + -0x2078" (identifier "PTR_DAT_0018f948") (+ "+") (number_literal "-0x2078")) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1 * function_1(type_2 *db,type_1 *var_1,type_1 *var_2)

{
  int var_4;
  type_1 *pRoot;
  
  pRoot = var_2;
  if ((var_1 != (type_1 *)0x0) && (pRoot = var_1, var_2 != (type_1 *)0x0)) {
    var_4 = (*(type_3 *)(var_3 + -0x7e18))(var_1);
    if ((var_4 == 0) && (var_4 = (*(type_3 *)(var_3 + -0x7e18))(var_2), var_4 == 0)) {
      pRoot = var_5(db,0x2c,(type_4 *)0x0,0);
      var_6(db,pRoot,var_1,var_2);
    }
    else {
      var_7(db,var_1);
      var_7(db,var_2);
      pRoot = var_5(db,0x8f,(type_4 *)(var_8 + -0x2078),0);
    }
  }
  return pRoot;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))))))) (return_statement (identifier)))))

int MASKED(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = param_3;
  if ((param_2 != 0) && (iVar1 = param_2, param_3 != 0)) {
    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_2);
    if ((iVar1 == 0) && (iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x7e18))(param_3), iVar1 == 0)) {
      iVar1 = FUN_000593b8(param_1,0x2c,0,0);
      FUN_0006e250(param_1,iVar1,param_2,param_3);
    }
    else {
      FUN_0006d9f4(param_1,param_2);
      FUN_0006d9f4(param_1,param_3);
      iVar1 = FUN_000593b8(param_1,0x8f,PTR_DAT_0018f948 + -0x2078,0);
    }
  }
  return iVar1;
}

