
CollSeq * sqlite3BinaryCompareCollSeq(Parse *pParse,Expr *pLeft,Expr *pRight)

{
  CollSeq *pCVar1;
  Expr *pExpr;
  
  pExpr = pLeft;
  if (((pLeft->flags & 0x100) == 0) &&
     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))) {
    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);
    if (pCVar1 != (CollSeq *)0x0) {
      return pCVar1;
    }
    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);
    return pCVar1;
  }
  pCVar1 = sqlite3ExprCollSeq(pParse,pExpr);
  return pCVar1;
}



void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = param_2;
  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&
     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {
    iVar1 = FUN_0005fb58(param_1,param_2);
    if (iVar1 != 0) {
      return;
    }
    FUN_0005fb58(param_1,param_3);
    return;
  }
  FUN_0005fb58(param_1,iVar1);
  return;
}


lui gp,0xa
addiu gp,gp,-0x2af8
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x4(a1)
andi v0,v0,0x100
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
bne v0,zero,0x0005fe20
_sw s0,0x18(sp)
or v1,a1,zero
beq a2,zero,0x0005fde4
_or s1,a0,zero
lw v0,0x4(a2)
andi v0,v0,0x100
bne v0,zero,0x0005fe20
_or a1,a2,zero
lw s2,-0x7fa0(gp)
or a1,v1,zero
or a0,s1,zero
addiu s2,s2,-0x4a8
or t9,s2,zero
bal 0x0005fb58
_or s0,a2,zero
beq v0,zero,0x0005fe40
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7fa0(gp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
addiu t9,t9,-0x4a8
lw s0,0x18(sp)
b 0x0005fb58
_addiu sp,sp,0x28
lw ra,0x24(sp)
or a1,s0,zero
or a0,s1,zero
lw s0,0x18(sp)
lw s1,0x1c(sp)
or t9,s2,zero
lw s2,0x20(sp)
b 0x0005fb58
_addiu sp,sp,0x28
(translation_unit "void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}\n\n" (function_definition "void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0005fd98(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_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" identifier = identifier) ;) (if_statement "if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))))" ( (binary_expression "((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" (parenthesized_expression "((*(uint *)(param_2 + 4) & 0x100) == 0)" ( (binary_expression "(*(uint *)(param_2 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_2 + 4) & 0x100)" ( (binary_expression "*(uint *)(param_2 + 4) & 0x100" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" ( (parenthesized_expression "(param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))" ( (binary_expression "param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" ( (comma_expression "iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0" (assignment_expression "iVar1 = param_3" identifier = identifier) , (binary_expression "(*(uint *)(param_3 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_3 + 4) & 0x100)" ( (binary_expression "*(uint *)(param_3 + 4) & 0x100" (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) ))) )) (compound_statement "{\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" { (expression_statement "iVar1 = FUN_0005fb58(param_1,param_2);" (assignment_expression "iVar1 = FUN_0005fb58(param_1,param_2)" identifier = (call_expression "FUN_0005fb58(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0005fb58(param_1,param_3);" (call_expression "FUN_0005fb58(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005fb58(param_1,iVar1);" (call_expression "FUN_0005fb58(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "CollSeq * sqlite3BinaryCompareCollSeq(Parse *pParse,Expr *pLeft,Expr *pRight)\n\n{\n  CollSeq *pCVar1;\n  Expr *pExpr;\n  \n  pExpr = pLeft;\n  if (((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))) {\n    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);\n    if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }\n    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);\n    return pCVar1;\n  }\n  pCVar1 = sqlite3ExprCollSeq(pParse,pExpr);\n  return pCVar1;\n}\n\n" (function_definition "CollSeq * sqlite3BinaryCompareCollSeq(Parse *pParse,Expr *pLeft,Expr *pRight)\n\n{\n  CollSeq *pCVar1;\n  Expr *pExpr;\n  \n  pExpr = pLeft;\n  if (((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))) {\n    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);\n    if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }\n    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);\n    return pCVar1;\n  }\n  pCVar1 = sqlite3ExprCollSeq(pParse,pExpr);\n  return pCVar1;\n}" type_identifier (pointer_declarator "* sqlite3BinaryCompareCollSeq(Parse *pParse,Expr *pLeft,Expr *pRight)" * (function_declarator "sqlite3BinaryCompareCollSeq(Parse *pParse,Expr *pLeft,Expr *pRight)" identifier (parameter_list "(Parse *pParse,Expr *pLeft,Expr *pRight)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Expr *pLeft" type_identifier (pointer_declarator "*pLeft" * identifier)) , (parameter_declaration "Expr *pRight" type_identifier (pointer_declarator "*pRight" * identifier)) )))) (compound_statement "{\n  CollSeq *pCVar1;\n  Expr *pExpr;\n  \n  pExpr = pLeft;\n  if (((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))) {\n    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);\n    if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }\n    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);\n    return pCVar1;\n  }\n  pCVar1 = sqlite3ExprCollSeq(pParse,pExpr);\n  return pCVar1;\n}" { (declaration "CollSeq *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "Expr *pExpr;" type_identifier (pointer_declarator "*pExpr" * identifier) ;) (expression_statement "pExpr = pLeft;" (assignment_expression "pExpr = pLeft" identifier = identifier) ;) (if_statement "if (((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))) {\n    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);\n    if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }\n    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);\n    return pCVar1;\n  }" if (parenthesized_expression "(((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0))))" ( (binary_expression "((pLeft->flags & 0x100) == 0) &&\n     ((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))" (parenthesized_expression "((pLeft->flags & 0x100) == 0)" ( (binary_expression "(pLeft->flags & 0x100) == 0" (parenthesized_expression "(pLeft->flags & 0x100)" ( (binary_expression "pLeft->flags & 0x100" (field_expression "pLeft->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)))" ( (parenthesized_expression "(pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0))" ( (binary_expression "pRight == (Expr *)0x0 || (pExpr = pRight, (pRight->flags & 0x100) == 0)" (binary_expression "pRight == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(pExpr = pRight, (pRight->flags & 0x100) == 0)" ( (comma_expression "pExpr = pRight, (pRight->flags & 0x100) == 0" (assignment_expression "pExpr = pRight" identifier = identifier) , (binary_expression "(pRight->flags & 0x100) == 0" (parenthesized_expression "(pRight->flags & 0x100)" ( (binary_expression "pRight->flags & 0x100" (field_expression "pRight->flags" identifier -> field_identifier) & number_literal) )) == number_literal)) ))) )) ))) )) (compound_statement "{\n    pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);\n    if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }\n    pCVar1 = sqlite3ExprCollSeq(pParse,pRight);\n    return pCVar1;\n  }" { (expression_statement "pCVar1 = sqlite3ExprCollSeq(pParse,pLeft);" (assignment_expression "pCVar1 = sqlite3ExprCollSeq(pParse,pLeft)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pLeft)" identifier (argument_list "(pParse,pLeft)" ( identifier , identifier )))) ;) (if_statement "if (pCVar1 != (CollSeq *)0x0) {\n      return pCVar1;\n    }" if (parenthesized_expression "(pCVar1 != (CollSeq *)0x0)" ( (binary_expression "pCVar1 != (CollSeq *)0x0" identifier != (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pCVar1;\n    }" { (return_statement "return pCVar1;" return identifier ;) })) (expression_statement "pCVar1 = sqlite3ExprCollSeq(pParse,pRight);" (assignment_expression "pCVar1 = sqlite3ExprCollSeq(pParse,pRight)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pRight)" identifier (argument_list "(pParse,pRight)" ( identifier , identifier )))) ;) (return_statement "return pCVar1;" return identifier ;) })) (expression_statement "pCVar1 = sqlite3ExprCollSeq(pParse,pExpr);" (assignment_expression "pCVar1 = sqlite3ExprCollSeq(pParse,pExpr)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pExpr)" identifier (argument_list "(pParse,pExpr)" ( identifier , identifier )))) ;) (return_statement "return pCVar1;" return identifier ;) })))
(translation_unit "void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}\n\n" (function_definition "void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0005fd98(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_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" identifier = identifier) ;) (if_statement "if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))))" ( (binary_expression "((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" (parenthesized_expression "((*(uint *)(param_2 + 4) & 0x100) == 0)" ( (binary_expression "(*(uint *)(param_2 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_2 + 4) & 0x100)" ( (binary_expression "*(uint *)(param_2 + 4) & 0x100" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" ( (parenthesized_expression "(param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))" ( (binary_expression "param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" ( (comma_expression "iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0" (assignment_expression "iVar1 = param_3" identifier = identifier) , (binary_expression "(*(uint *)(param_3 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_3 + 4) & 0x100)" ( (binary_expression "*(uint *)(param_3 + 4) & 0x100" (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) ))) )) (compound_statement "{\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" { (expression_statement "iVar1 = FUN_0005fb58(param_1,param_2);" (assignment_expression "iVar1 = FUN_0005fb58(param_1,param_2)" identifier = (call_expression "FUN_0005fb58(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0005fb58(param_1,param_3);" (call_expression "FUN_0005fb58(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005fb58(param_1,iVar1);" (call_expression "FUN_0005fb58(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005fd98(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005fd98(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_0005fd98") (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_2;\n  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }\n  FUN_0005fb58(param_1,iVar1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" (identifier "iVar1") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "(((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))))" (( "(") (binary_expression "((*(uint *)(param_2 + 4) & 0x100) == 0) &&\n     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" (parenthesized_expression "((*(uint *)(param_2 + 4) & 0x100) == 0)" (( "(") (binary_expression "(*(uint *)(param_2 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_2 + 4) & 0x100)" (( "(") (binary_expression "*(uint *)(param_2 + 4) & 0x100" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))" (( "(") (parenthesized_expression "(param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0))" (( "(") (binary_expression "param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)" (( "(") (comma_expression "iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0" (assignment_expression "iVar1 = param_3" (identifier "iVar1") (= "=") (identifier "param_3")) (, ",") (binary_expression "(*(uint *)(param_3 + 4) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_3 + 4) & 0x100)" (( "(") (binary_expression "*(uint *)(param_3 + 4) & 0x100" (pointer_expression "*(uint *)(param_3 + 4)" (* "*") (cast_expression "(uint *)(param_3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = FUN_0005fb58(param_1,param_2);\n    if (iVar1 != 0) {\n      return;\n    }\n    FUN_0005fb58(param_1,param_3);\n    return;\n  }" ({ "{") (expression_statement "iVar1 = FUN_0005fb58(param_1,param_2);" (assignment_expression "iVar1 = FUN_0005fb58(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_0005fb58(param_1,param_2)" (identifier "FUN_0005fb58") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005fb58(param_1,param_3);" (call_expression "FUN_0005fb58(param_1,param_3)" (identifier "FUN_0005fb58") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005fb58(param_1,iVar1);" (call_expression "FUN_0005fb58(param_1,iVar1)" (identifier "FUN_0005fb58") (argument_list "(param_1,iVar1)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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: (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: (number_literal))) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (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: (number_literal))) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

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

{
  int iVar1;
  
  iVar1 = param_2;
  if (((*(uint *)(param_2 + 4) & 0x100) == 0) &&
     ((param_3 == 0 || (iVar1 = param_3, (*(uint *)(param_3 + 4) & 0x100) == 0)))) {
    iVar1 = FUN_0005fb58(param_1,param_2);
    if (iVar1 != 0) {
      return;
    }
    FUN_0005fb58(param_1,param_3);
    return;
  }
  FUN_0005fb58(param_1,iVar1);
  return;
}

