
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void _M_fill_insert(vector<unsigned_int,_std::allocator<unsigned_int>_>
   * this, iterator __position, size_type __n, value_type.conflict1 * __x) */

void __thiscall
std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_fill_insert
          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,
          size_type __n,value_type_conflict1 *__x)

{
}



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

void FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 *puVar3;
  uint uVar4;
  undefined4 *puVar5;
  size_t sVar6;
  uint uVar7;
  uint uVar8;
  size_t __n;
  undefined4 *puVar9;
  int iVar10;
  void *__dest;
  void *local_2c;
  int local_24;
  
  if (param_3 == 0) {
    return;
  }
  puVar9 = (undefined4 *)param_1[1];
  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {
    sVar6 = (int)puVar9 - (int)param_2;
    uVar1 = *param_4;
    if (param_3 < (uint)((int)sVar6 >> 2)) {
      puVar5 = puVar9 + -param_3;
      puVar3 = puVar9;
      if (puVar9 != puVar5) {
        memmove(puVar9,puVar5,param_3 * 4);
        puVar3 = (undefined4 *)param_1[1];
      }
      param_1[1] = puVar3 + param_3;
      if (param_2 != puVar5) {
        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,
                (int)puVar5 - (int)param_2);
      }
      puVar9 = param_2 + param_3;
      if (param_2 == puVar9) {
        return;
      }
      do {
        *param_2 = uVar1;
        param_2 = param_2 + 1;
      } while (puVar9 != param_2);
      return;
    }
    iVar10 = param_3 - ((int)sVar6 >> 2);
    puVar3 = puVar9;
    iVar2 = iVar10;
    if (iVar10 != 0) {
      do {
        *puVar3 = uVar1;
        iVar2 = iVar2 + -1;
        puVar3 = puVar3 + 1;
      } while (iVar2 != 0);
      puVar3 = puVar9 + iVar10;
    }
    param_1[1] = puVar3;
    if (puVar9 == param_2) {
      param_1[1] = (int)puVar3 + sVar6;
      return;
    }
    memmove(puVar3,param_2,sVar6);
    param_1[1] = param_1[1] + sVar6;
    do {
      *param_2 = uVar1;
      param_2 = param_2 + 1;
    } while (puVar9 != param_2);
    return;
  }
  puVar3 = (undefined4 *)*param_1;
  uVar7 = (int)puVar9 - (int)puVar3 >> 2;
  if (0x3fffffff - uVar7 < param_3) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::_M_fill_insert");
  }
  uVar4 = uVar7;
  if (uVar7 <= param_3) {
    uVar4 = param_3;
  }
  uVar8 = uVar7 + uVar4;
  sVar6 = (int)param_2 - (int)puVar3;
  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {
    local_24 = -4;
LAB_00103ca5:
    local_2c = (void *)FUN_003ac4d0(local_24);
    local_24 = local_24 + (int)local_2c;
    puVar3 = (undefined4 *)*param_1;
    puVar9 = (undefined4 *)param_1[1];
    __n = (int)param_2 - (int)puVar3;
  }
  else {
    if (uVar8 != 0) {
      local_24 = uVar8 * 4;
      goto LAB_00103ca5;
    }
    local_24 = 0;
    local_2c = (void *)0x0;
    __n = sVar6;
  }
  puVar5 = (undefined4 *)((int)local_2c + sVar6);
  uVar1 = *param_4;
  uVar7 = param_3;
  do {
    *puVar5 = uVar1;
    puVar5 = puVar5 + 1;
    uVar7 = uVar7 - 1;
  } while (uVar7 != 0);
  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);
  if (param_2 == puVar3) {
    if (puVar9 != param_2) goto LAB_00103d36;
LAB_00103d4b:
    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;
  }
  else {
    memmove(local_2c,puVar3,__n);
    if (param_2 != puVar9) {
LAB_00103d36:
      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);
      goto LAB_00103d4b;
    }
  }
  FUN_003ae080(puVar3);
LAB_00103d4f:
  *param_1 = local_2c;
  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);
  param_1[2] = local_24;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x4e6517
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0xc],EBX
TEST EDI,EDI
JZ 0x00103bb9
MOV EAX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV EBP,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x10],EAX
SUB EAX,EBP
SAR EAX,0x2
CMP EAX,EDI
JC 0x00103c40
MOV EAX,dword ptr [ESP + 0x4c]
MOV ECX,EBP
SUB ECX,ESI
MOV EDX,dword ptr [EAX]
MOV EAX,ECX
SAR EAX,0x2
CMP EDI,EAX
JNC 0x00103bc8
SHL EDI,0x2
MOV ECX,EBP
MOV EAX,EBP
SUB ECX,EDI
CMP EBP,ECX
JZ 0x00103b6a
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0x4
PUSH EDI
PUSH ECX
MOV dword ptr [ESP + 0x1c],ECX
PUSH EBP
CALL 0x00039a50
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x4]
MOV EBX,dword ptr [ESP + 0x40]
ADD EAX,EDI
MOV dword ptr [EBX + 0x4],EAX
CMP dword ptr [ESP + 0x44],ECX
JZ 0x00103b9c
SUB ECX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0x4
SUB EBP,ECX
PUSH ECX
PUSH dword ptr [ESP + 0x4c]
PUSH EBP
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00039a50
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
ADD EDI,dword ptr [ESP + 0x44]
CMP dword ptr [ESP + 0x44],EDI
JZ 0x00103bb9
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV dword ptr [ESI],EDX
ADD ESI,0x4
CMP EDI,ESI
JNZ 0x00103bb0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB EDI,EAX
JZ 0x00103da0
MOV EBX,EBP
MOV EAX,EDI
LEA ESI,[ESI]
MOV dword ptr [EBX],EDX
ADD EBX,0x4
SUB EAX,0x1
JNZ 0x00103bd8
LEA EAX,[EBP + EDI*0x4]
MOV EDI,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x10],EDX
MOV dword ptr [EDI + 0x4],EAX
CMP EBP,dword ptr [ESP + 0x44]
JZ 0x00103db0
SUB ESP,0x4
PUSH ECX
MOV dword ptr [ESP + 0x1c],ECX
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00039a50
MOV EAX,dword ptr [ESP + 0x50]
MOV ECX,dword ptr [ESP + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
ADD dword ptr [EAX + 0x4],ECX
LEA ESI,[ESI]
NOP
MOV dword ptr [ESI],EDX
ADD ESI,0x4
CMP EBP,ESI
JNZ 0x00103c28
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x40]
MOV EDX,EBP
MOV ESI,dword ptr [EAX]
MOV EAX,0x3fffffff
SUB EDX,ESI
SAR EDX,0x2
SUB EAX,EDX
CMP EDI,EAX
JA 0x00103dbe
CMP EDI,EDX
MOV EAX,EDX
MOV ECX,dword ptr [ESP + 0x44]
CMOVNC EAX,EDI
ADD EDX,EAX
SETC AL
SUB ECX,ESI
MOVZX EAX,AL
TEST EAX,EAX
JNZ 0x00103ca0
CMP EDX,0x3fffffff
JA 0x00103ca0
TEST EDX,EDX
JNZ 0x00103d90
MOV EBX,ECX
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x10],0x0
JMP 0x00103cde
MOV EDX,0xfffffffc
MOV dword ptr [ESP + 0x1c],ECX
SUB ESP,0xc
PUSH EDX
MOV EBX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x24],EDX
CALL 0x003ac4d0
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x50]
MOV EBX,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x20],EAX
ADD EDX,EAX
MOV ESI,dword ptr [ECX]
MOV EBP,dword ptr [ECX + 0x4]
MOV dword ptr [ESP + 0x28],EDX
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x1c]
SUB EBX,ESI
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,EDI
ADD EAX,ECX
MOV ECX,dword ptr [ESP + 0x4c]
MOV ECX,dword ptr [ECX]
LEA ESI,[ESI]
MOV dword ptr [EAX],ECX
ADD EAX,0x4
SUB EDX,0x1
JNZ 0x00103cf0
MOV EAX,dword ptr [ESP + 0x10]
LEA EDI,[EBX + EDI*0x4]
MOV EDX,EBP
SUB EDX,dword ptr [ESP + 0x44]
ADD EDI,EAX
LEA ECX,[EDI + EDX*0x1]
MOV dword ptr [ESP + 0x14],ECX
CMP dword ptr [ESP + 0x44],ESI
JZ 0x00103d88
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0x4
PUSH EBX
PUSH ESI
PUSH EAX
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00039a50
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0x44],EBP
JZ 0x00103d70
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [ESP + 0x4c]
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x000392d0
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x00103d70
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [ESP + 0x14]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x8],ECX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x003ae080
ADD ESP,0x10
JMP 0x00103d4f
CMP EBP,dword ptr [ESP + 0x44]
JNZ 0x00103d36
JMP 0x00103d4b
SHL EDX,0x2
JMP 0x00103ca5
MOV EAX,EBP
JMP 0x00103be6
ADD EAX,ECX
MOV ECX,dword ptr [ESP + 0x40]
MOV dword ptr [ECX + 0x4],EAX
JMP 0x00103bb9
SUB ESP,0xc
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xffe7ce81]
PUSH EAX
CALL 0x003f3a70
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}\n\n" comment (function_definition "void FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" primitive_type (function_declarator "FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (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 ]))) ;) (if_statement "if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" if (parenthesized_expression "(param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2))" ( (binary_expression "param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)" identifier <= (call_expression "(uint)(param_1[2] - (int)puVar9 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - (int)puVar9 >> 2)" ( (binary_expression "param_1[2] - (int)puVar9 >> 2" (binary_expression "param_1[2] - (int)puVar9" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" { (expression_statement "sVar6 = (int)puVar9 - (int)param_2;" (assignment_expression "sVar6 = (int)puVar9 - (int)param_2" identifier = (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" if (parenthesized_expression "(param_3 < (uint)((int)sVar6 >> 2))" ( (binary_expression "param_3 < (uint)((int)sVar6 >> 2)" identifier < (call_expression "(uint)((int)sVar6 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)sVar6 >> 2)" ( (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) )) (compound_statement "{\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" { (expression_statement "puVar5 = puVar9 + -param_3;" (assignment_expression "puVar5 = puVar9 + -param_3" identifier = (binary_expression "puVar9 + -param_3" identifier + (unary_expression "-param_3" - identifier))) ;) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" identifier = identifier) ;) (if_statement "if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" if (parenthesized_expression "(puVar9 != puVar5)" ( (binary_expression "puVar9 != puVar5" identifier != identifier) )) (compound_statement "{\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" { (expression_statement "memmove(puVar9,puVar5,param_3 * 4);" (call_expression "memmove(puVar9,puVar5,param_3 * 4)" identifier (argument_list "(puVar9,puVar5,param_3 * 4)" ( identifier , identifier , (binary_expression "param_3 * 4" identifier * number_literal) ))) ;) (expression_statement "puVar3 = (undefined4 *)param_1[1];" (assignment_expression "puVar3 = (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 ]))) ;) })) (expression_statement "param_1[1] = puVar3 + param_3;" (assignment_expression "param_1[1] = puVar3 + param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "puVar3 + param_3" identifier + identifier)) ;) (if_statement "if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" if (parenthesized_expression "(param_2 != puVar5)" ( (binary_expression "param_2 != puVar5" identifier != identifier) )) (compound_statement "{\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" { (expression_statement "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);" (call_expression "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" identifier (argument_list "((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" ( (cast_expression "(void *)((int)puVar9 - ((int)puVar5 - (int)param_2))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 - ((int)puVar5 - (int)param_2))" ( (binary_expression "(int)puVar9 - ((int)puVar5 - (int)param_2)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((int)puVar5 - (int)param_2)" ( (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) , identifier , (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "puVar9 = param_2 + param_3;" (assignment_expression "puVar9 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (if_statement "if (param_2 == puVar9) {\n        return;\n      }" if (parenthesized_expression "(param_2 == puVar9)" ( (binary_expression "param_2 == puVar9" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (do_statement "do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);" do (compound_statement "{\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      }" { (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar10 = param_3 - ((int)sVar6 >> 2);" (assignment_expression "iVar10 = param_3 - ((int)sVar6 >> 2)" identifier = (binary_expression "param_3 - ((int)sVar6 >> 2)" identifier - (parenthesized_expression "((int)sVar6 >> 2)" ( (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" identifier = identifier) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" { (do_statement "do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "*puVar3 = uVar1;" (assignment_expression "*puVar3 = uVar1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "puVar3 = puVar9 + iVar10;" (assignment_expression "puVar3 = puVar9 + iVar10" identifier = (binary_expression "puVar9 + iVar10" identifier + identifier)) ;) })) (expression_statement "param_1[1] = puVar3;" (assignment_expression "param_1[1] = puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" if (parenthesized_expression "(puVar9 == param_2)" ( (binary_expression "puVar9 == param_2" identifier == identifier) )) (compound_statement "{\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" { (expression_statement "param_1[1] = (int)puVar3 + sVar6;" (assignment_expression "param_1[1] = (int)puVar3 + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)puVar3 + sVar6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "memmove(puVar3,param_2,sVar6);" (call_expression "memmove(puVar3,param_2,sVar6)" identifier (argument_list "(puVar3,param_2,sVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + sVar6;" (assignment_expression "param_1[1] = param_1[1] + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (do_statement "do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);" do (compound_statement "{\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar7 = (int)puVar9 - (int)puVar3 >> 2;" (assignment_expression "uVar7 = (int)puVar9 - (int)puVar3 >> 2" identifier = (binary_expression "(int)puVar9 - (int)puVar3 >> 2" (binary_expression "(int)puVar9 - (int)puVar3" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (0x3fffffff - uVar7 < param_3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_fill_insert");\n  }" if (parenthesized_expression "(0x3fffffff - uVar7 < param_3)" ( (binary_expression "0x3fffffff - uVar7 < param_3" (binary_expression "0x3fffffff - uVar7" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_fill_insert");\n  }" { comment (expression_statement "FUN_003f3a70("vector::_M_fill_insert");" (call_expression "FUN_003f3a70("vector::_M_fill_insert")" identifier (argument_list "("vector::_M_fill_insert")" ( (string_literal ""vector::_M_fill_insert"" " string_content ") ))) ;) })) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" identifier = identifier) ;) (if_statement "if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }" if (parenthesized_expression "(uVar7 <= param_3)" ( (binary_expression "uVar7 <= param_3" identifier <= identifier) )) (compound_statement "{\n    uVar4 = param_3;\n  }" { (expression_statement "uVar4 = param_3;" (assignment_expression "uVar4 = param_3" identifier = identifier) ;) })) (expression_statement "uVar8 = uVar7 + uVar4;" (assignment_expression "uVar8 = uVar7 + uVar4" identifier = (binary_expression "uVar7 + uVar4" identifier + identifier)) ;) (expression_statement "sVar6 = (int)param_2 - (int)puVar3;" (assignment_expression "sVar6 = (int)param_2 - (int)puVar3" identifier = (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" if (parenthesized_expression "((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8))" ( (binary_expression "(CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)" (parenthesized_expression "(CARRY4(uVar7,uVar4))" ( (call_expression "CARRY4(uVar7,uVar4)" identifier (argument_list "(uVar7,uVar4)" ( identifier , identifier ))) )) || (parenthesized_expression "(0x3fffffff < uVar8)" ( (binary_expression "0x3fffffff < uVar8" number_literal < identifier) ))) )) (compound_statement "{\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }" { (expression_statement "local_24 = -4;" (assignment_expression "local_24 = -4" identifier = number_literal) ;) (labeled_statement "LAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);" statement_identifier : (expression_statement "local_2c = (void *)FUN_003ac4d0(local_24);" (assignment_expression "local_2c = (void *)FUN_003ac4d0(local_24)" identifier = (cast_expression "(void *)FUN_003ac4d0(local_24)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(local_24)" identifier (argument_list "(local_24)" ( identifier ))))) ;)) (expression_statement "local_24 = local_24 + (int)local_2c;" (assignment_expression "local_24 = local_24 + (int)local_2c" identifier = (binary_expression "local_24 + (int)local_2c" identifier + (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (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 ]))) ;) (expression_statement "__n = (int)param_2 - (int)puVar3;" (assignment_expression "__n = (int)param_2 - (int)puVar3" identifier = (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" else (compound_statement "{\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" { (if_statement "if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" { (expression_statement "local_24 = uVar8 * 4;" (assignment_expression "local_24 = uVar8 * 4" identifier = (binary_expression "uVar8 * 4" identifier * number_literal)) ;) (goto_statement "goto LAB_00103ca5;" goto statement_identifier ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_2c = (void *)0x0;" (assignment_expression "local_2c = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__n = sVar6;" (assignment_expression "__n = sVar6" identifier = identifier) ;) }))) (expression_statement "puVar5 = (undefined4 *)((int)local_2c + sVar6);" (assignment_expression "puVar5 = (undefined4 *)((int)local_2c + sVar6)" identifier = (cast_expression "(undefined4 *)((int)local_2c + sVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + sVar6)" ( (binary_expression "(int)local_2c + sVar6" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "uVar7 = param_3;" (assignment_expression "uVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);" do (compound_statement "{\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  }" { (expression_statement "*puVar5 = uVar1;" (assignment_expression "*puVar5 = uVar1" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) ;) (expression_statement "__dest = (void *)(__n + param_3 * 4 + (int)local_2c);" (assignment_expression "__dest = (void *)(__n + param_3 * 4 + (int)local_2c)" identifier = (cast_expression "(void *)(__n + param_3 * 4 + (int)local_2c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n + param_3 * 4 + (int)local_2c)" ( (binary_expression "__n + param_3 * 4 + (int)local_2c" (binary_expression "__n + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) + (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" if (parenthesized_expression "(param_2 == puVar3)" ( (binary_expression "param_2 == puVar3" identifier == identifier) )) (compound_statement "{\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }" { (if_statement "if (puVar9 != param_2) goto LAB_00103d36;" if (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) (goto_statement "goto LAB_00103d36;" goto statement_identifier ;)) (labeled_statement "LAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" statement_identifier : (if_statement "if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00103d4f;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" else (compound_statement "{\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" { (expression_statement "memmove(local_2c,puVar3,__n);" (call_expression "memmove(local_2c,puVar3,__n)" identifier (argument_list "(local_2c,puVar3,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" if (parenthesized_expression "(param_2 != puVar9)" ( (binary_expression "param_2 != puVar9" identifier != identifier) )) (compound_statement "{\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" { (labeled_statement "LAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)puVar9 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)puVar9 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_00103d4b;" goto statement_identifier ;) })) }))) (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (labeled_statement "LAB_00103d4f:\n  *param_1 = local_2c;" statement_identifier : (expression_statement "*param_1 = local_2c;" (assignment_expression "*param_1 = local_2c" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)puVar9 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)puVar9 - (int)param_2)" ( (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_24;" (assignment_expression "param_1[2] = local_24" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void _M_fill_insert(vector<unsigned_int,_std::allocator<unsigned_int>_>\n   * this, iterator __position, size_type __n, value_type.conflict1 * __x) */\n\nvoid __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_fill_insert\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,\n          size_type __n,value_type_conflict1 *__x)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_fill_insert\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,\n          size_type __n,value_type_conflict1 *__x)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<" identifier : : identifier <) identifier , (ERROR "_std::allocator<unsigned_int>_>::" identifier : : identifier < identifier > identifier > : :) (function_declarator "_M_fill_insert\n          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,\n          size_type __n,value_type_conflict1 *__x)" identifier (parameter_list "(vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,\n          size_type __n,value_type_conflict1 *__x)" ( (parameter_declaration "vector<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::allocator<unsigned_int>_> *this" type_identifier (ERROR "::allocator<unsigned_int>_>" : : identifier < identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "size_type __n" type_identifier identifier) , (parameter_declaration "value_type_conflict1 *__x" type_identifier (pointer_declarator "*__x" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}\n\n" (function_definition "void FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" primitive_type (function_declarator "FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (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 ]))) ;) (if_statement "if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" if (parenthesized_expression "(param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2))" ( (binary_expression "param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)" identifier <= (call_expression "(uint)(param_1[2] - (int)puVar9 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] - (int)puVar9 >> 2)" ( (binary_expression "param_1[2] - (int)puVar9 >> 2" (binary_expression "param_1[2] - (int)puVar9" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" { (expression_statement "sVar6 = (int)puVar9 - (int)param_2;" (assignment_expression "sVar6 = (int)puVar9 - (int)param_2" identifier = (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" if (parenthesized_expression "(param_3 < (uint)((int)sVar6 >> 2))" ( (binary_expression "param_3 < (uint)((int)sVar6 >> 2)" identifier < (call_expression "(uint)((int)sVar6 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)sVar6 >> 2)" ( (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) )) (compound_statement "{\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" { (expression_statement "puVar5 = puVar9 + -param_3;" (assignment_expression "puVar5 = puVar9 + -param_3" identifier = (binary_expression "puVar9 + -param_3" identifier + (unary_expression "-param_3" - identifier))) ;) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" identifier = identifier) ;) (if_statement "if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" if (parenthesized_expression "(puVar9 != puVar5)" ( (binary_expression "puVar9 != puVar5" identifier != identifier) )) (compound_statement "{\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" { (expression_statement "memmove(puVar9,puVar5,param_3 * 4);" (call_expression "memmove(puVar9,puVar5,param_3 * 4)" identifier (argument_list "(puVar9,puVar5,param_3 * 4)" ( identifier , identifier , (binary_expression "param_3 * 4" identifier * number_literal) ))) ;) (expression_statement "puVar3 = (undefined4 *)param_1[1];" (assignment_expression "puVar3 = (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 ]))) ;) })) (expression_statement "param_1[1] = puVar3 + param_3;" (assignment_expression "param_1[1] = puVar3 + param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "puVar3 + param_3" identifier + identifier)) ;) (if_statement "if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" if (parenthesized_expression "(param_2 != puVar5)" ( (binary_expression "param_2 != puVar5" identifier != identifier) )) (compound_statement "{\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" { (expression_statement "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);" (call_expression "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" identifier (argument_list "((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" ( (cast_expression "(void *)((int)puVar9 - ((int)puVar5 - (int)param_2))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 - ((int)puVar5 - (int)param_2))" ( (binary_expression "(int)puVar9 - ((int)puVar5 - (int)param_2)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((int)puVar5 - (int)param_2)" ( (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) , identifier , (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "puVar9 = param_2 + param_3;" (assignment_expression "puVar9 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (if_statement "if (param_2 == puVar9) {\n        return;\n      }" if (parenthesized_expression "(param_2 == puVar9)" ( (binary_expression "param_2 == puVar9" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (do_statement "do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);" do (compound_statement "{\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      }" { (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar10 = param_3 - ((int)sVar6 >> 2);" (assignment_expression "iVar10 = param_3 - ((int)sVar6 >> 2)" identifier = (binary_expression "param_3 - ((int)sVar6 >> 2)" identifier - (parenthesized_expression "((int)sVar6 >> 2)" ( (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" identifier = identifier) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" { (do_statement "do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      }" { (expression_statement "*puVar3 = uVar1;" (assignment_expression "*puVar3 = uVar1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "puVar3 = puVar9 + iVar10;" (assignment_expression "puVar3 = puVar9 + iVar10" identifier = (binary_expression "puVar9 + iVar10" identifier + identifier)) ;) })) (expression_statement "param_1[1] = puVar3;" (assignment_expression "param_1[1] = puVar3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" if (parenthesized_expression "(puVar9 == param_2)" ( (binary_expression "puVar9 == param_2" identifier == identifier) )) (compound_statement "{\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" { (expression_statement "param_1[1] = (int)puVar3 + sVar6;" (assignment_expression "param_1[1] = (int)puVar3 + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)puVar3 + sVar6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "memmove(puVar3,param_2,sVar6);" (call_expression "memmove(puVar3,param_2,sVar6)" identifier (argument_list "(puVar3,param_2,sVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = param_1[1] + sVar6;" (assignment_expression "param_1[1] = param_1[1] + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + sVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier)) ;) (do_statement "do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);" do (compound_statement "{\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar7 = (int)puVar9 - (int)puVar3 >> 2;" (assignment_expression "uVar7 = (int)puVar9 - (int)puVar3 >> 2" identifier = (binary_expression "(int)puVar9 - (int)puVar3 >> 2" (binary_expression "(int)puVar9 - (int)puVar3" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }" if (parenthesized_expression "(0x3fffffff - uVar7 < param_3)" ( (binary_expression "0x3fffffff - uVar7 < param_3" (binary_expression "0x3fffffff - uVar7" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }" { (expression_statement "FUN_003f3a70("vector::_M_fill_insert");" (call_expression "FUN_003f3a70("vector::_M_fill_insert")" identifier (argument_list "("vector::_M_fill_insert")" ( (string_literal ""vector::_M_fill_insert"" " string_content ") ))) ;) })) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" identifier = identifier) ;) (if_statement "if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }" if (parenthesized_expression "(uVar7 <= param_3)" ( (binary_expression "uVar7 <= param_3" identifier <= identifier) )) (compound_statement "{\n    uVar4 = param_3;\n  }" { (expression_statement "uVar4 = param_3;" (assignment_expression "uVar4 = param_3" identifier = identifier) ;) })) (expression_statement "uVar8 = uVar7 + uVar4;" (assignment_expression "uVar8 = uVar7 + uVar4" identifier = (binary_expression "uVar7 + uVar4" identifier + identifier)) ;) (expression_statement "sVar6 = (int)param_2 - (int)puVar3;" (assignment_expression "sVar6 = (int)param_2 - (int)puVar3" identifier = (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" if (parenthesized_expression "((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8))" ( (binary_expression "(CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)" (parenthesized_expression "(CARRY4(uVar7,uVar4))" ( (call_expression "CARRY4(uVar7,uVar4)" identifier (argument_list "(uVar7,uVar4)" ( identifier , identifier ))) )) || (parenthesized_expression "(0x3fffffff < uVar8)" ( (binary_expression "0x3fffffff < uVar8" number_literal < identifier) ))) )) (compound_statement "{\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }" { (expression_statement "local_24 = -4;" (assignment_expression "local_24 = -4" identifier = number_literal) ;) (labeled_statement "LAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);" statement_identifier : (expression_statement "local_2c = (void *)FUN_003ac4d0(local_24);" (assignment_expression "local_2c = (void *)FUN_003ac4d0(local_24)" identifier = (cast_expression "(void *)FUN_003ac4d0(local_24)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(local_24)" identifier (argument_list "(local_24)" ( identifier ))))) ;)) (expression_statement "local_24 = local_24 + (int)local_2c;" (assignment_expression "local_24 = local_24 + (int)local_2c" identifier = (binary_expression "local_24 + (int)local_2c" identifier + (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (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 ]))) ;) (expression_statement "__n = (int)param_2 - (int)puVar3;" (assignment_expression "__n = (int)param_2 - (int)puVar3" identifier = (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" else (compound_statement "{\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" { (if_statement "if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" { (expression_statement "local_24 = uVar8 * 4;" (assignment_expression "local_24 = uVar8 * 4" identifier = (binary_expression "uVar8 * 4" identifier * number_literal)) ;) (goto_statement "goto LAB_00103ca5;" goto statement_identifier ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_2c = (void *)0x0;" (assignment_expression "local_2c = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__n = sVar6;" (assignment_expression "__n = sVar6" identifier = identifier) ;) }))) (expression_statement "puVar5 = (undefined4 *)((int)local_2c + sVar6);" (assignment_expression "puVar5 = (undefined4 *)((int)local_2c + sVar6)" identifier = (cast_expression "(undefined4 *)((int)local_2c + sVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + sVar6)" ( (binary_expression "(int)local_2c + sVar6" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "uVar7 = param_3;" (assignment_expression "uVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);" do (compound_statement "{\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  }" { (expression_statement "*puVar5 = uVar1;" (assignment_expression "*puVar5 = uVar1" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) ;) (expression_statement "__dest = (void *)(__n + param_3 * 4 + (int)local_2c);" (assignment_expression "__dest = (void *)(__n + param_3 * 4 + (int)local_2c)" identifier = (cast_expression "(void *)(__n + param_3 * 4 + (int)local_2c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n + param_3 * 4 + (int)local_2c)" ( (binary_expression "__n + param_3 * 4 + (int)local_2c" (binary_expression "__n + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) + (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" if (parenthesized_expression "(param_2 == puVar3)" ( (binary_expression "param_2 == puVar3" identifier == identifier) )) (compound_statement "{\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }" { (if_statement "if (puVar9 != param_2) goto LAB_00103d36;" if (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) (goto_statement "goto LAB_00103d36;" goto statement_identifier ;)) (labeled_statement "LAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" statement_identifier : (if_statement "if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00103d4f;" goto statement_identifier ;))) }) (else_clause "else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" else (compound_statement "{\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" { (expression_statement "memmove(local_2c,puVar3,__n);" (call_expression "memmove(local_2c,puVar3,__n)" identifier (argument_list "(local_2c,puVar3,__n)" ( identifier , identifier , identifier ))) ;) (if_statement "if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" if (parenthesized_expression "(param_2 != puVar9)" ( (binary_expression "param_2 != puVar9" identifier != identifier) )) (compound_statement "{\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" { (labeled_statement "LAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" statement_identifier : (expression_statement "memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)puVar9 - (int)param_2)" identifier (argument_list "(__dest,param_2,(int)puVar9 - (int)param_2)" ( identifier , identifier , (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;)) (goto_statement "goto LAB_00103d4b;" goto statement_identifier ;) })) }))) (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (labeled_statement "LAB_00103d4f:\n  *param_1 = local_2c;" statement_identifier : (expression_statement "*param_1 = local_2c;" (assignment_expression "*param_1 = local_2c" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(int)__dest + ((int)puVar9 - (int)param_2)" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)puVar9 - (int)param_2)" ( (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "param_1[2] = local_24;" (assignment_expression "param_1[2] = local_24" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00103ae0(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" (identifier "FUN_00103ae0") (parameter_list "(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  size_t sVar6;\n  uint uVar7;\n  uint uVar8;\n  size_t __n;\n  undefined4 *puVar9;\n  int iVar10;\n  void *__dest;\n  void *local_2c;\n  int local_24;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  puVar9 = (undefined4 *)param_1[1];\n  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }\n  puVar3 = (undefined4 *)*param_1;\n  uVar7 = (int)puVar9 - (int)puVar3 >> 2;\n  if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }\n  uVar4 = uVar7;\n  if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }\n  uVar8 = uVar7 + uVar4;\n  sVar6 = (int)param_2 - (int)puVar3;\n  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }\n  puVar5 = (undefined4 *)((int)local_2c + sVar6);\n  uVar1 = *param_4;\n  uVar7 = param_3;\n  do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);\n  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);\n  if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }\n  FUN_003ae080(puVar3);\nLAB_00103d4f:\n  *param_1 = local_2c;\n  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);\n  param_1[2] = local_24;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "void *local_2c;" (primitive_type "void") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (undefined4 *)param_1[1]" (identifier "puVar9") (= "=") (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") (] "]")))) (; ";")) (if_statement "if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2))" (( "(") (binary_expression "param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)" (identifier "param_3") (<= "<=") (call_expression "(uint)(param_1[2] - (int)puVar9 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[2] - (int)puVar9 >> 2)" (( "(") (binary_expression "param_1[2] - (int)puVar9 >> 2" (binary_expression "param_1[2] - (int)puVar9" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n    sVar6 = (int)puVar9 - (int)param_2;\n    uVar1 = *param_4;\n    if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }\n    iVar10 = param_3 - ((int)sVar6 >> 2);\n    puVar3 = puVar9;\n    iVar2 = iVar10;\n    if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }\n    param_1[1] = puVar3;\n    if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }\n    memmove(puVar3,param_2,sVar6);\n    param_1[1] = param_1[1] + sVar6;\n    do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);\n    return;\n  }" ({ "{") (expression_statement "sVar6 = (int)puVar9 - (int)param_2;" (assignment_expression "sVar6 = (int)puVar9 - (int)param_2" (identifier "sVar6") (= "=") (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" (identifier "uVar1") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (if_statement "if (param_3 < (uint)((int)sVar6 >> 2)) {\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 < (uint)((int)sVar6 >> 2))" (( "(") (binary_expression "param_3 < (uint)((int)sVar6 >> 2)" (identifier "param_3") (< "<") (call_expression "(uint)((int)sVar6 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)sVar6 >> 2)" (( "(") (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar6")) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      puVar5 = puVar9 + -param_3;\n      puVar3 = puVar9;\n      if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }\n      param_1[1] = puVar3 + param_3;\n      if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }\n      puVar9 = param_2 + param_3;\n      if (param_2 == puVar9) {\n        return;\n      }\n      do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);\n      return;\n    }" ({ "{") (expression_statement "puVar5 = puVar9 + -param_3;" (assignment_expression "puVar5 = puVar9 + -param_3" (identifier "puVar5") (= "=") (binary_expression "puVar9 + -param_3" (identifier "puVar9") (+ "+") (unary_expression "-param_3" (- "-") (identifier "param_3")))) (; ";")) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" (identifier "puVar3") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (puVar9 != puVar5) {\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" (if "if") (parenthesized_expression "(puVar9 != puVar5)" (( "(") (binary_expression "puVar9 != puVar5" (identifier "puVar9") (!= "!=") (identifier "puVar5")) () ")")) (compound_statement "{\n        memmove(puVar9,puVar5,param_3 * 4);\n        puVar3 = (undefined4 *)param_1[1];\n      }" ({ "{") (expression_statement "memmove(puVar9,puVar5,param_3 * 4);" (call_expression "memmove(puVar9,puVar5,param_3 * 4)" (identifier "memmove") (argument_list "(puVar9,puVar5,param_3 * 4)" (( "(") (identifier "puVar9") (, ",") (identifier "puVar5") (, ",") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")) () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)param_1[1];" (assignment_expression "puVar3 = (undefined4 *)param_1[1]" (identifier "puVar3") (= "=") (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") (] "]")))) (; ";")) (} "}"))) (expression_statement "param_1[1] = puVar3 + param_3;" (assignment_expression "param_1[1] = puVar3 + param_3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar3 + param_3" (identifier "puVar3") (+ "+") (identifier "param_3"))) (; ";")) (if_statement "if (param_2 != puVar5) {\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" (if "if") (parenthesized_expression "(param_2 != puVar5)" (( "(") (binary_expression "param_2 != puVar5" (identifier "param_2") (!= "!=") (identifier "puVar5")) () ")")) (compound_statement "{\n        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);\n      }" ({ "{") (expression_statement "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2);" (call_expression "memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" (identifier "memmove") (argument_list "((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,\n                (int)puVar5 - (int)param_2)" (( "(") (cast_expression "(void *)((int)puVar9 - ((int)puVar5 - (int)param_2))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 - ((int)puVar5 - (int)param_2))" (( "(") (binary_expression "(int)puVar9 - ((int)puVar5 - (int)param_2)" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (parenthesized_expression "((int)puVar5 - (int)param_2)" (( "(") (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) () ")"))) (, ",") (identifier "param_2") (, ",") (binary_expression "(int)puVar5 - (int)param_2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar9 = param_2 + param_3;" (assignment_expression "puVar9 = param_2 + param_3" (identifier "puVar9") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (if_statement "if (param_2 == puVar9) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 == puVar9)" (( "(") (binary_expression "param_2 == puVar9" (identifier "param_2") (== "==") (identifier "puVar9")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      } while (puVar9 != param_2);" (do "do") (compound_statement "{\n        *param_2 = uVar1;\n        param_2 = param_2 + 1;\n      }" ({ "{") (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar9 != param_2)" (( "(") (binary_expression "puVar9 != param_2" (identifier "puVar9") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar10 = param_3 - ((int)sVar6 >> 2);" (assignment_expression "iVar10 = param_3 - ((int)sVar6 >> 2)" (identifier "iVar10") (= "=") (binary_expression "param_3 - ((int)sVar6 >> 2)" (identifier "param_3") (- "-") (parenthesized_expression "((int)sVar6 >> 2)" (( "(") (binary_expression "(int)sVar6 >> 2" (cast_expression "(int)sVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar6")) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (expression_statement "puVar3 = puVar9;" (assignment_expression "puVar3 = puVar9" (identifier "puVar3") (= "=") (identifier "puVar9")) (; ";")) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" (identifier "iVar2") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar10 != 0) {\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);\n      puVar3 = puVar9 + iVar10;\n    }" ({ "{") (do_statement "do {\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      } while (iVar2 != 0);" (do "do") (compound_statement "{\n        *puVar3 = uVar1;\n        iVar2 = iVar2 + -1;\n        puVar3 = puVar3 + 1;\n      }" ({ "{") (expression_statement "*puVar3 = uVar1;" (assignment_expression "*puVar3 = uVar1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar3 = puVar9 + iVar10;" (assignment_expression "puVar3 = puVar9 + iVar10" (identifier "puVar3") (= "=") (binary_expression "puVar9 + iVar10" (identifier "puVar9") (+ "+") (identifier "iVar10"))) (; ";")) (} "}"))) (expression_statement "param_1[1] = puVar3;" (assignment_expression "param_1[1] = puVar3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar3")) (; ";")) (if_statement "if (puVar9 == param_2) {\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" (if "if") (parenthesized_expression "(puVar9 == param_2)" (( "(") (binary_expression "puVar9 == param_2" (identifier "puVar9") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n      param_1[1] = (int)puVar3 + sVar6;\n      return;\n    }" ({ "{") (expression_statement "param_1[1] = (int)puVar3 + sVar6;" (assignment_expression "param_1[1] = (int)puVar3 + sVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)puVar3 + sVar6" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (identifier "sVar6"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "memmove(puVar3,param_2,sVar6);" (call_expression "memmove(puVar3,param_2,sVar6)" (identifier "memmove") (argument_list "(puVar3,param_2,sVar6)" (( "(") (identifier "puVar3") (, ",") (identifier "param_2") (, ",") (identifier "sVar6") () ")"))) (; ";")) (expression_statement "param_1[1] = param_1[1] + sVar6;" (assignment_expression "param_1[1] = param_1[1] + sVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] + sVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "sVar6"))) (; ";")) (do_statement "do {\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    } while (puVar9 != param_2);" (do "do") (compound_statement "{\n      *param_2 = uVar1;\n      param_2 = param_2 + 1;\n    }" ({ "{") (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar9 != param_2)" (( "(") (binary_expression "puVar9 != param_2" (identifier "puVar9") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar7 = (int)puVar9 - (int)puVar3 >> 2;" (assignment_expression "uVar7 = (int)puVar9 - (int)puVar3 >> 2" (identifier "uVar7") (= "=") (binary_expression "(int)puVar9 - (int)puVar3 >> 2" (binary_expression "(int)puVar9 - (int)puVar3" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (0x3fffffff - uVar7 < param_3) {\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }" (if "if") (parenthesized_expression "(0x3fffffff - uVar7 < param_3)" (( "(") (binary_expression "0x3fffffff - uVar7 < param_3" (binary_expression "0x3fffffff - uVar7" (number_literal "0x3fffffff") (- "-") (identifier "uVar7")) (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n                    \n    FUN_003f3a70("vector::_M_fill_insert");\n  }" ({ "{") (expression_statement "FUN_003f3a70("vector::_M_fill_insert");" (call_expression "FUN_003f3a70("vector::_M_fill_insert")" (identifier "FUN_003f3a70") (argument_list "("vector::_M_fill_insert")" (( "(") (string_literal ""vector::_M_fill_insert"" (" """) (string_content "vector::_M_fill_insert") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" (identifier "uVar4") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar7 <= param_3) {\n    uVar4 = param_3;\n  }" (if "if") (parenthesized_expression "(uVar7 <= param_3)" (( "(") (binary_expression "uVar7 <= param_3" (identifier "uVar7") (<= "<=") (identifier "param_3")) () ")")) (compound_statement "{\n    uVar4 = param_3;\n  }" ({ "{") (expression_statement "uVar4 = param_3;" (assignment_expression "uVar4 = param_3" (identifier "uVar4") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (expression_statement "uVar8 = uVar7 + uVar4;" (assignment_expression "uVar8 = uVar7 + uVar4" (identifier "uVar8") (= "=") (binary_expression "uVar7 + uVar4" (identifier "uVar7") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "sVar6 = (int)param_2 - (int)puVar3;" (assignment_expression "sVar6 = (int)param_2 - (int)puVar3" (identifier "sVar6") (= "=") (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")))) (; ";")) (if_statement "if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }\n  else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" (if "if") (parenthesized_expression "((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8))" (( "(") (binary_expression "(CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)" (parenthesized_expression "(CARRY4(uVar7,uVar4))" (( "(") (call_expression "CARRY4(uVar7,uVar4)" (identifier "CARRY4") (argument_list "(uVar7,uVar4)" (( "(") (identifier "uVar7") (, ",") (identifier "uVar4") () ")"))) () ")")) (|| "||") (parenthesized_expression "(0x3fffffff < uVar8)" (( "(") (binary_expression "0x3fffffff < uVar8" (number_literal "0x3fffffff") (< "<") (identifier "uVar8")) () ")"))) () ")")) (compound_statement "{\n    local_24 = -4;\nLAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);\n    local_24 = local_24 + (int)local_2c;\n    puVar3 = (undefined4 *)*param_1;\n    puVar9 = (undefined4 *)param_1[1];\n    __n = (int)param_2 - (int)puVar3;\n  }" ({ "{") (expression_statement "local_24 = -4;" (assignment_expression "local_24 = -4" (identifier "local_24") (= "=") (number_literal "-4")) (; ";")) (labeled_statement "LAB_00103ca5:\n    local_2c = (void *)FUN_003ac4d0(local_24);" (statement_identifier "LAB_00103ca5") (: ":") (expression_statement "local_2c = (void *)FUN_003ac4d0(local_24);" (assignment_expression "local_2c = (void *)FUN_003ac4d0(local_24)" (identifier "local_2c") (= "=") (cast_expression "(void *)FUN_003ac4d0(local_24)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(local_24)" (identifier "FUN_003ac4d0") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))))) (; ";"))) (expression_statement "local_24 = local_24 + (int)local_2c;" (assignment_expression "local_24 = local_24 + (int)local_2c" (identifier "local_24") (= "=") (binary_expression "local_24 + (int)local_2c" (identifier "local_24") (+ "+") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "puVar9 = (undefined4 *)param_1[1];" (assignment_expression "puVar9 = (undefined4 *)param_1[1]" (identifier "puVar9") (= "=") (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") (] "]")))) (; ";")) (expression_statement "__n = (int)param_2 - (int)puVar3;" (assignment_expression "__n = (int)param_2 - (int)puVar3" (identifier "__n") (= "=") (binary_expression "(int)param_2 - (int)puVar3" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")))) (; ";")) (} "}")) (else_clause "else {\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" (else "else") (compound_statement "{\n    if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }\n    local_24 = 0;\n    local_2c = (void *)0x0;\n    __n = sVar6;\n  }" ({ "{") (if_statement "if (uVar8 != 0) {\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_24 = uVar8 * 4;\n      goto LAB_00103ca5;\n    }" ({ "{") (expression_statement "local_24 = uVar8 * 4;" (assignment_expression "local_24 = uVar8 * 4" (identifier "local_24") (= "=") (binary_expression "uVar8 * 4" (identifier "uVar8") (* "*") (number_literal "4"))) (; ";")) (goto_statement "goto LAB_00103ca5;" (goto "goto") (statement_identifier "LAB_00103ca5") (; ";")) (} "}"))) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = (void *)0x0;" (assignment_expression "local_2c = (void *)0x0" (identifier "local_2c") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__n = sVar6;" (assignment_expression "__n = sVar6" (identifier "__n") (= "=") (identifier "sVar6")) (; ";")) (} "}")))) (expression_statement "puVar5 = (undefined4 *)((int)local_2c + sVar6);" (assignment_expression "puVar5 = (undefined4 *)((int)local_2c + sVar6)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)((int)local_2c + sVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_2c + sVar6)" (( "(") (binary_expression "(int)local_2c + sVar6" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (+ "+") (identifier "sVar6")) () ")")))) (; ";")) (expression_statement "uVar1 = *param_4;" (assignment_expression "uVar1 = *param_4" (identifier "uVar1") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "uVar7 = param_3;" (assignment_expression "uVar7 = param_3" (identifier "uVar7") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  } while (uVar7 != 0);" (do "do") (compound_statement "{\n    *puVar5 = uVar1;\n    puVar5 = puVar5 + 1;\n    uVar7 = uVar7 - 1;\n  }" ({ "{") (expression_statement "*puVar5 = uVar1;" (assignment_expression "*puVar5 = uVar1" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "__dest = (void *)(__n + param_3 * 4 + (int)local_2c);" (assignment_expression "__dest = (void *)(__n + param_3 * 4 + (int)local_2c)" (identifier "__dest") (= "=") (cast_expression "(void *)(__n + param_3 * 4 + (int)local_2c)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(__n + param_3 * 4 + (int)local_2c)" (( "(") (binary_expression "__n + param_3 * 4 + (int)local_2c" (binary_expression "__n + param_3 * 4" (identifier "__n") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) (+ "+") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) () ")")))) (; ";")) (if_statement "if (param_2 == puVar3) {\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }\n  else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == puVar3)" (( "(") (binary_expression "param_2 == puVar3" (identifier "param_2") (== "==") (identifier "puVar3")) () ")")) (compound_statement "{\n    if (puVar9 != param_2) goto LAB_00103d36;\nLAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;\n  }" ({ "{") (if_statement "if (puVar9 != param_2) goto LAB_00103d36;" (if "if") (parenthesized_expression "(puVar9 != param_2)" (( "(") (binary_expression "puVar9 != param_2" (identifier "puVar9") (!= "!=") (identifier "param_2")) () ")")) (goto_statement "goto LAB_00103d36;" (goto "goto") (statement_identifier "LAB_00103d36") (; ";"))) (labeled_statement "LAB_00103d4b:\n    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" (statement_identifier "LAB_00103d4b") (: ":") (if_statement "if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00103d4f;" (goto "goto") (statement_identifier "LAB_00103d4f") (; ";")))) (} "}")) (else_clause "else {\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" (else "else") (compound_statement "{\n    memmove(local_2c,puVar3,__n);\n    if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }\n  }" ({ "{") (expression_statement "memmove(local_2c,puVar3,__n);" (call_expression "memmove(local_2c,puVar3,__n)" (identifier "memmove") (argument_list "(local_2c,puVar3,__n)" (( "(") (identifier "local_2c") (, ",") (identifier "puVar3") (, ",") (identifier "__n") () ")"))) (; ";")) (if_statement "if (param_2 != puVar9) {\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" (if "if") (parenthesized_expression "(param_2 != puVar9)" (( "(") (binary_expression "param_2 != puVar9" (identifier "param_2") (!= "!=") (identifier "puVar9")) () ")")) (compound_statement "{\nLAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);\n      goto LAB_00103d4b;\n    }" ({ "{") (labeled_statement "LAB_00103d36:\n      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" (statement_identifier "LAB_00103d36") (: ":") (expression_statement "memcpy(__dest,param_2,(int)puVar9 - (int)param_2);" (call_expression "memcpy(__dest,param_2,(int)puVar9 - (int)param_2)" (identifier "memcpy") (argument_list "(__dest,param_2,(int)puVar9 - (int)param_2)" (( "(") (identifier "__dest") (, ",") (identifier "param_2") (, ",") (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (; ";"))) (goto_statement "goto LAB_00103d4b;" (goto "goto") (statement_identifier "LAB_00103d4b") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_003ae080(puVar3);" (call_expression "FUN_003ae080(puVar3)" (identifier "FUN_003ae080") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (labeled_statement "LAB_00103d4f:\n  *param_1 = local_2c;" (statement_identifier "LAB_00103d4f") (: ":") (expression_statement "*param_1 = local_2c;" (assignment_expression "*param_1 = local_2c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_2c")) (; ";"))) (expression_statement "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);" (assignment_expression "param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(int)__dest + ((int)puVar9 - (int)param_2)" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (parenthesized_expression "((int)puVar9 - (int)param_2)" (( "(") (binary_expression "(int)puVar9 - (int)param_2" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "param_1[2] = local_24;" (assignment_expression "param_1[2] = local_24" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_24")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void _M_fill_insert(vector<unsigned_int,_std::allocator<unsigned_int>_>
   * this, iterator __position, size_type __n, value_type.conflict1 * __x) */

void __thiscall
std::vector<unsigned_int,_std::allocator<unsigned_int>_>::_M_fill_insert
          (vector<unsigned_int,_std::allocator<unsigned_int>_> *this,iterator __position,
          size_type __n,value_type_conflict1 *__x)

{
}


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

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

void MASKED(undefined4 *param_1,undefined4 *param_2,uint param_3,undefined4 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 *puVar3;
  uint uVar4;
  undefined4 *puVar5;
  size_t sVar6;
  uint uVar7;
  uint uVar8;
  size_t __n;
  undefined4 *puVar9;
  int iVar10;
  void *__dest;
  void *local_2c;
  int local_24;
  
  if (param_3 == 0) {
    return;
  }
  puVar9 = (undefined4 *)param_1[1];
  if (param_3 <= (uint)(param_1[2] - (int)puVar9 >> 2)) {
    sVar6 = (int)puVar9 - (int)param_2;
    uVar1 = *param_4;
    if (param_3 < (uint)((int)sVar6 >> 2)) {
      puVar5 = puVar9 + -param_3;
      puVar3 = puVar9;
      if (puVar9 != puVar5) {
        memmove(puVar9,puVar5,param_3 * 4);
        puVar3 = (undefined4 *)param_1[1];
      }
      param_1[1] = puVar3 + param_3;
      if (param_2 != puVar5) {
        memmove((void *)((int)puVar9 - ((int)puVar5 - (int)param_2)),param_2,
                (int)puVar5 - (int)param_2);
      }
      puVar9 = param_2 + param_3;
      if (param_2 == puVar9) {
        return;
      }
      do {
        *param_2 = uVar1;
        param_2 = param_2 + 1;
      } while (puVar9 != param_2);
      return;
    }
    iVar10 = param_3 - ((int)sVar6 >> 2);
    puVar3 = puVar9;
    iVar2 = iVar10;
    if (iVar10 != 0) {
      do {
        *puVar3 = uVar1;
        iVar2 = iVar2 + -1;
        puVar3 = puVar3 + 1;
      } while (iVar2 != 0);
      puVar3 = puVar9 + iVar10;
    }
    param_1[1] = puVar3;
    if (puVar9 == param_2) {
      param_1[1] = (int)puVar3 + sVar6;
      return;
    }
    memmove(puVar3,param_2,sVar6);
    param_1[1] = param_1[1] + sVar6;
    do {
      *param_2 = uVar1;
      param_2 = param_2 + 1;
    } while (puVar9 != param_2);
    return;
  }
  puVar3 = (undefined4 *)*param_1;
  uVar7 = (int)puVar9 - (int)puVar3 >> 2;
  if (0x3fffffff - uVar7 < param_3) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::_M_fill_insert");
  }
  uVar4 = uVar7;
  if (uVar7 <= param_3) {
    uVar4 = param_3;
  }
  uVar8 = uVar7 + uVar4;
  sVar6 = (int)param_2 - (int)puVar3;
  if ((CARRY4(uVar7,uVar4)) || (0x3fffffff < uVar8)) {
    local_24 = -4;
LAB_00103ca5:
    local_2c = (void *)FUN_003ac4d0(local_24);
    local_24 = local_24 + (int)local_2c;
    puVar3 = (undefined4 *)*param_1;
    puVar9 = (undefined4 *)param_1[1];
    __n = (int)param_2 - (int)puVar3;
  }
  else {
    if (uVar8 != 0) {
      local_24 = uVar8 * 4;
      goto LAB_00103ca5;
    }
    local_24 = 0;
    local_2c = (void *)0x0;
    __n = sVar6;
  }
  puVar5 = (undefined4 *)((int)local_2c + sVar6);
  uVar1 = *param_4;
  uVar7 = param_3;
  do {
    *puVar5 = uVar1;
    puVar5 = puVar5 + 1;
    uVar7 = uVar7 - 1;
  } while (uVar7 != 0);
  __dest = (void *)(__n + param_3 * 4 + (int)local_2c);
  if (param_2 == puVar3) {
    if (puVar9 != param_2) goto LAB_00103d36;
LAB_00103d4b:
    if (puVar3 == (undefined4 *)0x0) goto LAB_00103d4f;
  }
  else {
    memmove(local_2c,puVar3,__n);
    if (param_2 != puVar9) {
LAB_00103d36:
      memcpy(__dest,param_2,(int)puVar9 - (int)param_2);
      goto LAB_00103d4b;
    }
  }
  FUN_003ae080(puVar3);
LAB_00103d4f:
  *param_1 = local_2c;
  param_1[1] = (int)__dest + ((int)puVar9 - (int)param_2);
  param_1[2] = local_24;
  return;
}

