
void sh_frob_label(symbolS *sym)

{
  int where;
  addressT aVar1;
  
  if ((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)) {
    aVar1 = frag_now_fix();
    where = (int)aVar1;
    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))
    {
      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);
      sh_frob_label::last_label_frag = frag_now;
      sh_frob_label::last_label_offset = where;
      dwarf2_emit_label(sym);
      return;
    }
  }
  dwarf2_emit_label(sym);
  return;
}



void FUN_00139710(undefined8 param_1)

{
  int iVar1;
  
  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&
     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {
    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);
    DAT_00168630 = DAT_001689a8;
    DAT_00168628 = iVar1;
    FUN_0010fd30(param_1);
    return;
  }
  FUN_0010fd30(param_1);
  return;
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV ECX,dword ptr [0x00168d08]
TEST ECX,ECX
JZ 0x00139737
MOV RAX,qword ptr [0x00168848]
MOV RAX,qword ptr [RAX + 0xa8]
TEST byte ptr [RAX + 0x58],0x1
JNZ 0x00139748
ADD RSP,0x8
MOV RDI,RBX
POP RBX
POP RBP
JMP 0x0010fd30
CALL 0x00117e50
MOV RDI,qword ptr [0x001689a8]
CMP RDI,qword ptr [0x00168630]
MOV RBP,RAX
JZ 0x001397b0
SUB RSP,0x8
MOV EDX,0x2
MOV ESI,EBP
XOR R9D,R9D
PUSH 0x2b8
XOR R8D,R8D
LEA RCX,[0x168c80]
CALL 0x0012fdb0
MOV RAX,qword ptr [0x001689a8]
MOV dword ptr [0x00168628],EBP
MOV RDI,RBX
MOV qword ptr [0x00168630],RAX
POP RAX
POP RDX
ADD RSP,0x8
POP RBX
POP RBP
JMP 0x0010fd30
CMP dword ptr [0x00168628],EAX
JNZ 0x00139760
JMP 0x00139737
(translation_unit "void FUN_00139710(undefined8 param_1)\n\n{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00139710(undefined8 param_1)\n\n{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00139710(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" if (parenthesized_expression "(((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))))" ( (binary_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" (parenthesized_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0))" ( (binary_expression "(DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" (parenthesized_expression "(DAT_00168d08 != 0)" ( (binary_expression "DAT_00168d08 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" ( (binary_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1)" ( (binary_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1" (pointer_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" * (cast_expression "(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(DAT_00168848 + 0xa8) + 0x58)" ( (binary_expression "*(long *)(DAT_00168848 + 0xa8) + 0x58" (pointer_expression "*(long *)(DAT_00168848 + 0xa8)" * (cast_expression "(long *)(DAT_00168848 + 0xa8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00168848 + 0xa8)" ( (binary_expression "DAT_00168848 + 0xa8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" ( (parenthesized_expression "(iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))" ( (comma_expression "iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (assignment_expression "iVar1 = FUN_00117e50()" identifier = (call_expression "FUN_00117e50()" identifier (argument_list "()" ( )))) , (binary_expression "DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (binary_expression "DAT_001689a8 != DAT_00168630" identifier != identifier) || (parenthesized_expression "(DAT_00168628 != iVar1)" ( (binary_expression "DAT_00168628 != iVar1" identifier != identifier) )))) )) ))) )) (compound_statement "{\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" { (expression_statement "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);" (call_expression "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" identifier (argument_list "(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" ( identifier , identifier , number_literal , (pointer_expression "&DAT_00168c80" & identifier) , number_literal , number_literal , number_literal ))) ;) (expression_statement "DAT_00168630 = DAT_001689a8;" (assignment_expression "DAT_00168630 = DAT_001689a8" identifier = identifier) ;) (expression_statement "DAT_00168628 = iVar1;" (assignment_expression "DAT_00168628 = iVar1" identifier = identifier) ;) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sh_frob_label(symbolS *sym)\n\n{\n  int where;\n  addressT aVar1;\n  \n  if ((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)) {\n    aVar1 = frag_now_fix();\n    where = (int)aVar1;\n    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }\n  }\n  dwarf2_emit_label(sym);\n  return;\n}\n\n" (function_definition "void sh_frob_label(symbolS *sym)\n\n{\n  int where;\n  addressT aVar1;\n  \n  if ((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)) {\n    aVar1 = frag_now_fix();\n    where = (int)aVar1;\n    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }\n  }\n  dwarf2_emit_label(sym);\n  return;\n}" primitive_type (function_declarator "sh_frob_label(symbolS *sym)" identifier (parameter_list "(symbolS *sym)" ( (parameter_declaration "symbolS *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  int where;\n  addressT aVar1;\n  \n  if ((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)) {\n    aVar1 = frag_now_fix();\n    where = (int)aVar1;\n    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }\n  }\n  dwarf2_emit_label(sym);\n  return;\n}" { (declaration "int where;" primitive_type identifier ;) (declaration "addressT aVar1;" type_identifier identifier ;) (if_statement "if ((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)) {\n    aVar1 = frag_now_fix();\n    where = (int)aVar1;\n    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }\n  }" if (parenthesized_expression "((sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0))" ( (binary_expression "(sh_relax != 0) && ((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)" (parenthesized_expression "(sh_relax != 0)" ( (binary_expression "sh_relax != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0)" ( (binary_expression "(*(byte *)((long)now_seg->userdata + 0x58) & 1) != 0" (parenthesized_expression "(*(byte *)((long)now_seg->userdata + 0x58) & 1)" ( (binary_expression "*(byte *)((long)now_seg->userdata + 0x58) & 1" (pointer_expression "*(byte *)((long)now_seg->userdata + 0x58)" * (cast_expression "(byte *)((long)now_seg->userdata + 0x58)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)now_seg->userdata + 0x58)" ( (binary_expression "(long)now_seg->userdata + 0x58" (cast_expression "(long)now_seg->userdata" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "now_seg->userdata" identifier -> field_identifier)) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    aVar1 = frag_now_fix();\n    where = (int)aVar1;\n    if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }\n  }" { (expression_statement "aVar1 = frag_now_fix();" (assignment_expression "aVar1 = frag_now_fix()" identifier = (call_expression "frag_now_fix()" identifier (argument_list "()" ( )))) ;) (expression_statement "where = (int)aVar1;" (assignment_expression "where = (int)aVar1" identifier = (cast_expression "(int)aVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))\n    {\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }" if (parenthesized_expression "((frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where))" ( (binary_expression "(frag_now != sh_frob_label::last_label_frag) || (sh_frob_label::last_label_offset != where)" (parenthesized_expression "(frag_now != sh_frob_label::last_label_frag)" ( (binary_expression "frag_now != sh_frob_label" identifier != identifier) (ERROR "::last_label_frag" : : identifier) )) || (parenthesized_expression "(sh_frob_label::last_label_offset != where)" ( (ERROR "sh_frob_label::" identifier : :) (binary_expression "last_label_offset != where" identifier != identifier) ))) )) (compound_statement "{\n      fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);\n      sh_frob_label::last_label_frag = frag_now;\n      sh_frob_label::last_label_offset = where;\n      dwarf2_emit_label(sym);\n      return;\n    }" { (expression_statement "fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);" (call_expression "fix_new(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL)" identifier (argument_list "(frag_now,where,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL)" ( identifier , identifier , number_literal , (pointer_expression "&abs_symbol" & identifier) , number_literal , number_literal , identifier ))) ;) (labeled_statement "sh_frob_label::last_label_frag = frag_now;" statement_identifier : (ERROR ":" :) (expression_statement "last_label_frag = frag_now;" (assignment_expression "last_label_frag = frag_now" identifier = identifier) ;)) (labeled_statement "sh_frob_label::last_label_offset = where;" statement_identifier : (ERROR ":" :) (expression_statement "last_label_offset = where;" (assignment_expression "last_label_offset = where" identifier = identifier) ;)) (expression_statement "dwarf2_emit_label(sym);" (call_expression "dwarf2_emit_label(sym)" identifier (argument_list "(sym)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "dwarf2_emit_label(sym);" (call_expression "dwarf2_emit_label(sym)" identifier (argument_list "(sym)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00139710(undefined8 param_1)\n\n{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00139710(undefined8 param_1)\n\n{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00139710(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" if (parenthesized_expression "(((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))))" ( (binary_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" (parenthesized_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0))" ( (binary_expression "(DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" (parenthesized_expression "(DAT_00168d08 != 0)" ( (binary_expression "DAT_00168d08 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" ( (binary_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1)" ( (binary_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1" (pointer_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" * (cast_expression "(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(DAT_00168848 + 0xa8) + 0x58)" ( (binary_expression "*(long *)(DAT_00168848 + 0xa8) + 0x58" (pointer_expression "*(long *)(DAT_00168848 + 0xa8)" * (cast_expression "(long *)(DAT_00168848 + 0xa8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00168848 + 0xa8)" ( (binary_expression "DAT_00168848 + 0xa8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" ( (parenthesized_expression "(iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))" ( (comma_expression "iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (assignment_expression "iVar1 = FUN_00117e50()" identifier = (call_expression "FUN_00117e50()" identifier (argument_list "()" ( )))) , (binary_expression "DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (binary_expression "DAT_001689a8 != DAT_00168630" identifier != identifier) || (parenthesized_expression "(DAT_00168628 != iVar1)" ( (binary_expression "DAT_00168628 != iVar1" identifier != identifier) )))) )) ))) )) (compound_statement "{\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" { (expression_statement "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);" (call_expression "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" identifier (argument_list "(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" ( identifier , identifier , number_literal , (pointer_expression "&DAT_00168c80" & identifier) , number_literal , number_literal , number_literal ))) ;) (expression_statement "DAT_00168630 = DAT_001689a8;" (assignment_expression "DAT_00168630 = DAT_001689a8" identifier = identifier) ;) (expression_statement "DAT_00168628 = iVar1;" (assignment_expression "DAT_00168628 = iVar1" identifier = identifier) ;) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression IDENT != IDENT) )))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00139710(undefined8 param_1)\n\n{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00139710(undefined8 param_1)" (identifier "FUN_00139710") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }\n  FUN_0010fd30(param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))))" (( "(") (binary_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&\n     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" (parenthesized_expression "((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0))" (( "(") (binary_expression "(DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" (parenthesized_expression "(DAT_00168d08 != 0)" (( "(") (binary_expression "DAT_00168d08 != 0" (identifier "DAT_00168d08") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1)" (( "(") (binary_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1" (pointer_expression "*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" (* "*") (cast_expression "(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(DAT_00168848 + 0xa8) + 0x58)" (( "(") (binary_expression "*(long *)(DAT_00168848 + 0xa8) + 0x58" (pointer_expression "*(long *)(DAT_00168848 + 0xa8)" (* "*") (cast_expression "(long *)(DAT_00168848 + 0xa8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00168848 + 0xa8)" (( "(") (binary_expression "DAT_00168848 + 0xa8" (identifier "DAT_00168848") (+ "+") (number_literal "0xa8")) () ")")))) (+ "+") (number_literal "0x58")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))" (( "(") (parenthesized_expression "(iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1))" (( "(") (comma_expression "iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (assignment_expression "iVar1 = FUN_00117e50()" (identifier "iVar1") (= "=") (call_expression "FUN_00117e50()" (identifier "FUN_00117e50") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)" (binary_expression "DAT_001689a8 != DAT_00168630" (identifier "DAT_001689a8") (!= "!=") (identifier "DAT_00168630")) (|| "||") (parenthesized_expression "(DAT_00168628 != iVar1)" (( "(") (binary_expression "DAT_00168628 != iVar1" (identifier "DAT_00168628") (!= "!=") (identifier "iVar1")) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);\n    DAT_00168630 = DAT_001689a8;\n    DAT_00168628 = iVar1;\n    FUN_0010fd30(param_1);\n    return;\n  }" ({ "{") (expression_statement "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);" (call_expression "FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" (identifier "FUN_0012fdb0") (argument_list "(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8)" (( "(") (identifier "DAT_001689a8") (, ",") (identifier "iVar1") (, ",") (number_literal "2") (, ",") (pointer_expression "&DAT_00168c80" (& "&") (identifier "DAT_00168c80")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x2b8") () ")"))) (; ";")) (expression_statement "DAT_00168630 = DAT_001689a8;" (assignment_expression "DAT_00168630 = DAT_001689a8" (identifier "DAT_00168630") (= "=") (identifier "DAT_001689a8")) (; ";")) (expression_statement "DAT_00168628 = iVar1;" (assignment_expression "DAT_00168628 = iVar1" (identifier "DAT_00168628") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" (identifier "FUN_0010fd30") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0010fd30(param_1);" (call_expression "FUN_0010fd30(param_1)" (identifier "FUN_0010fd30") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *sym)

{
  int var_5;
  type_2 aVar1;
  
  if ((var_1 != 0) && ((*(type_3 *)((long)now_seg->userdata + 0x58) & 1) != 0)) {
    aVar1 = var_2();
    var_5 = (int)aVar1;
    if ((var_3 != function_1::last_label_frag) || (function_1::var_4 != var_5))
    {
      var_6(var_3,var_5,2,&abs_symbol,0,0,BFD_RELOC_SH_LABEL);
      sh_frob_label::last_label_frag = var_3;
      sh_frob_label::var_4 = var_5;
      var_7(sym);
      return;
    }
  }
  var_7(sym);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(undefined8 param_1)

{
  int iVar1;
  
  if (((DAT_00168d08 != 0) && ((*(byte *)(*(long *)(DAT_00168848 + 0xa8) + 0x58) & 1) != 0)) &&
     ((iVar1 = FUN_00117e50(), DAT_001689a8 != DAT_00168630 || (DAT_00168628 != iVar1)))) {
    FUN_0012fdb0(DAT_001689a8,iVar1,2,&DAT_00168c80,0,0,0x2b8);
    DAT_00168630 = DAT_001689a8;
    DAT_00168628 = iVar1;
    FUN_0010fd30(param_1);
    return;
  }
  FUN_0010fd30(param_1);
  return;
}

