
uint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)

{
  Output_data *pOVar1;
  uint uVar2;
  uint in_v1;
  pointer ppOVar3;
  uint uVar4;
  uint uVar5;
  
  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
            _M_impl._M_start;
  if (ppOVar3 ==
      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.
      _M_finish) {
    return 0;
  }
  uVar4 = 0;
  uVar5 = 0;
  do {
    while( true ) {
      pOVar1 = *ppOVar3;
      ppOVar3 = ppOVar3 + 1;
      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);
      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;
      uVar4 = uVar2;
      uVar5 = in_v1;
      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl
          ._M_finish == ppOVar3) goto LAB_0021710c;
    }
  } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
           _M_impl._M_finish != ppOVar3);
LAB_0021710c:
  return CONCAT44(uVar4,uVar5);
}



undefined8 FUN_0021708c(undefined4 *param_1)

{
  undefined8 uVar1;
  int *piVar2;
  uint uVar3;
  undefined4 *puVar4;
  uint uVar5;
  undefined8 uVar6;
  
  puVar4 = (undefined4 *)*param_1;
  if (puVar4 == (undefined4 *)param_1[1]) {
    return 0;
  }
  uVar1 = 0;
  do {
    while( true ) {
      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);
      piVar2 = (int *)*puVar4;
      puVar4 = puVar4 + 1;
      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);
      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);
      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;
      if ((undefined4 *)param_1[1] == puVar4) {
        return uVar1;
      }
    }
    uVar1 = uVar6;
  } while ((undefined4 *)param_1[1] != puVar4);
  return uVar6;
}


addiu sp,sp,-0x30
lw v0,0x4(a0)
sw s0,0x1c(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
lw s0,0x0(a0)
beq s0,v0,0x00217140
_or s3,a0,zero
or s1,zero,zero
b 0x002170d4
_or s2,zero,zero
beq v0,s1,0x0021712c
_sltu a0,s2,v1
lw v0,0x4(s3)
beq v0,s0,0x0021710c
_lw ra,0x2c(sp)
lw v0,0x0(s0)
or a0,v0,zero
lw v0,0x0(v0)
lw t9,0xc(v0)
jalr t9
_addiu s0,s0,0x4
sltu a1,s1,v0
beq a1,zero,0x002170c0
_nop
or s1,v0,zero
or s2,v1,zero
lw v0,0x4(s3)
bne v0,s0,0x002170d4
_lw ra,0x2c(sp)
or v0,s1,zero
or v1,s2,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
beq a0,zero,0x002170c8
_nop
or s1,v0,zero
b 0x00217100
_or s2,v1,zero
lw ra,0x2c(sp)
or s1,zero,zero
or s2,zero,zero
lw s3,0x28(sp)
or v0,s1,zero
lw s0,0x1c(sp)
or v1,s2,zero
lw s1,0x20(sp)
lw s2,0x24(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "undefined8 FUN_0021708c(undefined4 *param_1)\n\n{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}\n\n" (function_definition "undefined8 FUN_0021708c(undefined4 *param_1)\n\n{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0021708c(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "puVar4 = (undefined4 *)*param_1;" (assignment_expression "puVar4 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }" if (parenthesized_expression "(puVar4 == (undefined4 *)param_1[1])" ( (binary_expression "puVar4 == (undefined4 *)param_1[1]" identifier == (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);" do (compound_statement "{\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  }" { (while_statement "while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" { (expression_statement "uVar5 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar1 >> 0x20)" ( (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)*puVar4;" (assignment_expression "piVar2 = (int *)*puVar4" identifier = (cast_expression "(int *)*puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);" (assignment_expression "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2)" identifier = (call_expression "(**(code **)(*piVar2 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0xc))" ( (pointer_expression "**(code **)(*piVar2 + 0xc)" * (pointer_expression "*(code **)(*piVar2 + 0xc)" * (cast_expression "(code **)(*piVar2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0xc)" ( (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier )))) ;) (expression_statement "uVar3 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;" if (parenthesized_expression "((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))))" ( (binary_expression "(uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" (parenthesized_expression "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) )) || (parenthesized_expression "((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" ( (parenthesized_expression "(uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))" ( (binary_expression "uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)" (binary_expression "uVar3 == uVar5" identifier == identifier) && (parenthesized_expression "((uint)uVar1 < (uint)uVar6)" ( (binary_expression "(uint)uVar1 < (uint)uVar6" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) ))) )) (break_statement "break;" break ;)) (if_statement "if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }" if (parenthesized_expression "((undefined4 *)param_1[1] == puVar4)" ( (binary_expression "(undefined4 *)param_1[1] == puVar4" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n        return uVar1;\n      }" { (return_statement "return uVar1;" return identifier ;) })) })) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" identifier = identifier) ;) }) while (parenthesized_expression "((undefined4 *)param_1[1] != puVar4)" ( (binary_expression "(undefined4 *)param_1[1] != puVar4" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit "uint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)\n\n{\n  Output_data *pOVar1;\n  uint uVar2;\n  uint in_v1;\n  pointer ppOVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    return 0;\n  }\n  uVar4 = 0;\n  uVar5 = 0;\n  do {\n    while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }\n  } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3);\nLAB_0021710c:\n  return CONCAT44(uVar4,uVar5);\n}\n\n" (function_definition "uint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)\n\n{\n  Output_data *pOVar1;\n  uint uVar2;\n  uint in_v1;\n  pointer ppOVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    return 0;\n  }\n  uVar4 = 0;\n  uVar5 = 0;\n  do {\n    while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }\n  } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3);\nLAB_0021710c:\n  return CONCAT44(uVar4,uVar5);\n}" primitive_type (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "maximum_alignment_list(Output_data_list *pdl)" identifier (parameter_list "(Output_data_list *pdl)" ( (parameter_declaration "Output_data_list *pdl" type_identifier (pointer_declarator "*pdl" * identifier)) ))) (compound_statement "{\n  Output_data *pOVar1;\n  uint uVar2;\n  uint in_v1;\n  pointer ppOVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    return 0;\n  }\n  uVar4 = 0;\n  uVar5 = 0;\n  do {\n    while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }\n  } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3);\nLAB_0021710c:\n  return CONCAT44(uVar4,uVar5);\n}" { (declaration "Output_data *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint in_v1;" type_identifier identifier ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;" (assignment_expression "ppOVar3 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" identifier = (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (ERROR "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::" (comma_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold::Output_data*" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_data*>_>" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    return 0;\n  }" if (parenthesized_expression "(ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish)" ( (binary_expression "ppOVar3 ==\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" identifier == (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }\n  } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3);" do (compound_statement "{\n    while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }\n  }" { (while_statement "while( true ) {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);\n      if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;\n      uVar4 = uVar2;\n      uVar5 = in_v1;\n      if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;\n    }" { (expression_statement "pOVar1 = *ppOVar3;" (assignment_expression "pOVar1 = *ppOVar3" identifier = (pointer_expression "*ppOVar3" * identifier)) ;) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1);" (assignment_expression "uVar2 = (*pOVar1->_vptr_Output_data[3])(pOVar1)" identifier = (call_expression "(*pOVar1->_vptr_Output_data[3])(pOVar1)" (parenthesized_expression "(*pOVar1->_vptr_Output_data[3])" ( (pointer_expression "*pOVar1->_vptr_Output_data[3]" * (subscript_expression "pOVar1->_vptr_Output_data[3]" (field_expression "pOVar1->_vptr_Output_data" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar1)" ( identifier )))) ;) (if_statement "if ((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))) break;" if (parenthesized_expression "((uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5))))" ( (binary_expression "(uVar2 <= uVar4) && ((uVar2 != uVar4 || (in_v1 <= uVar5)))" (parenthesized_expression "(uVar2 <= uVar4)" ( (binary_expression "uVar2 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar2 != uVar4 || (in_v1 <= uVar5)))" ( (parenthesized_expression "(uVar2 != uVar4 || (in_v1 <= uVar5))" ( (binary_expression "uVar2 != uVar4 || (in_v1 <= uVar5)" (binary_expression "uVar2 != uVar4" identifier != identifier) || (parenthesized_expression "(in_v1 <= uVar5)" ( (binary_expression "in_v1 <= uVar5" identifier <= identifier) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" identifier = identifier) ;) (expression_statement "uVar5 = in_v1;" (assignment_expression "uVar5 = in_v1" identifier = identifier) ;) (if_statement "if ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3) goto LAB_0021710c;" if (parenthesized_expression "((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3)" ( (binary_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish == ppOVar3" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl\n          ._M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) == identifier) )) (goto_statement "goto LAB_0021710c;" goto statement_identifier ;)) })) }) while (parenthesized_expression "((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3)" ( (binary_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish != ppOVar3" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl._M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n           _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) (labeled_statement "LAB_0021710c:\n  return CONCAT44(uVar4,uVar5);" statement_identifier : (return_statement "return CONCAT44(uVar4,uVar5);" return (call_expression "CONCAT44(uVar4,uVar5)" identifier (argument_list "(uVar4,uVar5)" ( identifier , identifier ))) ;)) })))
(translation_unit "undefined8 FUN_0021708c(undefined4 *param_1)\n\n{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}\n\n" (function_definition "undefined8 FUN_0021708c(undefined4 *param_1)\n\n{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0021708c(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "puVar4 = (undefined4 *)*param_1;" (assignment_expression "puVar4 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }" if (parenthesized_expression "(puVar4 == (undefined4 *)param_1[1])" ( (binary_expression "puVar4 == (undefined4 *)param_1[1]" identifier == (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);" do (compound_statement "{\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  }" { (while_statement "while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" { (expression_statement "uVar5 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar1 >> 0x20)" ( (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)*puVar4;" (assignment_expression "piVar2 = (int *)*puVar4" identifier = (cast_expression "(int *)*puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);" (assignment_expression "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2)" identifier = (call_expression "(**(code **)(*piVar2 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0xc))" ( (pointer_expression "**(code **)(*piVar2 + 0xc)" * (pointer_expression "*(code **)(*piVar2 + 0xc)" * (cast_expression "(code **)(*piVar2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0xc)" ( (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier )))) ;) (expression_statement "uVar3 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;" if (parenthesized_expression "((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))))" ( (binary_expression "(uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" (parenthesized_expression "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) )) || (parenthesized_expression "((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" ( (parenthesized_expression "(uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))" ( (binary_expression "uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)" (binary_expression "uVar3 == uVar5" identifier == identifier) && (parenthesized_expression "((uint)uVar1 < (uint)uVar6)" ( (binary_expression "(uint)uVar1 < (uint)uVar6" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) ))) )) (break_statement "break;" break ;)) (if_statement "if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }" if (parenthesized_expression "((undefined4 *)param_1[1] == puVar4)" ( (binary_expression "(undefined4 *)param_1[1] == puVar4" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n        return uVar1;\n      }" { (return_statement "return uVar1;" return identifier ;) })) })) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" identifier = identifier) ;) }) while (parenthesized_expression "((undefined4 *)param_1[1] != puVar4)" ( (binary_expression "(undefined4 *)param_1[1] != puVar4" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) ))) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_0021708c(undefined4 *param_1)\n\n{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" (type_identifier "undefined8") (function_declarator "FUN_0021708c(undefined4 *param_1)" (identifier "FUN_0021708c") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  puVar4 = (undefined4 *)*param_1;\n  if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }\n  uVar1 = 0;\n  do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);\n  return uVar6;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (expression_statement "puVar4 = (undefined4 *)*param_1;" (assignment_expression "puVar4 = (undefined4 *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar4 == (undefined4 *)param_1[1]) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)param_1[1])" (( "(") (binary_expression "puVar4 == (undefined4 *)param_1[1]" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  } while ((undefined4 *)param_1[1] != puVar4);" (do "do") (compound_statement "{\n    while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }\n    uVar1 = uVar6;\n  }" ({ "{") (while_statement "while( true ) {\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);\n      piVar2 = (int *)*puVar4;\n      puVar4 = puVar4 + 1;\n      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);\n      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);\n      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;\n      if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }\n    }" ({ "{") (expression_statement "uVar5 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar1 >> 0x20)" (identifier "uVar5") (= "=") (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar2 = (int *)*puVar4;" (assignment_expression "piVar2 = (int *)*puVar4" (identifier "piVar2") (= "=") (cast_expression "(int *)*puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);" (assignment_expression "uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2)" (identifier "uVar6") (= "=") (call_expression "(**(code **)(*piVar2 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0xc))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0xc)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0xc)" (* "*") (cast_expression "(code **)(*piVar2 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0xc)" (( "(") (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")")))) (; ";")) (expression_statement "uVar3 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar3 = (uint)((ulonglong)uVar6 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;" (if "if") (parenthesized_expression "((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))))" (( "(") (binary_expression "(uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" (parenthesized_expression "(uVar5 < uVar3)" (( "(") (binary_expression "uVar5 < uVar3" (identifier "uVar5") (< "<") (identifier "uVar3")) () ")")) (|| "||") (parenthesized_expression "((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))" (( "(") (parenthesized_expression "(uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6))" (( "(") (binary_expression "uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)" (binary_expression "uVar3 == uVar5" (identifier "uVar3") (== "==") (identifier "uVar5")) (&& "&&") (parenthesized_expression "((uint)uVar1 < (uint)uVar6)" (( "(") (binary_expression "(uint)uVar1 < (uint)uVar6" (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1")) (< "<") (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6"))) () ")"))) () ")")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((undefined4 *)param_1[1] == puVar4) {\n        return uVar1;\n      }" (if "if") (parenthesized_expression "((undefined4 *)param_1[1] == puVar4)" (( "(") (binary_expression "(undefined4 *)param_1[1] == puVar4" (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "puVar4")) () ")")) (compound_statement "{\n        return uVar1;\n      }" ({ "{") (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" (identifier "uVar1") (= "=") (identifier "uVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)param_1[1] != puVar4)" (( "(") (binary_expression "(undefined4 *)param_1[1] != puVar4" (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar4")) () ")")) (; ";")) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))

uint64_t var_4::Output_segment::function_1(type_1 *pdl)

{
  type_2 *pOVar1;
  type_3 var_6;
  type_3 var_8;
  type_4 var_3;
  type_3 var_7;
  type_3 var_9;
  
  var_3 = (pdl->super__Vector_base<var_4::type_2*var_2,var_5::allocator<var_4::type_2*>var_1>var_2).
            _M_impl._M_start;
  if (var_3 ==
      (pdl->super__Vector_base<var_4::type_2*,var_5::allocator<var_4::type_2*>var_1>var_2)._M_impl.
      _M_finish) {
    return 0;
  }
  var_7 = 0;
  var_9 = 0;
  do {
    while( true ) {
      pOVar1 = *var_3;
      var_3 = var_3 + 1;
      var_6 = (*pOVar1->_vptr_Output_data[3])(pOVar1);
      if ((var_6 <= var_7) && ((var_6 != var_7 || (var_8 <= var_9)))) break;
      var_7 = var_6;
      var_9 = var_8;
      if ((pdl->super__Vector_base<var_4::type_2*,var_5::allocator<var_4::type_2*>var_1>var_2)._M_impl
          ._M_finish == var_3) goto LAB_0021710c;
    }
  } while ((pdl->super__Vector_base<var_4::type_2*,var_5::allocator<var_4::type_2*>var_1>var_2).
           _M_impl._M_finish != var_3);
LAB_0021710c:
  return var_10(var_7,var_9);
}


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

undefined8 MASKED(undefined4 *param_1)

{
  undefined8 uVar1;
  int *piVar2;
  uint uVar3;
  undefined4 *puVar4;
  uint uVar5;
  undefined8 uVar6;
  
  puVar4 = (undefined4 *)*param_1;
  if (puVar4 == (undefined4 *)param_1[1]) {
    return 0;
  }
  uVar1 = 0;
  do {
    while( true ) {
      uVar5 = (uint)((ulonglong)uVar1 >> 0x20);
      piVar2 = (int *)*puVar4;
      puVar4 = puVar4 + 1;
      uVar6 = (**(code **)(*piVar2 + 0xc))(piVar2);
      uVar3 = (uint)((ulonglong)uVar6 >> 0x20);
      if ((uVar5 < uVar3) || ((uVar3 == uVar5 && ((uint)uVar1 < (uint)uVar6)))) break;
      if ((undefined4 *)param_1[1] == puVar4) {
        return uVar1;
      }
    }
    uVar1 = uVar6;
  } while ((undefined4 *)param_1[1] != puVar4);
  return uVar6;
}

