
leaf_optimization leaf_optimization(FTSENT *p,int dir_fd)

{
  fsword fVar1;
  leaf_optimization lVar2;
  
  fVar1 = filesystem_type(p,dir_fd);
  if (fVar1 == 0x9fa0) {
    lVar2 = NO_LEAF_OPTIMIZATION;
  }
  else if (fVar1 < 0x9fa1) {
    if (fVar1 == 0) {
      lVar2 = NO_LEAF_OPTIMIZATION;
    }
    else if (fVar1 == 0x6969) {
      lVar2 = NO_LEAF_OPTIMIZATION;
    }
    else {
      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);
    }
  }
  else if (fVar1 == 0x5346414f) {
    lVar2 = NO_LEAF_OPTIMIZATION;
  }
  else if (fVar1 == 0x58465342) {
    lVar2 = NOSTAT_LEAF_OPTIMIZATION;
  }
  else {
    lVar2 = OK_LEAF_OPTIMIZATION;
    if (fVar1 == 0x52654973) {
      lVar2 = NOSTAT_LEAF_OPTIMIZATION;
    }
  }
  return lVar2;
}



undefined1 FUN_00029ed8(void)

{
  int iVar1;
  undefined1 uVar2;
  
  iVar1 = FUN_00029d28();
  if (iVar1 == 0x9fa0) {
    uVar2 = 0;
  }
  else if (iVar1 < 0x9fa1) {
    if (iVar1 == 0) {
      uVar2 = 0;
    }
    else if (iVar1 == 0x6969) {
      uVar2 = 0;
    }
    else {
      uVar2 = iVar1 != -0xacb2be;
    }
  }
  else if (iVar1 == 0x5346414f) {
    uVar2 = 0;
  }
  else if (iVar1 == 0x58465342) {
    uVar2 = 2;
  }
  else {
    uVar2 = 1;
    if (iVar1 == 0x52654973) {
      uVar2 = 2;
    }
  }
  return uVar2;
}


lui gp,0x2
addiu gp,gp,0x3218
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x62d8
bal 0x00029d28
_nop
lw gp,0x10(sp)
ori v1,zero,0x9fa0
beq v0,v1,0x00029f78
_ori v1,zero,0x9fa1
slt v1,v0,v1
bne v1,zero,0x00029f50
_lui v1,0x5346
addiu v1,v1,0x414f
beq v0,v1,0x00029f90
_lui v1,0x5846
addiu v1,v1,0x5342
beq v0,v1,0x00029f98
_lui v1,0x5265
addiu v1,v1,0x4973
xor v0,v0,v1
li a0,0x2
li v1,0x1
movz v1,a0,v0
b 0x00029f6c
_or v0,v1,zero
beq v0,zero,0x00029f80
_li v1,0x6969
beq v0,v1,0x00029f88
_lui v1,0xff53
addiu v1,v1,0x4d42
xor v0,v0,v1
sltu v0,zero,v0
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
b 0x00029f6c
_or v0,zero,zero
b 0x00029f6c
_or v0,zero,zero
b 0x00029f6c
_or v0,zero,zero
b 0x00029f6c
_or v0,zero,zero
b 0x00029f6c
_li v0,0x2
(translation_unit "undefined1 FUN_00029ed8(void)\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined1 FUN_00029ed8(void)\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00029ed8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00029d28();" (assignment_expression "iVar1 = FUN_00029d28()" identifier = (call_expression "FUN_00029d28()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x9fa0)" ( (binary_expression "iVar1 == 0x9fa0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 < 0x9fa1)" ( (binary_expression "iVar1 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }" { (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" else (if_statement "if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" if (parenthesized_expression "(iVar1 == 0x6969)" ( (binary_expression "iVar1 == 0x6969" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" else (compound_statement "{\n      uVar2 = iVar1 != -0xacb2be;\n    }" { (expression_statement "uVar2 = iVar1 != -0xacb2be;" (assignment_expression "uVar2 = iVar1 != -0xacb2be" identifier = (binary_expression "iVar1 != -0xacb2be" identifier != number_literal)) ;) }))))) }) (else_clause "else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x5346414f)" ( (binary_expression "iVar1 == 0x5346414f" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x58465342)" ( (binary_expression "iVar1 == 0x58465342" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (compound_statement "{\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }" if (parenthesized_expression "(iVar1 == 0x52654973)" ( (binary_expression "iVar1 == 0x52654973" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 2;\n    }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) }))))))))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "leaf_optimization leaf_optimization(FTSENT *p,int dir_fd)\n\n{\n  fsword fVar1;\n  leaf_optimization lVar2;\n  \n  fVar1 = filesystem_type(p,dir_fd);\n  if (fVar1 == 0x9fa0) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }\n  return lVar2;\n}\n\n" (function_definition "leaf_optimization leaf_optimization(FTSENT *p,int dir_fd)\n\n{\n  fsword fVar1;\n  leaf_optimization lVar2;\n  \n  fVar1 = filesystem_type(p,dir_fd);\n  if (fVar1 == 0x9fa0) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }\n  return lVar2;\n}" type_identifier (function_declarator "leaf_optimization(FTSENT *p,int dir_fd)" identifier (parameter_list "(FTSENT *p,int dir_fd)" ( (parameter_declaration "FTSENT *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int dir_fd" primitive_type identifier) ))) (compound_statement "{\n  fsword fVar1;\n  leaf_optimization lVar2;\n  \n  fVar1 = filesystem_type(p,dir_fd);\n  if (fVar1 == 0x9fa0) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }\n  return lVar2;\n}" { (declaration "fsword fVar1;" type_identifier identifier ;) (declaration "leaf_optimization lVar2;" type_identifier identifier ;) (expression_statement "fVar1 = filesystem_type(p,dir_fd);" (assignment_expression "fVar1 = filesystem_type(p,dir_fd)" identifier = (call_expression "filesystem_type(p,dir_fd)" identifier (argument_list "(p,dir_fd)" ( identifier , identifier )))) ;) (if_statement "if (fVar1 == 0x9fa0) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" if (parenthesized_expression "(fVar1 == 0x9fa0)" ( (binary_expression "fVar1 == 0x9fa0" identifier == number_literal) )) (compound_statement "{\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }" { (expression_statement "lVar2 = NO_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NO_LEAF_OPTIMIZATION" identifier = identifier) ;) }) (else_clause "else if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" else (if_statement "if (fVar1 < 0x9fa1) {\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }\n  else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" if (parenthesized_expression "(fVar1 < 0x9fa1)" ( (binary_expression "fVar1 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n    if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }\n  }" { (if_statement "if (fVar1 == 0) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }" if (parenthesized_expression "(fVar1 == 0)" ( (binary_expression "fVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }" { (expression_statement "lVar2 = NO_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NO_LEAF_OPTIMIZATION" identifier = identifier) ;) }) (else_clause "else if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }" else (if_statement "if (fVar1 == 0x6969) {\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }\n    else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }" if (parenthesized_expression "(fVar1 == 0x6969)" ( (binary_expression "fVar1 == 0x6969" identifier == number_literal) )) (compound_statement "{\n      lVar2 = NO_LEAF_OPTIMIZATION;\n    }" { (expression_statement "lVar2 = NO_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NO_LEAF_OPTIMIZATION" identifier = identifier) ;) }) (else_clause "else {\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }" else (compound_statement "{\n      lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);\n    }" { (expression_statement "lVar2 = (leaf_optimization)(fVar1 != -0xacb2be);" (assignment_expression "lVar2 = (leaf_optimization)(fVar1 != -0xacb2be)" identifier = (call_expression "(leaf_optimization)(fVar1 != -0xacb2be)" (parenthesized_expression "(leaf_optimization)" ( identifier )) (argument_list "(fVar1 != -0xacb2be)" ( (binary_expression "fVar1 != -0xacb2be" identifier != number_literal) )))) ;) }))))) }) (else_clause "else if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" else (if_statement "if (fVar1 == 0x5346414f) {\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }\n  else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" if (parenthesized_expression "(fVar1 == 0x5346414f)" ( (binary_expression "fVar1 == 0x5346414f" identifier == number_literal) )) (compound_statement "{\n    lVar2 = NO_LEAF_OPTIMIZATION;\n  }" { (expression_statement "lVar2 = NO_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NO_LEAF_OPTIMIZATION" identifier = identifier) ;) }) (else_clause "else if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" else (if_statement "if (fVar1 == 0x58465342) {\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }\n  else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" if (parenthesized_expression "(fVar1 == 0x58465342)" ( (binary_expression "fVar1 == 0x58465342" identifier == number_literal) )) (compound_statement "{\n    lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n  }" { (expression_statement "lVar2 = NOSTAT_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NOSTAT_LEAF_OPTIMIZATION" identifier = identifier) ;) }) (else_clause "else {\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" else (compound_statement "{\n    lVar2 = OK_LEAF_OPTIMIZATION;\n    if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }\n  }" { (expression_statement "lVar2 = OK_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = OK_LEAF_OPTIMIZATION" identifier = identifier) ;) (if_statement "if (fVar1 == 0x52654973) {\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }" if (parenthesized_expression "(fVar1 == 0x52654973)" ( (binary_expression "fVar1 == 0x52654973" identifier == number_literal) )) (compound_statement "{\n      lVar2 = NOSTAT_LEAF_OPTIMIZATION;\n    }" { (expression_statement "lVar2 = NOSTAT_LEAF_OPTIMIZATION;" (assignment_expression "lVar2 = NOSTAT_LEAF_OPTIMIZATION" identifier = identifier) ;) })) }))))))))) (return_statement "return lVar2;" return identifier ;) })))
(translation_unit "undefined1 FUN_00029ed8(void)\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined1 FUN_00029ed8(void)\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00029ed8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00029d28();" (assignment_expression "iVar1 = FUN_00029d28()" identifier = (call_expression "FUN_00029d28()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x9fa0)" ( (binary_expression "iVar1 == 0x9fa0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 < 0x9fa1)" ( (binary_expression "iVar1 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }" { (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" else (if_statement "if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" if (parenthesized_expression "(iVar1 == 0x6969)" ( (binary_expression "iVar1 == 0x6969" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" else (compound_statement "{\n      uVar2 = iVar1 != -0xacb2be;\n    }" { (expression_statement "uVar2 = iVar1 != -0xacb2be;" (assignment_expression "uVar2 = iVar1 != -0xacb2be" identifier = (binary_expression "iVar1 != -0xacb2be" identifier != number_literal)) ;) }))))) }) (else_clause "else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x5346414f)" ( (binary_expression "iVar1 == 0x5346414f" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (if_statement "if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0x58465342)" ( (binary_expression "iVar1 == 0x58465342" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" else (compound_statement "{\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }" if (parenthesized_expression "(iVar1 == 0x52654973)" ( (binary_expression "iVar1 == 0x52654973" identifier == number_literal) )) (compound_statement "{\n      uVar2 = 2;\n    }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) })) }))))))))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) }))))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))))))))) (return_statement return IDENT ;) })))
(function_definition "undefined1 FUN_00029ed8(void)\n\n{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" (type_identifier "undefined1") (function_declarator "FUN_00029ed8(void)" (identifier "FUN_00029ed8") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 uVar2;\n  \n  iVar1 = FUN_00029d28();\n  if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_00029d28();" (assignment_expression "iVar1 = FUN_00029d28()" (identifier "iVar1") (= "=") (call_expression "FUN_00029d28()" (identifier "FUN_00029d28") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0x9fa0) {\n    uVar2 = 0;\n  }\n  else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0x9fa0)" (( "(") (binary_expression "iVar1 == 0x9fa0" (identifier "iVar1") (== "==") (number_literal "0x9fa0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (else "else") (if_statement "if (iVar1 < 0x9fa1) {\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }\n  else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 < 0x9fa1)" (( "(") (binary_expression "iVar1 < 0x9fa1" (identifier "iVar1") (< "<") (number_literal "0x9fa1")) () ")")) (compound_statement "{\n    if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }\n  }" ({ "{") (if_statement "if (iVar1 == 0) {\n      uVar2 = 0;\n    }\n    else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" (else "else") (if_statement "if (iVar1 == 0x6969) {\n      uVar2 = 0;\n    }\n    else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0x6969)" (( "(") (binary_expression "iVar1 == 0x6969" (identifier "iVar1") (== "==") (number_literal "0x6969")) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = iVar1 != -0xacb2be;\n    }" (else "else") (compound_statement "{\n      uVar2 = iVar1 != -0xacb2be;\n    }" ({ "{") (expression_statement "uVar2 = iVar1 != -0xacb2be;" (assignment_expression "uVar2 = iVar1 != -0xacb2be" (identifier "uVar2") (= "=") (binary_expression "iVar1 != -0xacb2be" (identifier "iVar1") (!= "!=") (number_literal "-0xacb2be"))) (; ";")) (} "}")))))) (} "}")) (else_clause "else if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (else "else") (if_statement "if (iVar1 == 0x5346414f) {\n    uVar2 = 0;\n  }\n  else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0x5346414f)" (( "(") (binary_expression "iVar1 == 0x5346414f" (identifier "iVar1") (== "==") (number_literal "0x5346414f")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (else "else") (if_statement "if (iVar1 == 0x58465342) {\n    uVar2 = 2;\n  }\n  else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0x58465342)" (( "(") (binary_expression "iVar1 == 0x58465342" (identifier "iVar1") (== "==") (number_literal "0x58465342")) () ")")) (compound_statement "{\n    uVar2 = 2;\n  }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" (else "else") (compound_statement "{\n    uVar2 = 1;\n    if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }\n  }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar1 == 0x52654973) {\n      uVar2 = 2;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0x52654973)" (( "(") (binary_expression "iVar1 == 0x52654973" (identifier "iVar1") (== "==") (number_literal "0x52654973")) () ")")) (compound_statement "{\n      uVar2 = 2;\n    }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}"))) (} "}")))))))))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))))))))) (return_statement (identifier)))))

undefined1 MASKED(void)

{
  int iVar1;
  undefined1 uVar2;
  
  iVar1 = FUN_00029d28();
  if (iVar1 == 0x9fa0) {
    uVar2 = 0;
  }
  else if (iVar1 < 0x9fa1) {
    if (iVar1 == 0) {
      uVar2 = 0;
    }
    else if (iVar1 == 0x6969) {
      uVar2 = 0;
    }
    else {
      uVar2 = iVar1 != -0xacb2be;
    }
  }
  else if (iVar1 == 0x5346414f) {
    uVar2 = 0;
  }
  else if (iVar1 == 0x58465342) {
    uVar2 = 2;
  }
  else {
    uVar2 = 1;
    if (iVar1 == 0x52654973) {
      uVar2 = 2;
    }
  }
  return uVar2;
}

