
void insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,
               asection *output_section,bfd_vma dot)

{
  bfd_vma bVar1;
  lang_statement_union_type *plVar2;
  lang_statement_union_type *pad;
  
  if (((((ptr == (lang_statement_union_type **)0x0) ||
        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||
      (plVar2 = (lang_statement_union_type *)ptr,
      ptr[4] != (lang_statement_union_type *)output_section)) &&
     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||
       ((plVar2->header).type != lang_padding_statement_enum)) ||
      ((asection *)(plVar2->wild_statement).section_list != output_section)))) {
    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);
    (plVar2->header).next = *ptr;
    if (fill == (fill_type *)0x0) {
      fill = &insert_pad::zero_fill;
    }
    *ptr = plVar2;
    (plVar2->header).type = lang_padding_statement_enum;
    (plVar2->reloc_statement).section = output_section;
    (plVar2->padding_statement).fill = fill;
  }
  bVar1 = output_section->vma;
  (plVar2->padding_statement).size = alignment_needed;
  (plVar2->wild_statement).filename = (char *)(dot - bVar1);
  if ((output_section->flags & 0x800) == 0) {
    output_section->size =
         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);
  }
  return;
}



void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)

{
  long lVar1;
  undefined8 *puVar2;
  
  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||
       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&
     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||
       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {
    puVar2 = (undefined8 *)FUN_00115530(0x30);
    *puVar2 = *param_1;
    if (param_2 == (undefined *)0x0) {
      param_2 = &DAT_00171210;
    }
    *param_1 = puVar2;
    *(undefined4 *)(puVar2 + 1) = 0xc;
    puVar2[4] = param_4;
    puVar2[5] = param_2;
  }
  lVar1 = *(long *)(param_4 + 0x28);
  puVar2[3] = param_3;
  puVar2[2] = param_5 - lVar1;
  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {
    *(ulong *)(param_4 + 0x38) =
         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)
    ;
  }
  return;
}


PUSH R14
MOV R14,R8
PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV RBX,RDX
TEST RDI,RDI
JZ 0x00115782
LEA RAX,[0x171330]
CMP RDI,RAX
JZ 0x00115782
CMP dword ptr [RDI + 0x8],0xc
JZ 0x00115810
MOV RAX,qword ptr [RBP]
TEST RAX,RAX
JZ 0x00115791
CMP dword ptr [RAX + 0x8],0xc
JZ 0x00115800
MOV EDI,0x30
CALL 0x00115530
MOV RDX,qword ptr [RBP]
TEST R13,R13
MOV qword ptr [RAX],RDX
LEA RDX,[0x171210]
CMOVZ R13,RDX
MOV qword ptr [RBP],RAX
MOV dword ptr [RAX + 0x8],0xc
MOV qword ptr [RAX + 0x20],R12
MOV qword ptr [RAX + 0x28],R13
MOV RSI,qword ptr [R12 + 0x28]
MOV RDX,R14
MOV qword ptr [RAX + 0x18],RBX
SUB RDX,RSI
MOV qword ptr [RAX + 0x10],RDX
TEST byte ptr [R12 + 0x21],0x8
JNZ 0x001157f5
MOV ECX,dword ptr [0x001712c8]
SHR RBX,CL
ADD RBX,R14
SUB RBX,RSI
SHL RBX,CL
MOV qword ptr [R12 + 0x38],RBX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
CMP qword ptr [RAX + 0x20],R12
JNZ 0x00115791
JMP 0x001157c3
MOV RAX,RDI
CMP qword ptr [RDI + 0x20],RCX
JNZ 0x00115782
JMP 0x001157c3
(translation_unit "void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" identifier (parameter_list "(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" if (parenthesized_expression "(((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))))" ( (binary_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" (parenthesized_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4))" ( (binary_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)" (parenthesized_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc))" ( (binary_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)" (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330))" ( (binary_expression "(param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 == &DAT_00171330)" ( (binary_expression "param_1 == &DAT_00171330" identifier == (pointer_expression "&DAT_00171330" & identifier)) ))) )) || (parenthesized_expression "(*(int *)(param_1 + 1) != 0xc)" ( (binary_expression "*(int *)(param_1 + 1) != 0xc" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(puVar2 = param_1, param_1[4] != param_4)" ( (comma_expression "puVar2 = param_1, param_1[4] != param_4" (assignment_expression "puVar2 = param_1" identifier = identifier) , (binary_expression "param_1[4] != param_4" (subscript_expression "param_1[4]" identifier [ number_literal ]) != identifier)) ))) )) && (parenthesized_expression "(((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" ( (parenthesized_expression "((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))" ( (binary_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)" (parenthesized_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc))" ( (comma_expression "puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (assignment_expression "puVar2 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) , (binary_expression "puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (binary_expression "puVar2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(*(int *)(puVar2 + 1) != 0xc)" ( (binary_expression "*(int *)(puVar2 + 1) != 0xc" (pointer_expression "*(int *)(puVar2 + 1)" * (cast_expression "(int *)(puVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) != number_literal) )))) )) || (parenthesized_expression "(puVar2[4] != param_4)" ( (binary_expression "puVar2[4] != param_4" (subscript_expression "puVar2[4]" identifier [ number_literal ]) != identifier) ))) )) ))) )) (compound_statement "{\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" { (expression_statement "puVar2 = (undefined8 *)FUN_00115530(0x30);" (assignment_expression "puVar2 = (undefined8 *)FUN_00115530(0x30)" identifier = (cast_expression "(undefined8 *)FUN_00115530(0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00115530(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = &DAT_00171210;\n    }" { (expression_statement "param_2 = &DAT_00171210;" (assignment_expression "param_2 = &DAT_00171210" identifier = (pointer_expression "&DAT_00171210" & identifier)) ;) })) (expression_statement "*param_1 = puVar2;" (assignment_expression "*param_1 = puVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(puVar2 + 1) = 0xc;" (assignment_expression "*(undefined4 *)(puVar2 + 1) = 0xc" (pointer_expression "*(undefined4 *)(puVar2 + 1)" * (cast_expression "(undefined4 *)(puVar2 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[4] = param_4;" (assignment_expression "puVar2[4] = param_4" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[5] = param_2;" (assignment_expression "puVar2[5] = param_2" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "lVar1 = *(long *)(param_4 + 0x28);" (assignment_expression "lVar1 = *(long *)(param_4 + 0x28)" identifier = (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "puVar2[3] = param_3;" (assignment_expression "puVar2[3] = param_3" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[2] = param_5 - lVar1;" (assignment_expression "puVar2[2] = param_5 - lVar1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "param_5 - lVar1" identifier - identifier)) ;) (if_statement "if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x21) & 8) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x21) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x21) & 8)" ( (binary_expression "*(byte *)(param_4 + 0x21) & 8" (pointer_expression "*(byte *)(param_4 + 0x21)" * (cast_expression "(byte *)(param_4 + 0x21)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x21)" ( (binary_expression "param_4 + 0x21" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" { (expression_statement "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;" (assignment_expression "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (pointer_expression "*(ulong *)(param_4 + 0x38)" * (cast_expression "(ulong *)(param_4 + 0x38)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x38)" ( (binary_expression "param_4 + 0x38" identifier + number_literal) )))) = (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1" (parenthesized_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5)" ( (binary_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5" (parenthesized_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f))" ( (binary_expression "param_3 >> ((byte)DAT_001712c8 & 0x3f)" identifier >> (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" ( (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) + identifier) )) - identifier) << (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" ( (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n               asection *output_section,bfd_vma dot)\n\n{\n  bfd_vma bVar1;\n  lang_statement_union_type *plVar2;\n  lang_statement_union_type *pad;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))) {\n    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);\n    (plVar2->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar2;\n    (plVar2->header).type = lang_padding_statement_enum;\n    (plVar2->reloc_statement).section = output_section;\n    (plVar2->padding_statement).fill = fill;\n  }\n  bVar1 = output_section->vma;\n  (plVar2->padding_statement).size = alignment_needed;\n  (plVar2->wild_statement).filename = (char *)(dot - bVar1);\n  if ((output_section->flags & 0x800) == 0) {\n    output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);\n  }\n  return;\n}\n\n" (function_definition "void insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n               asection *output_section,bfd_vma dot)\n\n{\n  bfd_vma bVar1;\n  lang_statement_union_type *plVar2;\n  lang_statement_union_type *pad;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))) {\n    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);\n    (plVar2->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar2;\n    (plVar2->header).type = lang_padding_statement_enum;\n    (plVar2->reloc_statement).section = output_section;\n    (plVar2->padding_statement).fill = fill;\n  }\n  bVar1 = output_section->vma;\n  (plVar2->padding_statement).size = alignment_needed;\n  (plVar2->wild_statement).filename = (char *)(dot - bVar1);\n  if ((output_section->flags & 0x800) == 0) {\n    output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);\n  }\n  return;\n}" primitive_type (function_declarator "insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n               asection *output_section,bfd_vma dot)" identifier (parameter_list "(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n               asection *output_section,bfd_vma dot)" ( (parameter_declaration "lang_statement_union_type **ptr" type_identifier (pointer_declarator "**ptr" * (pointer_declarator "*ptr" * identifier))) , (parameter_declaration "fill_type *fill" type_identifier (pointer_declarator "*fill" * identifier)) , (parameter_declaration "bfd_size_type alignment_needed" type_identifier identifier) , (parameter_declaration "asection *output_section" type_identifier (pointer_declarator "*output_section" * identifier)) , (parameter_declaration "bfd_vma dot" type_identifier identifier) ))) (compound_statement "{\n  bfd_vma bVar1;\n  lang_statement_union_type *plVar2;\n  lang_statement_union_type *pad;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))) {\n    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);\n    (plVar2->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar2;\n    (plVar2->header).type = lang_padding_statement_enum;\n    (plVar2->reloc_statement).section = output_section;\n    (plVar2->padding_statement).fill = fill;\n  }\n  bVar1 = output_section->vma;\n  (plVar2->padding_statement).size = alignment_needed;\n  (plVar2->wild_statement).filename = (char *)(dot - bVar1);\n  if ((output_section->flags & 0x800) == 0) {\n    output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);\n  }\n  return;\n}" { (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "lang_statement_union_type *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "lang_statement_union_type *pad;" type_identifier (pointer_declarator "*pad" * identifier) ;) (if_statement "if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))) {\n    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);\n    (plVar2->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar2;\n    (plVar2->header).type = lang_padding_statement_enum;\n    (plVar2->reloc_statement).section = output_section;\n    (plVar2->padding_statement).fill = fill;\n  }" if (parenthesized_expression "(((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section))))" ( (binary_expression "((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)) &&\n     (((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))" (parenthesized_expression "((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section))" ( (binary_expression "(((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)) ||\n      (plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)" (parenthesized_expression "(((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc))" ( (binary_expression "((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) || (*(int *)(ptr + 1) != 0xc)" (parenthesized_expression "((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list))" ( (binary_expression "(ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)" (parenthesized_expression "(ptr == (lang_statement_union_type **)0x0)" ( (binary_expression "ptr == (lang_statement_union_type **)0x0" identifier == (cast_expression "(lang_statement_union_type **)0x0" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) || (parenthesized_expression "((lang_statement_list_type *)ptr == &statement_list)" ( (binary_expression "(lang_statement_list_type *)ptr == &statement_list" (cast_expression "(lang_statement_list_type *)ptr" ( (type_descriptor "lang_statement_list_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == (pointer_expression "&statement_list" & identifier)) ))) )) || (parenthesized_expression "(*(int *)(ptr + 1) != 0xc)" ( (binary_expression "*(int *)(ptr + 1) != 0xc" (pointer_expression "*(int *)(ptr + 1)" * (cast_expression "(int *)(ptr + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ptr + 1)" ( (binary_expression "ptr + 1" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section)" ( (comma_expression "plVar2 = (lang_statement_union_type *)ptr,\n      ptr[4] != (lang_statement_union_type *)output_section" (assignment_expression "plVar2 = (lang_statement_union_type *)ptr" identifier = (cast_expression "(lang_statement_union_type *)ptr" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "ptr[4] != (lang_statement_union_type *)output_section" (subscript_expression "ptr[4]" identifier [ number_literal ]) != (cast_expression "(lang_statement_union_type *)output_section" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ))) )) && (parenthesized_expression "(((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)))" ( (parenthesized_expression "((plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section))" ( (binary_expression "(plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)) ||\n      ((asection *)(plVar2->wild_statement).section_list != output_section)" (parenthesized_expression "(plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum))" ( (comma_expression "plVar2 = *ptr, plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)" (assignment_expression "plVar2 = *ptr" identifier = (pointer_expression "*ptr" * identifier)) , (binary_expression "plVar2 == (lang_statement_union_type *)0x0 ||\n       ((plVar2->header).type != lang_padding_statement_enum)" (binary_expression "plVar2 == (lang_statement_union_type *)0x0" identifier == (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "((plVar2->header).type != lang_padding_statement_enum)" ( (binary_expression "(plVar2->header).type != lang_padding_statement_enum" (field_expression "(plVar2->header).type" (parenthesized_expression "(plVar2->header)" ( (field_expression "plVar2->header" identifier -> field_identifier) )) . field_identifier) != identifier) )))) )) || (parenthesized_expression "((asection *)(plVar2->wild_statement).section_list != output_section)" ( (binary_expression "(asection *)(plVar2->wild_statement).section_list != output_section" (cast_expression "(asection *)(plVar2->wild_statement).section_list" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(plVar2->wild_statement).section_list" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier)) != identifier) ))) )) ))) )) (compound_statement "{\n    plVar2 = (lang_statement_union_type *)stat_alloc(0x30);\n    (plVar2->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar2;\n    (plVar2->header).type = lang_padding_statement_enum;\n    (plVar2->reloc_statement).section = output_section;\n    (plVar2->padding_statement).fill = fill;\n  }" { (expression_statement "plVar2 = (lang_statement_union_type *)stat_alloc(0x30);" (assignment_expression "plVar2 = (lang_statement_union_type *)stat_alloc(0x30)" identifier = (cast_expression "(lang_statement_union_type *)stat_alloc(0x30)" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "(plVar2->header).next = *ptr;" (assignment_expression "(plVar2->header).next = *ptr" (field_expression "(plVar2->header).next" (parenthesized_expression "(plVar2->header)" ( (field_expression "plVar2->header" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "*ptr" * identifier)) ;) (if_statement "if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }" if (parenthesized_expression "(fill == (fill_type *)0x0)" ( (binary_expression "fill == (fill_type *)0x0" identifier == (cast_expression "(fill_type *)0x0" ( (type_descriptor "fill_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fill = &insert_pad::zero_fill;\n    }" { (expression_statement "fill = &insert_pad::zero_fill;" (assignment_expression "fill = &insert_pad" identifier = (pointer_expression "&insert_pad" & identifier)) (ERROR "::zero_fill" : : identifier) ;) })) (expression_statement "*ptr = plVar2;" (assignment_expression "*ptr = plVar2" (pointer_expression "*ptr" * identifier) = identifier) ;) (expression_statement "(plVar2->header).type = lang_padding_statement_enum;" (assignment_expression "(plVar2->header).type = lang_padding_statement_enum" (field_expression "(plVar2->header).type" (parenthesized_expression "(plVar2->header)" ( (field_expression "plVar2->header" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->reloc_statement).section = output_section;" (assignment_expression "(plVar2->reloc_statement).section = output_section" (field_expression "(plVar2->reloc_statement).section" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->padding_statement).fill = fill;" (assignment_expression "(plVar2->padding_statement).fill = fill" (field_expression "(plVar2->padding_statement).fill" (parenthesized_expression "(plVar2->padding_statement)" ( (field_expression "plVar2->padding_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (expression_statement "bVar1 = output_section->vma;" (assignment_expression "bVar1 = output_section->vma" identifier = (field_expression "output_section->vma" identifier -> field_identifier)) ;) (expression_statement "(plVar2->padding_statement).size = alignment_needed;" (assignment_expression "(plVar2->padding_statement).size = alignment_needed" (field_expression "(plVar2->padding_statement).size" (parenthesized_expression "(plVar2->padding_statement)" ( (field_expression "plVar2->padding_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).filename = (char *)(dot - bVar1);" (assignment_expression "(plVar2->wild_statement).filename = (char *)(dot - bVar1)" (field_expression "(plVar2->wild_statement).filename" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)(dot - bVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(dot - bVar1)" ( (binary_expression "dot - bVar1" identifier - identifier) )))) ;) (if_statement "if ((output_section->flags & 0x800) == 0) {\n    output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);\n  }" if (parenthesized_expression "((output_section->flags & 0x800) == 0)" ( (binary_expression "(output_section->flags & 0x800) == 0" (parenthesized_expression "(output_section->flags & 0x800)" ( (binary_expression "output_section->flags & 0x800" (field_expression "output_section->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);\n  }" { (expression_statement "output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f);" (assignment_expression "output_section->size =\n         ((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f)" (field_expression "output_section->size" identifier -> field_identifier) = (binary_expression "((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1 << ((byte)opb_shift & 0x3f)" (binary_expression "((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot) - bVar1" (parenthesized_expression "((alignment_needed >> ((byte)opb_shift & 0x3f)) + dot)" ( (binary_expression "(alignment_needed >> ((byte)opb_shift & 0x3f)) + dot" (parenthesized_expression "(alignment_needed >> ((byte)opb_shift & 0x3f))" ( (binary_expression "alignment_needed >> ((byte)opb_shift & 0x3f)" identifier >> (parenthesized_expression "((byte)opb_shift & 0x3f)" ( (binary_expression "(byte)opb_shift & 0x3f" (cast_expression "(byte)opb_shift" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) + identifier) )) - identifier) << (parenthesized_expression "((byte)opb_shift & 0x3f)" ( (binary_expression "(byte)opb_shift & 0x3f" (cast_expression "(byte)opb_shift" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" identifier (parameter_list "(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" if (parenthesized_expression "(((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))))" ( (binary_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" (parenthesized_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4))" ( (binary_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)" (parenthesized_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc))" ( (binary_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)" (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330))" ( (binary_expression "(param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" ( (binary_expression "param_1 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 == &DAT_00171330)" ( (binary_expression "param_1 == &DAT_00171330" identifier == (pointer_expression "&DAT_00171330" & identifier)) ))) )) || (parenthesized_expression "(*(int *)(param_1 + 1) != 0xc)" ( (binary_expression "*(int *)(param_1 + 1) != 0xc" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(puVar2 = param_1, param_1[4] != param_4)" ( (comma_expression "puVar2 = param_1, param_1[4] != param_4" (assignment_expression "puVar2 = param_1" identifier = identifier) , (binary_expression "param_1[4] != param_4" (subscript_expression "param_1[4]" identifier [ number_literal ]) != identifier)) ))) )) && (parenthesized_expression "(((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" ( (parenthesized_expression "((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))" ( (binary_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)" (parenthesized_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc))" ( (comma_expression "puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (assignment_expression "puVar2 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) , (binary_expression "puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (binary_expression "puVar2 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(*(int *)(puVar2 + 1) != 0xc)" ( (binary_expression "*(int *)(puVar2 + 1) != 0xc" (pointer_expression "*(int *)(puVar2 + 1)" * (cast_expression "(int *)(puVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) != number_literal) )))) )) || (parenthesized_expression "(puVar2[4] != param_4)" ( (binary_expression "puVar2[4] != param_4" (subscript_expression "puVar2[4]" identifier [ number_literal ]) != identifier) ))) )) ))) )) (compound_statement "{\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" { (expression_statement "puVar2 = (undefined8 *)FUN_00115530(0x30);" (assignment_expression "puVar2 = (undefined8 *)FUN_00115530(0x30)" identifier = (cast_expression "(undefined8 *)FUN_00115530(0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00115530(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = &DAT_00171210;\n    }" { (expression_statement "param_2 = &DAT_00171210;" (assignment_expression "param_2 = &DAT_00171210" identifier = (pointer_expression "&DAT_00171210" & identifier)) ;) })) (expression_statement "*param_1 = puVar2;" (assignment_expression "*param_1 = puVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(puVar2 + 1) = 0xc;" (assignment_expression "*(undefined4 *)(puVar2 + 1) = 0xc" (pointer_expression "*(undefined4 *)(puVar2 + 1)" * (cast_expression "(undefined4 *)(puVar2 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[4] = param_4;" (assignment_expression "puVar2[4] = param_4" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[5] = param_2;" (assignment_expression "puVar2[5] = param_2" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "lVar1 = *(long *)(param_4 + 0x28);" (assignment_expression "lVar1 = *(long *)(param_4 + 0x28)" identifier = (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "puVar2[3] = param_3;" (assignment_expression "puVar2[3] = param_3" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[2] = param_5 - lVar1;" (assignment_expression "puVar2[2] = param_5 - lVar1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "param_5 - lVar1" identifier - identifier)) ;) (if_statement "if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x21) & 8) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x21) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x21) & 8)" ( (binary_expression "*(byte *)(param_4 + 0x21) & 8" (pointer_expression "*(byte *)(param_4 + 0x21)" * (cast_expression "(byte *)(param_4 + 0x21)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x21)" ( (binary_expression "param_4 + 0x21" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" { (expression_statement "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;" (assignment_expression "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (pointer_expression "*(ulong *)(param_4 + 0x38)" * (cast_expression "(ulong *)(param_4 + 0x38)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x38)" ( (binary_expression "param_4 + 0x38" identifier + number_literal) )))) = (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1" (parenthesized_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5)" ( (binary_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5" (parenthesized_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f))" ( (binary_expression "param_3 >> ((byte)DAT_001712c8 & 0x3f)" identifier >> (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" ( (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) + identifier) )) - identifier) << (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" ( (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == (pointer_expression & IDENT)) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )) + IDENT) )) - IDENT) << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00115750(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" (identifier "FUN_00115750") (parameter_list "(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  \n  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }\n  lVar1 = *(long *)(param_4 + 0x28);\n  puVar2[3] = param_3;\n  puVar2[2] = param_5 - lVar1;\n  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" (if "if") (parenthesized_expression "(((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))))" (( "(") (binary_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&\n     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" (parenthesized_expression "((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4))" (( "(") (binary_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)" (parenthesized_expression "(((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc))" (( "(") (binary_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||\n       (*(int *)(param_1 + 1) != 0xc)" (parenthesized_expression "((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330))" (( "(") (binary_expression "(param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)" (parenthesized_expression "(param_1 == (undefined8 *)0x0)" (( "(") (binary_expression "param_1 == (undefined8 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_1 == &DAT_00171330)" (( "(") (binary_expression "param_1 == &DAT_00171330" (identifier "param_1") (== "==") (pointer_expression "&DAT_00171330" (& "&") (identifier "DAT_00171330"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 1) != 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 1) != 0xc" (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (number_literal "0xc")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(puVar2 = param_1, param_1[4] != param_4)" (( "(") (comma_expression "puVar2 = param_1, param_1[4] != param_4" (assignment_expression "puVar2 = param_1" (identifier "puVar2") (= "=") (identifier "param_1")) (, ",") (binary_expression "param_1[4] != param_4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (identifier "param_4"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))" (( "(") (parenthesized_expression "((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4))" (( "(") (binary_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)" (parenthesized_expression "(puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc))" (( "(") (comma_expression "puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (assignment_expression "puVar2 = (undefined8 *)*param_1" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (, ",") (binary_expression "puVar2 == (undefined8 *)0x0 ||\n       (*(int *)(puVar2 + 1) != 0xc)" (binary_expression "puVar2 == (undefined8 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (parenthesized_expression "(*(int *)(puVar2 + 1) != 0xc)" (( "(") (binary_expression "*(int *)(puVar2 + 1) != 0xc" (pointer_expression "*(int *)(puVar2 + 1)" (* "*") (cast_expression "(int *)(puVar2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (number_literal "0xc")) () ")")))) () ")")) (|| "||") (parenthesized_expression "(puVar2[4] != param_4)" (( "(") (binary_expression "puVar2[4] != param_4" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (!= "!=") (identifier "param_4")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    puVar2 = (undefined8 *)FUN_00115530(0x30);\n    *puVar2 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }\n    *param_1 = puVar2;\n    *(undefined4 *)(puVar2 + 1) = 0xc;\n    puVar2[4] = param_4;\n    puVar2[5] = param_2;\n  }" ({ "{") (expression_statement "puVar2 = (undefined8 *)FUN_00115530(0x30);" (assignment_expression "puVar2 = (undefined8 *)FUN_00115530(0x30)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)FUN_00115530(0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00115530(0x30)" (identifier "FUN_00115530") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_00171210;\n    }" (if "if") (parenthesized_expression "(param_2 == (undefined *)0x0)" (( "(") (binary_expression "param_2 == (undefined *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      param_2 = &DAT_00171210;\n    }" ({ "{") (expression_statement "param_2 = &DAT_00171210;" (assignment_expression "param_2 = &DAT_00171210" (identifier "param_2") (= "=") (pointer_expression "&DAT_00171210" (& "&") (identifier "DAT_00171210"))) (; ";")) (} "}"))) (expression_statement "*param_1 = puVar2;" (assignment_expression "*param_1 = puVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + 1) = 0xc;" (assignment_expression "*(undefined4 *)(puVar2 + 1) = 0xc" (pointer_expression "*(undefined4 *)(puVar2 + 1)" (* "*") (cast_expression "(undefined4 *)(puVar2 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0xc")) (; ";")) (expression_statement "puVar2[4] = param_4;" (assignment_expression "puVar2[4] = param_4" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar2[5] = param_2;" (assignment_expression "puVar2[5] = param_2" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)(param_4 + 0x28);" (assignment_expression "lVar1 = *(long *)(param_4 + 0x28)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_4 + 0x28)" (* "*") (cast_expression "(long *)(param_4 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x28)" (( "(") (binary_expression "param_4 + 0x28" (identifier "param_4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "puVar2[3] = param_3;" (assignment_expression "puVar2[3] = param_3" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar2[2] = param_5 - lVar1;" (assignment_expression "puVar2[2] = param_5 - lVar1" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_5 - lVar1" (identifier "param_5") (- "-") (identifier "lVar1"))) (; ";")) (if_statement "if ((*(byte *)(param_4 + 0x21) & 8) == 0) {\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_4 + 0x21) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_4 + 0x21) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x21) & 8)" (( "(") (binary_expression "*(byte *)(param_4 + 0x21) & 8" (pointer_expression "*(byte *)(param_4 + 0x21)" (* "*") (cast_expression "(byte *)(param_4 + 0x21)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x21)" (( "(") (binary_expression "param_4 + 0x21" (identifier "param_4") (+ "+") (number_literal "0x21")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;\n  }" ({ "{") (expression_statement "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)\n    ;" (assignment_expression "*(ulong *)(param_4 + 0x38) =\n         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (pointer_expression "*(ulong *)(param_4 + 0x38)" (* "*") (cast_expression "(ulong *)(param_4 + 0x38)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x38)" (( "(") (binary_expression "param_4 + 0x38" (identifier "param_4") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)" (binary_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1" (parenthesized_expression "((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5)" (( "(") (binary_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5" (parenthesized_expression "(param_3 >> ((byte)DAT_001712c8 & 0x3f))" (( "(") (binary_expression "param_3 >> ((byte)DAT_001712c8 & 0x3f)" (identifier "param_3") (>> ">>") (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" (( "(") (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_001712c8")) (& "&") (number_literal "0x3f")) () ")"))) () ")")) (+ "+") (identifier "param_5")) () ")")) (- "-") (identifier "lVar1")) (<< "<<") (parenthesized_expression "((byte)DAT_001712c8 & 0x3f)" (( "(") (binary_expression "(byte)DAT_001712c8 & 0x3f" (cast_expression "(byte)DAT_001712c8" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_001712c8")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 **var_1,type_2 *var_6,type_3 var_9,
               type_4 *var_4,type_5 var_7)

{
  type_5 var_8;
  type_1 *var_2;
  type_1 *pad;
  
  if (((((var_1 == (type_1 **)0x0) ||
        ((type_6 *)var_1 == &statement_list)) || (*(int *)(var_1 + 1) != 0xc)) ||
      (var_2 = (type_1 *)var_1,
      var_1[4] != (type_1 *)var_4)) &&
     (((var_2 = *var_1, var_2 == (type_1 *)0x0 ||
       ((var_2->header).type != var_3)) ||
      ((type_4 *)(var_2->wild_statement).section_list != var_4)))) {
    var_2 = (type_1 *)var_5(0x30);
    (var_2->header).next = *var_1;
    if (var_6 == (type_2 *)0x0) {
      var_6 = &function_1::zero_fill;
    }
    *var_1 = var_2;
    (var_2->header).type = var_3;
    (var_2->reloc_statement).section = var_4;
    (var_2->padding_statement).var_6 = var_6;
  }
  var_8 = var_4->vma;
  (var_2->padding_statement).size = var_9;
  (var_2->wild_statement).filename = (char *)(var_7 - var_8);
  if ((var_4->flags & 0x800) == 0) {
    var_4->size =
         ((var_9 >> ((type_7)opb_shift & 0x3f)) + var_7) - var_8 << ((type_7)opb_shift & 0x3f);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) right: (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: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (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: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) right: (identifier))) right: (identifier)) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))))) (return_statement))))

void MASKED(undefined8 *param_1,undefined *param_2,ulong param_3,long param_4,long param_5)

{
  long lVar1;
  undefined8 *puVar2;
  
  if (((((param_1 == (undefined8 *)0x0) || (param_1 == &DAT_00171330)) ||
       (*(int *)(param_1 + 1) != 0xc)) || (puVar2 = param_1, param_1[4] != param_4)) &&
     (((puVar2 = (undefined8 *)*param_1, puVar2 == (undefined8 *)0x0 ||
       (*(int *)(puVar2 + 1) != 0xc)) || (puVar2[4] != param_4)))) {
    puVar2 = (undefined8 *)FUN_00115530(0x30);
    *puVar2 = *param_1;
    if (param_2 == (undefined *)0x0) {
      param_2 = &DAT_00171210;
    }
    *param_1 = puVar2;
    *(undefined4 *)(puVar2 + 1) = 0xc;
    puVar2[4] = param_4;
    puVar2[5] = param_2;
  }
  lVar1 = *(long *)(param_4 + 0x28);
  puVar2[3] = param_3;
  puVar2[2] = param_5 - lVar1;
  if ((*(byte *)(param_4 + 0x21) & 8) == 0) {
    *(ulong *)(param_4 + 0x38) =
         ((param_3 >> ((byte)DAT_001712c8 & 0x3f)) + param_5) - lVar1 << ((byte)DAT_001712c8 & 0x3f)
    ;
  }
  return;
}

