
int eh_frame_estimate_size_before_relax(fragS *frag)

{
  valueT vVar1;
  long lVar2;
  uint uVar3;
  
  uVar3 = frag->fr_subtype >> 3;
  vVar1 = resolve_symbol_value(frag->fr_symbol);
  if (uVar3 != 0) {
    lVar2 = (long)vVar1 / (long)(ulong)uVar3;
    if (lVar2 < 0x40) {
      uVar3 = 0;
    }
    else if (lVar2 < 0x100) {
      uVar3 = 1;
    }
    else {
      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);
    }
    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;
    return uVar3;
  }
                    /* WARNING: Subroutine does not return */
  as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");
}



uint FUN_00116a20(long param_1)

{
  long lVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(param_1 + 0x60) >> 3;
  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));
  if (uVar2 != 0) {
    lVar1 = lVar1 / (long)(ulong)uVar2;
    if (lVar1 < 0x40) {
      uVar2 = 0;
    }
    else if (lVar1 < 0x100) {
      uVar2 = 1;
    }
    else {
      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);
    }
    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");
}


PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x8
MOV EBX,dword ptr [RDI + 0x60]
MOV RDI,qword ptr [RDI + 0x28]
SHR EBX,0x3
CALL 0x0012d660
TEST EBX,EBX
JZ 0x00116a8c
CQO
IDIV RBX
CMP RAX,0x3f
JLE 0x00116a78
CMP RAX,0xff
JLE 0x00116a80
XOR ECX,ECX
CMP RAX,0x10000
SETGE CL
LEA ECX,[RCX + RCX*0x1 + 0x2]
MOV EAX,ECX
MOV EDX,dword ptr [RBP + 0x60]
AND EDX,0xfffffff8
OR EDX,ECX
MOV dword ptr [RBP + 0x60],EDX
ADD RSP,0x8
POP RBX
POP RBP
RET
XOR ECX,ECX
XOR EAX,EAX
JMP 0x00116a60
MOV ECX,0x1
MOV EAX,0x1
JMP 0x00116a60
LEA RDX,[0x14ac40]
MOV ESI,0x1df
LEA RDI,[0x14abd3]
CALL 0x00121350
(translation_unit "uint FUN_00116a20(long param_1)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}\n\n" (function_definition "uint FUN_00116a20(long param_1)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" type_identifier (function_declarator "FUN_00116a20(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x60) >> 3;" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x60) >> 3" identifier = (binary_expression "*(uint *)(param_1 + 0x60) >> 3" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) >> number_literal)) ;) (expression_statement "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));" (assignment_expression "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" identifier = (call_expression "FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" { (expression_statement "lVar1 = lVar1 / (long)(ulong)uVar2;" (assignment_expression "lVar1 = lVar1 / (long)(ulong)uVar2" identifier = (binary_expression "lVar1 / (long)(ulong)uVar2" identifier / (cast_expression "(long)(ulong)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)))) ;) (if_statement "if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" if (parenthesized_expression "(lVar1 < 0x40)" ( (binary_expression "lVar1 < 0x40" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" else (if_statement "if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" if (parenthesized_expression "(lVar1 < 0x100)" ( (binary_expression "lVar1 < 0x100" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1;\n    }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" else (compound_statement "{\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" { (expression_statement "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);" (assignment_expression "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" identifier = (binary_expression "(0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" (binary_expression "(0xffff < lVar1) + 2" (parenthesized_expression "(0xffff < lVar1)" ( (binary_expression "0xffff < lVar1" number_literal < identifier) )) + number_literal) + (call_expression "(uint)(0xffff < lVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffff < lVar1)" ( (binary_expression "0xffff < lVar1" number_literal < identifier) ))))) ;) }))))) (expression_statement "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;" (assignment_expression "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");" (call_expression "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" identifier (argument_list "("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_estimate_size_before_relax"" " string_content ") ))) ;) })))
(translation_unit "int eh_frame_estimate_size_before_relax(fragS *frag)\n\n{\n  valueT vVar1;\n  long lVar2;\n  uint uVar3;\n  \n  uVar3 = frag->fr_subtype >> 3;\n  vVar1 = resolve_symbol_value(frag->fr_symbol);\n  if (uVar3 != 0) {\n    lVar2 = (long)vVar1 / (long)(ulong)uVar3;\n    if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }\n    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}\n\n" (function_definition "int eh_frame_estimate_size_before_relax(fragS *frag)\n\n{\n  valueT vVar1;\n  long lVar2;\n  uint uVar3;\n  \n  uVar3 = frag->fr_subtype >> 3;\n  vVar1 = resolve_symbol_value(frag->fr_symbol);\n  if (uVar3 != 0) {\n    lVar2 = (long)vVar1 / (long)(ulong)uVar3;\n    if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }\n    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" primitive_type (function_declarator "eh_frame_estimate_size_before_relax(fragS *frag)" identifier (parameter_list "(fragS *frag)" ( (parameter_declaration "fragS *frag" type_identifier (pointer_declarator "*frag" * identifier)) ))) (compound_statement "{\n  valueT vVar1;\n  long lVar2;\n  uint uVar3;\n  \n  uVar3 = frag->fr_subtype >> 3;\n  vVar1 = resolve_symbol_value(frag->fr_symbol);\n  if (uVar3 != 0) {\n    lVar2 = (long)vVar1 / (long)(ulong)uVar3;\n    if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }\n    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;\n    return uVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" { (declaration "valueT vVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = frag->fr_subtype >> 3;" (assignment_expression "uVar3 = frag->fr_subtype >> 3" identifier = (binary_expression "frag->fr_subtype >> 3" (field_expression "frag->fr_subtype" identifier -> field_identifier) >> number_literal)) ;) (expression_statement "vVar1 = resolve_symbol_value(frag->fr_symbol);" (assignment_expression "vVar1 = 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) )))) ;) (if_statement "if (uVar3 != 0) {\n    lVar2 = (long)vVar1 / (long)(ulong)uVar3;\n    if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }\n    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;\n    return uVar3;\n  }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar2 = (long)vVar1 / (long)(ulong)uVar3;\n    if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }\n    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;\n    return uVar3;\n  }" { (expression_statement "lVar2 = (long)vVar1 / (long)(ulong)uVar3;" (assignment_expression "lVar2 = (long)vVar1 / (long)(ulong)uVar3" identifier = (binary_expression "(long)vVar1 / (long)(ulong)uVar3" (cast_expression "(long)vVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) / (cast_expression "(long)(ulong)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)))) ;) (if_statement "if (lVar2 < 0x40) {\n      uVar3 = 0;\n    }\n    else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }" if (parenthesized_expression "(lVar2 < 0x40)" ( (binary_expression "lVar2 < 0x40" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }" else (if_statement "if (lVar2 < 0x100) {\n      uVar3 = 1;\n    }\n    else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }" if (parenthesized_expression "(lVar2 < 0x100)" ( (binary_expression "lVar2 < 0x100" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 1;\n    }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }" else (compound_statement "{\n      uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);\n    }" { (expression_statement "uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2);" (assignment_expression "uVar3 = (0xffff < lVar2) + 2 + (uint)(0xffff < lVar2)" identifier = (binary_expression "(0xffff < lVar2) + 2 + (uint)(0xffff < lVar2)" (binary_expression "(0xffff < lVar2) + 2" (parenthesized_expression "(0xffff < lVar2)" ( (binary_expression "0xffff < lVar2" number_literal < identifier) )) + number_literal) + (call_expression "(uint)(0xffff < lVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffff < lVar2)" ( (binary_expression "0xffff < lVar2" number_literal < identifier) ))))) ;) }))))) (expression_statement "frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3;" (assignment_expression "frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | uVar3" (field_expression "frag->fr_subtype" identifier -> field_identifier) = (binary_expression "frag->fr_subtype & 0xfffffff8 | uVar3" (binary_expression "frag->fr_subtype & 0xfffffff8" (field_expression "frag->fr_subtype" identifier -> field_identifier) & number_literal) | identifier)) ;) (return_statement "return uVar3;" return identifier ;) })) comment (expression_statement "as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");" (call_expression "as_abort("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" identifier (argument_list "("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_estimate_size_before_relax"" " string_content ") ))) ;) })))
(translation_unit "uint FUN_00116a20(long param_1)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    \n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}\n\n" (function_definition "uint FUN_00116a20(long param_1)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    \n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" type_identifier (function_declarator "FUN_00116a20(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    \n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x60) >> 3;" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x60) >> 3" identifier = (binary_expression "*(uint *)(param_1 + 0x60) >> 3" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) >> number_literal)) ;) (expression_statement "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));" (assignment_expression "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" identifier = (call_expression "FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" { (expression_statement "lVar1 = lVar1 / (long)(ulong)uVar2;" (assignment_expression "lVar1 = lVar1 / (long)(ulong)uVar2" identifier = (binary_expression "lVar1 / (long)(ulong)uVar2" identifier / (cast_expression "(long)(ulong)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)))) ;) (if_statement "if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" if (parenthesized_expression "(lVar1 < 0x40)" ( (binary_expression "lVar1 < 0x40" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0;\n    }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" else (if_statement "if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" if (parenthesized_expression "(lVar1 < 0x100)" ( (binary_expression "lVar1 < 0x100" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1;\n    }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" else (compound_statement "{\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" { (expression_statement "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);" (assignment_expression "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" identifier = (binary_expression "(0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" (binary_expression "(0xffff < lVar1) + 2" (parenthesized_expression "(0xffff < lVar1)" ( (binary_expression "0xffff < lVar1" number_literal < identifier) )) + number_literal) + (call_expression "(uint)(0xffff < lVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffff < lVar1)" ( (binary_expression "0xffff < lVar1" number_literal < identifier) ))))) ;) }))))) (expression_statement "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;" (assignment_expression "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8" (pointer_expression "*(uint *)(param_1 + 0x60)" * (cast_expression "(uint *)(param_1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) & number_literal) | identifier)) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");" (call_expression "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" identifier (argument_list "("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" ( (string_literal ""../../gas/ehopt.c"" " string_content ") , number_literal , (string_literal ""eh_frame_estimate_size_before_relax"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE 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 = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) ;) }))))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | IDENT)) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "uint FUN_00116a20(long param_1)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    \n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" (type_identifier "uint") (function_declarator "FUN_00116a20(long param_1)" (identifier "FUN_00116a20") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x60) >> 3;\n  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));\n  if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }\n                    \n  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0x60) >> 3;" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x60) >> 3" (identifier "uVar2") (= "=") (binary_expression "*(uint *)(param_1 + 0x60) >> 3" (pointer_expression "*(uint *)(param_1 + 0x60)" (* "*") (cast_expression "(uint *)(param_1 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (>> ">>") (number_literal "3"))) (; ";")) (expression_statement "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));" (assignment_expression "lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" (identifier "lVar1") (= "=") (call_expression "FUN_0012d660(*(undefined8 *)(param_1 + 0x28))" (identifier "FUN_0012d660") (argument_list "(*(undefined8 *)(param_1 + 0x28))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) () ")")))) (; ";")) (if_statement "if (uVar2 != 0) {\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = lVar1 / (long)(ulong)uVar2;\n    if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }\n    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;\n    return uVar2;\n  }" ({ "{") (expression_statement "lVar1 = lVar1 / (long)(ulong)uVar2;" (assignment_expression "lVar1 = lVar1 / (long)(ulong)uVar2" (identifier "lVar1") (= "=") (binary_expression "lVar1 / (long)(ulong)uVar2" (identifier "lVar1") (/ "/") (cast_expression "(long)(ulong)uVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))))) (; ";")) (if_statement "if (lVar1 < 0x40) {\n      uVar2 = 0;\n    }\n    else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" (if "if") (parenthesized_expression "(lVar1 < 0x40)" (( "(") (binary_expression "lVar1 < 0x40" (identifier "lVar1") (< "<") (number_literal "0x40")) () ")")) (compound_statement "{\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" (else "else") (if_statement "if (lVar1 < 0x100) {\n      uVar2 = 1;\n    }\n    else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" (if "if") (parenthesized_expression "(lVar1 < 0x100)" (( "(") (binary_expression "lVar1 < 0x100" (identifier "lVar1") (< "<") (number_literal "0x100")) () ")")) (compound_statement "{\n      uVar2 = 1;\n    }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" (else "else") (compound_statement "{\n      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);\n    }" ({ "{") (expression_statement "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);" (assignment_expression "uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" (identifier "uVar2") (= "=") (binary_expression "(0xffff < lVar1) + 2 + (uint)(0xffff < lVar1)" (binary_expression "(0xffff < lVar1) + 2" (parenthesized_expression "(0xffff < lVar1)" (( "(") (binary_expression "0xffff < lVar1" (number_literal "0xffff") (< "<") (identifier "lVar1")) () ")")) (+ "+") (number_literal "2")) (+ "+") (call_expression "(uint)(0xffff < lVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xffff < lVar1)" (( "(") (binary_expression "0xffff < lVar1" (number_literal "0xffff") (< "<") (identifier "lVar1")) () ")"))))) (; ";")) (} "}")))))) (expression_statement "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;" (assignment_expression "*(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (pointer_expression "*(uint *)(param_1 + 0x60)" (* "*") (cast_expression "(uint *)(param_1 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2" (binary_expression "*(uint *)(param_1 + 0x60) & 0xfffffff8" (pointer_expression "*(uint *)(param_1 + 0x60)" (* "*") (cast_expression "(uint *)(param_1 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (& "&") (number_literal "0xfffffff8")) (| "|") (identifier "uVar2"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");" (call_expression "FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" (identifier "FUN_00121350") (argument_list "("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax")" (( "(") (string_literal ""../../gas/ehopt.c"" (" """) (string_content "../../gas/ehopt.c") (" """)) (, ",") (number_literal "0x1df") (, ",") (string_literal ""eh_frame_estimate_size_before_relax"" (" """) (string_content "eh_frame_estimate_size_before_relax") (" """)) () ")"))) (; ";")) (} "}")))

int function_1(type_1 *frag)

{
  type_2 vVar1;
  long var_3;
  type_3 var_2;
  
  var_2 = frag->fr_subtype >> 3;
  vVar1 = var_1(frag->fr_symbol);
  if (var_2 != 0) {
    var_3 = (long)vVar1 / (long)(type_4)var_2;
    if (var_3 < 0x40) {
      var_2 = 0;
    }
    else if (var_3 < 0x100) {
      var_2 = 1;
    }
    else {
      var_2 = (0xffff < var_3) + 2 + (type_3)(0xffff < var_3);
    }
    frag->fr_subtype = frag->fr_subtype & 0xfffffff8 | var_2;
    return var_2;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");
}


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

uint MASKED(long param_1)

{
  long lVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(param_1 + 0x60) >> 3;
  lVar1 = FUN_0012d660(*(undefined8 *)(param_1 + 0x28));
  if (uVar2 != 0) {
    lVar1 = lVar1 / (long)(ulong)uVar2;
    if (lVar1 < 0x40) {
      uVar2 = 0;
    }
    else if (lVar1 < 0x100) {
      uVar2 = 1;
    }
    else {
      uVar2 = (0xffff < lVar1) + 2 + (uint)(0xffff < lVar1);
    }
    *(uint *)(param_1 + 0x60) = *(uint *)(param_1 + 0x60) & 0xfffffff8 | uVar2;
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00121350("../../gas/ehopt.c",0x1df,"eh_frame_estimate_size_before_relax");
}

