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

IdList * __regparm3 sqlite3IdListAppend(Parse *pParse,IdList *pList,Token *pToken)

{
  uint uVar1;
  IdList_item *pIVar2;
  char *pcVar3;
  IdList_item *pIVar4;
  RenameToken *pRVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  sqlite3 *z;
  undefined4 in_stack_ffffffc4;
  sqlite3 *db;
  
  db = pParse->db;
  if ((pList != (IdList *)0x0) ||
     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),
     pList != (IdList *)0x0)) {
    uVar1 = pList->nId;
    pIVar2 = pList->a;
    uVar7 = (int)uVar1 >> 0x1f;
    pIVar4 = pIVar2;
    if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {
      uVar6 = 0;
      iVar8 = 8;
      if (uVar1 != 0) {
        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;
        iVar8 = uVar1 << 4;
      }
      if (pIVar2 == (IdList_item *)0x0) {
        if (db->mallocFailed != '\0') goto LAB_00072b16;
        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));
      }
      else {
        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));
      }
      if (pIVar4 == (IdList_item *)0x0) {
        pList->a = pIVar2;
        goto LAB_00072b16;
      }
    }
    pIVar2 = pIVar4 + uVar1;
    pIVar2->zName = (char *)0x0;
    pIVar2->idx = 0;
    pList->a = pIVar4;
    pList->nId = pList->nId + 1;
    if ((int)uVar1 < 0) {
LAB_00072b16:
      sqlite3IdListDelete(db,pList);
      return (IdList *)0x0;
    }
    z = (sqlite3 *)0x0;
    if (pToken != (Token *)0x0) {
      pcVar3 = pToken->z;
      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {
        uVar7 = pToken->n;
        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));
        if (z != (sqlite3 *)0x0) {
          memcpy(z,pcVar3,uVar7);
          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;
        }
      }
      sqlite3Dequote((char *)z);
      db = z;
    }
    pIVar2->zName = (char *)z;
    if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&
       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),
       pRVar5 != (RenameToken *)0x0)) {
      pRVar5->p = pcVar3;
      uVar1 = pToken->n;
      (pRVar5->t).z = pToken->z;
      (pRVar5->t).n = uVar1;
      pRVar5->pNext = pParse->pRename;
      pParse->pRename = pRVar5;
    }
  }
  return pList;
}



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

int * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  void *__src;
  size_t __n;
  int *piVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  void *__dest;
  
  iVar2 = *param_1;
  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {
    uVar3 = param_2[1];
    iVar4 = *param_2;
    uVar7 = (int)uVar3 >> 0x1f;
    iVar8 = iVar4;
    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {
      uVar6 = 0;
      iVar8 = 8;
      if (uVar3 != 0) {
        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;
        iVar8 = uVar3 << 4;
      }
      if (iVar4 == 0) {
        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;
        iVar8 = FUN_00055c10();
      }
      else {
        iVar8 = FUN_0006d8d0(iVar8,uVar6);
      }
      if (iVar8 == 0) {
        *param_2 = iVar4;
        goto LAB_00072b16;
      }
    }
    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);
    *puVar1 = 0;
    puVar1[1] = 0;
    *param_2 = iVar8;
    param_2[1] = param_2[1] + 1;
    if ((int)uVar3 < 0) {
LAB_00072b16:
      FUN_0005b000();
      return (int *)0x0;
    }
    __dest = (void *)0x0;
    if (param_3 != (int *)0x0) {
      __src = (void *)*param_3;
      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {
        __n = param_3[1];
        __dest = (void *)FUN_00055c10();
        if (__dest != (void *)0x0) {
          memcpy(__dest,__src,__n);
          *(undefined1 *)((int)__dest + __n) = 0;
        }
      }
      FUN_0003a670();
    }
    *puVar1 = __dest;
    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&
        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&
       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {
      *piVar5 = iVar2;
      iVar2 = param_3[1];
      piVar5[1] = *param_3;
      piVar5[2] = iVar2;
      piVar5[3] = param_1[0x43];
      param_1[0x43] = (int)piVar5;
    }
  }
  return param_2;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x000172e0
ADD EBX,0x1484dd
SUB ESP,0x2c
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],ECX
MOV dword ptr [ESP + 0x4],EAX
MOV dword ptr [ESP + 0x1c],EBX
TEST EDX,EDX
JZ 0x00072af8
MOV EDI,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,EDI
MOV ECX,EDI
CDQ
ADD ECX,-0x1
MOV EBX,EDX
MOV dword ptr [ESP + 0x10],ECX
ADC EBX,-0x1
MOV dword ptr [ESP + 0x14],EBX
MOV EBX,ECX
AND EBX,EDI
MOV ECX,EBX
MOV EBX,dword ptr [ESP + 0x14]
AND EBX,EDX
OR EBX,ECX
JNZ 0x00072ae8
MOV EBP,EDX
XOR ECX,ECX
MOV dword ptr [ESP + 0x14],EDX
MOV EDX,0x8
OR EBP,EDI
MOV dword ptr [ESP + 0x10],EDI
JZ 0x000729c4
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
SHLD ECX,EDX,0x4
SHL EDX,0x4
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00072ad0
SUB ESP,0x8
PUSH ECX
PUSH EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0006d8d0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00072b10
LEA EBP,[EAX + EDI*0x8]
MOV dword ptr [EBP],0x0
MOV dword ptr [EBP + 0x4],0x0
MOV dword ptr [ESI],EAX
ADD dword ptr [ESI + 0x4],0x1
TEST EDI,EDI
JS 0x00072b16
MOV ECX,dword ptr [ESP + 0xc]
XOR EDX,EDX
TEST ECX,ECX
JZ 0x00072a76
MOV EBX,dword ptr [ECX]
TEST EBX,EBX
JZ 0x00072a67
MOV EAX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0x4d],0x0
JNZ 0x00072a67
MOV ECX,dword ptr [ECX + 0x4]
MOV EDX,ECX
MOV dword ptr [ESP + 0x4],ECX
XOR ECX,ECX
ADD EDX,0x1
ADC ECX,0x0
CALL 0x00055c10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x00072a67
SUB ESP,0x4
PUSH dword ptr [ESP + 0x8]
PUSH EBX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x18],EAX
CALL 0x00015130
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV byte ptr [EDX + EAX*0x1],0x0
MOV EAX,EDX
MOV dword ptr [ESP + 0x4],EDX
CALL 0x0003a670
MOV EDX,dword ptr [ESP + 0x4]
MOV dword ptr [EBP],EDX
MOV EBP,dword ptr [ESP + 0x18]
CMP byte ptr [EBP + 0xc6],0x1
JBE 0x00072ac2
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [EAX + EDI*0x8]
TEST EBX,EBX
JZ 0x00072ac2
MOV EAX,dword ptr [EBP]
XOR ECX,ECX
MOV EDX,0x10
CALL 0x00057220
TEST EAX,EAX
JZ 0x00072ac2
MOV dword ptr [EAX],EBX
MOV EBX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EBX]
MOV EBX,dword ptr [EBX + 0x4]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],EBX
MOV EDX,dword ptr [EBP + 0x10c]
MOV dword ptr [EAX + 0xc],EDX
MOV dword ptr [EBP + 0x10c],EAX
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0x4d],0x0
JNZ 0x00072b16
CALL 0x00055c10
JMP 0x000729e5
MOV EAX,dword ptr [ESP + 0x8]
JMP 0x000729ed
MOV EDX,0x8
XOR ECX,ECX
CALL 0x00057220
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x0007296e
JMP 0x00072ac2
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,ESI
XOR ESI,ESI
CALL 0x0005b000
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}\n\n" comment (function_definition "int * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00072940(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0))" ( (binary_expression "(param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" ( (comma_expression "param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0" (assignment_expression "param_2 = (int *)FUN_00057220()" identifier = (cast_expression "(int *)FUN_00057220()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00057220()" identifier (argument_list "()" ( ))))) , (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" { (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar7 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar8 = iVar4;" (assignment_expression "iVar8 = iVar4" identifier = identifier) ;) (if_statement "if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" if (parenthesized_expression "(((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0)" ( (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0" (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0" (parenthesized_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7)" ( (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0) & uVar7" (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0)" (parenthesized_expression "(uVar7 - 1)" ( (binary_expression "uVar7 - 1" identifier - number_literal) )) + (call_expression "(uint)(uVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )))) & identifier) )) == number_literal) && (binary_expression "(uVar3 - 1 & uVar3) == 0" (parenthesized_expression "(uVar3 - 1 & uVar3)" ( (binary_expression "uVar3 - 1 & uVar3" (binary_expression "uVar3 - 1" identifier - number_literal) & identifier) )) == number_literal)) )) (compound_statement "{\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" { (expression_statement "uVar6 = uVar7 << 4 | uVar3 >> 0x1c;" (assignment_expression "uVar6 = uVar7 << 4 | uVar3 >> 0x1c" identifier = (binary_expression "uVar7 << 4 | uVar3 >> 0x1c" (binary_expression "uVar7 << 4" identifier << number_literal) | (binary_expression "uVar3 >> 0x1c" identifier >> number_literal))) ;) (expression_statement "iVar8 = uVar3 << 4;" (assignment_expression "iVar8 = uVar3 << 4" identifier = (binary_expression "uVar3 << 4" identifier << number_literal)) ;) })) (if_statement "if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }" { (if_statement "if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;" if (parenthesized_expression "(*(char *)(iVar2 + 0x4d) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x4d) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" * (cast_expression "(char *)(iVar2 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4d)" ( (binary_expression "iVar2 + 0x4d" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;)) (expression_statement "iVar8 = FUN_00055c10();" (assignment_expression "iVar8 = FUN_00055c10()" identifier = (call_expression "FUN_00055c10()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" else (compound_statement "{\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" { (expression_statement "iVar8 = FUN_0006d8d0(iVar8,uVar6);" (assignment_expression "iVar8 = FUN_0006d8d0(iVar8,uVar6)" identifier = (call_expression "FUN_0006d8d0(iVar8,uVar6)" identifier (argument_list "(iVar8,uVar6)" ( identifier , identifier )))) ;) }))) (if_statement "if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" { (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;) })) })) (expression_statement "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8)" identifier = (cast_expression "(undefined4 *)(iVar8 + uVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar3 * 8)" ( (binary_expression "iVar8 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = iVar8;" (assignment_expression "*param_2 = iVar8" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = param_2[1] + 1;" (assignment_expression "param_2[1] = param_2[1] + 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "param_2[1] + 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" { (labeled_statement "LAB_00072b16:\n      FUN_0005b000();" statement_identifier : (expression_statement "FUN_0005b000();" (call_expression "FUN_0005b000()" identifier (argument_list "()" ( ))) ;)) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" { (expression_statement "__src = (void *)*param_3;" (assignment_expression "__src = (void *)*param_3" identifier = (cast_expression "(void *)*param_3" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" if (parenthesized_expression "((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0'))" ( (binary_expression "(__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')" (parenthesized_expression "(__src != (void *)0x0)" ( (binary_expression "__src != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x4d) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x4d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" * (cast_expression "(char *)(iVar2 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4d)" ( (binary_expression "iVar2 + 0x4d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" { (expression_statement "__n = param_3[1];" (assignment_expression "__n = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (void *)FUN_00055c10();" (assignment_expression "__dest = (void *)FUN_00055c10()" identifier = (cast_expression "(void *)FUN_00055c10()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055c10()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" if (parenthesized_expression "(__dest != (void *)0x0)" ( (binary_expression "__dest != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" { (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" * (cast_expression "(undefined1 *)((int)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) })) })) (expression_statement "FUN_0003a670();" (call_expression "FUN_0003a670()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" if (parenthesized_expression "(((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0))" ( (binary_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" (parenthesized_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0))" ( (binary_expression "(1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" (parenthesized_expression "(1 < *(byte *)((int)param_1 + 0xc6))" ( (binary_expression "1 < *(byte *)((int)param_1 + 0xc6)" number_literal < (pointer_expression "*(byte *)((int)param_1 + 0xc6)" * (cast_expression "(byte *)((int)param_1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc6)" ( (binary_expression "(int)param_1 + 0xc6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8)" identifier = (pointer_expression "*(int *)(*param_2 + uVar3 * 8)" * (cast_expression "(int *)(*param_2 + uVar3 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar3 * 8)" ( (binary_expression "*param_2 + uVar3 * 8" (pointer_expression "*param_2" * identifier) + (binary_expression "uVar3 * 8" identifier * number_literal)) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" ( (comma_expression "piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_00057220()" identifier = (cast_expression "(int *)FUN_00057220()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00057220()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" { (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "iVar2 = param_3[1];" (assignment_expression "iVar2 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar5[1] = *param_3;" (assignment_expression "piVar5[1] = *param_3" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar5[2] = iVar2;" (assignment_expression "piVar5[2] = iVar2" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = param_1[0x43];" (assignment_expression "piVar5[3] = param_1[0x43]" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = (subscript_expression "param_1[0x43]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x43] = (int)piVar5;" (assignment_expression "param_1[0x43] = (int)piVar5" (subscript_expression "param_1[0x43]" identifier [ number_literal ]) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nIdList * __regparm3 sqlite3IdListAppend(Parse *pParse,IdList *pList,Token *pToken)\n\n{\n  uint uVar1;\n  IdList_item *pIVar2;\n  char *pcVar3;\n  IdList_item *pIVar4;\n  RenameToken *pRVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  sqlite3 *z;\n  undefined4 in_stack_ffffffc4;\n  sqlite3 *db;\n  \n  db = pParse->db;\n  if ((pList != (IdList *)0x0) ||\n     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0)) {\n    uVar1 = pList->nId;\n    pIVar2 = pList->a;\n    uVar7 = (int)uVar1 >> 0x1f;\n    pIVar4 = pIVar2;\n    if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }\n    pIVar2 = pIVar4 + uVar1;\n    pIVar2->zName = (char *)0x0;\n    pIVar2->idx = 0;\n    pList->a = pIVar4;\n    pList->nId = pList->nId + 1;\n    if ((int)uVar1 < 0) {\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }\n    z = (sqlite3 *)0x0;\n    if (pToken != (Token *)0x0) {\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }\n    pIVar2->zName = (char *)z;\n    if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)) {\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }\n  }\n  return pList;\n}\n\n" comment (ERROR "IdList * __regparm3 sqlite3IdListAppend(Parse *pParse,IdList *pList,Token *pToken)" (binary_expression "IdList * __regparm3 sqlite3IdListAppend(Parse *pParse,IdList *pList,Token *pToken)" identifier * (ERROR "__regparm3" identifier) (call_expression "sqlite3IdListAppend(Parse *pParse,IdList *pList,Token *pToken)" identifier (argument_list "(Parse *pParse,IdList *pList,Token *pToken)" ( (binary_expression "Parse *pParse" identifier * identifier) , (binary_expression "IdList *pList" identifier * identifier) , (binary_expression "Token *pToken" identifier * identifier) ))))) (compound_statement "{\n  uint uVar1;\n  IdList_item *pIVar2;\n  char *pcVar3;\n  IdList_item *pIVar4;\n  RenameToken *pRVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  sqlite3 *z;\n  undefined4 in_stack_ffffffc4;\n  sqlite3 *db;\n  \n  db = pParse->db;\n  if ((pList != (IdList *)0x0) ||\n     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0)) {\n    uVar1 = pList->nId;\n    pIVar2 = pList->a;\n    uVar7 = (int)uVar1 >> 0x1f;\n    pIVar4 = pIVar2;\n    if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }\n    pIVar2 = pIVar4 + uVar1;\n    pIVar2->zName = (char *)0x0;\n    pIVar2->idx = 0;\n    pList->a = pIVar4;\n    pList->nId = pList->nId + 1;\n    if ((int)uVar1 < 0) {\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }\n    z = (sqlite3 *)0x0;\n    if (pToken != (Token *)0x0) {\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }\n    pIVar2->zName = (char *)z;\n    if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)) {\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }\n  }\n  return pList;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "IdList_item *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "IdList_item *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "RenameToken *pRVar5;" type_identifier (pointer_declarator "*pRVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "sqlite3 *z;" type_identifier (pointer_declarator "*z" * identifier) ;) (declaration "undefined4 in_stack_ffffffc4;" type_identifier identifier ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if ((pList != (IdList *)0x0) ||\n     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0)) {\n    uVar1 = pList->nId;\n    pIVar2 = pList->a;\n    uVar7 = (int)uVar1 >> 0x1f;\n    pIVar4 = pIVar2;\n    if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }\n    pIVar2 = pIVar4 + uVar1;\n    pIVar2->zName = (char *)0x0;\n    pIVar2->idx = 0;\n    pList->a = pIVar4;\n    pList->nId = pList->nId + 1;\n    if ((int)uVar1 < 0) {\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }\n    z = (sqlite3 *)0x0;\n    if (pToken != (Token *)0x0) {\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }\n    pIVar2->zName = (char *)z;\n    if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)) {\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }\n  }" if (parenthesized_expression "((pList != (IdList *)0x0) ||\n     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0))" ( (binary_expression "(pList != (IdList *)0x0) ||\n     (pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0)" (parenthesized_expression "(pList != (IdList *)0x0)" ( (binary_expression "pList != (IdList *)0x0" identifier != (cast_expression "(IdList *)0x0" ( (type_descriptor "IdList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0)" ( (comma_expression "pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4)),\n     pList != (IdList *)0x0" (assignment_expression "pList = (IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4))" identifier = (cast_expression "(IdList *)sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4))" ( (type_descriptor "IdList *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbMallocZero(db,CONCAT44(db,in_stack_ffffffc4))" identifier (argument_list "(db,CONCAT44(db,in_stack_ffffffc4))" ( identifier , (call_expression "CONCAT44(db,in_stack_ffffffc4)" identifier (argument_list "(db,in_stack_ffffffc4)" ( identifier , identifier ))) ))))) , (binary_expression "pList != (IdList *)0x0" identifier != (cast_expression "(IdList *)0x0" ( (type_descriptor "IdList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    uVar1 = pList->nId;\n    pIVar2 = pList->a;\n    uVar7 = (int)uVar1 >> 0x1f;\n    pIVar4 = pIVar2;\n    if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }\n    pIVar2 = pIVar4 + uVar1;\n    pIVar2->zName = (char *)0x0;\n    pIVar2->idx = 0;\n    pList->a = pIVar4;\n    pList->nId = pList->nId + 1;\n    if ((int)uVar1 < 0) {\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }\n    z = (sqlite3 *)0x0;\n    if (pToken != (Token *)0x0) {\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }\n    pIVar2->zName = (char *)z;\n    if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)) {\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }\n  }" { (expression_statement "uVar1 = pList->nId;" (assignment_expression "uVar1 = pList->nId" identifier = (field_expression "pList->nId" identifier -> field_identifier)) ;) (expression_statement "pIVar2 = pList->a;" (assignment_expression "pIVar2 = pList->a" identifier = (field_expression "pList->a" identifier -> field_identifier)) ;) (expression_statement "uVar7 = (int)uVar1 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar1 >> 0x1f" identifier = (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "pIVar4 = pIVar2;" (assignment_expression "pIVar4 = pIVar2" identifier = identifier) ;) (if_statement "if (((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }" if (parenthesized_expression "(((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0)" ( (binary_expression "((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0 && (uVar1 - 1 & uVar1) == 0" (binary_expression "((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7) == 0" (parenthesized_expression "((uVar7 - 1) + (uint)(uVar1 != 0) & uVar7)" ( (binary_expression "(uVar7 - 1) + (uint)(uVar1 != 0) & uVar7" (binary_expression "(uVar7 - 1) + (uint)(uVar1 != 0)" (parenthesized_expression "(uVar7 - 1)" ( (binary_expression "uVar7 - 1" identifier - number_literal) )) + (call_expression "(uint)(uVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )))) & identifier) )) == number_literal) && (binary_expression "(uVar1 - 1 & uVar1) == 0" (parenthesized_expression "(uVar1 - 1 & uVar1)" ( (binary_expression "uVar1 - 1 & uVar1" (binary_expression "uVar1 - 1" identifier - number_literal) & identifier) )) == number_literal)) )) (compound_statement "{\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }\n      if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }\n      if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" identifier = number_literal) ;) (if_statement "if (uVar1 != 0) {\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar6 = uVar7 << 4 | uVar1 >> 0x1c;\n        iVar8 = uVar1 << 4;\n      }" { (expression_statement "uVar6 = uVar7 << 4 | uVar1 >> 0x1c;" (assignment_expression "uVar6 = uVar7 << 4 | uVar1 >> 0x1c" identifier = (binary_expression "uVar7 << 4 | uVar1 >> 0x1c" (binary_expression "uVar7 << 4" identifier << number_literal) | (binary_expression "uVar1 >> 0x1c" identifier >> number_literal))) ;) (expression_statement "iVar8 = uVar1 << 4;" (assignment_expression "iVar8 = uVar1 << 4" identifier = (binary_expression "uVar1 << 4" identifier << number_literal)) ;) })) (if_statement "if (pIVar2 == (IdList_item *)0x0) {\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }\n      else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }" if (parenthesized_expression "(pIVar2 == (IdList_item *)0x0)" ( (binary_expression "pIVar2 == (IdList_item *)0x0" identifier == (cast_expression "(IdList_item *)0x0" ( (type_descriptor "IdList_item *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (db->mallocFailed != '\0') goto LAB_00072b16;\n        pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));\n      }" { (if_statement "if (db->mallocFailed != '\0') goto LAB_00072b16;" if (parenthesized_expression "(db->mallocFailed != '\0')" ( (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;)) (expression_statement "pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4));" (assignment_expression "pIVar4 = (IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4))" identifier = (cast_expression "(IdList_item *)dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4))" ( (type_descriptor "IdList_item *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dbMallocRawFinish(db,CONCAT44(db,in_stack_ffffffc4))" identifier (argument_list "(db,CONCAT44(db,in_stack_ffffffc4))" ( identifier , (call_expression "CONCAT44(db,in_stack_ffffffc4)" identifier (argument_list "(db,in_stack_ffffffc4)" ( identifier , identifier ))) ))))) ;) }) (else_clause "else {\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }" else (compound_statement "{\n        pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));\n      }" { (expression_statement "pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8));" (assignment_expression "pIVar4 = (IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8))" identifier = (cast_expression "(IdList_item *)dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8))" ( (type_descriptor "IdList_item *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dbReallocFinish(db,pIVar2,CONCAT44(uVar6,iVar8))" identifier (argument_list "(db,pIVar2,CONCAT44(uVar6,iVar8))" ( identifier , identifier , (call_expression "CONCAT44(uVar6,iVar8)" identifier (argument_list "(uVar6,iVar8)" ( identifier , identifier ))) ))))) ;) }))) (if_statement "if (pIVar4 == (IdList_item *)0x0) {\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }" if (parenthesized_expression "(pIVar4 == (IdList_item *)0x0)" ( (binary_expression "pIVar4 == (IdList_item *)0x0" identifier == (cast_expression "(IdList_item *)0x0" ( (type_descriptor "IdList_item *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pList->a = pIVar2;\n        goto LAB_00072b16;\n      }" { (expression_statement "pList->a = pIVar2;" (assignment_expression "pList->a = pIVar2" (field_expression "pList->a" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;) })) })) (expression_statement "pIVar2 = pIVar4 + uVar1;" (assignment_expression "pIVar2 = pIVar4 + uVar1" identifier = (binary_expression "pIVar4 + uVar1" identifier + identifier)) ;) (expression_statement "pIVar2->zName = (char *)0x0;" (assignment_expression "pIVar2->zName = (char *)0x0" (field_expression "pIVar2->zName" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pIVar2->idx = 0;" (assignment_expression "pIVar2->idx = 0" (field_expression "pIVar2->idx" identifier -> field_identifier) = number_literal) ;) (expression_statement "pList->a = pIVar4;" (assignment_expression "pList->a = pIVar4" (field_expression "pList->a" identifier -> field_identifier) = identifier) ;) (expression_statement "pList->nId = pList->nId + 1;" (assignment_expression "pList->nId = pList->nId + 1" (field_expression "pList->nId" identifier -> field_identifier) = (binary_expression "pList->nId + 1" (field_expression "pList->nId" identifier -> field_identifier) + number_literal)) ;) (if_statement "if ((int)uVar1 < 0) {\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00072b16:\n      sqlite3IdListDelete(db,pList);\n      return (IdList *)0x0;\n    }" { (labeled_statement "LAB_00072b16:\n      sqlite3IdListDelete(db,pList);" statement_identifier : (expression_statement "sqlite3IdListDelete(db,pList);" (call_expression "sqlite3IdListDelete(db,pList)" identifier (argument_list "(db,pList)" ( identifier , identifier ))) ;)) (return_statement "return (IdList *)0x0;" return (cast_expression "(IdList *)0x0" ( (type_descriptor "IdList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "z = (sqlite3 *)0x0;" (assignment_expression "z = (sqlite3 *)0x0" identifier = (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pToken != (Token *)0x0) {\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }" if (parenthesized_expression "(pToken != (Token *)0x0)" ( (binary_expression "pToken != (Token *)0x0" identifier != (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = pToken->z;\n      if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }\n      sqlite3Dequote((char *)z);\n      db = z;\n    }" { (expression_statement "pcVar3 = pToken->z;" (assignment_expression "pcVar3 = pToken->z" identifier = (field_expression "pToken->z" identifier -> field_identifier)) ;) (if_statement "if ((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')) {\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }" if (parenthesized_expression "((pcVar3 != (char *)0x0) && (db->mallocFailed == '\0'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (db->mallocFailed == '\0')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        uVar7 = pToken->n;\n        z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));\n        if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }\n      }" { (expression_statement "uVar7 = pToken->n;" (assignment_expression "uVar7 = pToken->n" identifier = (field_expression "pToken->n" identifier -> field_identifier)) ;) (expression_statement "z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4));" (assignment_expression "z = (sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4))" identifier = (cast_expression "(sqlite3 *)dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4))" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dbMallocRawFinish(db,CONCAT44(uVar7,in_stack_ffffffc4))" identifier (argument_list "(db,CONCAT44(uVar7,in_stack_ffffffc4))" ( identifier , (call_expression "CONCAT44(uVar7,in_stack_ffffffc4)" identifier (argument_list "(uVar7,in_stack_ffffffc4)" ( identifier , identifier ))) ))))) ;) (if_statement "if (z != (sqlite3 *)0x0) {\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }" if (parenthesized_expression "(z != (sqlite3 *)0x0)" ( (binary_expression "z != (sqlite3 *)0x0" identifier != (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          memcpy(z,pcVar3,uVar7);\n          *(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;\n        }" { (expression_statement "memcpy(z,pcVar3,uVar7);" (call_expression "memcpy(z,pcVar3,uVar7)" identifier (argument_list "(z,pcVar3,uVar7)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0;" (assignment_expression "*(undefined1 *)((int)z->aLimit + (uVar7 - 0x68)) = 0" (pointer_expression "*(undefined1 *)((int)z->aLimit + (uVar7 - 0x68))" * (cast_expression "(undefined1 *)((int)z->aLimit + (uVar7 - 0x68))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)z->aLimit + (uVar7 - 0x68))" ( (binary_expression "(int)z->aLimit + (uVar7 - 0x68)" (cast_expression "(int)z->aLimit" ( (type_descriptor "int" primitive_type) ) (field_expression "z->aLimit" identifier -> field_identifier)) + (parenthesized_expression "(uVar7 - 0x68)" ( (binary_expression "uVar7 - 0x68" identifier - number_literal) ))) )))) = number_literal) ;) })) })) (expression_statement "sqlite3Dequote((char *)z);" (call_expression "sqlite3Dequote((char *)z)" identifier (argument_list "((char *)z)" ( (cast_expression "(char *)z" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "db = z;" (assignment_expression "db = z" identifier = identifier) ;) })) (expression_statement "pIVar2->zName = (char *)z;" (assignment_expression "pIVar2->zName = (char *)z" (field_expression "pIVar2->zName" identifier -> field_identifier) = (cast_expression "(char *)z" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)) {\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }" if (parenthesized_expression "(((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0))" ( (binary_expression "((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)) &&\n       (pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)" (parenthesized_expression "((1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0))" ( (binary_expression "(1 < pParse->eParseMode) && (pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)" (parenthesized_expression "(1 < pParse->eParseMode)" ( (binary_expression "1 < pParse->eParseMode" number_literal < (field_expression "pParse->eParseMode" identifier -> field_identifier)) )) && (parenthesized_expression "(pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = pList->a[uVar1].zName, pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = pList->a[uVar1].zName" identifier = (field_expression "pList->a[uVar1].zName" (subscript_expression "pList->a[uVar1]" (field_expression "pList->a" identifier -> field_identifier) [ identifier ]) . field_identifier)) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0)" ( (comma_expression "pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4)),\n       pRVar5 != (RenameToken *)0x0" (assignment_expression "pRVar5 = (RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4))" identifier = (cast_expression "(RenameToken *)sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4))" ( (type_descriptor "RenameToken *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbMallocZero(pParse->db,CONCAT44(db,in_stack_ffffffc4))" identifier (argument_list "(pParse->db,CONCAT44(db,in_stack_ffffffc4))" ( (field_expression "pParse->db" identifier -> field_identifier) , (call_expression "CONCAT44(db,in_stack_ffffffc4)" identifier (argument_list "(db,in_stack_ffffffc4)" ( identifier , identifier ))) ))))) , (binary_expression "pRVar5 != (RenameToken *)0x0" identifier != (cast_expression "(RenameToken *)0x0" ( (type_descriptor "RenameToken *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      pRVar5->p = pcVar3;\n      uVar1 = pToken->n;\n      (pRVar5->t).z = pToken->z;\n      (pRVar5->t).n = uVar1;\n      pRVar5->pNext = pParse->pRename;\n      pParse->pRename = pRVar5;\n    }" { (expression_statement "pRVar5->p = pcVar3;" (assignment_expression "pRVar5->p = pcVar3" (field_expression "pRVar5->p" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar1 = pToken->n;" (assignment_expression "uVar1 = pToken->n" identifier = (field_expression "pToken->n" identifier -> field_identifier)) ;) (expression_statement "(pRVar5->t).z = pToken->z;" (assignment_expression "(pRVar5->t).z = pToken->z" (field_expression "(pRVar5->t).z" (parenthesized_expression "(pRVar5->t)" ( (field_expression "pRVar5->t" identifier -> field_identifier) )) . field_identifier) = (field_expression "pToken->z" identifier -> field_identifier)) ;) (expression_statement "(pRVar5->t).n = uVar1;" (assignment_expression "(pRVar5->t).n = uVar1" (field_expression "(pRVar5->t).n" (parenthesized_expression "(pRVar5->t)" ( (field_expression "pRVar5->t" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pRVar5->pNext = pParse->pRename;" (assignment_expression "pRVar5->pNext = pParse->pRename" (field_expression "pRVar5->pNext" identifier -> field_identifier) = (field_expression "pParse->pRename" identifier -> field_identifier)) ;) (expression_statement "pParse->pRename = pRVar5;" (assignment_expression "pParse->pRename = pRVar5" (field_expression "pParse->pRename" identifier -> field_identifier) = identifier) ;) })) })) (return_statement "return pList;" return identifier ;) }))
(translation_unit "int * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "int * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00072940(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0))" ( (binary_expression "(param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" ( (comma_expression "param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0" (assignment_expression "param_2 = (int *)FUN_00057220()" identifier = (cast_expression "(int *)FUN_00057220()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00057220()" identifier (argument_list "()" ( ))))) , (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" { (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar7 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar8 = iVar4;" (assignment_expression "iVar8 = iVar4" identifier = identifier) ;) (if_statement "if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" if (parenthesized_expression "(((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0)" ( (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0" (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0" (parenthesized_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7)" ( (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0) & uVar7" (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0)" (parenthesized_expression "(uVar7 - 1)" ( (binary_expression "uVar7 - 1" identifier - number_literal) )) + (call_expression "(uint)(uVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )))) & identifier) )) == number_literal) && (binary_expression "(uVar3 - 1 & uVar3) == 0" (parenthesized_expression "(uVar3 - 1 & uVar3)" ( (binary_expression "uVar3 - 1 & uVar3" (binary_expression "uVar3 - 1" identifier - number_literal) & identifier) )) == number_literal)) )) (compound_statement "{\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" { (expression_statement "uVar6 = uVar7 << 4 | uVar3 >> 0x1c;" (assignment_expression "uVar6 = uVar7 << 4 | uVar3 >> 0x1c" identifier = (binary_expression "uVar7 << 4 | uVar3 >> 0x1c" (binary_expression "uVar7 << 4" identifier << number_literal) | (binary_expression "uVar3 >> 0x1c" identifier >> number_literal))) ;) (expression_statement "iVar8 = uVar3 << 4;" (assignment_expression "iVar8 = uVar3 << 4" identifier = (binary_expression "uVar3 << 4" identifier << number_literal)) ;) })) (if_statement "if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }" { (if_statement "if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;" if (parenthesized_expression "(*(char *)(iVar2 + 0x4d) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x4d) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" * (cast_expression "(char *)(iVar2 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4d)" ( (binary_expression "iVar2 + 0x4d" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;)) (expression_statement "iVar8 = FUN_00055c10();" (assignment_expression "iVar8 = FUN_00055c10()" identifier = (call_expression "FUN_00055c10()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" else (compound_statement "{\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" { (expression_statement "iVar8 = FUN_0006d8d0(iVar8,uVar6);" (assignment_expression "iVar8 = FUN_0006d8d0(iVar8,uVar6)" identifier = (call_expression "FUN_0006d8d0(iVar8,uVar6)" identifier (argument_list "(iVar8,uVar6)" ( identifier , identifier )))) ;) }))) (if_statement "if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" { (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (goto_statement "goto LAB_00072b16;" goto statement_identifier ;) })) })) (expression_statement "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8)" identifier = (cast_expression "(undefined4 *)(iVar8 + uVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar3 * 8)" ( (binary_expression "iVar8 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_2 = iVar8;" (assignment_expression "*param_2 = iVar8" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = param_2[1] + 1;" (assignment_expression "param_2[1] = param_2[1] + 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "param_2[1] + 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" { (labeled_statement "LAB_00072b16:\n      FUN_0005b000();" statement_identifier : (expression_statement "FUN_0005b000();" (call_expression "FUN_0005b000()" identifier (argument_list "()" ( ))) ;)) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" { (expression_statement "__src = (void *)*param_3;" (assignment_expression "__src = (void *)*param_3" identifier = (cast_expression "(void *)*param_3" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" if (parenthesized_expression "((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0'))" ( (binary_expression "(__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')" (parenthesized_expression "(__src != (void *)0x0)" ( (binary_expression "__src != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x4d) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x4d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" * (cast_expression "(char *)(iVar2 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4d)" ( (binary_expression "iVar2 + 0x4d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" { (expression_statement "__n = param_3[1];" (assignment_expression "__n = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "__dest = (void *)FUN_00055c10();" (assignment_expression "__dest = (void *)FUN_00055c10()" identifier = (cast_expression "(void *)FUN_00055c10()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055c10()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" if (parenthesized_expression "(__dest != (void *)0x0)" ( (binary_expression "__dest != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" { (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" * (cast_expression "(undefined1 *)((int)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) })) })) (expression_statement "FUN_0003a670();" (call_expression "FUN_0003a670()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" if (parenthesized_expression "(((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0))" ( (binary_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" (parenthesized_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0))" ( (binary_expression "(1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" (parenthesized_expression "(1 < *(byte *)((int)param_1 + 0xc6))" ( (binary_expression "1 < *(byte *)((int)param_1 + 0xc6)" number_literal < (pointer_expression "*(byte *)((int)param_1 + 0xc6)" * (cast_expression "(byte *)((int)param_1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc6)" ( (binary_expression "(int)param_1 + 0xc6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8)" identifier = (pointer_expression "*(int *)(*param_2 + uVar3 * 8)" * (cast_expression "(int *)(*param_2 + uVar3 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar3 * 8)" ( (binary_expression "*param_2 + uVar3 * 8" (pointer_expression "*param_2" * identifier) + (binary_expression "uVar3 * 8" identifier * number_literal)) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" ( (comma_expression "piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_00057220()" identifier = (cast_expression "(int *)FUN_00057220()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00057220()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" { (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "iVar2 = param_3[1];" (assignment_expression "iVar2 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "piVar5[1] = *param_3;" (assignment_expression "piVar5[1] = *param_3" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar5[2] = iVar2;" (assignment_expression "piVar5[2] = iVar2" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5[3] = param_1[0x43];" (assignment_expression "piVar5[3] = param_1[0x43]" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = (subscript_expression "param_1[0x43]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x43] = (int)piVar5;" (assignment_expression "param_1[0x43] = (int)piVar5" (subscript_expression "param_1[0x43]" identifier [ number_literal ]) = (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) & IDENT) )) == LIT) && (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & IDENT) )) == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int * __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_00072940(int *param_1,int *param_2,int *param_3)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00072940(int *param_1,int *param_2,int *param_3)" (identifier "FUN_00072940") (parameter_list "(int *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  size_t __n;\n  int *piVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  void *__dest;\n  \n  iVar2 = *param_1;\n  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }\n  return param_2;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" (if "if") (parenthesized_expression "((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0))" (( "(") (binary_expression "(param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)" (( "(") (comma_expression "param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0" (assignment_expression "param_2 = (int *)FUN_00057220()" (identifier "param_2") (= "=") (cast_expression "(int *)FUN_00057220()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00057220()" (identifier "FUN_00057220") (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = param_2[1];\n    iVar4 = *param_2;\n    uVar7 = (int)uVar3 >> 0x1f;\n    iVar8 = iVar4;\n    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }\n    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);\n    *puVar1 = 0;\n    puVar1[1] = 0;\n    *param_2 = iVar8;\n    param_2[1] = param_2[1] + 1;\n    if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }\n    __dest = (void *)0x0;\n    if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }\n    *puVar1 = __dest;\n    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }\n  }" ({ "{") (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" (identifier "uVar3") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" (identifier "iVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar7 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" (identifier "uVar7") (= "=") (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "iVar8 = iVar4;" (assignment_expression "iVar8 = iVar4" (identifier "iVar8") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" (if "if") (parenthesized_expression "(((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0)" (( "(") (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0" (binary_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0" (parenthesized_expression "((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7)" (( "(") (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0) & uVar7" (binary_expression "(uVar7 - 1) + (uint)(uVar3 != 0)" (parenthesized_expression "(uVar7 - 1)" (( "(") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1")) () ")")) (+ "+") (call_expression "(uint)(uVar3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")))) (& "&") (identifier "uVar7")) () ")")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uVar3 - 1 & uVar3) == 0" (parenthesized_expression "(uVar3 - 1 & uVar3)" (( "(") (binary_expression "uVar3 - 1 & uVar3" (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1")) (& "&") (identifier "uVar3")) () ")")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      uVar6 = 0;\n      iVar8 = 8;\n      if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }\n      if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }\n      if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }\n    }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" (identifier "iVar8") (= "=") (number_literal "8")) (; ";")) (if_statement "if (uVar3 != 0) {\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;\n        iVar8 = uVar3 << 4;\n      }" ({ "{") (expression_statement "uVar6 = uVar7 << 4 | uVar3 >> 0x1c;" (assignment_expression "uVar6 = uVar7 << 4 | uVar3 >> 0x1c" (identifier "uVar6") (= "=") (binary_expression "uVar7 << 4 | uVar3 >> 0x1c" (binary_expression "uVar7 << 4" (identifier "uVar7") (<< "<<") (number_literal "4")) (| "|") (binary_expression "uVar3 >> 0x1c" (identifier "uVar3") (>> ">>") (number_literal "0x1c")))) (; ";")) (expression_statement "iVar8 = uVar3 << 4;" (assignment_expression "iVar8 = uVar3 << 4" (identifier "iVar8") (= "=") (binary_expression "uVar3 << 4" (identifier "uVar3") (<< "<<") (number_literal "4"))) (; ";")) (} "}"))) (if_statement "if (iVar4 == 0) {\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }\n      else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;\n        iVar8 = FUN_00055c10();\n      }" ({ "{") (if_statement "if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 0x4d) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x4d) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" (* "*") (cast_expression "(char *)(iVar2 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4d)" (( "(") (binary_expression "iVar2 + 0x4d" (identifier "iVar2") (+ "+") (number_literal "0x4d")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00072b16;" (goto "goto") (statement_identifier "LAB_00072b16") (; ";"))) (expression_statement "iVar8 = FUN_00055c10();" (assignment_expression "iVar8 = FUN_00055c10()" (identifier "iVar8") (= "=") (call_expression "FUN_00055c10()" (identifier "FUN_00055c10") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" (else "else") (compound_statement "{\n        iVar8 = FUN_0006d8d0(iVar8,uVar6);\n      }" ({ "{") (expression_statement "iVar8 = FUN_0006d8d0(iVar8,uVar6);" (assignment_expression "iVar8 = FUN_0006d8d0(iVar8,uVar6)" (identifier "iVar8") (= "=") (call_expression "FUN_0006d8d0(iVar8,uVar6)" (identifier "FUN_0006d8d0") (argument_list "(iVar8,uVar6)" (( "(") (identifier "iVar8") (, ",") (identifier "uVar6") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar8 == 0) {\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *param_2 = iVar4;\n        goto LAB_00072b16;\n      }" ({ "{") (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar4")) (; ";")) (goto_statement "goto LAB_00072b16;" (goto "goto") (statement_identifier "LAB_00072b16") (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(iVar8 + uVar3 * 8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(iVar8 + uVar3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar3 * 8)" (( "(") (binary_expression "iVar8 + uVar3 * 8" (identifier "iVar8") (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = iVar8;" (assignment_expression "*param_2 = iVar8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "param_2[1] = param_2[1] + 1;" (assignment_expression "param_2[1] = param_2[1] + 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_2[1] + 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int)uVar3 < 0) {\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" (if "if") (parenthesized_expression "((int)uVar3 < 0)" (( "(") (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00072b16:\n      FUN_0005b000();\n      return (int *)0x0;\n    }" ({ "{") (labeled_statement "LAB_00072b16:\n      FUN_0005b000();" (statement_identifier "LAB_00072b16") (: ":") (expression_statement "FUN_0005b000();" (call_expression "FUN_0005b000()" (identifier "FUN_0005b000") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "__dest = (void *)0x0;" (assignment_expression "__dest = (void *)0x0" (identifier "__dest") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __src = (void *)*param_3;\n      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }\n      FUN_0003a670();\n    }" ({ "{") (expression_statement "__src = (void *)*param_3;" (assignment_expression "__src = (void *)*param_3" (identifier "__src") (= "=") (cast_expression "(void *)*param_3" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" (if "if") (parenthesized_expression "((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0'))" (( "(") (binary_expression "(__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')" (parenthesized_expression "(__src != (void *)0x0)" (( "(") (binary_expression "__src != (void *)0x0" (identifier "__src") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x4d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x4d)" (* "*") (cast_expression "(char *)(iVar2 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4d)" (( "(") (binary_expression "iVar2 + 0x4d" (identifier "iVar2") (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        __n = param_3[1];\n        __dest = (void *)FUN_00055c10();\n        if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }\n      }" ({ "{") (expression_statement "__n = param_3[1];" (assignment_expression "__n = param_3[1]" (identifier "__n") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__dest = (void *)FUN_00055c10();" (assignment_expression "__dest = (void *)FUN_00055c10()" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_00055c10()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00055c10()" (identifier "FUN_00055c10") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__dest != (void *)0x0) {\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" (if "if") (parenthesized_expression "(__dest != (void *)0x0)" (( "(") (binary_expression "__dest != (void *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          memcpy(__dest,__src,__n);\n          *(undefined1 *)((int)__dest + __n) = 0;\n        }" ({ "{") (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" (identifier "memcpy") (argument_list "(__dest,__src,__n)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" (* "*") (cast_expression "(undefined1 *)((int)__dest + __n)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + __n)" (( "(") (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0003a670();" (call_expression "FUN_0003a670()" (identifier "FUN_0003a670") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = __dest;" (assignment_expression "*puVar1 = __dest" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "__dest")) (; ";")) (if_statement "if (((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" (if "if") (parenthesized_expression "(((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0))" (( "(") (binary_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&\n       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" (parenthesized_expression "((1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0))" (( "(") (binary_expression "(1 < *(byte *)((int)param_1 + 0xc6)) &&\n        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" (parenthesized_expression "(1 < *(byte *)((int)param_1 + 0xc6))" (( "(") (binary_expression "1 < *(byte *)((int)param_1 + 0xc6)" (number_literal "1") (< "<") (pointer_expression "*(byte *)((int)param_1 + 0xc6)" (* "*") (cast_expression "(byte *)((int)param_1 + 0xc6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc6)" (( "(") (binary_expression "(int)param_1 + 0xc6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc6")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*param_2 + uVar3 * 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*param_2 + uVar3 * 8)" (* "*") (cast_expression "(int *)(*param_2 + uVar3 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + uVar3 * 8)" (( "(") (binary_expression "*param_2 + uVar3 * 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)" (( "(") (comma_expression "piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0" (assignment_expression "piVar5 = (int *)FUN_00057220()" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_00057220()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00057220()" (identifier "FUN_00057220") (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      *piVar5 = iVar2;\n      iVar2 = param_3[1];\n      piVar5[1] = *param_3;\n      piVar5[2] = iVar2;\n      piVar5[3] = param_1[0x43];\n      param_1[0x43] = (int)piVar5;\n    }" ({ "{") (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = param_3[1];" (assignment_expression "iVar2 = param_3[1]" (identifier "iVar2") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar5[1] = *param_3;" (assignment_expression "piVar5[1] = *param_3" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "piVar5[2] = iVar2;" (assignment_expression "piVar5[2] = iVar2" (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar5[3] = param_1[0x43];" (assignment_expression "piVar5[3] = param_1[0x43]" (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_1[0x43]" (identifier "param_1") ([ "[") (number_literal "0x43") (] "]"))) (; ";")) (expression_statement "param_1[0x43] = (int)piVar5;" (assignment_expression "param_1[0x43] = (int)piVar5" (subscript_expression "param_1[0x43]" (identifier "param_1") ([ "[") (number_literal "0x43") (] "]")) (= "=") (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

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

type_6 * __regparm3 sqlite3IdListAppend(Parse *pParse,type_6 *var_1,type_7 *var_11)

{
  type_1 var_5;
  type_2 *var_6;
  char *var_12;
  type_2 *var_9;
  type_3 *var_16;
  type_1 uVar6;
  type_1 var_4;
  int iVar8;
  type_4 *var_13;
  type_5 in_stack_ffffffc4;
  type_4 *db;
  
  db = pParse->db;
  if ((var_1 != (type_6 *)0x0) ||
     (var_1 = (type_6 *)var_2(db,var_3(db,in_stack_ffffffc4)),
     var_1 != (type_6 *)0x0)) {
    var_5 = var_1->nId;
    var_6 = var_1->a;
    var_4 = (int)var_5 >> 0x1f;
    var_9 = var_6;
    if (((var_4 - 1) + (type_1)(var_5 != 0) & var_4) == 0 && (var_5 - 1 & var_5) == 0) {
      uVar6 = 0;
      iVar8 = 8;
      if (var_5 != 0) {
        uVar6 = var_4 << 4 | var_5 >> 0x1c;
        iVar8 = var_5 << 4;
      }
      if (var_6 == (type_2 *)0x0) {
        if (db->mallocFailed != '\0') goto LAB_00072b16;
        var_9 = (type_2 *)var_7(db,var_3(db,in_stack_ffffffc4));
      }
      else {
        var_9 = (type_2 *)var_8(db,var_6,var_3(uVar6,iVar8));
      }
      if (var_9 == (type_2 *)0x0) {
        var_1->a = var_6;
        goto LAB_00072b16;
      }
    }
    var_6 = var_9 + var_5;
    var_6->zName = (char *)0x0;
    var_6->idx = 0;
    var_1->a = var_9;
    var_1->nId = var_1->nId + 1;
    if ((int)var_5 < 0) {
LAB_00072b16:
      var_10(db,var_1);
      return (type_6 *)0x0;
    }
    var_13 = (type_4 *)0x0;
    if (var_11 != (type_7 *)0x0) {
      var_12 = var_11->var_13;
      if ((var_12 != (char *)0x0) && (db->mallocFailed == '\0')) {
        var_4 = var_11->n;
        var_13 = (type_4 *)var_7(db,var_3(var_4,in_stack_ffffffc4));
        if (var_13 != (type_4 *)0x0) {
          var_14(var_13,var_12,var_4);
          *(type_8 *)((int)var_13->aLimit + (var_4 - 0x68)) = 0;
        }
      }
      var_15((char *)var_13);
      db = var_13;
    }
    var_6->zName = (char *)var_13;
    if (((1 < pParse->eParseMode) && (var_12 = var_1->a[var_5].zName, var_12 != (char *)0x0)) &&
       (var_16 = (type_3 *)var_2(pParse->db,var_3(db,in_stack_ffffffc4)),
       var_16 != (type_3 *)0x0)) {
      var_16->p = var_12;
      var_5 = var_11->n;
      (var_16->t).var_13 = var_11->var_13;
      (var_16->t).n = var_5;
      var_16->pNext = pParse->pRename;
      pParse->pRename = var_16;
    }
  }
  return var_1;
}


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

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

int * __regparm3 MASKED(int *param_1,int *param_2,int *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  void *__src;
  size_t __n;
  int *piVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  void *__dest;
  
  iVar2 = *param_1;
  if ((param_2 != (int *)0x0) || (param_2 = (int *)FUN_00057220(), param_2 != (int *)0x0)) {
    uVar3 = param_2[1];
    iVar4 = *param_2;
    uVar7 = (int)uVar3 >> 0x1f;
    iVar8 = iVar4;
    if (((uVar7 - 1) + (uint)(uVar3 != 0) & uVar7) == 0 && (uVar3 - 1 & uVar3) == 0) {
      uVar6 = 0;
      iVar8 = 8;
      if (uVar3 != 0) {
        uVar6 = uVar7 << 4 | uVar3 >> 0x1c;
        iVar8 = uVar3 << 4;
      }
      if (iVar4 == 0) {
        if (*(char *)(iVar2 + 0x4d) != '\0') goto LAB_00072b16;
        iVar8 = FUN_00055c10();
      }
      else {
        iVar8 = FUN_0006d8d0(iVar8,uVar6);
      }
      if (iVar8 == 0) {
        *param_2 = iVar4;
        goto LAB_00072b16;
      }
    }
    puVar1 = (undefined4 *)(iVar8 + uVar3 * 8);
    *puVar1 = 0;
    puVar1[1] = 0;
    *param_2 = iVar8;
    param_2[1] = param_2[1] + 1;
    if ((int)uVar3 < 0) {
LAB_00072b16:
      FUN_0005b000();
      return (int *)0x0;
    }
    __dest = (void *)0x0;
    if (param_3 != (int *)0x0) {
      __src = (void *)*param_3;
      if ((__src != (void *)0x0) && (*(char *)(iVar2 + 0x4d) == '\0')) {
        __n = param_3[1];
        __dest = (void *)FUN_00055c10();
        if (__dest != (void *)0x0) {
          memcpy(__dest,__src,__n);
          *(undefined1 *)((int)__dest + __n) = 0;
        }
      }
      FUN_0003a670();
    }
    *puVar1 = __dest;
    if (((1 < *(byte *)((int)param_1 + 0xc6)) &&
        (iVar2 = *(int *)(*param_2 + uVar3 * 8), iVar2 != 0)) &&
       (piVar5 = (int *)FUN_00057220(), piVar5 != (int *)0x0)) {
      *piVar5 = iVar2;
      iVar2 = param_3[1];
      piVar5[1] = *param_3;
      piVar5[2] = iVar2;
      piVar5[3] = param_1[0x43];
      param_1[0x43] = (int)piVar5;
    }
  }
  return param_2;
}

