
bfd_boolean hook_in_stub(hook_stub_info *info,lang_statement_union_type **lp)

{
  lang_statement_union_type *plVar1;
  int iVar2;
  
  plVar1 = *lp;
  do {
    if (plVar1 == (lang_statement_union_type *)0x0) {
      return 0;
    }
    switch((plVar1->header).type) {
    case lang_output_section_statement_enum:
    case lang_group_statement_enum:
      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);
      goto joined_r0x00155546;
    case lang_assignment_statement_enum:
    case lang_input_statement_enum:
    case lang_address_statement_enum:
    case lang_object_symbols_statement_enum:
    case lang_fill_statement_enum:
    case lang_data_statement_enum:
    case lang_reloc_statement_enum:
    case lang_target_statement_enum:
    case lang_output_statement_enum:
    case lang_padding_statement_enum:
      break;
    case lang_wild_statement_enum:
      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)
      ;
      goto joined_r0x00155546;
    case lang_input_section_enum:
      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {
        *(info->add).tail = (plVar1->header).next;
        (plVar1->header).next = (info->add).head;
        return 1;
      }
      break;
    default:
      info_assert("earmelfb_linux_eabi.c",0x11b);
      break;
    case lang_constructors_statement_enum:
      iVar2 = hook_in_stub(info,&constructor_list.head);
joined_r0x00155546:
      if (iVar2 != 0) {
        return iVar2;
      }
    }
    plVar1 = (plVar1->header).next;
  } while( true );
}



undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)

{
  int iVar1;
  undefined8 uVar2;
  
  param_2 = (undefined8 *)*param_2;
  do {
    if (param_2 == (undefined8 *)0x0) {
      return 0;
    }
    switch(*(undefined4 *)(param_2 + 1)) {
    case 0:
    case 0xd:
      uVar2 = FUN_001554b0(param_1,param_2 + 2);
      iVar1 = (int)uVar2;
      goto joined_r0x00155546;
    case 1:
    case 2:
    case 3:
    case 6:
    case 7:
    case 8:
    case 9:
    case 10:
    case 0xb:
    case 0xc:
      break;
    case 4:
      uVar2 = FUN_001554b0(param_1,param_2 + 6);
      iVar1 = (int)uVar2;
      goto joined_r0x00155546;
    case 5:
      if (param_2[2] == param_1[2]) {
        *(undefined8 *)param_1[1] = *param_2;
        *param_2 = *param_1;
        return 1;
      }
      break;
    default:
      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);
      break;
    case 0xf:
      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);
      iVar1 = (int)uVar2;
joined_r0x00155546:
      if (iVar1 != 0) {
        return uVar2;
      }
    }
    param_2 = (undefined8 *)*param_2;
  } while( true );
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,qword ptr [RSI]
TEST RBX,RBX
JZ 0x00155508
MOV R12,RDI
LEA RBP,[0x25d5a8]
NOP word ptr CS:[RAX + RAX*0x1]
CMP dword ptr [RBX + 0x8],0xf
JA 0x00155568
MOV EAX,dword ptr [RBX + 0x8]
MOVSXD RAX,dword ptr [RBP + RAX*0x4]
ADD RAX,RBP
JMP RAX
LEA RSI,[RBX + 0x10]
MOV RDI,R12
CALL 0x001554b0
TEST EAX,EAX
JNZ 0x0015550a
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x001554d0
XOR EAX,EAX
POP RBX
POP RBP
POP R12
RET
MOV RAX,qword ptr [R12 + 0x10]
CMP qword ptr [RBX + 0x10],RAX
JNZ 0x00155500
MOV RAX,qword ptr [R12 + 0x8]
MOV RDX,qword ptr [RBX]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [R12]
MOV qword ptr [RBX],RAX
MOV EAX,0x1
JMP 0x0015550a
LEA RSI,[RBX + 0x30]
MOV RDI,R12
CALL 0x001554b0
TEST EAX,EAX
JZ 0x00155500
JMP 0x0015550a
LEA RSI,[0x2a6660]
MOV RDI,R12
CALL 0x001554b0
TEST EAX,EAX
JZ 0x00155500
JMP 0x0015550a
MOV ESI,0x11b
LEA RDI,[0x25d04d]
CALL 0x001294d0
JMP 0x00155500
(translation_unit "undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" type_identifier (function_declarator "FUN_001554b0(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );" do (compound_statement "{\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  }" { (if_statement "if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == (undefined8 *)0x0)" ( (binary_expression "param_2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (switch_statement "switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" switch (parenthesized_expression "(*(undefined4 *)(param_2 + 1))" ( (pointer_expression "*(undefined4 *)(param_2 + 1)" * (cast_expression "(undefined4 *)(param_2 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) )) (compound_statement "{\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 2);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 2)" identifier = (call_expression "FUN_001554b0(param_1,param_2 + 2)" identifier (argument_list "(param_1,param_2 + 2)" ( identifier , (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 10:" case number_literal :) (case_statement "case 0xb:" case number_literal :) (case_statement "case 0xc:\n      break;" case number_literal : (break_statement "break;" break ;)) (case_statement "case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 6);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 6)" identifier = (call_expression "FUN_001554b0(param_1,param_2 + 6)" identifier (argument_list "(param_1,param_2 + 6)" ( identifier , (binary_expression "param_2 + 6" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;" case number_literal : (if_statement "if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" if (parenthesized_expression "(param_2[2] == param_1[2])" ( (binary_expression "param_2[2] == param_1[2]" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" { (expression_statement "*(undefined8 *)param_1[1] = *param_2;" (assignment_expression "*(undefined8 *)param_1[1] = *param_2" (pointer_expression "*(undefined8 *)param_1[1]" * (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;" default : (expression_statement "FUN_001294d0("earmelfb_linux_eabi.c",0x11b);" (call_expression "FUN_001294d0("earmelfb_linux_eabi.c",0x11b)" identifier (argument_list "("earmelfb_linux_eabi.c",0x11b)" ( (string_literal ""earmelfb_linux_eabi.c"" " string_content ") , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,&DAT_002a6660);" (assignment_expression "uVar2 = FUN_001554b0(param_1,&DAT_002a6660)" identifier = (call_expression "FUN_001554b0(param_1,&DAT_002a6660)" identifier (argument_list "(param_1,&DAT_002a6660)" ( identifier , (pointer_expression "&DAT_002a6660" & identifier) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "joined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" statement_identifier : (if_statement "if (iVar1 != 0) {\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })))) })) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "bfd_boolean hook_in_stub(hook_stub_info *info,lang_statement_union_type **lp)\n\n{\n  lang_statement_union_type *plVar1;\n  int iVar2;\n  \n  plVar1 = *lp;\n  do {\n    if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }\n    switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }\n    plVar1 = (plVar1->header).next;\n  } while( true );\n}\n\n" (function_definition "bfd_boolean hook_in_stub(hook_stub_info *info,lang_statement_union_type **lp)\n\n{\n  lang_statement_union_type *plVar1;\n  int iVar2;\n  \n  plVar1 = *lp;\n  do {\n    if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }\n    switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }\n    plVar1 = (plVar1->header).next;\n  } while( true );\n}" type_identifier (function_declarator "hook_in_stub(hook_stub_info *info,lang_statement_union_type **lp)" identifier (parameter_list "(hook_stub_info *info,lang_statement_union_type **lp)" ( (parameter_declaration "hook_stub_info *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "lang_statement_union_type **lp" type_identifier (pointer_declarator "**lp" * (pointer_declarator "*lp" * identifier))) ))) (compound_statement "{\n  lang_statement_union_type *plVar1;\n  int iVar2;\n  \n  plVar1 = *lp;\n  do {\n    if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }\n    switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }\n    plVar1 = (plVar1->header).next;\n  } while( true );\n}" { (declaration "lang_statement_union_type *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "plVar1 = *lp;" (assignment_expression "plVar1 = *lp" identifier = (pointer_expression "*lp" * identifier)) ;) (do_statement "do {\n    if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }\n    switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }\n    plVar1 = (plVar1->header).next;\n  } while( true );" do (compound_statement "{\n    if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }\n    switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }\n    plVar1 = (plVar1->header).next;\n  }" { (if_statement "if (plVar1 == (lang_statement_union_type *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(plVar1 == (lang_statement_union_type *)0x0)" ( (binary_expression "plVar1 == (lang_statement_union_type *)0x0" identifier == (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (switch_statement "switch((plVar1->header).type) {\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }" switch (parenthesized_expression "((plVar1->header).type)" ( (field_expression "(plVar1->header).type" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) )) (compound_statement "{\n    case lang_output_section_statement_enum:\n    case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;\n    case lang_assignment_statement_enum:\n    case lang_input_statement_enum:\n    case lang_address_statement_enum:\n    case lang_object_symbols_statement_enum:\n    case lang_fill_statement_enum:\n    case lang_data_statement_enum:\n    case lang_reloc_statement_enum:\n    case lang_target_statement_enum:\n    case lang_output_statement_enum:\n    case lang_padding_statement_enum:\n      break;\n    case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;\n    case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;\n    default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n    }" { (case_statement "case lang_output_section_statement_enum:" case identifier :) (case_statement "case lang_group_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);\n      goto joined_r0x00155546;" case identifier : (expression_statement "iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp);" (assignment_expression "iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp)" identifier = (call_expression "hook_in_stub(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp)" identifier (argument_list "(info,(lang_statement_union_type **)&(plVar1->assignment_statement).exp)" ( identifier , (cast_expression "(lang_statement_union_type **)&(plVar1->assignment_statement).exp" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(plVar1->assignment_statement).exp" & (field_expression "(plVar1->assignment_statement).exp" (parenthesized_expression "(plVar1->assignment_statement)" ( (field_expression "plVar1->assignment_statement" identifier -> field_identifier) )) . field_identifier))) )))) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case lang_assignment_statement_enum:" case identifier :) (case_statement "case lang_input_statement_enum:" case identifier :) (case_statement "case lang_address_statement_enum:" case identifier :) (case_statement "case lang_object_symbols_statement_enum:" case identifier :) (case_statement "case lang_fill_statement_enum:" case identifier :) (case_statement "case lang_data_statement_enum:" case identifier :) (case_statement "case lang_reloc_statement_enum:" case identifier :) (case_statement "case lang_target_statement_enum:" case identifier :) (case_statement "case lang_output_statement_enum:" case identifier :) (case_statement "case lang_padding_statement_enum:\n      break;" case identifier : (break_statement "break;" break ;)) (case_statement "case lang_wild_statement_enum:\n      iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;\n      goto joined_r0x00155546;" case identifier : (expression_statement "iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)\n      ;" (assignment_expression "iVar2 = hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)" identifier = (call_expression "hook_in_stub(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)" identifier (argument_list "(info,(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp)" ( identifier , (cast_expression "(lang_statement_union_type **)&(plVar1->reloc_statement).addend_exp" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(plVar1->reloc_statement).addend_exp" & (field_expression "(plVar1->reloc_statement).addend_exp" (parenthesized_expression "(plVar1->reloc_statement)" ( (field_expression "plVar1->reloc_statement" identifier -> field_identifier) )) . field_identifier))) )))) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case lang_input_section_enum:\n      if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }\n      break;" case identifier : (if_statement "if ((asection *)(plVar1->wild_statement).filename == info->input_section) {\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }" if (parenthesized_expression "((asection *)(plVar1->wild_statement).filename == info->input_section)" ( (binary_expression "(asection *)(plVar1->wild_statement).filename == info->input_section" (cast_expression "(asection *)(plVar1->wild_statement).filename" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(plVar1->wild_statement).filename" (parenthesized_expression "(plVar1->wild_statement)" ( (field_expression "plVar1->wild_statement" identifier -> field_identifier) )) . field_identifier)) == (field_expression "info->input_section" identifier -> field_identifier)) )) (compound_statement "{\n        *(info->add).tail = (plVar1->header).next;\n        (plVar1->header).next = (info->add).head;\n        return 1;\n      }" { (expression_statement "*(info->add).tail = (plVar1->header).next;" (assignment_expression "*(info->add).tail = (plVar1->header).next" (pointer_expression "*(info->add).tail" * (field_expression "(info->add).tail" (parenthesized_expression "(info->add)" ( (field_expression "info->add" identifier -> field_identifier) )) . field_identifier)) = (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(plVar1->header).next = (info->add).head;" (assignment_expression "(plVar1->header).next = (info->add).head" (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) = (field_expression "(info->add).head" (parenthesized_expression "(info->add)" ( (field_expression "info->add" identifier -> field_identifier) )) . field_identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      info_assert("earmelfb_linux_eabi.c",0x11b);\n      break;" default : (expression_statement "info_assert("earmelfb_linux_eabi.c",0x11b);" (call_expression "info_assert("earmelfb_linux_eabi.c",0x11b)" identifier (argument_list "("earmelfb_linux_eabi.c",0x11b)" ( (string_literal ""earmelfb_linux_eabi.c"" " string_content ") , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case lang_constructors_statement_enum:\n      iVar2 = hook_in_stub(info,&constructor_list.head);\njoined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }" case identifier : (expression_statement "iVar2 = hook_in_stub(info,&constructor_list.head);" (assignment_expression "iVar2 = hook_in_stub(info,&constructor_list.head)" identifier = (call_expression "hook_in_stub(info,&constructor_list.head)" identifier (argument_list "(info,&constructor_list.head)" ( identifier , (pointer_expression "&constructor_list.head" & (field_expression "constructor_list.head" identifier . field_identifier)) )))) ;) (labeled_statement "joined_r0x00155546:\n      if (iVar2 != 0) {\n        return iVar2;\n      }" statement_identifier : (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })))) })) (expression_statement "plVar1 = (plVar1->header).next;" (assignment_expression "plVar1 = (plVar1->header).next" identifier = (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" type_identifier (function_declarator "FUN_001554b0(undefined8 *param_1,undefined8 *param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );" do (compound_statement "{\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  }" { (if_statement "if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == (undefined8 *)0x0)" ( (binary_expression "param_2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (switch_statement "switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" switch (parenthesized_expression "(*(undefined4 *)(param_2 + 1))" ( (pointer_expression "*(undefined4 *)(param_2 + 1)" * (cast_expression "(undefined4 *)(param_2 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) )) (compound_statement "{\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 2);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 2)" identifier = (call_expression "FUN_001554b0(param_1,param_2 + 2)" identifier (argument_list "(param_1,param_2 + 2)" ( identifier , (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 10:" case number_literal :) (case_statement "case 0xb:" case number_literal :) (case_statement "case 0xc:\n      break;" case number_literal : (break_statement "break;" break ;)) (case_statement "case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 6);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 6)" identifier = (call_expression "FUN_001554b0(param_1,param_2 + 6)" identifier (argument_list "(param_1,param_2 + 6)" ( identifier , (binary_expression "param_2 + 6" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto joined_r0x00155546;" goto statement_identifier ;)) (case_statement "case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;" case number_literal : (if_statement "if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" if (parenthesized_expression "(param_2[2] == param_1[2])" ( (binary_expression "param_2[2] == param_1[2]" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" { (expression_statement "*(undefined8 *)param_1[1] = *param_2;" (assignment_expression "*(undefined8 *)param_1[1] = *param_2" (pointer_expression "*(undefined8 *)param_1[1]" * (cast_expression "(undefined8 *)param_1[1]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (break_statement "break;" break ;)) (case_statement "default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;" default : (expression_statement "FUN_001294d0("earmelfb_linux_eabi.c",0x11b);" (call_expression "FUN_001294d0("earmelfb_linux_eabi.c",0x11b)" identifier (argument_list "("earmelfb_linux_eabi.c",0x11b)" ( (string_literal ""earmelfb_linux_eabi.c"" " string_content ") , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" case number_literal : (expression_statement "uVar2 = FUN_001554b0(param_1,&DAT_002a6660);" (assignment_expression "uVar2 = FUN_001554b0(param_1,&DAT_002a6660)" identifier = (call_expression "FUN_001554b0(param_1,&DAT_002a6660)" identifier (argument_list "(param_1,&DAT_002a6660)" ( identifier , (pointer_expression "&DAT_002a6660" & identifier) )))) ;) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "joined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" statement_identifier : (if_statement "if (iVar1 != 0) {\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })))) })) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (switch_statement switch (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (return_statement return LIT ;) })) (break_statement break ;)) (case_statement default : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined8 FUN_001554b0(undefined8 *param_1,undefined8 *param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" (type_identifier "undefined8") (function_declarator "FUN_001554b0(undefined8 *param_1,undefined8 *param_2)" (identifier "FUN_001554b0") (parameter_list "(undefined8 *param_1,undefined8 *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  param_2 = (undefined8 *)*param_2;\n  do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" (identifier "param_2") (= "=") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (do_statement "do {\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  } while( true );" (do "do") (compound_statement "{\n    if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }\n    switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }\n    param_2 = (undefined8 *)*param_2;\n  }" ({ "{") (if_statement "if (param_2 == (undefined8 *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2 == (undefined8 *)0x0)" (( "(") (binary_expression "param_2 == (undefined8 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (switch_statement "switch(*(undefined4 *)(param_2 + 1)) {\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" (switch "switch") (parenthesized_expression "(*(undefined4 *)(param_2 + 1))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 1)" (* "*") (cast_expression "(undefined4 *)(param_2 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) () ")")) (compound_statement "{\n    case 0:\n    case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 1:\n    case 2:\n    case 3:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 0xb:\n    case 0xc:\n      break;\n    case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;\n    case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;\n    default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;\n    case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }\n    }" ({ "{") (case_statement "case 0:" (case "case") (number_literal "0") (: ":")) (case_statement "case 0xd:\n      uVar2 = FUN_001554b0(param_1,param_2 + 2);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" (case "case") (number_literal "0xd") (: ":") (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 2);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 2)" (identifier "uVar2") (= "=") (call_expression "FUN_001554b0(param_1,param_2 + 2)" (identifier "FUN_001554b0") (argument_list "(param_1,param_2 + 2)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" (identifier "iVar1") (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (goto_statement "goto joined_r0x00155546;" (goto "goto") (statement_identifier "joined_r0x00155546") (; ";"))) (case_statement "case 1:" (case "case") (number_literal "1") (: ":")) (case_statement "case 2:" (case "case") (number_literal "2") (: ":")) (case_statement "case 3:" (case "case") (number_literal "3") (: ":")) (case_statement "case 6:" (case "case") (number_literal "6") (: ":")) (case_statement "case 7:" (case "case") (number_literal "7") (: ":")) (case_statement "case 8:" (case "case") (number_literal "8") (: ":")) (case_statement "case 9:" (case "case") (number_literal "9") (: ":")) (case_statement "case 10:" (case "case") (number_literal "10") (: ":")) (case_statement "case 0xb:" (case "case") (number_literal "0xb") (: ":")) (case_statement "case 0xc:\n      break;" (case "case") (number_literal "0xc") (: ":") (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:\n      uVar2 = FUN_001554b0(param_1,param_2 + 6);\n      iVar1 = (int)uVar2;\n      goto joined_r0x00155546;" (case "case") (number_literal "4") (: ":") (expression_statement "uVar2 = FUN_001554b0(param_1,param_2 + 6);" (assignment_expression "uVar2 = FUN_001554b0(param_1,param_2 + 6)" (identifier "uVar2") (= "=") (call_expression "FUN_001554b0(param_1,param_2 + 6)" (identifier "FUN_001554b0") (argument_list "(param_1,param_2 + 6)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")")))) (; ";")) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" (identifier "iVar1") (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (goto_statement "goto joined_r0x00155546;" (goto "goto") (statement_identifier "joined_r0x00155546") (; ";"))) (case_statement "case 5:\n      if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }\n      break;" (case "case") (number_literal "5") (: ":") (if_statement "if (param_2[2] == param_1[2]) {\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" (if "if") (parenthesized_expression "(param_2[2] == param_1[2])" (( "(") (binary_expression "param_2[2] == param_1[2]" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (== "==") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")")) (compound_statement "{\n        *(undefined8 *)param_1[1] = *param_2;\n        *param_2 = *param_1;\n        return 1;\n      }" ({ "{") (expression_statement "*(undefined8 *)param_1[1] = *param_2;" (assignment_expression "*(undefined8 *)param_1[1] = *param_2" (pointer_expression "*(undefined8 *)param_1[1]" (* "*") (cast_expression "(undefined8 *)param_1[1]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);\n      break;" (default "default") (: ":") (expression_statement "FUN_001294d0("earmelfb_linux_eabi.c",0x11b);" (call_expression "FUN_001294d0("earmelfb_linux_eabi.c",0x11b)" (identifier "FUN_001294d0") (argument_list "("earmelfb_linux_eabi.c",0x11b)" (( "(") (string_literal ""earmelfb_linux_eabi.c"" (" """) (string_content "earmelfb_linux_eabi.c") (" """)) (, ",") (number_literal "0x11b") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xf:\n      uVar2 = FUN_001554b0(param_1,&DAT_002a6660);\n      iVar1 = (int)uVar2;\njoined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" (case "case") (number_literal "0xf") (: ":") (expression_statement "uVar2 = FUN_001554b0(param_1,&DAT_002a6660);" (assignment_expression "uVar2 = FUN_001554b0(param_1,&DAT_002a6660)" (identifier "uVar2") (= "=") (call_expression "FUN_001554b0(param_1,&DAT_002a6660)" (identifier "FUN_001554b0") (argument_list "(param_1,&DAT_002a6660)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002a6660" (& "&") (identifier "DAT_002a6660")) () ")")))) (; ";")) (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" (identifier "iVar1") (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (labeled_statement "joined_r0x00155546:\n      if (iVar1 != 0) {\n        return uVar2;\n      }" (statement_identifier "joined_r0x00155546") (: ":") (if_statement "if (iVar1 != 0) {\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return uVar2;\n      }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))))) (} "}"))) (expression_statement "param_2 = (undefined8 *)*param_2;" (assignment_expression "param_2 = (undefined8 *)*param_2" (identifier "param_2") (= "=") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(type_2 *info,type_3 **lp)

{
  type_3 *var_1;
  int var_3;
  
  var_1 = *lp;
  do {
    if (var_1 == (type_3 *)0x0) {
      return 0;
    }
    switch((var_1->header).type) {
    case lang_output_section_statement_enum:
    case lang_group_statement_enum:
      var_3 = function_1(info,(type_3 **)&(var_1->assignment_statement).exp);
      goto joined_r0x00155546;
    case lang_assignment_statement_enum:
    case lang_input_statement_enum:
    case lang_address_statement_enum:
    case lang_object_symbols_statement_enum:
    case lang_fill_statement_enum:
    case lang_data_statement_enum:
    case lang_reloc_statement_enum:
    case lang_target_statement_enum:
    case lang_output_statement_enum:
    case lang_padding_statement_enum:
      break;
    case lang_wild_statement_enum:
      var_3 = function_1(info,(type_3 **)&(var_1->reloc_statement).addend_exp)
      ;
      goto joined_r0x00155546;
    case lang_input_section_enum:
      if ((type_4 *)(var_1->wild_statement).filename == info->input_section) {
        *(info->add).tail = (var_1->header).next;
        (var_1->header).next = (info->add).head;
        return 1;
      }
      break;
    default:
      var_2("earmelfb_linux_eabi.c",0x11b);
      break;
    case lang_constructors_statement_enum:
      var_3 = function_1(info,&constructor_list.head);
joined_r0x00155546:
      if (var_3 != 0) {
        return var_3;
      }
    }
    var_1 = (var_1->header).next;
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (switch_statement condition: (parenthesized_expression (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)))))) body: (compound_statement (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement (number_literal)))) (break_statement)) (case_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (true))))))

undefined8 MASKED(undefined8 *param_1,undefined8 *param_2)

{
  int iVar1;
  undefined8 uVar2;
  
  param_2 = (undefined8 *)*param_2;
  do {
    if (param_2 == (undefined8 *)0x0) {
      return 0;
    }
    switch(*(undefined4 *)(param_2 + 1)) {
    case 0:
    case 0xd:
      uVar2 = MASKED(param_1,param_2 + 2);
      iVar1 = (int)uVar2;
      goto joined_r0x00155546;
    case 1:
    case 2:
    case 3:
    case 6:
    case 7:
    case 8:
    case 9:
    case 10:
    case 0xb:
    case 0xc:
      break;
    case 4:
      uVar2 = MASKED(param_1,param_2 + 6);
      iVar1 = (int)uVar2;
      goto joined_r0x00155546;
    case 5:
      if (param_2[2] == param_1[2]) {
        *(undefined8 *)param_1[1] = *param_2;
        *param_2 = *param_1;
        return 1;
      }
      break;
    default:
      FUN_001294d0("earmelfb_linux_eabi.c",0x11b);
      break;
    case 0xf:
      uVar2 = MASKED(param_1,&DAT_002a6660);
      iVar1 = (int)uVar2;
joined_r0x00155546:
      if (iVar1 != 0) {
        return uVar2;
      }
    }
    param_2 = (undefined8 *)*param_2;
  } while( true );
}

