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

NODE * call_split_func(char *name,int nargs)

{
  ulong *puVar1;
  Regexp *rp;
  size_t sVar2;
  bool bVar3;
  int iVar4;
  NODE *pNVar5;
  uint uVar6;
  STACK_ITEM *pSVar7;
  char *pcVar8;
  char *pcVar9;
  char *mesg;
  NODE *pNVar10;
  
  iVar4 = CONVFMTidx;
  pcVar8 = CONVFMT;
  if (nargs < 2) {
    set_loc("builtin.c",0xd29);
    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);
    r_fatal(pcVar8,name);
LAB_0002edb1:
    if (*name == 's') {
      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);
      puVar1 = &(pNVar5->sub).nodep.reflags;
      *puVar1 = *puVar1 | 2;
    }
    else {
      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);
    }
    nargs = nargs + 1;
    pNVar10 = (NODE *)0x0;
LAB_0002ede6:
    bVar3 = true;
    if (stack_top <= stack_ptr) {
LAB_0002eec6:
      pSVar7 = grow_stack();
      goto LAB_0002edfb;
    }
  }
  else {
    if (nargs == 4) {
      pSVar7 = stack_ptr + -1;
      pNVar10 = stack_ptr->rptr;
    }
    else {
      if (nargs < 3) goto LAB_0002edb1;
      pNVar10 = (NODE *)0x0;
      pSVar7 = stack_ptr;
    }
    stack_ptr = pSVar7 + -1;
    pNVar5 = pSVar7->rptr;
    if (pNVar5->type == Node_var_array) {
      set_loc("awk.h",0x72b);
      pcVar9 = array_vname(pNVar5);
      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);
      r_fatal(mesg,pcVar9);
    }
    uVar6 = pNVar5->flags;
    if (((uVar6 & 4) == 0) ||
       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {
      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);
      uVar6 = pNVar5->flags;
    }
    if ((uVar6 & 0x40000) == 0) {
      pNVar5 = make_regnode(2,pNVar5);
      goto LAB_0002ede6;
    }
    pNVar5 = (pNVar5->sub).val.typre;
    bVar3 = false;
    if (stack_top <= stack_ptr) goto LAB_0002eec6;
  }
  pSVar7 = stack_ptr + 1;
  stack_ptr = pSVar7;
LAB_0002edfb:
  pSVar7->rptr = pNVar5;
  if (pNVar10 != (NODE *)0x0) {
    if (stack_ptr < stack_top) {
      pSVar7 = stack_ptr + 1;
      stack_ptr = pSVar7;
    }
    else {
      pSVar7 = grow_stack();
    }
    pSVar7->rptr = pNVar10;
  }
  if (*name == 's') {
    pNVar10 = do_split(nargs);
  }
  else {
    pNVar10 = do_patsplit(nargs);
  }
  if (bVar3) {
    refree(*(Regexp **)((int)&pNVar5->sub + 4));
    rp = (Regexp *)(pNVar5->sub).val.sp;
    if (rp != (Regexp *)0x0) {
      refree(rp);
    }
    (pNVar5->sub).nodep.l = nextfree;
    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;
    return pNVar10;
  }
  return pNVar10;
}



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

undefined4 FUN_0002ed80(char *param_1,int param_2)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int *piVar8;
  undefined4 uVar9;
  int iVar10;
  
  iVar3 = DAT_000c4994;
  puVar2 = PTR_DAT_000bf8f0;
  if (param_2 < 2) {
    FUN_000660d0("builtin.c",0xd29);
    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);
    FUN_00066470(uVar5,param_1);
LAB_0002edb1:
    if (*param_1 == 's') {
      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);
      puVar4[8] = puVar4[8] | 2;
    }
    else {
      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);
    }
    param_2 = param_2 + 1;
    iVar10 = 0;
LAB_0002ede6:
    bVar1 = true;
    if (DAT_000c4984 <= DAT_000c13c8) {
LAB_0002eec6:
      piVar8 = (int *)FUN_000493c0();
      goto LAB_0002edfb;
    }
  }
  else {
    if (param_2 == 4) {
      piVar8 = DAT_000c13c8 + -1;
      iVar10 = *DAT_000c13c8;
    }
    else {
      if (param_2 < 3) goto LAB_0002edb1;
      iVar10 = 0;
      piVar8 = DAT_000c13c8;
    }
    DAT_000c13c8 = piVar8 + -1;
    iVar6 = *piVar8;
    if (*(int *)(iVar6 + 0x28) == 5) {
      FUN_000660d0("awk.h",0x72b);
      uVar5 = FUN_00018020(iVar6);
      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);
      FUN_00066470(uVar9,uVar5);
    }
    uVar7 = *(uint *)(iVar6 + 0x2c);
    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))
    {
      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);
      uVar7 = *(uint *)(iVar6 + 0x2c);
    }
    if ((uVar7 & 0x40000) == 0) {
      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);
      goto LAB_0002ede6;
    }
    puVar4 = *(undefined4 **)(iVar6 + 0x20);
    bVar1 = false;
    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;
  }
  piVar8 = DAT_000c13c8 + 1;
  DAT_000c13c8 = piVar8;
LAB_0002edfb:
  *piVar8 = (int)puVar4;
  if (iVar10 != 0) {
    if (DAT_000c13c8 < DAT_000c4984) {
      piVar8 = DAT_000c13c8 + 1;
      DAT_000c13c8 = piVar8;
    }
    else {
      piVar8 = (int *)FUN_000493c0();
    }
    *piVar8 = iVar10;
  }
  if (*param_1 == 's') {
    uVar5 = FUN_00056f50(param_2);
  }
  else {
    uVar5 = FUN_00057690(param_2);
  }
  if (bVar1) {
    FUN_0006e2e0(puVar4[1]);
    if (puVar4[2] != 0) {
      FUN_0006e2e0(puVar4[2]);
    }
    *puVar4 = DAT_000bf900;
    DAT_000bf900 = puVar4;
    return uVar5;
  }
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016f50
ADD EBX,0x8ff5b
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x34]
CMP EBP,0x1
JLE 0x0002ef78
CMP EBP,0x4
JZ 0x0002ee40
CMP EBP,0x2
JG 0x0002f04a
MOV EAX,dword ptr [ESP + 0x30]
CMP byte ptr [EAX],0x73
JZ 0x0002ef50
LEA EAX,[EBX + 0x5d4c]
SUB ESP,0x8
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX]
PUSH 0x2
CALL 0x0001e300
ADD ESP,0x10
MOV EDI,EAX
LEA ESI,[EBX + 0x26e4]
ADD EBP,0x1
XOR EDX,EDX
MOV byte ptr [ESP],0x1
LEA ECX,[EBX + 0x5ca0]
MOV EAX,dword ptr [ESI]
CMP EAX,dword ptr [ECX]
JNC 0x0002eec6
ADD EAX,0x4
MOV dword ptr [ESI],EAX
TEST EDX,EDX
MOV dword ptr [EAX],EDI
JZ 0x0002ee12
MOV EAX,dword ptr [ESI]
CMP EAX,dword ptr [ECX]
JNC 0x0002ef38
ADD EAX,0x4
MOV dword ptr [ESI],EAX
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x30]
CMP byte ptr [EAX],0x73
JZ 0x0002ef20
SUB ESP,0xc
PUSH EBP
CALL 0x00057690
ADD ESP,0x10
CMP byte ptr [ESP],0x0
JNZ 0x0002eee0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA ESI,[EBX + 0x26e4]
MOV EDX,dword ptr [ESI]
LEA EAX,[EDX + -0x4]
MOV EDX,dword ptr [EDX]
LEA ECX,[EBX + 0x5cb0]
MOV EDI,dword ptr [ECX]
LEA ECX,[EBX + 0xc0c]
MOV dword ptr [ESP],EDI
MOV EDI,dword ptr [ECX]
LEA ECX,[EAX + -0x4]
MOV dword ptr [ESI],ECX
MOV dword ptr [ESP + 0x4],EDI
MOV EDI,dword ptr [EAX]
CMP dword ptr [EDI + 0x28],0x5
JZ 0x0002efe0
MOV EAX,dword ptr [EDI + 0x2c]
TEST AL,0x4
JNZ 0x0002f030
MOV dword ptr [ESP + 0x8],EDX
LEA EAX,[EBX + 0xc60]
SUB ESP,0x4
PUSH EDI
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x10]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EDI,EAX
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EAX + 0x2c]
TEST EAX,0x40000
JZ 0x0002efb8
LEA ECX,[EBX + 0x5ca0]
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [EDI + 0x20]
MOV byte ptr [ESP],0x0
CMP EAX,dword ptr [ECX]
JC 0x0002edf6
MOV dword ptr [ESP + 0x8],ECX
MOV dword ptr [ESP + 0x4],EDX
CALL 0x000493c0
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x0002edfb
MOV dword ptr [ESP],EAX
SUB ESP,0xc
PUSH dword ptr [EDI + 0x4]
CALL 0x0006e2e0
MOV EDX,dword ptr [EDI + 0x8]
ADD ESP,0x10
MOV EAX,dword ptr [ESP]
TEST EDX,EDX
JZ 0x0002ef0a
SUB ESP,0xc
PUSH EDX
CALL 0x0006e2e0
ADD ESP,0x10
MOV EAX,dword ptr [ESP]
LEA EDX,[EBX + 0xc1c]
MOV ECX,dword ptr [EDX]
MOV dword ptr [EDI],ECX
MOV dword ptr [EDX],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EBP
CALL 0x00056f50
ADD ESP,0x10
JMP 0x0002ee2b
MOV dword ptr [ESP + 0x4],EDX
CALL 0x000493c0
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x0002ee10
LEA EAX,[EBX + 0x5d2c]
SUB ESP,0x8
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX]
PUSH 0x2
CALL 0x0001e300
ADD ESP,0x10
MOV EDI,EAX
OR dword ptr [EAX + 0x20],0x2
JMP 0x0002edd7
LEA EAX,[EBX + 0xfffccaf4]
SUB ESP,0x8
PUSH 0xd29
PUSH EAX
CALL 0x000660d0
LEA EAX,[EBX + 0xfffcd378]
ADD ESP,0xc
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013f40
POP ESI
POP EDI
PUSH dword ptr [ESP + 0x38]
PUSH EAX
CALL 0x00066470
ADD ESP,0x10
JMP 0x0002edb1
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x8
PUSH EDI
PUSH 0x2
CALL 0x0001e300
ADD ESP,0x10
MOV EDI,EAX
MOV byte ptr [ESP],0x1
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x0002ede6
LEA EAX,[EBX + 0xfffc8f86]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
PUSH 0x72b
PUSH EAX
CALL 0x000660d0
MOV dword ptr [ESP],EDI
CALL 0x00018020
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xfffc916c]
ADD ESP,0xc
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013f40
POP EDX
POP ECX
MOV ECX,dword ptr [ESP + 0x10]
PUSH ECX
PUSH EAX
CALL 0x00066470
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x0002ee75
MOV ECX,dword ptr [EDI + 0x14]
CMP dword ptr [ESP],ECX
JZ 0x0002eea4
CMP ECX,-0x1
JNZ 0x0002ee80
JMP 0x0002eea4
LEA ESI,[EBX + 0x26e4]
XOR EDX,EDX
MOV EAX,dword ptr [ESI]
JMP 0x0002ee4d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0002ed80(char *param_1,int param_2)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}\n\n" comment (function_definition "undefined4 FUN_0002ed80(char *param_1,int param_2)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_0002ed80(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar3 = DAT_000c4994;" (assignment_expression "iVar3 = DAT_000c4994" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_000bf8f0;" (assignment_expression "puVar2 = PTR_DAT_000bf8f0" identifier = identifier) ;) (if_statement "if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }" { (expression_statement "FUN_000660d0("builtin.c",0xd29);" (call_expression "FUN_000660d0("builtin.c",0xd29)" identifier (argument_list "("builtin.c",0xd29)" ( (string_literal ""builtin.c"" " string_content ") , number_literal ))) ;) (expression_statement "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);" (assignment_expression "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier = (call_expression "dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier (argument_list "(0,"indirect call to %s requires at least two arguments",5)" ( number_literal , (string_literal ""indirect call to %s requires at least two arguments"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar5,param_1);" (call_expression "FUN_00066470(uVar5,param_1)" identifier (argument_list "(uVar5,param_1)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" statement_identifier : (if_statement "if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" if (parenthesized_expression "(*param_1 == 's')" ( (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,*DAT_000c4a10)" identifier (argument_list "(2,*DAT_000c4a10)" ( number_literal , (pointer_expression "*DAT_000c4a10" * identifier) ))))) ;) (expression_statement "puVar4[8] = puVar4[8] | 2;" (assignment_expression "puVar4[8] = puVar4[8] | 2" (subscript_expression "puVar4[8]" identifier [ number_literal ]) = (binary_expression "puVar4[8] | 2" (subscript_expression "puVar4[8]" identifier [ number_literal ]) | number_literal)) ;) }) (else_clause "else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" else (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,*DAT_000c4a30)" identifier (argument_list "(2,*DAT_000c4a30)" ( number_literal , (pointer_expression "*DAT_000c4a30" * identifier) ))))) ;) })))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002ede6:\n    bVar1 = true;" statement_identifier : (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;)) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" if (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" ( (binary_expression "DAT_000c4984 <= DAT_000c13c8" identifier <= identifier) )) (compound_statement "{\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" { (labeled_statement "LAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();" statement_identifier : (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" identifier = (cast_expression "(int *)FUN_000493c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000493c0()" identifier (argument_list "()" ( ))))) ;)) (goto_statement "goto LAB_0002edfb;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" else (compound_statement "{\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" { (if_statement "if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }" { (expression_statement "piVar8 = DAT_000c13c8 + -1;" (assignment_expression "piVar8 = DAT_000c13c8 + -1" identifier = (binary_expression "DAT_000c13c8 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *DAT_000c13c8;" (assignment_expression "iVar10 = *DAT_000c13c8" identifier = (pointer_expression "*DAT_000c13c8" * identifier)) ;) }) (else_clause "else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" else (compound_statement "{\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" { (if_statement "if (param_2 < 3) goto LAB_0002edb1;" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (goto_statement "goto LAB_0002edb1;" goto statement_identifier ;)) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "piVar8 = DAT_000c13c8;" (assignment_expression "piVar8 = DAT_000c13c8" identifier = identifier) ;) }))) (expression_statement "DAT_000c13c8 = piVar8 + -1;" (assignment_expression "DAT_000c13c8 = piVar8 + -1" identifier = (binary_expression "piVar8 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" if (parenthesized_expression "(*(int *)(iVar6 + 0x28) == 5)" ( (binary_expression "*(int *)(iVar6 + 0x28) == 5" (pointer_expression "*(int *)(iVar6 + 0x28)" * (cast_expression "(int *)(iVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x72b);" (call_expression "FUN_000660d0("awk.h",0x72b)" identifier (argument_list "("awk.h",0x72b)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar5 = FUN_00018020(iVar6);" (assignment_expression "uVar5 = FUN_00018020(iVar6)" identifier = (call_expression "FUN_00018020(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);" (assignment_expression "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier = (call_expression "dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier (argument_list "(0,"attempt to use array `%s\' in a scalar context",5)" ( number_literal , (string_literal ""attempt to use array `%s\' in a scalar context"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar9,uVar5);" (call_expression "FUN_00066470(uVar9,uVar5)" identifier (argument_list "(uVar9,uVar5)" ( identifier , identifier ))) ;) })) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x2c)" * (cast_expression "(uint *)(iVar6 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" if (parenthesized_expression "(((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))" ( (binary_expression "((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" (parenthesized_expression "((uVar7 & 4) == 0)" ( (binary_expression "(uVar7 & 4) == 0" (parenthesized_expression "(uVar7 & 4)" ( (binary_expression "uVar7 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" ( (parenthesized_expression "(iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))" ( (binary_expression "iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)" (binary_expression "iVar3 != *(int *)(iVar6 + 0x14)" identifier != (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) && (parenthesized_expression "(*(int *)(iVar6 + 0x14) != -1)" ( (binary_expression "*(int *)(iVar6 + 0x14) != -1" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" { (expression_statement "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" identifier = (call_expression "(*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000bf944)" ( (pointer_expression "*(code *)PTR_FUN_000bf944" * (cast_expression "(code *)PTR_FUN_000bf944" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,iVar3,iVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x2c)" * (cast_expression "(uint *)(iVar6 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) ))))) ;) })) (if_statement "if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" if (parenthesized_expression "((uVar7 & 0x40000) == 0)" ( (binary_expression "(uVar7 & 0x40000) == 0" (parenthesized_expression "(uVar7 & 0x40000)" ( (binary_expression "uVar7 & 0x40000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,iVar6)" identifier (argument_list "(2,iVar6)" ( number_literal , identifier ))))) ;) (goto_statement "goto LAB_0002ede6;" goto statement_identifier ;) })) (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x20);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x20)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + 0x20)" * (cast_expression "(undefined4 **)(iVar6 + 0x20)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;" if (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" ( (binary_expression "DAT_000c4984 <= DAT_000c13c8" identifier <= identifier) )) (goto_statement "goto LAB_0002eec6;" goto statement_identifier ;)) }))) (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" identifier = (binary_expression "DAT_000c13c8 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" identifier = identifier) ;) (labeled_statement "LAB_0002edfb:\n  *piVar8 = (int)puVar4;" statement_identifier : (expression_statement "*piVar8 = (int)puVar4;" (assignment_expression "*piVar8 = (int)puVar4" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (if_statement "if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" { (if_statement "if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }" if (parenthesized_expression "(DAT_000c13c8 < DAT_000c4984)" ( (binary_expression "DAT_000c13c8 < DAT_000c4984" identifier < identifier) )) (compound_statement "{\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }" { (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" identifier = (binary_expression "DAT_000c13c8 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" identifier = identifier) ;) }) (else_clause "else {\n      piVar8 = (int *)FUN_000493c0();\n    }" else (compound_statement "{\n      piVar8 = (int *)FUN_000493c0();\n    }" { (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" identifier = (cast_expression "(int *)FUN_000493c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000493c0()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "*piVar8 = iVar10;" (assignment_expression "*piVar8 = iVar10" (pointer_expression "*piVar8" * identifier) = identifier) ;) })) (if_statement "if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }" if (parenthesized_expression "(*param_1 == 's')" ( (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n    uVar5 = FUN_00056f50(param_2);\n  }" { (expression_statement "uVar5 = FUN_00056f50(param_2);" (assignment_expression "uVar5 = FUN_00056f50(param_2)" identifier = (call_expression "FUN_00056f50(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n    uVar5 = FUN_00057690(param_2);\n  }" else (compound_statement "{\n    uVar5 = FUN_00057690(param_2);\n  }" { (expression_statement "uVar5 = FUN_00057690(param_2);" (assignment_expression "uVar5 = FUN_00057690(param_2)" identifier = (call_expression "FUN_00057690(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }))) (if_statement "if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" { (expression_statement "FUN_0006e2e0(puVar4[1]);" (call_expression "FUN_0006e2e0(puVar4[1])" identifier (argument_list "(puVar4[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) ))) ;) (if_statement "if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }" if (parenthesized_expression "(puVar4[2] != 0)" ( (binary_expression "puVar4[2] != 0" (subscript_expression "puVar4[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0006e2e0(puVar4[2]);\n    }" { (expression_statement "FUN_0006e2e0(puVar4[2]);" (call_expression "FUN_0006e2e0(puVar4[2])" identifier (argument_list "(puVar4[2])" ( (subscript_expression "puVar4[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*puVar4 = DAT_000bf900;" (assignment_expression "*puVar4 = DAT_000bf900" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "DAT_000bf900 = puVar4;" (assignment_expression "DAT_000bf900 = puVar4" identifier = identifier) ;) (return_statement "return uVar5;" return identifier ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nNODE * call_split_func(char *name,int nargs)\n\n{\n  ulong *puVar1;\n  Regexp *rp;\n  size_t sVar2;\n  bool bVar3;\n  int iVar4;\n  NODE *pNVar5;\n  uint uVar6;\n  STACK_ITEM *pSVar7;\n  char *pcVar8;\n  char *pcVar9;\n  char *mesg;\n  NODE *pNVar10;\n  \n  iVar4 = CONVFMTidx;\n  pcVar8 = CONVFMT;\n  if (nargs < 2) {\n    set_loc("builtin.c",0xd29);\n    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    r_fatal(pcVar8,name);\nLAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }\n    nargs = nargs + 1;\n    pNVar10 = (NODE *)0x0;\nLAB_0002ede6:\n    bVar3 = true;\n    if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }\n  pSVar7 = stack_ptr + 1;\n  stack_ptr = pSVar7;\nLAB_0002edfb:\n  pSVar7->rptr = pNVar5;\n  if (pNVar10 != (NODE *)0x0) {\n    if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }\n    pSVar7->rptr = pNVar10;\n  }\n  if (*name == 's') {\n    pNVar10 = do_split(nargs);\n  }\n  else {\n    pNVar10 = do_patsplit(nargs);\n  }\n  if (bVar3) {\n    refree(*(Regexp **)((int)&pNVar5->sub + 4));\n    rp = (Regexp *)(pNVar5->sub).val.sp;\n    if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }\n    (pNVar5->sub).nodep.l = nextfree;\n    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;\n    return pNVar10;\n  }\n  return pNVar10;\n}\n\n" comment (function_definition "NODE * call_split_func(char *name,int nargs)\n\n{\n  ulong *puVar1;\n  Regexp *rp;\n  size_t sVar2;\n  bool bVar3;\n  int iVar4;\n  NODE *pNVar5;\n  uint uVar6;\n  STACK_ITEM *pSVar7;\n  char *pcVar8;\n  char *pcVar9;\n  char *mesg;\n  NODE *pNVar10;\n  \n  iVar4 = CONVFMTidx;\n  pcVar8 = CONVFMT;\n  if (nargs < 2) {\n    set_loc("builtin.c",0xd29);\n    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    r_fatal(pcVar8,name);\nLAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }\n    nargs = nargs + 1;\n    pNVar10 = (NODE *)0x0;\nLAB_0002ede6:\n    bVar3 = true;\n    if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }\n  pSVar7 = stack_ptr + 1;\n  stack_ptr = pSVar7;\nLAB_0002edfb:\n  pSVar7->rptr = pNVar5;\n  if (pNVar10 != (NODE *)0x0) {\n    if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }\n    pSVar7->rptr = pNVar10;\n  }\n  if (*name == 's') {\n    pNVar10 = do_split(nargs);\n  }\n  else {\n    pNVar10 = do_patsplit(nargs);\n  }\n  if (bVar3) {\n    refree(*(Regexp **)((int)&pNVar5->sub + 4));\n    rp = (Regexp *)(pNVar5->sub).val.sp;\n    if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }\n    (pNVar5->sub).nodep.l = nextfree;\n    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;\n    return pNVar10;\n  }\n  return pNVar10;\n}" type_identifier (pointer_declarator "* call_split_func(char *name,int nargs)" * (function_declarator "call_split_func(char *name,int nargs)" identifier (parameter_list "(char *name,int nargs)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int nargs" primitive_type identifier) )))) (compound_statement "{\n  ulong *puVar1;\n  Regexp *rp;\n  size_t sVar2;\n  bool bVar3;\n  int iVar4;\n  NODE *pNVar5;\n  uint uVar6;\n  STACK_ITEM *pSVar7;\n  char *pcVar8;\n  char *pcVar9;\n  char *mesg;\n  NODE *pNVar10;\n  \n  iVar4 = CONVFMTidx;\n  pcVar8 = CONVFMT;\n  if (nargs < 2) {\n    set_loc("builtin.c",0xd29);\n    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    r_fatal(pcVar8,name);\nLAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }\n    nargs = nargs + 1;\n    pNVar10 = (NODE *)0x0;\nLAB_0002ede6:\n    bVar3 = true;\n    if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }\n  pSVar7 = stack_ptr + 1;\n  stack_ptr = pSVar7;\nLAB_0002edfb:\n  pSVar7->rptr = pNVar5;\n  if (pNVar10 != (NODE *)0x0) {\n    if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }\n    pSVar7->rptr = pNVar10;\n  }\n  if (*name == 's') {\n    pNVar10 = do_split(nargs);\n  }\n  else {\n    pNVar10 = do_patsplit(nargs);\n  }\n  if (bVar3) {\n    refree(*(Regexp **)((int)&pNVar5->sub + 4));\n    rp = (Regexp *)(pNVar5->sub).val.sp;\n    if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }\n    (pNVar5->sub).nodep.l = nextfree;\n    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;\n    return pNVar10;\n  }\n  return pNVar10;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Regexp *rp;" type_identifier (pointer_declarator "*rp" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "NODE *pNVar5;" type_identifier (pointer_declarator "*pNVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "STACK_ITEM *pSVar7;" type_identifier (pointer_declarator "*pSVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *mesg;" primitive_type (pointer_declarator "*mesg" * identifier) ;) (declaration "NODE *pNVar10;" type_identifier (pointer_declarator "*pNVar10" * identifier) ;) (expression_statement "iVar4 = CONVFMTidx;" (assignment_expression "iVar4 = CONVFMTidx" identifier = identifier) ;) (expression_statement "pcVar8 = CONVFMT;" (assignment_expression "pcVar8 = CONVFMT" identifier = identifier) ;) (if_statement "if (nargs < 2) {\n    set_loc("builtin.c",0xd29);\n    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    r_fatal(pcVar8,name);\nLAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }\n    nargs = nargs + 1;\n    pNVar10 = (NODE *)0x0;\nLAB_0002ede6:\n    bVar3 = true;\n    if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }" if (parenthesized_expression "(nargs < 2)" ( (binary_expression "nargs < 2" identifier < number_literal) )) (compound_statement "{\n    set_loc("builtin.c",0xd29);\n    pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    r_fatal(pcVar8,name);\nLAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }\n    nargs = nargs + 1;\n    pNVar10 = (NODE *)0x0;\nLAB_0002ede6:\n    bVar3 = true;\n    if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }\n  }" { (expression_statement "set_loc("builtin.c",0xd29);" (call_expression "set_loc("builtin.c",0xd29)" identifier (argument_list "("builtin.c",0xd29)" ( (string_literal ""builtin.c"" " string_content ") , number_literal ))) ;) (expression_statement "pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5);" (assignment_expression "pcVar8 = (char *)dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier = (cast_expression "(char *)dcgettext(0,"indirect call to %s requires at least two arguments",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier (argument_list "(0,"indirect call to %s requires at least two arguments",5)" ( number_literal , (string_literal ""indirect call to %s requires at least two arguments"" " string_content ") , number_literal ))))) ;) (expression_statement "r_fatal(pcVar8,name);" (call_expression "r_fatal(pcVar8,name)" identifier (argument_list "(pcVar8,name)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002edb1:\n    if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }" statement_identifier : (if_statement "if (*name == 's') {\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }\n    else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }" if (parenthesized_expression "(*name == 's')" ( (binary_expression "*name == 's'" (pointer_expression "*name" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n      pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);\n      puVar1 = &(pNVar5->sub).nodep.reflags;\n      *puVar1 = *puVar1 | 2;\n    }" { (expression_statement "pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr);" (assignment_expression "pNVar5 = make_regnode(2,(FS_node->sub).nodep.l.lptr)" identifier = (call_expression "make_regnode(2,(FS_node->sub).nodep.l.lptr)" identifier (argument_list "(2,(FS_node->sub).nodep.l.lptr)" ( number_literal , (field_expression "(FS_node->sub).nodep.l.lptr" (field_expression "(FS_node->sub).nodep.l" (field_expression "(FS_node->sub).nodep" (parenthesized_expression "(FS_node->sub)" ( (field_expression "FS_node->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) )))) ;) (expression_statement "puVar1 = &(pNVar5->sub).nodep.reflags;" (assignment_expression "puVar1 = &(pNVar5->sub).nodep.reflags" identifier = (pointer_expression "&(pNVar5->sub).nodep.reflags" & (field_expression "(pNVar5->sub).nodep.reflags" (field_expression "(pNVar5->sub).nodep" (parenthesized_expression "(pNVar5->sub)" ( (field_expression "pNVar5->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 2;" (assignment_expression "*puVar1 = *puVar1 | 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 2" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) }) (else_clause "else {\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }" else (compound_statement "{\n      pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);\n    }" { (expression_statement "pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr);" (assignment_expression "pNVar5 = make_regnode(2,(FPAT_node->sub).nodep.l.lptr)" identifier = (call_expression "make_regnode(2,(FPAT_node->sub).nodep.l.lptr)" identifier (argument_list "(2,(FPAT_node->sub).nodep.l.lptr)" ( number_literal , (field_expression "(FPAT_node->sub).nodep.l.lptr" (field_expression "(FPAT_node->sub).nodep.l" (field_expression "(FPAT_node->sub).nodep" (parenthesized_expression "(FPAT_node->sub)" ( (field_expression "FPAT_node->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) )))) ;) })))) (expression_statement "nargs = nargs + 1;" (assignment_expression "nargs = nargs + 1" identifier = (binary_expression "nargs + 1" identifier + number_literal)) ;) (expression_statement "pNVar10 = (NODE *)0x0;" (assignment_expression "pNVar10 = (NODE *)0x0" identifier = (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0002ede6:\n    bVar3 = true;" statement_identifier : (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;)) (if_statement "if (stack_top <= stack_ptr) {\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }" if (parenthesized_expression "(stack_top <= stack_ptr)" ( (binary_expression "stack_top <= stack_ptr" identifier <= identifier) )) (compound_statement "{\nLAB_0002eec6:\n      pSVar7 = grow_stack();\n      goto LAB_0002edfb;\n    }" { (labeled_statement "LAB_0002eec6:\n      pSVar7 = grow_stack();" statement_identifier : (expression_statement "pSVar7 = grow_stack();" (assignment_expression "pSVar7 = grow_stack()" identifier = (call_expression "grow_stack()" identifier (argument_list "()" ( )))) ;)) (goto_statement "goto LAB_0002edfb;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }" else (compound_statement "{\n    if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }\n    stack_ptr = pSVar7 + -1;\n    pNVar5 = pSVar7->rptr;\n    if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }\n    uVar6 = pNVar5->flags;\n    if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }\n    if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }\n    pNVar5 = (pNVar5->sub).val.typre;\n    bVar3 = false;\n    if (stack_top <= stack_ptr) goto LAB_0002eec6;\n  }" { (if_statement "if (nargs == 4) {\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }\n    else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }" if (parenthesized_expression "(nargs == 4)" ( (binary_expression "nargs == 4" identifier == number_literal) )) (compound_statement "{\n      pSVar7 = stack_ptr + -1;\n      pNVar10 = stack_ptr->rptr;\n    }" { (expression_statement "pSVar7 = stack_ptr + -1;" (assignment_expression "pSVar7 = stack_ptr + -1" identifier = (binary_expression "stack_ptr + -1" identifier + number_literal)) ;) (expression_statement "pNVar10 = stack_ptr->rptr;" (assignment_expression "pNVar10 = stack_ptr->rptr" identifier = (field_expression "stack_ptr->rptr" identifier -> field_identifier)) ;) }) (else_clause "else {\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }" else (compound_statement "{\n      if (nargs < 3) goto LAB_0002edb1;\n      pNVar10 = (NODE *)0x0;\n      pSVar7 = stack_ptr;\n    }" { (if_statement "if (nargs < 3) goto LAB_0002edb1;" if (parenthesized_expression "(nargs < 3)" ( (binary_expression "nargs < 3" identifier < number_literal) )) (goto_statement "goto LAB_0002edb1;" goto statement_identifier ;)) (expression_statement "pNVar10 = (NODE *)0x0;" (assignment_expression "pNVar10 = (NODE *)0x0" identifier = (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSVar7 = stack_ptr;" (assignment_expression "pSVar7 = stack_ptr" identifier = identifier) ;) }))) (expression_statement "stack_ptr = pSVar7 + -1;" (assignment_expression "stack_ptr = pSVar7 + -1" identifier = (binary_expression "pSVar7 + -1" identifier + number_literal)) ;) (expression_statement "pNVar5 = pSVar7->rptr;" (assignment_expression "pNVar5 = pSVar7->rptr" identifier = (field_expression "pSVar7->rptr" identifier -> field_identifier)) ;) (if_statement "if (pNVar5->type == Node_var_array) {\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }" if (parenthesized_expression "(pNVar5->type == Node_var_array)" ( (binary_expression "pNVar5->type == Node_var_array" (field_expression "pNVar5->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      set_loc("awk.h",0x72b);\n      pcVar9 = array_vname(pNVar5);\n      mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      r_fatal(mesg,pcVar9);\n    }" { (expression_statement "set_loc("awk.h",0x72b);" (call_expression "set_loc("awk.h",0x72b)" identifier (argument_list "("awk.h",0x72b)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "pcVar9 = array_vname(pNVar5);" (assignment_expression "pcVar9 = array_vname(pNVar5)" identifier = (call_expression "array_vname(pNVar5)" identifier (argument_list "(pNVar5)" ( identifier )))) ;) (expression_statement "mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5);" (assignment_expression "mesg = (char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier = (cast_expression "(char *)dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier (argument_list "(0,"attempt to use array `%s\' in a scalar context",5)" ( number_literal , (string_literal ""attempt to use array `%s\' in a scalar context"" " string_content escape_sequence string_content ") , number_literal ))))) ;) (expression_statement "r_fatal(mesg,pcVar9);" (call_expression "r_fatal(mesg,pcVar9)" identifier (argument_list "(mesg,pcVar9)" ( identifier , identifier ))) ;) })) (expression_statement "uVar6 = pNVar5->flags;" (assignment_expression "uVar6 = pNVar5->flags" identifier = (field_expression "pNVar5->flags" identifier -> field_identifier)) ;) (if_statement "if (((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))) {\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }" if (parenthesized_expression "(((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff))))" ( (binary_expression "((uVar6 & 4) == 0) ||\n       ((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))" (parenthesized_expression "((uVar6 & 4) == 0)" ( (binary_expression "(uVar6 & 4) == 0" (parenthesized_expression "(uVar6 & 4)" ( (binary_expression "uVar6 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)))" ( (parenthesized_expression "(sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff))" ( (comma_expression "sVar2 = (pNVar5->sub).nodep.reserved, iVar4 != sVar2 && (sVar2 != 0xffffffff)" (assignment_expression "sVar2 = (pNVar5->sub).nodep.reserved" identifier = (field_expression "(pNVar5->sub).nodep.reserved" (field_expression "(pNVar5->sub).nodep" (parenthesized_expression "(pNVar5->sub)" ( (field_expression "pNVar5->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , (binary_expression "iVar4 != sVar2 && (sVar2 != 0xffffffff)" (binary_expression "iVar4 != sVar2" identifier != identifier) && (parenthesized_expression "(sVar2 != 0xffffffff)" ( (binary_expression "sVar2 != 0xffffffff" identifier != number_literal) )))) )) ))) )) (compound_statement "{\n      pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);\n      uVar6 = pNVar5->flags;\n    }" { (expression_statement "pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5);" (assignment_expression "pNVar5 = (*format_val)(pcVar8,iVar4,pNVar5)" identifier = (call_expression "(*format_val)(pcVar8,iVar4,pNVar5)" (parenthesized_expression "(*format_val)" ( (pointer_expression "*format_val" * identifier) )) (argument_list "(pcVar8,iVar4,pNVar5)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar6 = pNVar5->flags;" (assignment_expression "uVar6 = pNVar5->flags" identifier = (field_expression "pNVar5->flags" identifier -> field_identifier)) ;) })) (if_statement "if ((uVar6 & 0x40000) == 0) {\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }" if (parenthesized_expression "((uVar6 & 0x40000) == 0)" ( (binary_expression "(uVar6 & 0x40000) == 0" (parenthesized_expression "(uVar6 & 0x40000)" ( (binary_expression "uVar6 & 0x40000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      pNVar5 = make_regnode(2,pNVar5);\n      goto LAB_0002ede6;\n    }" { (expression_statement "pNVar5 = make_regnode(2,pNVar5);" (assignment_expression "pNVar5 = make_regnode(2,pNVar5)" identifier = (call_expression "make_regnode(2,pNVar5)" identifier (argument_list "(2,pNVar5)" ( number_literal , identifier )))) ;) (goto_statement "goto LAB_0002ede6;" goto statement_identifier ;) })) (expression_statement "pNVar5 = (pNVar5->sub).val.typre;" (assignment_expression "pNVar5 = (pNVar5->sub).val.typre" identifier = (field_expression "(pNVar5->sub).val.typre" (field_expression "(pNVar5->sub).val" (parenthesized_expression "(pNVar5->sub)" ( (field_expression "pNVar5->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if (stack_top <= stack_ptr) goto LAB_0002eec6;" if (parenthesized_expression "(stack_top <= stack_ptr)" ( (binary_expression "stack_top <= stack_ptr" identifier <= identifier) )) (goto_statement "goto LAB_0002eec6;" goto statement_identifier ;)) }))) (expression_statement "pSVar7 = stack_ptr + 1;" (assignment_expression "pSVar7 = stack_ptr + 1" identifier = (binary_expression "stack_ptr + 1" identifier + number_literal)) ;) (expression_statement "stack_ptr = pSVar7;" (assignment_expression "stack_ptr = pSVar7" identifier = identifier) ;) (labeled_statement "LAB_0002edfb:\n  pSVar7->rptr = pNVar5;" statement_identifier : (expression_statement "pSVar7->rptr = pNVar5;" (assignment_expression "pSVar7->rptr = pNVar5" (field_expression "pSVar7->rptr" identifier -> field_identifier) = identifier) ;)) (if_statement "if (pNVar10 != (NODE *)0x0) {\n    if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }\n    pSVar7->rptr = pNVar10;\n  }" if (parenthesized_expression "(pNVar10 != (NODE *)0x0)" ( (binary_expression "pNVar10 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }\n    pSVar7->rptr = pNVar10;\n  }" { (if_statement "if (stack_ptr < stack_top) {\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }\n    else {\n      pSVar7 = grow_stack();\n    }" if (parenthesized_expression "(stack_ptr < stack_top)" ( (binary_expression "stack_ptr < stack_top" identifier < identifier) )) (compound_statement "{\n      pSVar7 = stack_ptr + 1;\n      stack_ptr = pSVar7;\n    }" { (expression_statement "pSVar7 = stack_ptr + 1;" (assignment_expression "pSVar7 = stack_ptr + 1" identifier = (binary_expression "stack_ptr + 1" identifier + number_literal)) ;) (expression_statement "stack_ptr = pSVar7;" (assignment_expression "stack_ptr = pSVar7" identifier = identifier) ;) }) (else_clause "else {\n      pSVar7 = grow_stack();\n    }" else (compound_statement "{\n      pSVar7 = grow_stack();\n    }" { (expression_statement "pSVar7 = grow_stack();" (assignment_expression "pSVar7 = grow_stack()" identifier = (call_expression "grow_stack()" identifier (argument_list "()" ( )))) ;) }))) (expression_statement "pSVar7->rptr = pNVar10;" (assignment_expression "pSVar7->rptr = pNVar10" (field_expression "pSVar7->rptr" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (*name == 's') {\n    pNVar10 = do_split(nargs);\n  }\n  else {\n    pNVar10 = do_patsplit(nargs);\n  }" if (parenthesized_expression "(*name == 's')" ( (binary_expression "*name == 's'" (pointer_expression "*name" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n    pNVar10 = do_split(nargs);\n  }" { (expression_statement "pNVar10 = do_split(nargs);" (assignment_expression "pNVar10 = do_split(nargs)" identifier = (call_expression "do_split(nargs)" identifier (argument_list "(nargs)" ( identifier )))) ;) }) (else_clause "else {\n    pNVar10 = do_patsplit(nargs);\n  }" else (compound_statement "{\n    pNVar10 = do_patsplit(nargs);\n  }" { (expression_statement "pNVar10 = do_patsplit(nargs);" (assignment_expression "pNVar10 = do_patsplit(nargs)" identifier = (call_expression "do_patsplit(nargs)" identifier (argument_list "(nargs)" ( identifier )))) ;) }))) (if_statement "if (bVar3) {\n    refree(*(Regexp **)((int)&pNVar5->sub + 4));\n    rp = (Regexp *)(pNVar5->sub).val.sp;\n    if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }\n    (pNVar5->sub).nodep.l = nextfree;\n    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;\n    return pNVar10;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    refree(*(Regexp **)((int)&pNVar5->sub + 4));\n    rp = (Regexp *)(pNVar5->sub).val.sp;\n    if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }\n    (pNVar5->sub).nodep.l = nextfree;\n    nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;\n    return pNVar10;\n  }" { (expression_statement "refree(*(Regexp **)((int)&pNVar5->sub + 4));" (call_expression "refree(*(Regexp **)((int)&pNVar5->sub + 4))" identifier (argument_list "(*(Regexp **)((int)&pNVar5->sub + 4))" ( (pointer_expression "*(Regexp **)((int)&pNVar5->sub + 4)" * (cast_expression "(Regexp **)((int)&pNVar5->sub + 4)" ( (type_descriptor "Regexp **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&pNVar5->sub + 4)" ( (binary_expression "(int)&pNVar5->sub + 4" (cast_expression "(int)&pNVar5->sub" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + number_literal) )))) ))) ;) (expression_statement "rp = (Regexp *)(pNVar5->sub).val.sp;" (assignment_expression "rp = (Regexp *)(pNVar5->sub).val.sp" identifier = (cast_expression "(Regexp *)(pNVar5->sub).val.sp" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pNVar5->sub).val.sp" (field_expression "(pNVar5->sub).val" (parenthesized_expression "(pNVar5->sub)" ( (field_expression "pNVar5->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (if_statement "if (rp != (Regexp *)0x0) {\n      refree(rp);\n    }" if (parenthesized_expression "(rp != (Regexp *)0x0)" ( (binary_expression "rp != (Regexp *)0x0" identifier != (cast_expression "(Regexp *)0x0" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      refree(rp);\n    }" { (expression_statement "refree(rp);" (call_expression "refree(rp)" identifier (argument_list "(rp)" ( identifier ))) ;) })) (expression_statement "(pNVar5->sub).nodep.l = nextfree;" (assignment_expression "(pNVar5->sub).nodep.l = nextfree" (field_expression "(pNVar5->sub).nodep.l" (field_expression "(pNVar5->sub).nodep" (parenthesized_expression "(pNVar5->sub)" ( (field_expression "pNVar5->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5;" (assignment_expression "nextfree = (anon_union_4_4_7583dc62_for_l)pNVar5" identifier = (cast_expression "(anon_union_4_4_7583dc62_for_l)pNVar5" ( (type_descriptor "anon_union_4_4_7583dc62_for_l" type_identifier) ) identifier)) ;) (return_statement "return pNVar10;" return identifier ;) })) (return_statement "return pNVar10;" return identifier ;) })))
(translation_unit "undefined4 FUN_0002ed80(char *param_1,int param_2)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined4 FUN_0002ed80(char *param_1,int param_2)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_0002ed80(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "iVar3 = DAT_000c4994;" (assignment_expression "iVar3 = DAT_000c4994" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_000bf8f0;" (assignment_expression "puVar2 = PTR_DAT_000bf8f0" identifier = identifier) ;) (if_statement "if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }" { (expression_statement "FUN_000660d0("builtin.c",0xd29);" (call_expression "FUN_000660d0("builtin.c",0xd29)" identifier (argument_list "("builtin.c",0xd29)" ( (string_literal ""builtin.c"" " string_content ") , number_literal ))) ;) (expression_statement "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);" (assignment_expression "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier = (call_expression "dcgettext(0,"indirect call to %s requires at least two arguments",5)" identifier (argument_list "(0,"indirect call to %s requires at least two arguments",5)" ( number_literal , (string_literal ""indirect call to %s requires at least two arguments"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar5,param_1);" (call_expression "FUN_00066470(uVar5,param_1)" identifier (argument_list "(uVar5,param_1)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" statement_identifier : (if_statement "if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" if (parenthesized_expression "(*param_1 == 's')" ( (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,*DAT_000c4a10)" identifier (argument_list "(2,*DAT_000c4a10)" ( number_literal , (pointer_expression "*DAT_000c4a10" * identifier) ))))) ;) (expression_statement "puVar4[8] = puVar4[8] | 2;" (assignment_expression "puVar4[8] = puVar4[8] | 2" (subscript_expression "puVar4[8]" identifier [ number_literal ]) = (binary_expression "puVar4[8] | 2" (subscript_expression "puVar4[8]" identifier [ number_literal ]) | number_literal)) ;) }) (else_clause "else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" else (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,*DAT_000c4a30)" identifier (argument_list "(2,*DAT_000c4a30)" ( number_literal , (pointer_expression "*DAT_000c4a30" * identifier) ))))) ;) })))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002ede6:\n    bVar1 = true;" statement_identifier : (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;)) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" if (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" ( (binary_expression "DAT_000c4984 <= DAT_000c13c8" identifier <= identifier) )) (compound_statement "{\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" { (labeled_statement "LAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();" statement_identifier : (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" identifier = (cast_expression "(int *)FUN_000493c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000493c0()" identifier (argument_list "()" ( ))))) ;)) (goto_statement "goto LAB_0002edfb;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" else (compound_statement "{\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" { (if_statement "if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }" { (expression_statement "piVar8 = DAT_000c13c8 + -1;" (assignment_expression "piVar8 = DAT_000c13c8 + -1" identifier = (binary_expression "DAT_000c13c8 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *DAT_000c13c8;" (assignment_expression "iVar10 = *DAT_000c13c8" identifier = (pointer_expression "*DAT_000c13c8" * identifier)) ;) }) (else_clause "else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" else (compound_statement "{\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" { (if_statement "if (param_2 < 3) goto LAB_0002edb1;" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (goto_statement "goto LAB_0002edb1;" goto statement_identifier ;)) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "piVar8 = DAT_000c13c8;" (assignment_expression "piVar8 = DAT_000c13c8" identifier = identifier) ;) }))) (expression_statement "DAT_000c13c8 = piVar8 + -1;" (assignment_expression "DAT_000c13c8 = piVar8 + -1" identifier = (binary_expression "piVar8 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" if (parenthesized_expression "(*(int *)(iVar6 + 0x28) == 5)" ( (binary_expression "*(int *)(iVar6 + 0x28) == 5" (pointer_expression "*(int *)(iVar6 + 0x28)" * (cast_expression "(int *)(iVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" { (expression_statement "FUN_000660d0("awk.h",0x72b);" (call_expression "FUN_000660d0("awk.h",0x72b)" identifier (argument_list "("awk.h",0x72b)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar5 = FUN_00018020(iVar6);" (assignment_expression "uVar5 = FUN_00018020(iVar6)" identifier = (call_expression "FUN_00018020(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);" (assignment_expression "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier = (call_expression "dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" identifier (argument_list "(0,"attempt to use array `%s\' in a scalar context",5)" ( number_literal , (string_literal ""attempt to use array `%s\' in a scalar context"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "FUN_00066470(uVar9,uVar5);" (call_expression "FUN_00066470(uVar9,uVar5)" identifier (argument_list "(uVar9,uVar5)" ( identifier , identifier ))) ;) })) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x2c)" * (cast_expression "(uint *)(iVar6 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" if (parenthesized_expression "(((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))" ( (binary_expression "((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" (parenthesized_expression "((uVar7 & 4) == 0)" ( (binary_expression "(uVar7 & 4) == 0" (parenthesized_expression "(uVar7 & 4)" ( (binary_expression "uVar7 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" ( (parenthesized_expression "(iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))" ( (binary_expression "iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)" (binary_expression "iVar3 != *(int *)(iVar6 + 0x14)" identifier != (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) && (parenthesized_expression "(*(int *)(iVar6 + 0x14) != -1)" ( (binary_expression "*(int *)(iVar6 + 0x14) != -1" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" { (expression_statement "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" identifier = (call_expression "(*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000bf944)" ( (pointer_expression "*(code *)PTR_FUN_000bf944" * (cast_expression "(code *)PTR_FUN_000bf944" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,iVar3,iVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x2c)" * (cast_expression "(uint *)(iVar6 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) ))))) ;) })) (if_statement "if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" if (parenthesized_expression "((uVar7 & 0x40000) == 0)" ( (binary_expression "(uVar7 & 0x40000) == 0" (parenthesized_expression "(uVar7 & 0x40000)" ( (binary_expression "uVar7 & 0x40000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" { (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6)" identifier = (cast_expression "(undefined4 *)FUN_0001e300(2,iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001e300(2,iVar6)" identifier (argument_list "(2,iVar6)" ( number_literal , identifier ))))) ;) (goto_statement "goto LAB_0002ede6;" goto statement_identifier ;) })) (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x20);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x20)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + 0x20)" * (cast_expression "(undefined4 **)(iVar6 + 0x20)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;" if (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" ( (binary_expression "DAT_000c4984 <= DAT_000c13c8" identifier <= identifier) )) (goto_statement "goto LAB_0002eec6;" goto statement_identifier ;)) }))) (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" identifier = (binary_expression "DAT_000c13c8 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" identifier = identifier) ;) (labeled_statement "LAB_0002edfb:\n  *piVar8 = (int)puVar4;" statement_identifier : (expression_statement "*piVar8 = (int)puVar4;" (assignment_expression "*piVar8 = (int)puVar4" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (if_statement "if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" { (if_statement "if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }" if (parenthesized_expression "(DAT_000c13c8 < DAT_000c4984)" ( (binary_expression "DAT_000c13c8 < DAT_000c4984" identifier < identifier) )) (compound_statement "{\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }" { (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" identifier = (binary_expression "DAT_000c13c8 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" identifier = identifier) ;) }) (else_clause "else {\n      piVar8 = (int *)FUN_000493c0();\n    }" else (compound_statement "{\n      piVar8 = (int *)FUN_000493c0();\n    }" { (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" identifier = (cast_expression "(int *)FUN_000493c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000493c0()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "*piVar8 = iVar10;" (assignment_expression "*piVar8 = iVar10" (pointer_expression "*piVar8" * identifier) = identifier) ;) })) (if_statement "if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }" if (parenthesized_expression "(*param_1 == 's')" ( (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" * identifier) == (char_literal "'s'" ' character ')) )) (compound_statement "{\n    uVar5 = FUN_00056f50(param_2);\n  }" { (expression_statement "uVar5 = FUN_00056f50(param_2);" (assignment_expression "uVar5 = FUN_00056f50(param_2)" identifier = (call_expression "FUN_00056f50(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n    uVar5 = FUN_00057690(param_2);\n  }" else (compound_statement "{\n    uVar5 = FUN_00057690(param_2);\n  }" { (expression_statement "uVar5 = FUN_00057690(param_2);" (assignment_expression "uVar5 = FUN_00057690(param_2)" identifier = (call_expression "FUN_00057690(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }))) (if_statement "if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" { (expression_statement "FUN_0006e2e0(puVar4[1]);" (call_expression "FUN_0006e2e0(puVar4[1])" identifier (argument_list "(puVar4[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) ))) ;) (if_statement "if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }" if (parenthesized_expression "(puVar4[2] != 0)" ( (binary_expression "puVar4[2] != 0" (subscript_expression "puVar4[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0006e2e0(puVar4[2]);\n    }" { (expression_statement "FUN_0006e2e0(puVar4[2]);" (call_expression "FUN_0006e2e0(puVar4[2])" identifier (argument_list "(puVar4[2])" ( (subscript_expression "puVar4[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*puVar4 = DAT_000bf900;" (assignment_expression "*puVar4 = DAT_000bf900" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "DAT_000bf900 = puVar4;" (assignment_expression "DAT_000bf900 = puVar4" identifier = identifier) ;) (return_statement "return uVar5;" return identifier ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) ))))) ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0002ed80(char *param_1,int param_2)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002ed80(char *param_1,int param_2)" (identifier "FUN_0002ed80") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  int iVar10;\n  \n  iVar3 = DAT_000c4994;\n  puVar2 = PTR_DAT_000bf8f0;\n  if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }\n  piVar8 = DAT_000c13c8 + 1;\n  DAT_000c13c8 = piVar8;\nLAB_0002edfb:\n  *piVar8 = (int)puVar4;\n  if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }\n  if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }\n  if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }\n  return uVar5;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "iVar3 = DAT_000c4994;" (assignment_expression "iVar3 = DAT_000c4994" (identifier "iVar3") (= "=") (identifier "DAT_000c4994")) (; ";")) (expression_statement "puVar2 = PTR_DAT_000bf8f0;" (assignment_expression "puVar2 = PTR_DAT_000bf8f0" (identifier "puVar2") (= "=") (identifier "PTR_DAT_000bf8f0")) (; ";")) (if_statement "if (param_2 < 2) {\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }\n  else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" (if "if") (parenthesized_expression "(param_2 < 2)" (( "(") (binary_expression "param_2 < 2" (identifier "param_2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    FUN_000660d0("builtin.c",0xd29);\n    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);\n    FUN_00066470(uVar5,param_1);\nLAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }\n    param_2 = param_2 + 1;\n    iVar10 = 0;\nLAB_0002ede6:\n    bVar1 = true;\n    if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }\n  }" ({ "{") (expression_statement "FUN_000660d0("builtin.c",0xd29);" (call_expression "FUN_000660d0("builtin.c",0xd29)" (identifier "FUN_000660d0") (argument_list "("builtin.c",0xd29)" (( "(") (string_literal ""builtin.c"" (" """) (string_content "builtin.c") (" """)) (, ",") (number_literal "0xd29") () ")"))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);" (assignment_expression "uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"indirect call to %s requires at least two arguments",5)" (identifier "dcgettext") (argument_list "(0,"indirect call to %s requires at least two arguments",5)" (( "(") (number_literal "0") (, ",") (string_literal ""indirect call to %s requires at least two arguments"" (" """) (string_content "indirect call to %s requires at least two arguments") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00066470(uVar5,param_1);" (call_expression "FUN_00066470(uVar5,param_1)" (identifier "FUN_00066470") (argument_list "(uVar5,param_1)" (( "(") (identifier "uVar5") (, ",") (identifier "param_1") () ")"))) (; ";")) (labeled_statement "LAB_0002edb1:\n    if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" (statement_identifier "LAB_0002edb1") (: ":") (if_statement "if (*param_1 == 's') {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }\n    else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" (if "if") (parenthesized_expression "(*param_1 == 's')" (( "(") (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'s'" (' "'") (character "s") (' "'"))) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);\n      puVar4[8] = puVar4[8] | 2;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001e300(2,*DAT_000c4a10)" (identifier "FUN_0001e300") (argument_list "(2,*DAT_000c4a10)" (( "(") (number_literal "2") (, ",") (pointer_expression "*DAT_000c4a10" (* "*") (identifier "DAT_000c4a10")) () ")"))))) (; ";")) (expression_statement "puVar4[8] = puVar4[8] | 2;" (assignment_expression "puVar4[8] = puVar4[8] | 2" (subscript_expression "puVar4[8]" (identifier "puVar4") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "puVar4[8] | 2" (subscript_expression "puVar4[8]" (identifier "puVar4") ([ "[") (number_literal "8") (] "]")) (| "|") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" (else "else") (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_0001e300(2,*DAT_000c4a30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001e300(2,*DAT_000c4a30)" (identifier "FUN_0001e300") (argument_list "(2,*DAT_000c4a30)" (( "(") (number_literal "2") (, ",") (pointer_expression "*DAT_000c4a30" (* "*") (identifier "DAT_000c4a30")) () ")"))))) (; ";")) (} "}"))))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0002ede6:\n    bVar1 = true;" (statement_identifier "LAB_0002ede6") (: ":") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";"))) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) {\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" (if "if") (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" (( "(") (binary_expression "DAT_000c4984 <= DAT_000c13c8" (identifier "DAT_000c4984") (<= "<=") (identifier "DAT_000c13c8")) () ")")) (compound_statement "{\nLAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();\n      goto LAB_0002edfb;\n    }" ({ "{") (labeled_statement "LAB_0002eec6:\n      piVar8 = (int *)FUN_000493c0();" (statement_identifier "LAB_0002eec6") (: ":") (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" (identifier "piVar8") (= "=") (cast_expression "(int *)FUN_000493c0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000493c0()" (identifier "FUN_000493c0") (argument_list "()" (( "(") () ")"))))) (; ";"))) (goto_statement "goto LAB_0002edfb;" (goto "goto") (statement_identifier "LAB_0002edfb") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" (else "else") (compound_statement "{\n    if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }\n    DAT_000c13c8 = piVar8 + -1;\n    iVar6 = *piVar8;\n    if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }\n    uVar7 = *(uint *)(iVar6 + 0x2c);\n    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }\n    if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }\n    puVar4 = *(undefined4 **)(iVar6 + 0x20);\n    bVar1 = false;\n    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;\n  }" ({ "{") (if_statement "if (param_2 == 4) {\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }\n    else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" (if "if") (parenthesized_expression "(param_2 == 4)" (( "(") (binary_expression "param_2 == 4" (identifier "param_2") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      piVar8 = DAT_000c13c8 + -1;\n      iVar10 = *DAT_000c13c8;\n    }" ({ "{") (expression_statement "piVar8 = DAT_000c13c8 + -1;" (assignment_expression "piVar8 = DAT_000c13c8 + -1" (identifier "piVar8") (= "=") (binary_expression "DAT_000c13c8 + -1" (identifier "DAT_000c13c8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = *DAT_000c13c8;" (assignment_expression "iVar10 = *DAT_000c13c8" (identifier "iVar10") (= "=") (pointer_expression "*DAT_000c13c8" (* "*") (identifier "DAT_000c13c8"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" (else "else") (compound_statement "{\n      if (param_2 < 3) goto LAB_0002edb1;\n      iVar10 = 0;\n      piVar8 = DAT_000c13c8;\n    }" ({ "{") (if_statement "if (param_2 < 3) goto LAB_0002edb1;" (if "if") (parenthesized_expression "(param_2 < 3)" (( "(") (binary_expression "param_2 < 3" (identifier "param_2") (< "<") (number_literal "3")) () ")")) (goto_statement "goto LAB_0002edb1;" (goto "goto") (statement_identifier "LAB_0002edb1") (; ";"))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8 = DAT_000c13c8;" (assignment_expression "piVar8 = DAT_000c13c8" (identifier "piVar8") (= "=") (identifier "DAT_000c13c8")) (; ";")) (} "}")))) (expression_statement "DAT_000c13c8 = piVar8 + -1;" (assignment_expression "DAT_000c13c8 = piVar8 + -1" (identifier "DAT_000c13c8") (= "=") (binary_expression "piVar8 + -1" (identifier "piVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" (identifier "iVar6") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (if_statement "if (*(int *)(iVar6 + 0x28) == 5) {\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x28) == 5)" (( "(") (binary_expression "*(int *)(iVar6 + 0x28) == 5" (pointer_expression "*(int *)(iVar6 + 0x28)" (* "*") (cast_expression "(int *)(iVar6 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x28)" (( "(") (binary_expression "iVar6 + 0x28" (identifier "iVar6") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (number_literal "5")) () ")")) (compound_statement "{\n      FUN_000660d0("awk.h",0x72b);\n      uVar5 = FUN_00018020(iVar6);\n      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);\n      FUN_00066470(uVar9,uVar5);\n    }" ({ "{") (expression_statement "FUN_000660d0("awk.h",0x72b);" (call_expression "FUN_000660d0("awk.h",0x72b)" (identifier "FUN_000660d0") (argument_list "("awk.h",0x72b)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x72b") () ")"))) (; ";")) (expression_statement "uVar5 = FUN_00018020(iVar6);" (assignment_expression "uVar5 = FUN_00018020(iVar6)" (identifier "uVar5") (= "=") (call_expression "FUN_00018020(iVar6)" (identifier "FUN_00018020") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);" (assignment_expression "uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" (identifier "uVar9") (= "=") (call_expression "dcgettext(0,"attempt to use array `%s\' in a scalar context",5)" (identifier "dcgettext") (argument_list "(0,"attempt to use array `%s\' in a scalar context",5)" (( "(") (number_literal "0") (, ",") (string_literal ""attempt to use array `%s\' in a scalar context"" (" """) (string_content "attempt to use array `%s") (escape_sequence "\'") (string_content " in a scalar context") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00066470(uVar9,uVar5);" (call_expression "FUN_00066470(uVar9,uVar5)" (identifier "FUN_00066470") (argument_list "(uVar9,uVar5)" (( "(") (identifier "uVar9") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar6 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x2c)" (( "(") (binary_expression "iVar6 + 0x2c" (identifier "iVar6") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))\n    {\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" (if "if") (parenthesized_expression "(((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))" (( "(") (binary_expression "((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" (parenthesized_expression "((uVar7 & 4) == 0)" (( "(") (binary_expression "(uVar7 & 4) == 0" (parenthesized_expression "(uVar7 & 4)" (( "(") (binary_expression "uVar7 & 4" (identifier "uVar7") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)))" (( "(") (parenthesized_expression "(iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))" (( "(") (binary_expression "iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1)" (binary_expression "iVar3 != *(int *)(iVar6 + 0x14)" (identifier "iVar3") (!= "!=") (pointer_expression "*(int *)(iVar6 + 0x14)" (* "*") (cast_expression "(int *)(iVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")"))))) (&& "&&") (parenthesized_expression "(*(int *)(iVar6 + 0x14) != -1)" (( "(") (binary_expression "*(int *)(iVar6 + 0x14) != -1" (pointer_expression "*(int *)(iVar6 + 0x14)" (* "*") (cast_expression "(int *)(iVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "-1")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);\n      uVar7 = *(uint *)(iVar6 + 0x2c);\n    }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000bf944)" (( "(") (pointer_expression "*(code *)PTR_FUN_000bf944" (* "*") (cast_expression "(code *)PTR_FUN_000bf944" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000bf944"))) () ")")) (argument_list "(puVar2,iVar3,iVar6)" (( "(") (identifier "puVar2") (, ",") (identifier "iVar3") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x2c);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x2c)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar6 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x2c)" (( "(") (binary_expression "iVar6 + 0x2c" (identifier "iVar6") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((uVar7 & 0x40000) == 0) {\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" (if "if") (parenthesized_expression "((uVar7 & 0x40000) == 0)" (( "(") (binary_expression "(uVar7 & 0x40000) == 0" (parenthesized_expression "(uVar7 & 0x40000)" (( "(") (binary_expression "uVar7 & 0x40000" (identifier "uVar7") (& "&") (number_literal "0x40000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);\n      goto LAB_0002ede6;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001e300(2,iVar6)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_0001e300(2,iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001e300(2,iVar6)" (identifier "FUN_0001e300") (argument_list "(2,iVar6)" (( "(") (number_literal "2") (, ",") (identifier "iVar6") () ")"))))) (; ";")) (goto_statement "goto LAB_0002ede6;" (goto "goto") (statement_identifier "LAB_0002ede6") (; ";")) (} "}"))) (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x20);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x20)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar6 + 0x20)" (* "*") (cast_expression "(undefined4 **)(iVar6 + 0x20)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x20)" (( "(") (binary_expression "iVar6 + 0x20" (identifier "iVar6") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (if_statement "if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;" (if "if") (parenthesized_expression "(DAT_000c4984 <= DAT_000c13c8)" (( "(") (binary_expression "DAT_000c4984 <= DAT_000c13c8" (identifier "DAT_000c4984") (<= "<=") (identifier "DAT_000c13c8")) () ")")) (goto_statement "goto LAB_0002eec6;" (goto "goto") (statement_identifier "LAB_0002eec6") (; ";"))) (} "}")))) (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" (identifier "piVar8") (= "=") (binary_expression "DAT_000c13c8 + 1" (identifier "DAT_000c13c8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" (identifier "DAT_000c13c8") (= "=") (identifier "piVar8")) (; ";")) (labeled_statement "LAB_0002edfb:\n  *piVar8 = (int)puVar4;" (statement_identifier "LAB_0002edfb") (: ":") (expression_statement "*piVar8 = (int)puVar4;" (assignment_expression "*piVar8 = (int)puVar4" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";"))) (if_statement "if (iVar10 != 0) {\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }\n    *piVar8 = iVar10;\n  }" ({ "{") (if_statement "if (DAT_000c13c8 < DAT_000c4984) {\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }\n    else {\n      piVar8 = (int *)FUN_000493c0();\n    }" (if "if") (parenthesized_expression "(DAT_000c13c8 < DAT_000c4984)" (( "(") (binary_expression "DAT_000c13c8 < DAT_000c4984" (identifier "DAT_000c13c8") (< "<") (identifier "DAT_000c4984")) () ")")) (compound_statement "{\n      piVar8 = DAT_000c13c8 + 1;\n      DAT_000c13c8 = piVar8;\n    }" ({ "{") (expression_statement "piVar8 = DAT_000c13c8 + 1;" (assignment_expression "piVar8 = DAT_000c13c8 + 1" (identifier "piVar8") (= "=") (binary_expression "DAT_000c13c8 + 1" (identifier "DAT_000c13c8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_000c13c8 = piVar8;" (assignment_expression "DAT_000c13c8 = piVar8" (identifier "DAT_000c13c8") (= "=") (identifier "piVar8")) (; ";")) (} "}")) (else_clause "else {\n      piVar8 = (int *)FUN_000493c0();\n    }" (else "else") (compound_statement "{\n      piVar8 = (int *)FUN_000493c0();\n    }" ({ "{") (expression_statement "piVar8 = (int *)FUN_000493c0();" (assignment_expression "piVar8 = (int *)FUN_000493c0()" (identifier "piVar8") (= "=") (cast_expression "(int *)FUN_000493c0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000493c0()" (identifier "FUN_000493c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")))) (expression_statement "*piVar8 = iVar10;" (assignment_expression "*piVar8 = iVar10" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (if_statement "if (*param_1 == 's') {\n    uVar5 = FUN_00056f50(param_2);\n  }\n  else {\n    uVar5 = FUN_00057690(param_2);\n  }" (if "if") (parenthesized_expression "(*param_1 == 's')" (( "(") (binary_expression "*param_1 == 's'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'s'" (' "'") (character "s") (' "'"))) () ")")) (compound_statement "{\n    uVar5 = FUN_00056f50(param_2);\n  }" ({ "{") (expression_statement "uVar5 = FUN_00056f50(param_2);" (assignment_expression "uVar5 = FUN_00056f50(param_2)" (identifier "uVar5") (= "=") (call_expression "FUN_00056f50(param_2)" (identifier "FUN_00056f50") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = FUN_00057690(param_2);\n  }" (else "else") (compound_statement "{\n    uVar5 = FUN_00057690(param_2);\n  }" ({ "{") (expression_statement "uVar5 = FUN_00057690(param_2);" (assignment_expression "uVar5 = FUN_00057690(param_2)" (identifier "uVar5") (= "=") (call_expression "FUN_00057690(param_2)" (identifier "FUN_00057690") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")))) (if_statement "if (bVar1) {\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    FUN_0006e2e0(puVar4[1]);\n    if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }\n    *puVar4 = DAT_000bf900;\n    DAT_000bf900 = puVar4;\n    return uVar5;\n  }" ({ "{") (expression_statement "FUN_0006e2e0(puVar4[1]);" (call_expression "FUN_0006e2e0(puVar4[1])" (identifier "FUN_0006e2e0") (argument_list "(puVar4[1])" (( "(") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (if_statement "if (puVar4[2] != 0) {\n      FUN_0006e2e0(puVar4[2]);\n    }" (if "if") (parenthesized_expression "(puVar4[2] != 0)" (( "(") (binary_expression "puVar4[2] != 0" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0006e2e0(puVar4[2]);\n    }" ({ "{") (expression_statement "FUN_0006e2e0(puVar4[2]);" (call_expression "FUN_0006e2e0(puVar4[2])" (identifier "FUN_0006e2e0") (argument_list "(puVar4[2])" (( "(") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar4 = DAT_000bf900;" (assignment_expression "*puVar4 = DAT_000bf900" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "DAT_000bf900")) (; ";")) (expression_statement "DAT_000bf900 = puVar4;" (assignment_expression "DAT_000bf900 = puVar4" (identifier "DAT_000bf900") (= "=") (identifier "puVar4")) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

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

type_1 * function_1(char *name,int var_1)

{
  type_2 *puVar1;
  type_3 *var_19;
  size_t var_14;
  bool bVar3;
  int var_13;
  type_1 *pNVar5;
  type_4 var_12;
  type_5 *var_9;
  char *pcVar8;
  char *pcVar9;
  char *mesg;
  type_1 *var_15;
  
  var_13 = CONVFMTidx;
  pcVar8 = CONVFMT;
  if (var_1 < 2) {
    var_2("builtin.c",0xd29);
    pcVar8 = (char *)var_3(0,"indirect call to %s requires at least two arguments",5);
    var_4(pcVar8,name);
LAB_0002edb1:
    if (*name == 's') {
      pNVar5 = var_5(2,(FS_node->sub).nodep.l.lptr);
      puVar1 = &(pNVar5->sub).nodep.reflags;
      *puVar1 = *puVar1 | 2;
    }
    else {
      pNVar5 = var_5(2,(FPAT_node->sub).nodep.l.lptr);
    }
    var_1 = var_1 + 1;
    var_15 = (type_1 *)0x0;
LAB_0002ede6:
    bVar3 = true;
    if (var_6 <= var_7) {
LAB_0002eec6:
      var_9 = var_8();
      goto LAB_0002edfb;
    }
  }
  else {
    if (var_1 == 4) {
      var_9 = var_7 + -1;
      var_15 = var_7->rptr;
    }
    else {
      if (var_1 < 3) goto LAB_0002edb1;
      var_15 = (type_1 *)0x0;
      var_9 = var_7;
    }
    var_7 = var_9 + -1;
    pNVar5 = var_9->rptr;
    if (pNVar5->type == var_10) {
      var_2("awk.h",0x72b);
      pcVar9 = var_11(pNVar5);
      mesg = (char *)var_3(0,"attempt to use array `%s\' in a scalar context",5);
      var_4(mesg,pcVar9);
    }
    var_12 = pNVar5->flags;
    if (((var_12 & 4) == 0) ||
       ((var_14 = (pNVar5->sub).nodep.reserved, var_13 != var_14 && (var_14 != 0xffffffff)))) {
      pNVar5 = (*format_val)(pcVar8,var_13,pNVar5);
      var_12 = pNVar5->flags;
    }
    if ((var_12 & 0x40000) == 0) {
      pNVar5 = var_5(2,pNVar5);
      goto LAB_0002ede6;
    }
    pNVar5 = (pNVar5->sub).val.typre;
    bVar3 = false;
    if (var_6 <= var_7) goto LAB_0002eec6;
  }
  var_9 = var_7 + 1;
  var_7 = var_9;
LAB_0002edfb:
  var_9->rptr = pNVar5;
  if (var_15 != (type_1 *)0x0) {
    if (var_7 < var_6) {
      var_9 = var_7 + 1;
      var_7 = var_9;
    }
    else {
      var_9 = var_8();
    }
    var_9->rptr = var_15;
  }
  if (*name == 's') {
    var_15 = var_16(var_1);
  }
  else {
    var_15 = var_17(var_1);
  }
  if (bVar3) {
    var_18(*(type_3 **)((int)&pNVar5->sub + 4));
    var_19 = (type_3 *)(pNVar5->sub).val.sp;
    if (var_19 != (type_3 *)0x0) {
      var_18(var_19);
    }
    (pNVar5->sub).nodep.l = nextfree;
    nextfree = (type_6)pNVar5;
    return var_15;
  }
  return var_15;
}


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

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

undefined4 MASKED(char *param_1,int param_2)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int *piVar8;
  undefined4 uVar9;
  int iVar10;
  
  iVar3 = DAT_000c4994;
  puVar2 = PTR_DAT_000bf8f0;
  if (param_2 < 2) {
    FUN_000660d0("builtin.c",0xd29);
    uVar5 = dcgettext(0,"indirect call to %s requires at least two arguments",5);
    FUN_00066470(uVar5,param_1);
LAB_0002edb1:
    if (*param_1 == 's') {
      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a10);
      puVar4[8] = puVar4[8] | 2;
    }
    else {
      puVar4 = (undefined4 *)FUN_0001e300(2,*DAT_000c4a30);
    }
    param_2 = param_2 + 1;
    iVar10 = 0;
LAB_0002ede6:
    bVar1 = true;
    if (DAT_000c4984 <= DAT_000c13c8) {
LAB_0002eec6:
      piVar8 = (int *)FUN_000493c0();
      goto LAB_0002edfb;
    }
  }
  else {
    if (param_2 == 4) {
      piVar8 = DAT_000c13c8 + -1;
      iVar10 = *DAT_000c13c8;
    }
    else {
      if (param_2 < 3) goto LAB_0002edb1;
      iVar10 = 0;
      piVar8 = DAT_000c13c8;
    }
    DAT_000c13c8 = piVar8 + -1;
    iVar6 = *piVar8;
    if (*(int *)(iVar6 + 0x28) == 5) {
      FUN_000660d0("awk.h",0x72b);
      uVar5 = FUN_00018020(iVar6);
      uVar9 = dcgettext(0,"attempt to use array `%s\' in a scalar context",5);
      FUN_00066470(uVar9,uVar5);
    }
    uVar7 = *(uint *)(iVar6 + 0x2c);
    if (((uVar7 & 4) == 0) || ((iVar3 != *(int *)(iVar6 + 0x14) && (*(int *)(iVar6 + 0x14) != -1))))
    {
      iVar6 = (*(code *)PTR_FUN_000bf944)(puVar2,iVar3,iVar6);
      uVar7 = *(uint *)(iVar6 + 0x2c);
    }
    if ((uVar7 & 0x40000) == 0) {
      puVar4 = (undefined4 *)FUN_0001e300(2,iVar6);
      goto LAB_0002ede6;
    }
    puVar4 = *(undefined4 **)(iVar6 + 0x20);
    bVar1 = false;
    if (DAT_000c4984 <= DAT_000c13c8) goto LAB_0002eec6;
  }
  piVar8 = DAT_000c13c8 + 1;
  DAT_000c13c8 = piVar8;
LAB_0002edfb:
  *piVar8 = (int)puVar4;
  if (iVar10 != 0) {
    if (DAT_000c13c8 < DAT_000c4984) {
      piVar8 = DAT_000c13c8 + 1;
      DAT_000c13c8 = piVar8;
    }
    else {
      piVar8 = (int *)FUN_000493c0();
    }
    *piVar8 = iVar10;
  }
  if (*param_1 == 's') {
    uVar5 = FUN_00056f50(param_2);
  }
  else {
    uVar5 = FUN_00057690(param_2);
  }
  if (bVar1) {
    FUN_0006e2e0(puVar4[1]);
    if (puVar4[2] != 0) {
      FUN_0006e2e0(puVar4[2]);
    }
    *puVar4 = DAT_000bf900;
    DAT_000bf900 = puVar4;
    return uVar5;
  }
  return uVar5;
}

