
int check_unbind_variable(char *name)

{
  SHELL_VAR *pSVar1;
  int iVar2;
  char *format;
  
  pSVar1 = find_variable(name);
  if ((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)) {
    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);
    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);
    return -1;
  }
  iVar2 = unbind_variable(name);
  return iVar2;
}



undefined4 check_unbind_variable(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = find_variable();
  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {
    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);
    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);
    return 0xffffffff;
  }
  uVar2 = unbind_variable(param_1);
  return uVar2;
}


lui gp,0xf
addiu gp,gp,-0x22c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7db8(gp)
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
bal 0x00055be0
_or s0,a0,zero
beq v0,zero,0x0005c7ac
_lw gp,0x10(sp)
lw v0,0x14(v0)
andi v0,v0,0x2
bne v0,zero,0x0005c7c4
_lw t9,-0x60a8(gp)
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7ddc(gp)
lw s0,0x18(sp)
b 0x0005c6d0
_addiu sp,sp,0x20
lw a1,-0x7fc8(gp)
li a2,0x5
or a0,zero,zero
jalr t9
_addiu a1,a1,0x7074
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw a2,-0x7fc8(gp)
lw t9,-0x7d44(gp)
bal 0x0005faf8
_addiu a2,a2,0x74c0
li v0,-0x1
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 check_unbind_variable(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 check_unbind_variable(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" type_identifier (function_declarator "check_unbind_variable(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 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = find_variable();" (assignment_expression "iVar1 = find_variable()" identifier = (call_expression "find_variable()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" if (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 2) != 0)" ( (binary_expression "(*(uint *)(iVar1 + 0x14) & 2) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 2)" ( (binary_expression "*(uint *)(iVar1 + 0x14) & 2" (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7074,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7074" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);" (call_expression "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" identifier (argument_list "(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" ( identifier , identifier , (binary_expression "PTR_LAB_00144578 + 0x74c0" identifier + number_literal) ))) ;) (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar2 = unbind_variable(param_1);" (assignment_expression "uVar2 = unbind_variable(param_1)" identifier = (call_expression "unbind_variable(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int check_unbind_variable(char *name)\n\n{\n  SHELL_VAR *pSVar1;\n  int iVar2;\n  char *format;\n  \n  pSVar1 = find_variable(name);\n  if ((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)) {\n    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);\n    return -1;\n  }\n  iVar2 = unbind_variable(name);\n  return iVar2;\n}\n\n" (function_definition "int check_unbind_variable(char *name)\n\n{\n  SHELL_VAR *pSVar1;\n  int iVar2;\n  char *format;\n  \n  pSVar1 = find_variable(name);\n  if ((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)) {\n    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);\n    return -1;\n  }\n  iVar2 = unbind_variable(name);\n  return iVar2;\n}" primitive_type (function_declarator "check_unbind_variable(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  SHELL_VAR *pSVar1;\n  int iVar2;\n  char *format;\n  \n  pSVar1 = find_variable(name);\n  if ((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)) {\n    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);\n    return -1;\n  }\n  iVar2 = unbind_variable(name);\n  return iVar2;\n}" { (declaration "SHELL_VAR *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "pSVar1 = find_variable(name);" (assignment_expression "pSVar1 = find_variable(name)" identifier = (call_expression "find_variable(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if ((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)) {\n    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);\n    return -1;\n  }" if (parenthesized_expression "((pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0))" ( (binary_expression "(pSVar1 != (SHELL_VAR *)0x0) && ((pSVar1->attributes & 2U) != 0)" (parenthesized_expression "(pSVar1 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar1 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((pSVar1->attributes & 2U) != 0)" ( (binary_expression "(pSVar1->attributes & 2U) != 0" (parenthesized_expression "(pSVar1->attributes & 2U)" ( (binary_expression "pSVar1->attributes & 2U" (field_expression "pSVar1->attributes" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(format,name,PTR_LAB_00144578 + 0x74c0);\n    return -1;\n  }" { (expression_statement "format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);" (assignment_expression "format = (char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7074,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7074" identifier + number_literal) , number_literal ))))) ;) (expression_statement "internal_error(format,name,PTR_LAB_00144578 + 0x74c0);" (call_expression "internal_error(format,name,PTR_LAB_00144578 + 0x74c0)" identifier (argument_list "(format,name,PTR_LAB_00144578 + 0x74c0)" ( identifier , identifier , (binary_expression "PTR_LAB_00144578 + 0x74c0" identifier + number_literal) ))) ;) (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar2 = unbind_variable(name);" (assignment_expression "iVar2 = unbind_variable(name)" identifier = (call_expression "unbind_variable(name)" identifier (argument_list "(name)" ( identifier )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 check_unbind_variable(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 check_unbind_variable(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" type_identifier (function_declarator "check_unbind_variable(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 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = find_variable();" (assignment_expression "iVar1 = find_variable()" identifier = (call_expression "find_variable()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" if (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 2) != 0)" ( (binary_expression "(*(uint *)(iVar1 + 0x14) & 2) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 2)" ( (binary_expression "*(uint *)(iVar1 + 0x14) & 2" (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" ( (pointer_expression "*(code *)PTR_dcgettext_00146498" * (cast_expression "(code *)PTR_dcgettext_00146498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_00144578 + 0x7074,5)" ( number_literal , (binary_expression "PTR_LAB_00144578 + 0x7074" identifier + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);" (call_expression "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" identifier (argument_list "(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" ( identifier , identifier , (binary_expression "PTR_LAB_00144578 + 0x74c0" identifier + number_literal) ))) ;) (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar2 = unbind_variable(param_1);" (assignment_expression "uVar2 = unbind_variable(param_1)" identifier = (call_expression "unbind_variable(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (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 IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (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) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 check_unbind_variable(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "check_unbind_variable(undefined4 param_1)" (identifier "check_unbind_variable") (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 = find_variable();\n  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }\n  uVar2 = unbind_variable(param_1);\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = find_variable();" (assignment_expression "iVar1 = find_variable()" (identifier "iVar1") (= "=") (call_expression "find_variable()" (identifier "find_variable") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0))" (( "(") (binary_expression "(iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(iVar1 + 0x14) & 2) != 0)" (( "(") (binary_expression "(*(uint *)(iVar1 + 0x14) & 2) != 0" (parenthesized_expression "(*(uint *)(iVar1 + 0x14) & 2)" (( "(") (binary_expression "*(uint *)(iVar1 + 0x14) & 2" (pointer_expression "*(uint *)(iVar1 + 0x14)" (* "*") (cast_expression "(uint *)(iVar1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);\n    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);\n    return 0xffffffff;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00146498)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00146498" (* "*") (cast_expression "(code *)PTR_dcgettext_00146498" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00146498"))) () ")")) (argument_list "(0,PTR_LAB_00144578 + 0x7074,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_00144578 + 0x7074" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x7074")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);" (call_expression "internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" (identifier "internal_error") (argument_list "(uVar2,param_1,PTR_LAB_00144578 + 0x74c0)" (( "(") (identifier "uVar2") (, ",") (identifier "param_1") (, ",") (binary_expression "PTR_LAB_00144578 + 0x74c0" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x74c0")) () ")"))) (; ";")) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "uVar2 = unbind_variable(param_1);" (assignment_expression "uVar2 = unbind_variable(param_1)" (identifier "uVar2") (= "=") (call_expression "unbind_variable(param_1)" (identifier "unbind_variable") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

int function_1(char *name)

{
  type_1 *var_2;
  int iVar2;
  char *format;
  
  var_2 = var_1(name);
  if ((var_2 != (type_1 *)0x0) && ((var_2->attributes & 2U) != 0)) {
    format = (char *)(*(type_2 *)PTR_dcgettext_00146498)(0,var_3 + 0x7074,5);
    var_4(format,name,var_3 + 0x74c0);
    return -1;
  }
  iVar2 = var_5(name);
  return iVar2;
}


(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: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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))))) 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: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = find_variable();
  if ((iVar1 != 0) && ((*(uint *)(iVar1 + 0x14) & 2) != 0)) {
    uVar2 = (*(code *)PTR_dcgettext_00146498)(0,PTR_LAB_00144578 + 0x7074,5);
    internal_error(uVar2,param_1,PTR_LAB_00144578 + 0x74c0);
    return 0xffffffff;
  }
  uVar2 = unbind_variable(param_1);
  return uVar2;
}

