
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
move_input_section(lang_statement_list_type *list,lang_statement_union_type **u,
                  lang_statement_union_type **to)

{
  lang_statement_union *plVar1;
  lang_statement_union *plVar2;
  asection *paVar3;
  lang_statement_union_type *plVar4;
  bfd_link_order *pbVar5;
  bfd_section *pbVar6;
  bfd_section *pbVar7;
  bfd_section *pbVar8;
  
  plVar1 = *u;
  plVar2 = (plVar1->header).next;
  paVar3 = (plVar1->input_section).section;
  *u = plVar2;
  if (plVar2 == (lang_statement_union *)0x0) {
    list->head = (lang_statement_union *)u;
    (plVar1->header).next = *to;
    *to = plVar1;
    plVar2 = list->head;
  }
  else {
    (plVar1->header).next = *to;
    *to = plVar1;
    plVar2 = list->head;
  }
  if ((lang_statement_union *)to == plVar2) {
    list->head = plVar1;
  }
  pbVar7 = (paVar3->map_tail).s;
  pbVar6 = (paVar3->map_head).s;
  pbVar8 = pbVar7;
  if (pbVar7 == (bfd_section *)0x0) {
    pbVar8 = paVar3->output_section;
  }
  (pbVar8->map_head).s = pbVar6;
  if (pbVar6 == (bfd_section *)0x0) {
    pbVar6 = paVar3->output_section;
  }
  (pbVar6->map_tail).s = pbVar7;
  if ((((plVar1->header).next)->header).type == lang_input_section_enum) {
    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;
    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;
    (paVar3->map_head).link_order = pbVar5;
    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;
    if (pbVar7 == (bfd_section *)0x0) {
      pbVar7 = paVar3->output_section;
    }
    (pbVar7->map_head).s = paVar3;
    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;
    return;
  }
  if (to[1] != (lang_statement_union_type *)0x5) {
    info_assert("eelf64ppc.c",0x107);
  }
  plVar4 = to[2];
  pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size;
  (paVar3->map_tail).link_order = (bfd_link_order *)plVar4;
  (paVar3->map_head).link_order = pbVar5;
  (((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3;
  if (pbVar5 == (bfd_link_order *)0x0) {
    (paVar3->output_section->map_tail).s = paVar3;
    return;
  }
  pbVar5[5].u.data.contents = (bfd_byte *)paVar3;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  piVar2 = (int *)*param_2;
  iVar3 = *piVar2;
  iVar4 = piVar2[2];
  *param_2 = iVar3;
  if (iVar3 == 0) {
    *param_1 = (int)param_2;
    *piVar2 = *param_3;
    *param_3 = (int)piVar2;
    piVar1 = (int *)*param_1;
  }
  else {
    *piVar2 = *param_3;
    *param_3 = (int)piVar2;
    piVar1 = (int *)*param_1;
  }
  if (param_3 == piVar1) {
    *param_1 = (int)piVar2;
  }
  iVar3 = *(int *)(iVar4 + 0xbc);
  iVar5 = *(int *)(iVar4 + 0xb8);
  iVar6 = iVar3;
  if (iVar3 == 0) {
    iVar6 = *(int *)(iVar4 + 0x54);
  }
  *(int *)(iVar6 + 0xb8) = iVar5;
  if (iVar5 == 0) {
    iVar5 = *(int *)(iVar4 + 0x54);
  }
  *(int *)(iVar5 + 0xbc) = iVar3;
  if (*(int *)(*piVar2 + 4) == 5) {
    iVar3 = *(int *)(*piVar2 + 8);
    iVar5 = *(int *)(iVar3 + 0xbc);
    *(int *)(iVar4 + 0xb8) = iVar3;
    *(int *)(iVar4 + 0xbc) = iVar5;
    if (iVar5 == 0) {
      iVar5 = *(int *)(iVar4 + 0x54);
    }
    *(int *)(iVar5 + 0xb8) = iVar4;
    *(int *)(iVar3 + 0xbc) = iVar4;
    return;
  }
  if (param_3[1] != 5) {
    FUN_00034db0("eelf64ppc.c",0x107);
  }
  iVar3 = param_3[2];
  iVar5 = *(int *)(iVar3 + 0xb8);
  *(int *)(iVar4 + 0xbc) = iVar3;
  *(int *)(iVar4 + 0xb8) = iVar5;
  *(int *)(iVar3 + 0xb8) = iVar4;
  if (iVar5 == 0) {
    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;
    return;
  }
  *(int *)(iVar5 + 0xbc) = iVar4;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017bc0
ADD EBX,0x168c17
SUB ESP,0xc
MOV EDI,dword ptr [EDX]
MOV EBP,dword ptr [EDI]
MOV ESI,dword ptr [EDI + 0x8]
MOV dword ptr [EDX],EBP
TEST EBP,EBP
JZ 0x000564f0
MOV EDX,dword ptr [ECX]
MOV dword ptr [EDI],EDX
MOV dword ptr [ECX],EDI
CMP ECX,dword ptr [EAX]
JZ 0x00056500
MOV EDX,dword ptr [ESI + 0xbc]
MOV EAX,dword ptr [ESI + 0xb8]
MOV EBP,EDX
TEST EDX,EDX
JZ 0x00056520
MOV dword ptr [EBP + 0xb8],EAX
TEST EAX,EAX
JZ 0x00056510
MOV dword ptr [EAX + 0xbc],EDX
MOV EAX,dword ptr [EDI]
CMP dword ptr [EAX + 0x4],0x5
JZ 0x000564b8
CMP dword ptr [ECX + 0x4],0x5
MOV EDI,ECX
JNZ 0x00056480
MOV EDX,dword ptr [EDI + 0x8]
MOV EAX,dword ptr [EDX + 0xb8]
MOV dword ptr [ESI + 0xbc],EDX
MOV dword ptr [ESI + 0xb8],EAX
MOV dword ptr [EDX + 0xb8],ESI
TEST EAX,EAX
JZ 0x000564a0
MOV dword ptr [EAX + 0xbc],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xfffaf809]
PUSH 0x107
PUSH EAX
CALL 0x00034db0
ADD ESP,0x10
JMP 0x0005644b
MOV EAX,dword ptr [ESI + 0x54]
MOV dword ptr [EAX + 0xbc],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EAX + 0xbc]
MOV dword ptr [ESI + 0xb8],EAX
MOV dword ptr [ESI + 0xbc],EDX
TEST EDX,EDX
JNZ 0x000564d4
MOV EDX,dword ptr [ESI + 0x54]
MOV dword ptr [EDX + 0xb8],ESI
MOV dword ptr [EAX + 0xbc],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ECX]
MOV dword ptr [EDI],EDX
MOV dword ptr [ECX],EDI
CMP ECX,dword ptr [EAX]
JNZ 0x00056411
MOV dword ptr [EAX],EDI
JMP 0x00056411
MOV EAX,dword ptr [ESI + 0x54]
JMP 0x00056435
MOV EBP,dword ptr [ESI + 0x54]
JMP 0x00056427
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000563e0(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar4 = piVar2[2];" (assignment_expression "iVar4 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" { (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) (else_clause "else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" else (compound_statement "{\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" { (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }))) (if_statement "if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }" if (parenthesized_expression "(param_3 == piVar1)" ( (binary_expression "param_3 == piVar1" identifier == identifier) )) (compound_statement "{\n    *param_1 = (int)piVar2;\n  }" { (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "iVar3 = *(int *)(iVar4 + 0xbc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xbc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xb8)" identifier = (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" { (expression_statement "iVar6 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar6 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar6 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar6 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar6 + 0xb8)" * (cast_expression "(int *)(iVar6 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xb8)" ( (binary_expression "iVar6 + 0xb8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xbc)" * (cast_expression "(int *)(iVar5 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xbc)" ( (binary_expression "iVar5 + 0xbc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" if (parenthesized_expression "(*(int *)(*piVar2 + 4) == 5)" ( (binary_expression "*(int *)(*piVar2 + 4) == 5" (pointer_expression "*(int *)(*piVar2 + 4)" * (cast_expression "(int *)(*piVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 4)" ( (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" { (expression_statement "iVar3 = *(int *)(*piVar2 + 8);" (assignment_expression "iVar3 = *(int *)(*piVar2 + 8)" identifier = (pointer_expression "*(int *)(*piVar2 + 8)" * (cast_expression "(int *)(*piVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0xbc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xbc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xbc)" * (cast_expression "(int *)(iVar3 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xbc)" ( (binary_expression "iVar3 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar5 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xb8)" * (cast_expression "(int *)(iVar5 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xb8)" ( (binary_expression "iVar5 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xbc)" * (cast_expression "(int *)(iVar3 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xbc)" ( (binary_expression "iVar3 + 0xbc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" if (parenthesized_expression "(param_3[1] != 5)" ( (binary_expression "param_3[1] != 5" (subscript_expression "param_3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" { (expression_statement "FUN_00034db0("eelf64ppc.c",0x107);" (call_expression "FUN_00034db0("eelf64ppc.c",0x107)" identifier (argument_list "("eelf64ppc.c",0x107)" ( (string_literal ""eelf64ppc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar3 = param_3[2];" (assignment_expression "iVar3 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xb8)" identifier = (pointer_expression "*(int *)(iVar3 + 0xb8)" * (cast_expression "(int *)(iVar3 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb8)" ( (binary_expression "iVar3 + 0xb8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xb8)" * (cast_expression "(int *)(iVar3 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb8)" ( (binary_expression "iVar3 + 0xb8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" { (expression_statement "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x54) + 0xbc)" ( (binary_expression "*(int *)(iVar4 + 0x54) + 0xbc" (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xbc)" * (cast_expression "(int *)(iVar5 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xbc)" ( (binary_expression "iVar5 + 0xbc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nmove_input_section(lang_statement_list_type *list,lang_statement_union_type **u,\n                  lang_statement_union_type **to)\n\n{\n  lang_statement_union *plVar1;\n  lang_statement_union *plVar2;\n  asection *paVar3;\n  lang_statement_union_type *plVar4;\n  bfd_link_order *pbVar5;\n  bfd_section *pbVar6;\n  bfd_section *pbVar7;\n  bfd_section *pbVar8;\n  \n  plVar1 = *u;\n  plVar2 = (plVar1->header).next;\n  paVar3 = (plVar1->input_section).section;\n  *u = plVar2;\n  if (plVar2 == (lang_statement_union *)0x0) {\n    list->head = (lang_statement_union *)u;\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  else {\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  if ((lang_statement_union *)to == plVar2) {\n    list->head = plVar1;\n  }\n  pbVar7 = (paVar3->map_tail).s;\n  pbVar6 = (paVar3->map_head).s;\n  pbVar8 = pbVar7;\n  if (pbVar7 == (bfd_section *)0x0) {\n    pbVar8 = paVar3->output_section;\n  }\n  (pbVar8->map_head).s = pbVar6;\n  if (pbVar6 == (bfd_section *)0x0) {\n    pbVar6 = paVar3->output_section;\n  }\n  (pbVar6->map_tail).s = pbVar7;\n  if ((((plVar1->header).next)->header).type == lang_input_section_enum) {\n    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;\n    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;\n    (paVar3->map_head).link_order = pbVar5;\n    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;\n    if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }\n    (pbVar7->map_head).s = paVar3;\n    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n    return;\n  }\n  if (to[1] != (lang_statement_union_type *)0x5) {\n    info_assert("eelf64ppc.c",0x107);\n  }\n  plVar4 = to[2];\n  pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size;\n  (paVar3->map_tail).link_order = (bfd_link_order *)plVar4;\n  (paVar3->map_head).link_order = pbVar5;\n  (((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3;\n  if (pbVar5 == (bfd_link_order *)0x0) {\n    (paVar3->output_section->map_tail).s = paVar3;\n    return;\n  }\n  pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n  return;\n}\n\n" comment (function_definition "void __regparm3\nmove_input_section(lang_statement_list_type *list,lang_statement_union_type **u,\n                  lang_statement_union_type **to)\n\n{\n  lang_statement_union *plVar1;\n  lang_statement_union *plVar2;\n  asection *paVar3;\n  lang_statement_union_type *plVar4;\n  bfd_link_order *pbVar5;\n  bfd_section *pbVar6;\n  bfd_section *pbVar7;\n  bfd_section *pbVar8;\n  \n  plVar1 = *u;\n  plVar2 = (plVar1->header).next;\n  paVar3 = (plVar1->input_section).section;\n  *u = plVar2;\n  if (plVar2 == (lang_statement_union *)0x0) {\n    list->head = (lang_statement_union *)u;\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  else {\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  if ((lang_statement_union *)to == plVar2) {\n    list->head = plVar1;\n  }\n  pbVar7 = (paVar3->map_tail).s;\n  pbVar6 = (paVar3->map_head).s;\n  pbVar8 = pbVar7;\n  if (pbVar7 == (bfd_section *)0x0) {\n    pbVar8 = paVar3->output_section;\n  }\n  (pbVar8->map_head).s = pbVar6;\n  if (pbVar6 == (bfd_section *)0x0) {\n    pbVar6 = paVar3->output_section;\n  }\n  (pbVar6->map_tail).s = pbVar7;\n  if ((((plVar1->header).next)->header).type == lang_input_section_enum) {\n    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;\n    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;\n    (paVar3->map_head).link_order = pbVar5;\n    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;\n    if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }\n    (pbVar7->map_head).s = paVar3;\n    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n    return;\n  }\n  if (to[1] != (lang_statement_union_type *)0x5) {\n    info_assert("eelf64ppc.c",0x107);\n  }\n  plVar4 = to[2];\n  pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size;\n  (paVar3->map_tail).link_order = (bfd_link_order *)plVar4;\n  (paVar3->map_head).link_order = pbVar5;\n  (((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3;\n  if (pbVar5 == (bfd_link_order *)0x0) {\n    (paVar3->output_section->map_tail).s = paVar3;\n    return;\n  }\n  pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "move_input_section(lang_statement_list_type *list,lang_statement_union_type **u,\n                  lang_statement_union_type **to)" identifier (parameter_list "(lang_statement_list_type *list,lang_statement_union_type **u,\n                  lang_statement_union_type **to)" ( (parameter_declaration "lang_statement_list_type *list" type_identifier (pointer_declarator "*list" * identifier)) , (parameter_declaration "lang_statement_union_type **u" type_identifier (pointer_declarator "**u" * (pointer_declarator "*u" * identifier))) , (parameter_declaration "lang_statement_union_type **to" type_identifier (pointer_declarator "**to" * (pointer_declarator "*to" * identifier))) ))) (compound_statement "{\n  lang_statement_union *plVar1;\n  lang_statement_union *plVar2;\n  asection *paVar3;\n  lang_statement_union_type *plVar4;\n  bfd_link_order *pbVar5;\n  bfd_section *pbVar6;\n  bfd_section *pbVar7;\n  bfd_section *pbVar8;\n  \n  plVar1 = *u;\n  plVar2 = (plVar1->header).next;\n  paVar3 = (plVar1->input_section).section;\n  *u = plVar2;\n  if (plVar2 == (lang_statement_union *)0x0) {\n    list->head = (lang_statement_union *)u;\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  else {\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  if ((lang_statement_union *)to == plVar2) {\n    list->head = plVar1;\n  }\n  pbVar7 = (paVar3->map_tail).s;\n  pbVar6 = (paVar3->map_head).s;\n  pbVar8 = pbVar7;\n  if (pbVar7 == (bfd_section *)0x0) {\n    pbVar8 = paVar3->output_section;\n  }\n  (pbVar8->map_head).s = pbVar6;\n  if (pbVar6 == (bfd_section *)0x0) {\n    pbVar6 = paVar3->output_section;\n  }\n  (pbVar6->map_tail).s = pbVar7;\n  if ((((plVar1->header).next)->header).type == lang_input_section_enum) {\n    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;\n    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;\n    (paVar3->map_head).link_order = pbVar5;\n    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;\n    if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }\n    (pbVar7->map_head).s = paVar3;\n    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n    return;\n  }\n  if (to[1] != (lang_statement_union_type *)0x5) {\n    info_assert("eelf64ppc.c",0x107);\n  }\n  plVar4 = to[2];\n  pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size;\n  (paVar3->map_tail).link_order = (bfd_link_order *)plVar4;\n  (paVar3->map_head).link_order = pbVar5;\n  (((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3;\n  if (pbVar5 == (bfd_link_order *)0x0) {\n    (paVar3->output_section->map_tail).s = paVar3;\n    return;\n  }\n  pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n  return;\n}" { (declaration "lang_statement_union *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "lang_statement_union *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "asection *paVar3;" type_identifier (pointer_declarator "*paVar3" * identifier) ;) (declaration "lang_statement_union_type *plVar4;" type_identifier (pointer_declarator "*plVar4" * identifier) ;) (declaration "bfd_link_order *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bfd_section *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bfd_section *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bfd_section *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (expression_statement "plVar1 = *u;" (assignment_expression "plVar1 = *u" identifier = (pointer_expression "*u" * identifier)) ;) (expression_statement "plVar2 = (plVar1->header).next;" (assignment_expression "plVar2 = (plVar1->header).next" identifier = (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "paVar3 = (plVar1->input_section).section;" (assignment_expression "paVar3 = (plVar1->input_section).section" identifier = (field_expression "(plVar1->input_section).section" (parenthesized_expression "(plVar1->input_section)" ( (field_expression "plVar1->input_section" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*u = plVar2;" (assignment_expression "*u = plVar2" (pointer_expression "*u" * identifier) = identifier) ;) (if_statement "if (plVar2 == (lang_statement_union *)0x0) {\n    list->head = (lang_statement_union *)u;\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }\n  else {\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }" if (parenthesized_expression "(plVar2 == (lang_statement_union *)0x0)" ( (binary_expression "plVar2 == (lang_statement_union *)0x0" identifier == (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    list->head = (lang_statement_union *)u;\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }" { (expression_statement "list->head = (lang_statement_union *)u;" (assignment_expression "list->head = (lang_statement_union *)u" (field_expression "list->head" identifier -> field_identifier) = (cast_expression "(lang_statement_union *)u" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(plVar1->header).next = *to;" (assignment_expression "(plVar1->header).next = *to" (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "*to" * identifier)) ;) (expression_statement "*to = plVar1;" (assignment_expression "*to = plVar1" (pointer_expression "*to" * identifier) = identifier) ;) (expression_statement "plVar2 = list->head;" (assignment_expression "plVar2 = list->head" identifier = (field_expression "list->head" identifier -> field_identifier)) ;) }) (else_clause "else {\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }" else (compound_statement "{\n    (plVar1->header).next = *to;\n    *to = plVar1;\n    plVar2 = list->head;\n  }" { (expression_statement "(plVar1->header).next = *to;" (assignment_expression "(plVar1->header).next = *to" (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "*to" * identifier)) ;) (expression_statement "*to = plVar1;" (assignment_expression "*to = plVar1" (pointer_expression "*to" * identifier) = identifier) ;) (expression_statement "plVar2 = list->head;" (assignment_expression "plVar2 = list->head" identifier = (field_expression "list->head" identifier -> field_identifier)) ;) }))) (if_statement "if ((lang_statement_union *)to == plVar2) {\n    list->head = plVar1;\n  }" if (parenthesized_expression "((lang_statement_union *)to == plVar2)" ( (binary_expression "(lang_statement_union *)to == plVar2" (cast_expression "(lang_statement_union *)to" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n    list->head = plVar1;\n  }" { (expression_statement "list->head = plVar1;" (assignment_expression "list->head = plVar1" (field_expression "list->head" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pbVar7 = (paVar3->map_tail).s;" (assignment_expression "pbVar7 = (paVar3->map_tail).s" identifier = (field_expression "(paVar3->map_tail).s" (parenthesized_expression "(paVar3->map_tail)" ( (field_expression "paVar3->map_tail" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pbVar6 = (paVar3->map_head).s;" (assignment_expression "pbVar6 = (paVar3->map_head).s" identifier = (field_expression "(paVar3->map_head).s" (parenthesized_expression "(paVar3->map_head)" ( (field_expression "paVar3->map_head" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pbVar8 = pbVar7;" (assignment_expression "pbVar8 = pbVar7" identifier = identifier) ;) (if_statement "if (pbVar7 == (bfd_section *)0x0) {\n    pbVar8 = paVar3->output_section;\n  }" if (parenthesized_expression "(pbVar7 == (bfd_section *)0x0)" ( (binary_expression "pbVar7 == (bfd_section *)0x0" identifier == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pbVar8 = paVar3->output_section;\n  }" { (expression_statement "pbVar8 = paVar3->output_section;" (assignment_expression "pbVar8 = paVar3->output_section" identifier = (field_expression "paVar3->output_section" identifier -> field_identifier)) ;) })) (expression_statement "(pbVar8->map_head).s = pbVar6;" (assignment_expression "(pbVar8->map_head).s = pbVar6" (field_expression "(pbVar8->map_head).s" (parenthesized_expression "(pbVar8->map_head)" ( (field_expression "pbVar8->map_head" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if (pbVar6 == (bfd_section *)0x0) {\n    pbVar6 = paVar3->output_section;\n  }" if (parenthesized_expression "(pbVar6 == (bfd_section *)0x0)" ( (binary_expression "pbVar6 == (bfd_section *)0x0" identifier == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pbVar6 = paVar3->output_section;\n  }" { (expression_statement "pbVar6 = paVar3->output_section;" (assignment_expression "pbVar6 = paVar3->output_section" identifier = (field_expression "paVar3->output_section" identifier -> field_identifier)) ;) })) (expression_statement "(pbVar6->map_tail).s = pbVar7;" (assignment_expression "(pbVar6->map_tail).s = pbVar7" (field_expression "(pbVar6->map_tail).s" (parenthesized_expression "(pbVar6->map_tail)" ( (field_expression "pbVar6->map_tail" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if ((((plVar1->header).next)->header).type == lang_input_section_enum) {\n    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;\n    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;\n    (paVar3->map_head).link_order = pbVar5;\n    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;\n    if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }\n    (pbVar7->map_head).s = paVar3;\n    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n    return;\n  }" if (parenthesized_expression "((((plVar1->header).next)->header).type == lang_input_section_enum)" ( (binary_expression "(((plVar1->header).next)->header).type == lang_input_section_enum" (field_expression "(((plVar1->header).next)->header).type" (parenthesized_expression "(((plVar1->header).next)->header)" ( (field_expression "((plVar1->header).next)->header" (parenthesized_expression "((plVar1->header).next)" ( (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier) == identifier) )) (compound_statement "{\n    pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;\n    pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;\n    (paVar3->map_head).link_order = pbVar5;\n    (paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;\n    if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }\n    (pbVar7->map_head).s = paVar3;\n    pbVar5[5].u.data.contents = (bfd_byte *)paVar3;\n    return;\n  }" { (expression_statement "pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type;" (assignment_expression "pbVar5 = (bfd_link_order *)(((plVar1->header).next)->data_statement).type" identifier = (cast_expression "(bfd_link_order *)(((plVar1->header).next)->data_statement).type" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((plVar1->header).next)->data_statement).type" (parenthesized_expression "(((plVar1->header).next)->data_statement)" ( (field_expression "((plVar1->header).next)->data_statement" (parenthesized_expression "((plVar1->header).next)" ( (field_expression "(plVar1->header).next" (parenthesized_expression "(plVar1->header)" ( (field_expression "plVar1->header" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier))) ;) (expression_statement "pbVar7 = (bfd_section *)pbVar5[5].u.data.contents;" (assignment_expression "pbVar7 = (bfd_section *)pbVar5[5].u.data.contents" identifier = (cast_expression "(bfd_section *)pbVar5[5].u.data.contents" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pbVar5[5].u.data.contents" (field_expression "pbVar5[5].u.data" (field_expression "pbVar5[5].u" (subscript_expression "pbVar5[5]" identifier [ number_literal ]) . field_identifier) . field_identifier) . field_identifier))) ;) (expression_statement "(paVar3->map_head).link_order = pbVar5;" (assignment_expression "(paVar3->map_head).link_order = pbVar5" (field_expression "(paVar3->map_head).link_order" (parenthesized_expression "(paVar3->map_head)" ( (field_expression "paVar3->map_head" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(paVar3->map_tail).link_order = (bfd_link_order *)pbVar7;" (assignment_expression "(paVar3->map_tail).link_order = (bfd_link_order *)pbVar7" (field_expression "(paVar3->map_tail).link_order" (parenthesized_expression "(paVar3->map_tail)" ( (field_expression "paVar3->map_tail" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(bfd_link_order *)pbVar7" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (pbVar7 == (bfd_section *)0x0) {\n      pbVar7 = paVar3->output_section;\n    }" if (parenthesized_expression "(pbVar7 == (bfd_section *)0x0)" ( (binary_expression "pbVar7 == (bfd_section *)0x0" identifier == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pbVar7 = paVar3->output_section;\n    }" { (expression_statement "pbVar7 = paVar3->output_section;" (assignment_expression "pbVar7 = paVar3->output_section" identifier = (field_expression "paVar3->output_section" identifier -> field_identifier)) ;) })) (expression_statement "(pbVar7->map_head).s = paVar3;" (assignment_expression "(pbVar7->map_head).s = paVar3" (field_expression "(pbVar7->map_head).s" (parenthesized_expression "(pbVar7->map_head)" ( (field_expression "pbVar7->map_head" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pbVar5[5].u.data.contents = (bfd_byte *)paVar3;" (assignment_expression "pbVar5[5].u.data.contents = (bfd_byte *)paVar3" (field_expression "pbVar5[5].u.data.contents" (field_expression "pbVar5[5].u.data" (field_expression "pbVar5[5].u" (subscript_expression "pbVar5[5]" identifier [ number_literal ]) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(bfd_byte *)paVar3" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (to[1] != (lang_statement_union_type *)0x5) {\n    info_assert("eelf64ppc.c",0x107);\n  }" if (parenthesized_expression "(to[1] != (lang_statement_union_type *)0x5)" ( (binary_expression "to[1] != (lang_statement_union_type *)0x5" (subscript_expression "to[1]" identifier [ number_literal ]) != (cast_expression "(lang_statement_union_type *)0x5" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    info_assert("eelf64ppc.c",0x107);\n  }" { (expression_statement "info_assert("eelf64ppc.c",0x107);" (call_expression "info_assert("eelf64ppc.c",0x107)" identifier (argument_list "("eelf64ppc.c",0x107)" ( (string_literal ""eelf64ppc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "plVar4 = to[2];" (assignment_expression "plVar4 = to[2]" identifier = (subscript_expression "to[2]" identifier [ number_literal ])) ;) (expression_statement "pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size;" (assignment_expression "pbVar5 = (bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size" identifier = (cast_expression "(bfd_link_order *)(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size" (parenthesized_expression "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data)" ( (field_expression "((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data" (parenthesized_expression "((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))" ( (cast_expression "(anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8)" ( (type_descriptor "anon_union_8_3_e5e33cc9_for_u *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)plVar4 + 0xb8)" ( (binary_expression "(int)plVar4 + 0xb8" (cast_expression "(int)plVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) )) -> field_identifier) )) . field_identifier))) ;) (expression_statement "(paVar3->map_tail).link_order = (bfd_link_order *)plVar4;" (assignment_expression "(paVar3->map_tail).link_order = (bfd_link_order *)plVar4" (field_expression "(paVar3->map_tail).link_order" (parenthesized_expression "(paVar3->map_tail)" ( (field_expression "paVar3->map_tail" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(bfd_link_order *)plVar4" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(paVar3->map_head).link_order = pbVar5;" (assignment_expression "(paVar3->map_head).link_order = pbVar5" (field_expression "(paVar3->map_head).link_order" (parenthesized_expression "(paVar3->map_head)" ( (field_expression "paVar3->map_head" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3;" (assignment_expression "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size = (uint)paVar3" (field_expression "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data).size" (parenthesized_expression "(((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data)" ( (field_expression "((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))->data" (parenthesized_expression "((anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8))" ( (cast_expression "(anon_union_8_3_e5e33cc9_for_u *)((int)plVar4 + 0xb8)" ( (type_descriptor "anon_union_8_3_e5e33cc9_for_u *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)plVar4 + 0xb8)" ( (binary_expression "(int)plVar4 + 0xb8" (cast_expression "(int)plVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) )) -> field_identifier) )) . field_identifier) = (cast_expression "(uint)paVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (pbVar5 == (bfd_link_order *)0x0) {\n    (paVar3->output_section->map_tail).s = paVar3;\n    return;\n  }" if (parenthesized_expression "(pbVar5 == (bfd_link_order *)0x0)" ( (binary_expression "pbVar5 == (bfd_link_order *)0x0" identifier == (cast_expression "(bfd_link_order *)0x0" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (paVar3->output_section->map_tail).s = paVar3;\n    return;\n  }" { (expression_statement "(paVar3->output_section->map_tail).s = paVar3;" (assignment_expression "(paVar3->output_section->map_tail).s = paVar3" (field_expression "(paVar3->output_section->map_tail).s" (parenthesized_expression "(paVar3->output_section->map_tail)" ( (field_expression "paVar3->output_section->map_tail" (field_expression "paVar3->output_section" identifier -> field_identifier) -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "pbVar5[5].u.data.contents = (bfd_byte *)paVar3;" (assignment_expression "pbVar5[5].u.data.contents = (bfd_byte *)paVar3" (field_expression "pbVar5[5].u.data.contents" (field_expression "pbVar5[5].u.data" (field_expression "pbVar5[5].u" (subscript_expression "pbVar5[5]" identifier [ number_literal ]) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(bfd_byte *)paVar3" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000563e0(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar4 = piVar2[2];" (assignment_expression "iVar4 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" { (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) (else_clause "else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" else (compound_statement "{\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" { (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }))) (if_statement "if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }" if (parenthesized_expression "(param_3 == piVar1)" ( (binary_expression "param_3 == piVar1" identifier == identifier) )) (compound_statement "{\n    *param_1 = (int)piVar2;\n  }" { (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "iVar3 = *(int *)(iVar4 + 0xbc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xbc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xb8)" identifier = (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" { (expression_statement "iVar6 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar6 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar6 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar6 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar6 + 0xb8)" * (cast_expression "(int *)(iVar6 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xb8)" ( (binary_expression "iVar6 + 0xb8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xbc)" * (cast_expression "(int *)(iVar5 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xbc)" ( (binary_expression "iVar5 + 0xbc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" if (parenthesized_expression "(*(int *)(*piVar2 + 4) == 5)" ( (binary_expression "*(int *)(*piVar2 + 4) == 5" (pointer_expression "*(int *)(*piVar2 + 4)" * (cast_expression "(int *)(*piVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 4)" ( (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" { (expression_statement "iVar3 = *(int *)(*piVar2 + 8);" (assignment_expression "iVar3 = *(int *)(*piVar2 + 8)" identifier = (pointer_expression "*(int *)(*piVar2 + 8)" * (cast_expression "(int *)(*piVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0xbc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xbc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xbc)" * (cast_expression "(int *)(iVar3 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xbc)" ( (binary_expression "iVar3 + 0xbc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" { (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" identifier = (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar5 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xb8)" * (cast_expression "(int *)(iVar5 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xb8)" ( (binary_expression "iVar5 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xbc)" * (cast_expression "(int *)(iVar3 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xbc)" ( (binary_expression "iVar3 + 0xbc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" if (parenthesized_expression "(param_3[1] != 5)" ( (binary_expression "param_3[1] != 5" (subscript_expression "param_3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" { (expression_statement "FUN_00034db0("eelf64ppc.c",0x107);" (call_expression "FUN_00034db0("eelf64ppc.c",0x107)" identifier (argument_list "("eelf64ppc.c",0x107)" ( (string_literal ""eelf64ppc.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar3 = param_3[2];" (assignment_expression "iVar3 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xb8)" identifier = (pointer_expression "*(int *)(iVar3 + 0xb8)" * (cast_expression "(int *)(iVar3 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb8)" ( (binary_expression "iVar3 + 0xb8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xbc)" * (cast_expression "(int *)(iVar4 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xbc)" ( (binary_expression "iVar4 + 0xbc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xb8)" * (cast_expression "(int *)(iVar4 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xb8)" ( (binary_expression "iVar4 + 0xb8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xb8)" * (cast_expression "(int *)(iVar3 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb8)" ( (binary_expression "iVar3 + 0xb8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" { (expression_statement "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x54) + 0xbc)" ( (binary_expression "*(int *)(iVar4 + 0x54) + 0xbc" (pointer_expression "*(int *)(iVar4 + 0x54)" * (cast_expression "(int *)(iVar4 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xbc)" * (cast_expression "(int *)(iVar5 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xbc)" ( (binary_expression "iVar5 + 0xbc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000563e0(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000563e0(int *param_1,int *param_2,int *param_3)" (identifier "FUN_000563e0") (parameter_list "(int *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  piVar2 = (int *)*param_2;\n  iVar3 = *piVar2;\n  iVar4 = piVar2[2];\n  *param_2 = iVar3;\n  if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }\n  iVar3 = *(int *)(iVar4 + 0xbc);\n  iVar5 = *(int *)(iVar4 + 0xb8);\n  iVar6 = iVar3;\n  if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar6 + 0xb8) = iVar5;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }\n  *(int *)(iVar5 + 0xbc) = iVar3;\n  if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }\n  if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }\n  iVar3 = param_3[2];\n  iVar5 = *(int *)(iVar3 + 0xb8);\n  *(int *)(iVar4 + 0xbc) = iVar3;\n  *(int *)(iVar4 + 0xb8) = iVar5;\n  *(int *)(iVar3 + 0xb8) = iVar4;\n  if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }\n  *(int *)(iVar5 + 0xbc) = iVar4;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "iVar3 = *piVar2;" (assignment_expression "iVar3 = *piVar2" (identifier "iVar3") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "iVar4 = piVar2[2];" (assignment_expression "iVar4 = piVar2[2]" (identifier "iVar4") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_2 = iVar3;" (assignment_expression "*param_2 = iVar3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }\n  else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = (int)param_2;\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" ({ "{") (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else {\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" (else "else") (compound_statement "{\n    *piVar2 = *param_3;\n    *param_3 = (int)piVar2;\n    piVar1 = (int *)*param_1;\n  }" ({ "{") (expression_statement "*piVar2 = *param_3;" (assignment_expression "*piVar2 = *param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = (int)piVar2;" (assignment_expression "*param_3 = (int)piVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")))) (if_statement "if (param_3 == piVar1) {\n    *param_1 = (int)piVar2;\n  }" (if "if") (parenthesized_expression "(param_3 == piVar1)" (( "(") (binary_expression "param_3 == piVar1" (identifier "param_3") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n    *param_1 = (int)piVar2;\n  }" ({ "{") (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar4 + 0xbc);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0xbc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar4 + 0xbc)" (* "*") (cast_expression "(int *)(iVar4 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xbc)" (( "(") (binary_expression "iVar4 + 0xbc" (identifier "iVar4") (+ "+") (number_literal "0xbc")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xb8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0xb8)" (* "*") (cast_expression "(int *)(iVar4 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xb8)" (( "(") (binary_expression "iVar4 + 0xb8" (identifier "iVar4") (+ "+") (number_literal "0xb8")) () ")"))))) (; ";")) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" (identifier "iVar6") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(iVar4 + 0x54);\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar6 = *(int *)(iVar4 + 0x54)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar4 + 0x54)" (* "*") (cast_expression "(int *)(iVar4 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar6 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar6 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar6 + 0xb8)" (* "*") (cast_expression "(int *)(iVar6 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xb8)" (( "(") (binary_expression "iVar6 + 0xb8" (identifier "iVar6") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 == 0) {\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = *(int *)(iVar4 + 0x54);\n  }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0x54)" (* "*") (cast_expression "(int *)(iVar4 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xbc)" (* "*") (cast_expression "(int *)(iVar5 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xbc)" (( "(") (binary_expression "iVar5 + 0xbc" (identifier "iVar5") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (*(int *)(*piVar2 + 4) == 5) {\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*piVar2 + 4) == 5)" (( "(") (binary_expression "*(int *)(*piVar2 + 4) == 5" (pointer_expression "*(int *)(*piVar2 + 4)" (* "*") (cast_expression "(int *)(*piVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 4)" (( "(") (binary_expression "*piVar2 + 4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "5")) () ")")) (compound_statement "{\n    iVar3 = *(int *)(*piVar2 + 8);\n    iVar5 = *(int *)(iVar3 + 0xbc);\n    *(int *)(iVar4 + 0xb8) = iVar3;\n    *(int *)(iVar4 + 0xbc) = iVar5;\n    if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }\n    *(int *)(iVar5 + 0xb8) = iVar4;\n    *(int *)(iVar3 + 0xbc) = iVar4;\n    return;\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(*piVar2 + 8);" (assignment_expression "iVar3 = *(int *)(*piVar2 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*piVar2 + 8)" (* "*") (cast_expression "(int *)(*piVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 8)" (( "(") (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar3 + 0xbc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xbc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar3 + 0xbc)" (* "*") (cast_expression "(int *)(iVar3 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xbc)" (( "(") (binary_expression "iVar3 + 0xbc" (identifier "iVar3") (+ "+") (number_literal "0xbc")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xb8)" (* "*") (cast_expression "(int *)(iVar4 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xb8)" (( "(") (binary_expression "iVar4 + 0xb8" (identifier "iVar4") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xbc)" (* "*") (cast_expression "(int *)(iVar4 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xbc)" (( "(") (binary_expression "iVar4 + 0xbc" (identifier "iVar4") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 == 0) {\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = *(int *)(iVar4 + 0x54);\n    }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar4 + 0x54);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x54)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0x54)" (* "*") (cast_expression "(int *)(iVar4 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar5 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xb8)" (* "*") (cast_expression "(int *)(iVar5 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xb8)" (( "(") (binary_expression "iVar5 + 0xb8" (identifier "iVar5") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(int *)(iVar3 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xbc)" (* "*") (cast_expression "(int *)(iVar3 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xbc)" (( "(") (binary_expression "iVar3 + 0xbc" (identifier "iVar3") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3[1] != 5) {\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" (if "if") (parenthesized_expression "(param_3[1] != 5)" (( "(") (binary_expression "param_3[1] != 5" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n    FUN_00034db0("eelf64ppc.c",0x107);\n  }" ({ "{") (expression_statement "FUN_00034db0("eelf64ppc.c",0x107);" (call_expression "FUN_00034db0("eelf64ppc.c",0x107)" (identifier "FUN_00034db0") (argument_list "("eelf64ppc.c",0x107)" (( "(") (string_literal ""eelf64ppc.c"" (" """) (string_content "eelf64ppc.c") (" """)) (, ",") (number_literal "0x107") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = param_3[2];" (assignment_expression "iVar3 = param_3[2]" (identifier "iVar3") (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar3 + 0xb8);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xb8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar3 + 0xb8)" (* "*") (cast_expression "(int *)(iVar3 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb8)" (( "(") (binary_expression "iVar3 + 0xb8" (identifier "iVar3") (+ "+") (number_literal "0xb8")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar4 + 0xbc) = iVar3;" (assignment_expression "*(int *)(iVar4 + 0xbc) = iVar3" (pointer_expression "*(int *)(iVar4 + 0xbc)" (* "*") (cast_expression "(int *)(iVar4 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xbc)" (( "(") (binary_expression "iVar4 + 0xbc" (identifier "iVar4") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar4 + 0xb8) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xb8) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xb8)" (* "*") (cast_expression "(int *)(iVar4 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xb8)" (( "(") (binary_expression "iVar4 + 0xb8" (identifier "iVar4") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(int *)(iVar3 + 0xb8) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0xb8) = iVar4" (pointer_expression "*(int *)(iVar3 + 0xb8)" (* "*") (cast_expression "(int *)(iVar3 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb8)" (( "(") (binary_expression "iVar3 + 0xb8" (identifier "iVar3") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar5 == 0) {\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x54) + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x54) + 0xbc)" (( "(") (binary_expression "*(int *)(iVar4 + 0x54) + 0xbc" (pointer_expression "*(int *)(iVar4 + 0x54)" (* "*") (cast_expression "(int *)(iVar4 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")")))) (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(int *)(iVar5 + 0xbc) = iVar4;" (assignment_expression "*(int *)(iVar5 + 0xbc) = iVar4" (pointer_expression "*(int *)(iVar5 + 0xbc)" (* "*") (cast_expression "(int *)(iVar5 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xbc)" (( "(") (binary_expression "iVar5 + 0xbc" (identifier "iVar5") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
function_1(type_1 *list,type_2 **u,
                  type_2 **to)

{
  type_3 *plVar1;
  type_3 *var_1;
  type_4 *paVar3;
  type_2 *plVar4;
  type_5 *var_6;
  type_6 *var_3;
  type_6 *var_2;
  type_6 *pbVar8;
  
  plVar1 = *u;
  var_1 = (plVar1->header).next;
  paVar3 = (plVar1->input_section).section;
  *u = var_1;
  if (var_1 == (type_3 *)0x0) {
    list->head = (type_3 *)u;
    (plVar1->header).next = *to;
    *to = plVar1;
    var_1 = list->head;
  }
  else {
    (plVar1->header).next = *to;
    *to = plVar1;
    var_1 = list->head;
  }
  if ((type_3 *)to == var_1) {
    list->head = plVar1;
  }
  var_2 = (paVar3->map_tail).s;
  var_3 = (paVar3->map_head).s;
  pbVar8 = var_2;
  if (var_2 == (type_6 *)0x0) {
    pbVar8 = paVar3->output_section;
  }
  (pbVar8->map_head).s = var_3;
  if (var_3 == (type_6 *)0x0) {
    var_3 = paVar3->output_section;
  }
  (var_3->map_tail).s = var_2;
  if ((((plVar1->header).next)->header).type == var_4) {
    var_6 = (type_5 *)(((plVar1->header).next)->data_statement).type;
    var_2 = (type_6 *)var_6[5].u.data.contents;
    (paVar3->map_head).link_order = var_6;
    (paVar3->map_tail).link_order = (type_5 *)var_2;
    if (var_2 == (type_6 *)0x0) {
      var_2 = paVar3->output_section;
    }
    (var_2->map_head).s = paVar3;
    var_6[5].u.data.contents = (type_7 *)paVar3;
    return;
  }
  if (to[1] != (type_2 *)0x5) {
    var_5("eelf64ppc.c",0x107);
  }
  plVar4 = to[2];
  var_6 = (type_5 *)(((type_8 *)((int)plVar4 + 0xb8))->data).size;
  (paVar3->map_tail).link_order = (type_5 *)plVar4;
  (paVar3->map_head).link_order = var_6;
  (((type_8 *)((int)plVar4 + 0xb8))->data).size = (type_9)paVar3;
  if (var_6 == (type_5 *)0x0) {
    (paVar3->output_section->map_tail).s = paVar3;
    return;
  }
  var_6[5].u.data.contents = (type_7 *)paVar3;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(int *param_1,int *param_2,int *param_3)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  piVar2 = (int *)*param_2;
  iVar3 = *piVar2;
  iVar4 = piVar2[2];
  *param_2 = iVar3;
  if (iVar3 == 0) {
    *param_1 = (int)param_2;
    *piVar2 = *param_3;
    *param_3 = (int)piVar2;
    piVar1 = (int *)*param_1;
  }
  else {
    *piVar2 = *param_3;
    *param_3 = (int)piVar2;
    piVar1 = (int *)*param_1;
  }
  if (param_3 == piVar1) {
    *param_1 = (int)piVar2;
  }
  iVar3 = *(int *)(iVar4 + 0xbc);
  iVar5 = *(int *)(iVar4 + 0xb8);
  iVar6 = iVar3;
  if (iVar3 == 0) {
    iVar6 = *(int *)(iVar4 + 0x54);
  }
  *(int *)(iVar6 + 0xb8) = iVar5;
  if (iVar5 == 0) {
    iVar5 = *(int *)(iVar4 + 0x54);
  }
  *(int *)(iVar5 + 0xbc) = iVar3;
  if (*(int *)(*piVar2 + 4) == 5) {
    iVar3 = *(int *)(*piVar2 + 8);
    iVar5 = *(int *)(iVar3 + 0xbc);
    *(int *)(iVar4 + 0xb8) = iVar3;
    *(int *)(iVar4 + 0xbc) = iVar5;
    if (iVar5 == 0) {
      iVar5 = *(int *)(iVar4 + 0x54);
    }
    *(int *)(iVar5 + 0xb8) = iVar4;
    *(int *)(iVar3 + 0xbc) = iVar4;
    return;
  }
  if (param_3[1] != 5) {
    FUN_00034db0("eelf64ppc.c",0x107);
  }
  iVar3 = param_3[2];
  iVar5 = *(int *)(iVar3 + 0xb8);
  *(int *)(iVar4 + 0xbc) = iVar3;
  *(int *)(iVar4 + 0xb8) = iVar5;
  *(int *)(iVar3 + 0xb8) = iVar4;
  if (iVar5 == 0) {
    *(int *)(*(int *)(iVar4 + 0x54) + 0xbc) = iVar4;
    return;
  }
  *(int *)(iVar5 + 0xbc) = iVar4;
  return;
}

