
/* WARNING: Unknown calling convention */

int flush_update(void)

{
  int iVar1;
  
  iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),
                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),
                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));
  if (iVar1 < 0) {
    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);
    iVar1 = -1;
  }
  else {
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;
    iVar1 = 0;
  }
  return iVar1;
}



undefined4 FUN_0005b834(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),
                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),
                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));
  if (iVar1 < 0) {
    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);
    uVar2 = 0xffffffff;
  }
  else {
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;
    uVar2 = 0;
  }
  return uVar2;
}


lui gp,0xe
addiu gp,gp,-0x26e4
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw v0,-0x7de4(gp)
lwl a2,0x2c(v0)
lwl a1,0x28(v0)
lwl a0,0x34(v0)
lwr a2,0x2f(v0)
lwr a1,0x2b(v0)
lwr a0,0x37(v0)
lw t9,-0x7a64(gp)
bal 0x000613c4
_nop
lw gp,0x10(sp)
bgez v0,0x0005b8a4
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x3934
lw t9,-0x7f04(gp)
jalr t9
_nop
lw gp,0x10(sp)
li v0,-0x1
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw v0,-0x7de4(gp)
swl zero,0x2c(v0)
swr zero,0x2f(v0)
b 0x0005b898
_or v0,zero,zero
(translation_unit "undefined4 FUN_0005b834(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0005b834(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005b834(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));" (assignment_expression "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier = (call_expression "FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x34" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }" { (expression_statement "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);" (call_expression "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934)" (parenthesized_expression "(*(code *)PTR_FUN_0013124c)" ( (pointer_expression "*(code *)PTR_FUN_0013124c" * (cast_expression "(code *)PTR_FUN_0013124c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x3934)" ( (binary_expression "PTR_FUN_001311a4 + -0x3934" identifier + number_literal) ))) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" { (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint flush_update(void)\n\n{\n  int iVar1;\n  \n  iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);\n    iVar1 = -1;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int flush_update(void)\n\n{\n  int iVar1;\n  \n  iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);\n    iVar1 = -1;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "flush_update(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);\n    iVar1 = -1;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));" (assignment_expression "iVar1 = rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier = (call_expression "rtnl_send(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier (argument_list "(*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                    *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" ( (pointer_expression "*(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34)" * (cast_expression "(rtnl_handle **)(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (type_descriptor "rtnl_handle **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x34" identifier + number_literal) )))) , (pointer_expression "*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28)" * (cast_expression "(char **)(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x28" identifier + number_literal) )))) , (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);\n    iVar1 = -1;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    (*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);\n    iVar1 = -1;\n  }" { (expression_statement "(*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934);" (call_expression "(*(code *)PTR_bb_perror_msg_0013124c)(PTR_bdcommands_4__name_4__001311a4 + -0x3934)" (parenthesized_expression "(*(code *)PTR_bb_perror_msg_0013124c)" ( (pointer_expression "*(code *)PTR_bb_perror_msg_0013124c" * (cast_expression "(code *)PTR_bb_perror_msg_0013124c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x3934)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x3934" identifier + number_literal) ))) ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    iVar1 = 0;\n  }" { (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0005b834(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0005b834(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005b834(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));" (assignment_expression "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier = (call_expression "FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x34)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x34" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x28)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }" { (expression_statement "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);" (call_expression "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934)" (parenthesized_expression "(*(code *)PTR_FUN_0013124c)" ( (pointer_expression "*(code *)PTR_FUN_0013124c" * (cast_expression "(code *)PTR_FUN_0013124c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x3934)" ( (binary_expression "PTR_FUN_001311a4 + -0x3934" identifier + number_literal) ))) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" else (compound_statement "{\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" { (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0005b834(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005b834(void)" (identifier "FUN_0005b834") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));\n  if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));" (assignment_expression "iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" (identifier "iVar1") (= "=") (call_expression "FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" (identifier "FUN_000613c4") (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),\n                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c))" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x34)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x34" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x34")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x28)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x28" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x2c")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }\n  else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);\n    uVar2 = 0xffffffff;\n  }" ({ "{") (expression_statement "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);" (call_expression "(*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934)" (parenthesized_expression "(*(code *)PTR_FUN_0013124c)" (( "(") (pointer_expression "*(code *)PTR_FUN_0013124c" (* "*") (cast_expression "(code *)PTR_FUN_0013124c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0013124c"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x3934)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x3934" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x3934")) () ")"))) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x2c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x2c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (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 (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))))) (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))))) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (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 (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_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))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

undefined4 MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000613c4(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x34),
                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x28),
                       *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c));
  if (iVar1 < 0) {
    (*(code *)PTR_FUN_0013124c)(PTR_FUN_001311a4 + -0x3934);
    uVar2 = 0xffffffff;
  }
  else {
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x2c) = 0;
    uVar2 = 0;
  }
  return uVar2;
}

