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

void eh_frame_convert_frag(fragS *frag)

{
  char *pcVar1;
  valueT vVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  
  pcVar1 = frag->fr_opcode;
  iVar5 = frag->fr_offset;
  vVar2 = resolve_symbol_value(frag->fr_symbol);
  uVar4 = frag->fr_subtype >> 3;
  if (uVar4 == 0) {
                    /* WARNING: Subroutine does not return */
    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");
  }
  uVar3 = frag->fr_subtype & 7;
  vVar2 = (int)vVar2 / (int)uVar4;
  if (uVar3 == 1) {
    if (0xff < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");
    }
    pcVar1[iVar5 + 0x54] = '\x02';
    iVar5 = frag->fr_fix;
    frag->fr_literal[iVar5] = (byte)vVar2;
  }
  else if (uVar3 == 0) {
    if (0x3f < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");
    }
    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;
    iVar5 = frag->fr_fix;
  }
  else {
    if (uVar3 == 2) {
      if (0xffff < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");
      }
      pcVar1[iVar5 + 0x54] = '\x03';
      iVar5 = 2;
    }
    else {
      iVar5 = 4;
    }
    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);
    iVar5 = frag->fr_fix;
    uVar3 = frag->fr_subtype & 7;
  }
  frag->fr_type = rs_fill;
  frag->fr_fix = uVar3 + iVar5;
  frag->fr_subtype = 0;
  frag->fr_offset = 0;
  return;
}



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

void FUN_0001fe80(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  undefined4 uVar7;
  
  iVar6 = *(int *)(param_1 + 0x18);
  iVar1 = *(int *)(param_1 + 0x10);
  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));
  uVar5 = *(uint *)(param_1 + 0x34) >> 3;
  if (uVar5 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);
  }
  uVar4 = *(uint *)(param_1 + 0x34) & 7;
  iVar3 = iVar2 / (int)uVar5;
  if (uVar4 == 1) {
    if (0xff < iVar3) {
                    /* WARNING: Subroutine does not return */
      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);
    }
    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;
    iVar6 = *(int *)(param_1 + 8);
    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;
  }
  else if (uVar4 == 0) {
    if (0x3f < iVar3) {
                    /* WARNING: Subroutine does not return */
      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);
    }
    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;
    iVar6 = *(int *)(param_1 + 8);
  }
  else {
    if (uVar4 == 2) {
      if (0xffff < iVar3) {
                    /* WARNING: Subroutine does not return */
        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);
      }
      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;
      uVar7 = 2;
    }
    else {
      uVar7 = 4;
    }
    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);
    iVar6 = *(int *)(param_1 + 8);
    uVar4 = *(uint *)(param_1 + 0x34) & 7;
  }
  *(undefined4 *)(param_1 + 0x30) = 1;
  *(uint *)(param_1 + 8) = uVar4 + iVar6;
  *(undefined4 *)(param_1 + 0x34) = 0;
  *(undefined4 *)(param_1 + 0x10) = 0;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016020
ADD EBX,0x5b177
SUB ESP,0x28
MOV ESI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESI + 0x18]
MOV EDI,dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0x14]
CALL 0x00037320
MOV ECX,dword ptr [ESI + 0x34]
ADD ESP,0x10
MOV EDX,ECX
SHR EDX,0x3
JZ 0x0001ff5d
MOV dword ptr [ESP + 0xc],EDX
AND ECX,0x7
CDQ
IDIV dword ptr [ESP + 0xc]
CMP ECX,0x1
JZ 0x0001ff48
TEST ECX,ECX
JZ 0x0001ff30
CMP ECX,0x2
JNZ 0x0001ff28
CMP EAX,0xffff
JG 0x0001ff76
SUB ESP,0x4
MOV byte ptr [EBP + EDI*0x1 + 0x54],0x3
PUSH 0x2
PUSH EAX
MOV EAX,dword ptr [ESI + 0x8]
LEA EAX,[ESI + EAX*0x1 + 0x54]
PUSH EAX
CALL 0x0003ed90
MOV ECX,dword ptr [ESI + 0x34]
MOV EDX,dword ptr [ESI + 0x8]
ADD ESP,0x10
AND ECX,0x7
ADD ECX,EDX
MOV dword ptr [ESI + 0x30],0x1
MOV dword ptr [ESI + 0x8],ECX
MOV dword ptr [ESI + 0x34],0x0
MOV dword ptr [ESI + 0x10],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH 0x4
JMP 0x0001fee8
CMP EAX,0x3f
JG 0x0001ff8f
OR EAX,0x40
MOV byte ptr [EBP + EDI*0x1 + 0x54],AL
MOV EDX,dword ptr [ESI + 0x8]
JMP 0x0001ff02
CMP EAX,0xff
JG 0x0001ffa8
MOV byte ptr [EBP + EDI*0x1 + 0x54],0x2
MOV EDX,dword ptr [ESI + 0x8]
MOV byte ptr [ESI + EDX*0x1 + 0x54],AL
JMP 0x0001ff02
LEA EAX,[EBX + 0xfffdea60]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfffdea2e]
PUSH 0x20e
PUSH EAX
CALL 0x0002aaa0
PUSH EAX
LEA EAX,[EBX + 0xfffdea60]
PUSH EAX
LEA EAX,[EBX + 0xfffdea2e]
PUSH 0x21e
PUSH EAX
CALL 0x0002aaa0
LEA EAX,[EBX + 0xfffdea60]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfffdea2e]
PUSH 0x213
PUSH EAX
CALL 0x0002aaa0
LEA EAX,[EBX + 0xfffdea60]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfffdea2e]
PUSH 0x218
PUSH EAX
CALL 0x0002aaa0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001fe80(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_0001fe80(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001fe80(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "FUN_00037320(*(undefined4 *)(param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) >> 3;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) >> 3" identifier = (binary_expression "*(uint *)(param_1 + 0x34) >> 3" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) >> number_literal)) ;) (if_statement "if (uVar5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" { comment (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" identifier (argument_list "("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" identifier = (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "iVar3 = iVar2 / (int)uVar5;" (assignment_expression "iVar3 = iVar2 / (int)uVar5" identifier = (binary_expression "iVar2 / (int)uVar5" identifier / (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" if (parenthesized_expression "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }" { (if_statement "if (0xff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" if (parenthesized_expression "(0xff < iVar3)" ( (binary_expression "0xff < iVar3" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" { comment (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" identifier (argument_list "("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , (binary_expression "iVar2 % (int)uVar5" identifier % (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;" (assignment_expression "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3" (pointer_expression "*(byte *)(param_1 + 0x54 + iVar6)" * (cast_expression "(byte *)(param_1 + 0x54 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54 + iVar6)" ( (binary_expression "param_1 + 0x54 + iVar6" (binary_expression "param_1 + 0x54" identifier + number_literal) + identifier) )))) = (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) }) (else_clause "else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" else (if_statement "if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }" { (if_statement "if (0x3f < iVar3) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" if (parenthesized_expression "(0x3f < iVar3)" ( (binary_expression "0x3f < iVar3" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" { comment (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" identifier (argument_list "("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , number_literal ))) ;) })) (expression_statement "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;" (assignment_expression "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40" (pointer_expression "*(byte *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(byte *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = (binary_expression "(byte)iVar3 | 0x40" (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier) | number_literal)) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" else (compound_statement "{\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" { (if_statement "if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }" if (parenthesized_expression "(uVar4 == 2)" ( (binary_expression "uVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }" { (if_statement "if (0xffff < iVar3) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" if (parenthesized_expression "(0xffff < iVar3)" ( (binary_expression "0xffff < iVar3" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" { comment (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" identifier (argument_list "("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , identifier ))) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      uVar7 = 4;\n    }" else (compound_statement "{\n      uVar7 = 4;\n    }" { (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }))) (expression_statement "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);" (call_expression "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" identifier (argument_list "(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" ( (binary_expression "param_1 + 0x54 + *(int *)(param_1 + 8)" (binary_expression "param_1 + 0x54" identifier + number_literal) + (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) , identifier , identifier ))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" identifier = (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) & number_literal)) ;) }))))) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 8) = uVar4 + iVar6;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4 + iVar6" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "uVar4 + iVar6" identifier + identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid eh_frame_convert_frag(fragS *frag)\n\n{\n  char *pcVar1;\n  valueT vVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  pcVar1 = frag->fr_opcode;\n  iVar5 = frag->fr_offset;\n  vVar2 = resolve_symbol_value(frag->fr_symbol);\n  uVar4 = frag->fr_subtype >> 3;\n  if (uVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");\n  }\n  uVar3 = frag->fr_subtype & 7;\n  vVar2 = (int)vVar2 / (int)uVar4;\n  if (uVar3 == 1) {\n    if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = '\x02';\n    iVar5 = frag->fr_fix;\n    frag->fr_literal[iVar5] = (byte)vVar2;\n  }\n  else if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }\n  frag->fr_type = rs_fill;\n  frag->fr_fix = uVar3 + iVar5;\n  frag->fr_subtype = 0;\n  frag->fr_offset = 0;\n  return;\n}\n\n" comment comment (function_definition "void eh_frame_convert_frag(fragS *frag)\n\n{\n  char *pcVar1;\n  valueT vVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  pcVar1 = frag->fr_opcode;\n  iVar5 = frag->fr_offset;\n  vVar2 = resolve_symbol_value(frag->fr_symbol);\n  uVar4 = frag->fr_subtype >> 3;\n  if (uVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");\n  }\n  uVar3 = frag->fr_subtype & 7;\n  vVar2 = (int)vVar2 / (int)uVar4;\n  if (uVar3 == 1) {\n    if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = '\x02';\n    iVar5 = frag->fr_fix;\n    frag->fr_literal[iVar5] = (byte)vVar2;\n  }\n  else if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }\n  frag->fr_type = rs_fill;\n  frag->fr_fix = uVar3 + iVar5;\n  frag->fr_subtype = 0;\n  frag->fr_offset = 0;\n  return;\n}" primitive_type (function_declarator "eh_frame_convert_frag(fragS *frag)" identifier (parameter_list "(fragS *frag)" ( (parameter_declaration "fragS *frag" type_identifier (pointer_declarator "*frag" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  valueT vVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  pcVar1 = frag->fr_opcode;\n  iVar5 = frag->fr_offset;\n  vVar2 = resolve_symbol_value(frag->fr_symbol);\n  uVar4 = frag->fr_subtype >> 3;\n  if (uVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");\n  }\n  uVar3 = frag->fr_subtype & 7;\n  vVar2 = (int)vVar2 / (int)uVar4;\n  if (uVar3 == 1) {\n    if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = '\x02';\n    iVar5 = frag->fr_fix;\n    frag->fr_literal[iVar5] = (byte)vVar2;\n  }\n  else if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }\n  frag->fr_type = rs_fill;\n  frag->fr_fix = uVar3 + iVar5;\n  frag->fr_subtype = 0;\n  frag->fr_offset = 0;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "valueT vVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pcVar1 = frag->fr_opcode;" (assignment_expression "pcVar1 = frag->fr_opcode" identifier = (field_expression "frag->fr_opcode" identifier -> field_identifier)) ;) (expression_statement "iVar5 = frag->fr_offset;" (assignment_expression "iVar5 = frag->fr_offset" identifier = (field_expression "frag->fr_offset" identifier -> field_identifier)) ;) (expression_statement "vVar2 = resolve_symbol_value(frag->fr_symbol);" (assignment_expression "vVar2 = resolve_symbol_value(frag->fr_symbol)" identifier = (call_expression "resolve_symbol_value(frag->fr_symbol)" identifier (argument_list "(frag->fr_symbol)" ( (field_expression "frag->fr_symbol" identifier -> field_identifier) )))) ;) (expression_statement "uVar4 = frag->fr_subtype >> 3;" (assignment_expression "uVar4 = frag->fr_subtype >> 3" identifier = (binary_expression "frag->fr_subtype >> 3" (field_expression "frag->fr_subtype" identifier -> field_identifier) >> number_literal)) ;) (if_statement "if (uVar4 == 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");\n  }" { comment (expression_statement "as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");" (call_expression "as_abort("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag")" identifier (argument_list "("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") ))) ;) })) (expression_statement "uVar3 = frag->fr_subtype & 7;" (assignment_expression "uVar3 = frag->fr_subtype & 7" identifier = (binary_expression "frag->fr_subtype & 7" (field_expression "frag->fr_subtype" identifier -> field_identifier) & number_literal)) ;) (expression_statement "vVar2 = (int)vVar2 / (int)uVar4;" (assignment_expression "vVar2 = (int)vVar2 / (int)uVar4" identifier = (binary_expression "(int)vVar2 / (int)uVar4" (cast_expression "(int)vVar2" ( (type_descriptor "int" primitive_type) ) identifier) / (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (uVar3 == 1) {\n    if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = '\x02';\n    iVar5 = frag->fr_fix;\n    frag->fr_literal[iVar5] = (byte)vVar2;\n  }\n  else if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }" if (parenthesized_expression "(uVar3 == 1)" ( (binary_expression "uVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = '\x02';\n    iVar5 = frag->fr_fix;\n    frag->fr_literal[iVar5] = (byte)vVar2;\n  }" { (if_statement "if (0xff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }" if (parenthesized_expression "(0xff < (int)vVar2)" ( (binary_expression "0xff < (int)vVar2" number_literal < (cast_expression "(int)vVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");\n    }" { comment (expression_statement "as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");" (call_expression "as_abort("../../gas/ehopt.c",0x218,"eh_frame_convert_frag")" identifier (argument_list "("../../gas/ehopt.c",0x218,"eh_frame_convert_frag")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") ))) ;) })) (expression_statement "pcVar1[iVar5 + 0x54] = '\x02';" (assignment_expression "pcVar1[iVar5 + 0x54] = '\x02'" (subscript_expression "pcVar1[iVar5 + 0x54]" identifier [ (binary_expression "iVar5 + 0x54" identifier + number_literal) ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "iVar5 = frag->fr_fix;" (assignment_expression "iVar5 = frag->fr_fix" identifier = (field_expression "frag->fr_fix" identifier -> field_identifier)) ;) (expression_statement "frag->fr_literal[iVar5] = (byte)vVar2;" (assignment_expression "frag->fr_literal[iVar5] = (byte)vVar2" (subscript_expression "frag->fr_literal[iVar5]" (field_expression "frag->fr_literal" identifier -> field_identifier) [ identifier ]) = (cast_expression "(byte)vVar2" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) }) (else_clause "else if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }" else (if_statement "if (uVar3 == 0) {\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }\n  else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }\n    pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;\n    iVar5 = frag->fr_fix;\n  }" { (if_statement "if (0x3f < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }" if (parenthesized_expression "(0x3f < (int)vVar2)" ( (binary_expression "0x3f < (int)vVar2" number_literal < (cast_expression "(int)vVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");\n    }" { comment (expression_statement "as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");" (call_expression "as_abort("../../gas/ehopt.c",0x213,"eh_frame_convert_frag")" identifier (argument_list "("../../gas/ehopt.c",0x213,"eh_frame_convert_frag")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") ))) ;) })) (expression_statement "pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40;" (assignment_expression "pcVar1[iVar5 + 0x54] = (byte)vVar2 | 0x40" (subscript_expression "pcVar1[iVar5 + 0x54]" identifier [ (binary_expression "iVar5 + 0x54" identifier + number_literal) ]) = (binary_expression "(byte)vVar2 | 0x40" (cast_expression "(byte)vVar2" ( (type_descriptor "byte" type_identifier) ) identifier) | number_literal)) ;) (expression_statement "iVar5 = frag->fr_fix;" (assignment_expression "iVar5 = frag->fr_fix" identifier = (field_expression "frag->fr_fix" identifier -> field_identifier)) ;) }) (else_clause "else {\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }" else (compound_statement "{\n    if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }\n    number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);\n    iVar5 = frag->fr_fix;\n    uVar3 = frag->fr_subtype & 7;\n  }" { (if_statement "if (uVar3 == 2) {\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }\n    else {\n      iVar5 = 4;\n    }" if (parenthesized_expression "(uVar3 == 2)" ( (binary_expression "uVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }\n      pcVar1[iVar5 + 0x54] = '\x03';\n      iVar5 = 2;\n    }" { (if_statement "if (0xffff < (int)vVar2) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }" if (parenthesized_expression "(0xffff < (int)vVar2)" ( (binary_expression "0xffff < (int)vVar2" number_literal < (cast_expression "(int)vVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");\n      }" { comment (expression_statement "as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");" (call_expression "as_abort("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag")" identifier (argument_list "("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") ))) ;) })) (expression_statement "pcVar1[iVar5 + 0x54] = '\x03';" (assignment_expression "pcVar1[iVar5 + 0x54] = '\x03'" (subscript_expression "pcVar1[iVar5 + 0x54]" identifier [ (binary_expression "iVar5 + 0x54" identifier + number_literal) ]) = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      iVar5 = 4;\n    }" else (compound_statement "{\n      iVar5 = 4;\n    }" { (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) }))) (expression_statement "number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5);" (call_expression "number_to_chars_littleendian(frag->fr_literal + frag->fr_fix,vVar2,iVar5)" identifier (argument_list "(frag->fr_literal + frag->fr_fix,vVar2,iVar5)" ( (binary_expression "frag->fr_literal + frag->fr_fix" (field_expression "frag->fr_literal" identifier -> field_identifier) + (field_expression "frag->fr_fix" identifier -> field_identifier)) , identifier , identifier ))) ;) (expression_statement "iVar5 = frag->fr_fix;" (assignment_expression "iVar5 = frag->fr_fix" identifier = (field_expression "frag->fr_fix" identifier -> field_identifier)) ;) (expression_statement "uVar3 = frag->fr_subtype & 7;" (assignment_expression "uVar3 = frag->fr_subtype & 7" identifier = (binary_expression "frag->fr_subtype & 7" (field_expression "frag->fr_subtype" identifier -> field_identifier) & number_literal)) ;) }))))) (expression_statement "frag->fr_type = rs_fill;" (assignment_expression "frag->fr_type = rs_fill" (field_expression "frag->fr_type" identifier -> field_identifier) = identifier) ;) (expression_statement "frag->fr_fix = uVar3 + iVar5;" (assignment_expression "frag->fr_fix = uVar3 + iVar5" (field_expression "frag->fr_fix" identifier -> field_identifier) = (binary_expression "uVar3 + iVar5" identifier + identifier)) ;) (expression_statement "frag->fr_subtype = 0;" (assignment_expression "frag->fr_subtype = 0" (field_expression "frag->fr_subtype" identifier -> field_identifier) = number_literal) ;) (expression_statement "frag->fr_offset = 0;" (assignment_expression "frag->fr_offset = 0" (field_expression "frag->fr_offset" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001fe80(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001fe80(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001fe80(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14))" identifier = (call_expression "FUN_00037320(*(undefined4 *)(param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) >> 3;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) >> 3" identifier = (binary_expression "*(uint *)(param_1 + 0x34) >> 3" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) >> number_literal)) ;) (if_statement "if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" { (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" identifier (argument_list "("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" identifier = (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "iVar3 = iVar2 / (int)uVar5;" (assignment_expression "iVar3 = iVar2 / (int)uVar5" identifier = (binary_expression "iVar2 / (int)uVar5" identifier / (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" if (parenthesized_expression "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }" { (if_statement "if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" if (parenthesized_expression "(0xff < iVar3)" ( (binary_expression "0xff < iVar3" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" { (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" identifier (argument_list "("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , (binary_expression "iVar2 % (int)uVar5" identifier % (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;" (assignment_expression "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3" (pointer_expression "*(byte *)(param_1 + 0x54 + iVar6)" * (cast_expression "(byte *)(param_1 + 0x54 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54 + iVar6)" ( (binary_expression "param_1 + 0x54 + iVar6" (binary_expression "param_1 + 0x54" identifier + number_literal) + identifier) )))) = (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) }) (else_clause "else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" else (if_statement "if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }" { (if_statement "if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" if (parenthesized_expression "(0x3f < iVar3)" ( (binary_expression "0x3f < iVar3" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" { (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" identifier (argument_list "("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , number_literal ))) ;) })) (expression_statement "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;" (assignment_expression "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40" (pointer_expression "*(byte *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(byte *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = (binary_expression "(byte)iVar3 | 0x40" (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier) | number_literal)) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" else (compound_statement "{\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" { (if_statement "if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }" if (parenthesized_expression "(uVar4 == 2)" ( (binary_expression "uVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }" { (if_statement "if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" if (parenthesized_expression "(0xffff < iVar3)" ( (binary_expression "0xffff < iVar3" number_literal < identifier) )) (compound_statement "{\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" { (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" identifier (argument_list "("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_convert_frag"" " string_content ") , identifier ))) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" * (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x54 + iVar1)" ( (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      uVar7 = 4;\n    }" else (compound_statement "{\n      uVar7 = 4;\n    }" { (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }))) (expression_statement "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);" (call_expression "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" identifier (argument_list "(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" ( (binary_expression "param_1 + 0x54 + *(int *)(param_1 + 8)" (binary_expression "param_1 + 0x54" identifier + number_literal) + (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) , identifier , identifier ))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" identifier = (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) & number_literal)) ;) }))))) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 8) = uVar4 + iVar6;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4 + iVar6" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "uVar4 + iVar6" identifier + identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration 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 = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT % (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + 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 (binary_expression IDENT + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT , 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 = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) }))))) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001fe80(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001fe80(int param_1)" (identifier "FUN_0001fe80") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  \n  iVar6 = *(int *)(param_1 + 0x18);\n  iVar1 = *(int *)(param_1 + 0x10);\n  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));\n  uVar5 = *(uint *)(param_1 + 0x34) >> 3;\n  if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }\n  uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  iVar3 = iVar2 / (int)uVar5;\n  if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }\n  *(undefined4 *)(param_1 + 0x30) = 1;\n  *(uint *)(param_1 + 8) = uVar4 + iVar6;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));" (assignment_expression "iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14))" (identifier "iVar2") (= "=") (call_expression "FUN_00037320(*(undefined4 *)(param_1 + 0x14))" (identifier "FUN_00037320") (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) >> 3;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) >> 3" (identifier "uVar5") (= "=") (binary_expression "*(uint *)(param_1 + 0x34) >> 3" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (>> ">>") (number_literal "3"))) (; ";")) (if_statement "if (uVar5 == 0) {\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);\n  }" ({ "{") (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" (identifier "FUN_0002aaa0") (argument_list "("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1)" (( "(") (string_literal ""../../gas/ehopt.c"" (" """) (string_content "../../gas/ehopt.c") (" """)) (, ",") (number_literal "0x20e") (, ",") (string_literal ""eh_frame_convert_frag"" (" """) (string_content "eh_frame_convert_frag") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" (identifier "uVar4") (= "=") (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (& "&") (number_literal "7"))) (; ";")) (expression_statement "iVar3 = iVar2 / (int)uVar5;" (assignment_expression "iVar3 = iVar2 / (int)uVar5" (identifier "iVar3") (= "=") (binary_expression "iVar2 / (int)uVar5" (identifier "iVar2") (/ "/") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")))) (; ";")) (if_statement "if (uVar4 == 1) {\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }\n  else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" (if "if") (parenthesized_expression "(uVar4 == 1)" (( "(") (binary_expression "uVar4 == 1" (identifier "uVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }\n    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;\n    iVar6 = *(int *)(param_1 + 8);\n    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;\n  }" ({ "{") (if_statement "if (0xff < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" (if "if") (parenthesized_expression "(0xff < iVar3)" (( "(") (binary_expression "0xff < iVar3" (number_literal "0xff") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);\n    }" ({ "{") (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" (identifier "FUN_0002aaa0") (argument_list "("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5)" (( "(") (string_literal ""../../gas/ehopt.c"" (" """) (string_content "../../gas/ehopt.c") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""eh_frame_convert_frag"" (" """) (string_content "eh_frame_convert_frag") (" """)) (, ",") (binary_expression "iVar2 % (int)uVar5" (identifier "iVar2") (% "%") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 2" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x54 + iVar1)" (( "(") (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" (identifier "iVar6") (+ "+") (number_literal "0x54")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;" (assignment_expression "*(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3" (pointer_expression "*(byte *)(param_1 + 0x54 + iVar6)" (* "*") (cast_expression "(byte *)(param_1 + 0x54 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54 + iVar6)" (( "(") (binary_expression "param_1 + 0x54 + iVar6" (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (cast_expression "(byte)iVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar3"))) (; ";")) (} "}")) (else_clause "else if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" (else "else") (if_statement "if (uVar4 == 0) {\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }\n  else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }\n    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;\n    iVar6 = *(int *)(param_1 + 8);\n  }" ({ "{") (if_statement "if (0x3f < iVar3) {\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" (if "if") (parenthesized_expression "(0x3f < iVar3)" (( "(") (binary_expression "0x3f < iVar3" (number_literal "0x3f") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                    \n      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);\n    }" ({ "{") (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" (identifier "FUN_0002aaa0") (argument_list "("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0)" (( "(") (string_literal ""../../gas/ehopt.c"" (" """) (string_content "../../gas/ehopt.c") (" """)) (, ",") (number_literal "0x213") (, ",") (string_literal ""eh_frame_convert_frag"" (" """) (string_content "eh_frame_convert_frag") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;" (assignment_expression "*(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40" (pointer_expression "*(byte *)(iVar6 + 0x54 + iVar1)" (* "*") (cast_expression "(byte *)(iVar6 + 0x54 + iVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x54 + iVar1)" (( "(") (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" (identifier "iVar6") (+ "+") (number_literal "0x54")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (binary_expression "(byte)iVar3 | 0x40" (cast_expression "(byte)iVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar3")) (| "|") (number_literal "0x40"))) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" (else "else") (compound_statement "{\n    if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }\n    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);\n    iVar6 = *(int *)(param_1 + 8);\n    uVar4 = *(uint *)(param_1 + 0x34) & 7;\n  }" ({ "{") (if_statement "if (uVar4 == 2) {\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }\n    else {\n      uVar7 = 4;\n    }" (if "if") (parenthesized_expression "(uVar4 == 2)" (( "(") (binary_expression "uVar4 == 2" (identifier "uVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }\n      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;\n      uVar7 = 2;\n    }" ({ "{") (if_statement "if (0xffff < iVar3) {\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" (if "if") (parenthesized_expression "(0xffff < iVar3)" (( "(") (binary_expression "0xffff < iVar3" (number_literal "0xffff") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n                    \n        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);\n      }" ({ "{") (expression_statement "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);" (call_expression "FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" (identifier "FUN_0002aaa0") (argument_list "("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3)" (( "(") (string_literal ""../../gas/ehopt.c"" (" """) (string_content "../../gas/ehopt.c") (" """)) (, ",") (number_literal "0x21e") (, ",") (string_literal ""eh_frame_convert_frag"" (" """) (string_content "eh_frame_convert_frag") (" """)) (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;" (assignment_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1) = 3" (pointer_expression "*(undefined1 *)(iVar6 + 0x54 + iVar1)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x54 + iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x54 + iVar1)" (( "(") (binary_expression "iVar6 + 0x54 + iVar1" (binary_expression "iVar6 + 0x54" (identifier "iVar6") (+ "+") (number_literal "0x54")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" (identifier "uVar7") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n      uVar7 = 4;\n    }" (else "else") (compound_statement "{\n      uVar7 = 4;\n    }" ({ "{") (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" (identifier "uVar7") (= "=") (number_literal "4")) (; ";")) (} "}")))) (expression_statement "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);" (call_expression "FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" (identifier "FUN_0003ed90") (argument_list "(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7)" (( "(") (binary_expression "param_1 + 0x54 + *(int *)(param_1 + 8)" (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) (+ "+") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (, ",") (identifier "iVar3") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 8);" (assignment_expression "iVar6 = *(int *)(param_1 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_1 + 0x34) & 7;" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x34) & 7" (identifier "uVar4") (= "=") (binary_expression "*(uint *)(param_1 + 0x34) & 7" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (& "&") (number_literal "7"))) (; ";")) (} "}")))))) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(uint *)(param_1 + 8) = uVar4 + iVar6;" (assignment_expression "*(uint *)(param_1 + 8) = uVar4 + iVar6" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "uVar4 + iVar6" (identifier "uVar4") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *frag)

{
  char *pcVar1;
  type_2 vVar2;
  type_3 var_4;
  type_3 var_2;
  int var_5;
  
  pcVar1 = frag->fr_opcode;
  var_5 = frag->fr_offset;
  vVar2 = var_1(frag->fr_symbol);
  var_2 = frag->fr_subtype >> 3;
  if (var_2 == 0) {
                    /* WARNING: Subroutine does not return */
    var_3("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag");
  }
  var_4 = frag->fr_subtype & 7;
  vVar2 = (int)vVar2 / (int)var_2;
  if (var_4 == 1) {
    if (0xff < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gas/ehopt.c",0x218,"eh_frame_convert_frag");
    }
    pcVar1[var_5 + 0x54] = '\x02';
    var_5 = frag->fr_fix;
    frag->fr_literal[var_5] = (type_4)vVar2;
  }
  else if (var_4 == 0) {
    if (0x3f < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gas/ehopt.c",0x213,"eh_frame_convert_frag");
    }
    pcVar1[var_5 + 0x54] = (type_4)vVar2 | 0x40;
    var_5 = frag->fr_fix;
  }
  else {
    if (var_4 == 2) {
      if (0xffff < (int)vVar2) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag");
      }
      pcVar1[var_5 + 0x54] = '\x03';
      var_5 = 2;
    }
    else {
      var_5 = 4;
    }
    var_6(frag->fr_literal + frag->fr_fix,vVar2,var_5);
    var_5 = frag->fr_fix;
    var_4 = frag->fr_subtype & 7;
  }
  frag->fr_type = rs_fill;
  frag->fr_fix = var_4 + var_5;
  frag->fr_subtype = 0;
  frag->fr_offset = 0;
  return;
}


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

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

void MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  undefined4 uVar7;
  
  iVar6 = *(int *)(param_1 + 0x18);
  iVar1 = *(int *)(param_1 + 0x10);
  iVar2 = FUN_00037320(*(undefined4 *)(param_1 + 0x14));
  uVar5 = *(uint *)(param_1 + 0x34) >> 3;
  if (uVar5 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0002aaa0("../../gas/ehopt.c",0x20e,"eh_frame_convert_frag",param_1);
  }
  uVar4 = *(uint *)(param_1 + 0x34) & 7;
  iVar3 = iVar2 / (int)uVar5;
  if (uVar4 == 1) {
    if (0xff < iVar3) {
                    /* WARNING: Subroutine does not return */
      FUN_0002aaa0("../../gas/ehopt.c",0x218,"eh_frame_convert_frag",iVar2 % (int)uVar5);
    }
    *(undefined1 *)(iVar6 + 0x54 + iVar1) = 2;
    iVar6 = *(int *)(param_1 + 8);
    *(byte *)(param_1 + 0x54 + iVar6) = (byte)iVar3;
  }
  else if (uVar4 == 0) {
    if (0x3f < iVar3) {
                    /* WARNING: Subroutine does not return */
      FUN_0002aaa0("../../gas/ehopt.c",0x213,"eh_frame_convert_frag",0);
    }
    *(byte *)(iVar6 + 0x54 + iVar1) = (byte)iVar3 | 0x40;
    iVar6 = *(int *)(param_1 + 8);
  }
  else {
    if (uVar4 == 2) {
      if (0xffff < iVar3) {
                    /* WARNING: Subroutine does not return */
        FUN_0002aaa0("../../gas/ehopt.c",0x21e,"eh_frame_convert_frag",iVar3);
      }
      *(undefined1 *)(iVar6 + 0x54 + iVar1) = 3;
      uVar7 = 2;
    }
    else {
      uVar7 = 4;
    }
    FUN_0003ed90(param_1 + 0x54 + *(int *)(param_1 + 8),iVar3,uVar7);
    iVar6 = *(int *)(param_1 + 8);
    uVar4 = *(uint *)(param_1 + 0x34) & 7;
  }
  *(undefined4 *)(param_1 + 0x30) = 1;
  *(uint *)(param_1 + 8) = uVar4 + iVar6;
  *(undefined4 *)(param_1 + 0x34) = 0;
  *(undefined4 *)(param_1 + 0x10) = 0;
  return;
}

