
int x11_identify_auth_proto(char *protoname)

{
  int iVar1;
  int iVar2;
  
  iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228);
  if (iVar1 == 0) {
    iVar1 = 1;
  }
  else {
    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);
    iVar1 = 2;
    if (iVar2 != 0) {
      iVar1 = -1;
    }
  }
  return iVar1;
}



undefined4 x11_identify_auth_proto(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);
  if (iVar1 == 0) {
    uVar2 = 1;
  }
  else {
    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);
    uVar2 = 2;
    if (iVar1 != 0) {
      uVar2 = 0xffffffff;
    }
  }
  return uVar2;
}


lui gp,0x3
addiu gp,gp,-0x3244
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
lw a1,-0x7f48(gp)
addiu a1,a1,0x6228
lw t9,-0x7568(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0009354c
_lw a1,-0x7f48(gp)
addiu a1,a1,0x623c
or a0,s0,zero
lw t9,-0x7568(gp)
jalr t9
_nop
lw gp,0x10(sp)
li v1,-0x1
li a0,0x2
movn a0,v1,v0
or v0,a0,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
b 0x0009353c
_li v0,0x1
(translation_unit "undefined4 x11_identify_auth_proto(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 x11_identify_auth_proto(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "x11_identify_auth_proto(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_DAT_000b8348 + 0x6228)" ( identifier , (binary_expression "PTR_DAT_000b8348 + 0x6228" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_DAT_000b8348 + 0x623c)" ( identifier , (binary_expression "PTR_DAT_000b8348 + 0x623c" identifier + number_literal) )))) ;) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = 0xffffffff;\n    }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) })) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int x11_identify_auth_proto(char *protoname)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    iVar1 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int x11_identify_auth_proto(char *protoname)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    iVar1 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "x11_identify_auth_proto(char *protoname)" identifier (parameter_list "(char *protoname)" ( (parameter_declaration "char *protoname" primitive_type (pointer_declarator "*protoname" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    iVar1 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x6228)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(protoname,PTR_PC2_1357_27__000b8348 + 0x6228)" ( identifier , (binary_expression "PTR_PC2_1357_27__000b8348 + 0x6228" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = 1;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 1;\n  }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);\n    iVar1 = 2;\n    if (iVar2 != 0) {\n      iVar1 = -1;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(protoname,PTR_PC2_1357_27__000b8348 + 0x623c)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(protoname,PTR_PC2_1357_27__000b8348 + 0x623c)" ( identifier , (binary_expression "PTR_PC2_1357_27__000b8348 + 0x623c" identifier + number_literal) )))) ;) (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n      iVar1 = -1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = -1;\n    }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) })) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 x11_identify_auth_proto(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 x11_identify_auth_proto(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "x11_identify_auth_proto(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_DAT_000b8348 + 0x6228)" ( identifier , (binary_expression "PTR_DAT_000b8348 + 0x6228" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" identifier = (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" ( (pointer_expression "*(code *)PTR_strcmp_000b8d28" * (cast_expression "(code *)PTR_strcmp_000b8d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_DAT_000b8348 + 0x623c)" ( identifier , (binary_expression "PTR_DAT_000b8348 + 0x623c" identifier + number_literal) )))) ;) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = 0xffffffff;\n    }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) })) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (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 "undefined4 x11_identify_auth_proto(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "x11_identify_auth_proto(undefined4 param_1)" (identifier "x11_identify_auth_proto") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);\n  if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000b8d28" (* "*") (cast_expression "(code *)PTR_strcmp_000b8d28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000b8d28"))) () ")")) (argument_list "(param_1,PTR_DAT_000b8348 + 0x6228)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000b8348 + 0x6228" (identifier "PTR_DAT_000b8348") (+ "+") (number_literal "0x6228")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar2 = 1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 1;\n  }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);\n    uVar2 = 2;\n    if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c)" (parenthesized_expression "(*(code *)PTR_strcmp_000b8d28)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000b8d28" (* "*") (cast_expression "(code *)PTR_strcmp_000b8d28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000b8d28"))) () ")")) (argument_list "(param_1,PTR_DAT_000b8348 + 0x623c)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000b8348 + 0x623c" (identifier "PTR_DAT_000b8348") (+ "+") (number_literal "0x623c")) () ")")))) (; ";")) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar1 != 0) {\n      uVar2 = 0xffffffff;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = 0xffffffff;\n    }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}"))) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

int function_1(char *protoname)

{
  int var_2;
  int var_3;
  
  var_2 = (*(type_1 *)PTR_strcmp_000b8d28)(protoname,var_1 + 0x6228);
  if (var_2 == 0) {
    var_2 = 1;
  }
  else {
    var_3 = (*(type_1 *)PTR_strcmp_000b8d28)(protoname,var_1 + 0x623c);
    var_2 = 2;
    if (var_3 != 0) {
      var_2 = -1;
    }
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_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)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (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)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x6228);
  if (iVar1 == 0) {
    uVar2 = 1;
  }
  else {
    iVar1 = (*(code *)PTR_strcmp_000b8d28)(param_1,PTR_DAT_000b8348 + 0x623c);
    uVar2 = 2;
    if (iVar1 != 0) {
      uVar2 = 0xffffffff;
    }
  }
  return uVar2;
}

