
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int buffer_and_nest(char *from,char *to,sb *ptr,_func_size_t_sb_ptr *get_line)

{
  uint uVar1;
  char cVar2;
  uint uVar3;
  char *pcVar4;
  char *pcVar5;
  byte bVar6;
  char *saved_input_line_pointer;
  size_t __n;
  uint uVar7;
  int iVar8;
  byte bVar9;
  byte *__s1;
  uint local_40;
  size_t local_38;
  size_t local_34;
  int local_24;
  
  __n = strlen(to);
  local_40 = ptr->len;
  local_38 = (*get_line)(ptr);
  if ((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)) {
    local_34 = 0;
    from = (char *)0x0;
  }
  else {
    local_34 = strlen(from);
  }
  if (local_38 == 0) {
    return 0;
  }
  local_24 = 1;
LAB_0002bd70:
  uVar3 = ptr->len;
  if (local_40 < uVar3) {
    pcVar4 = ptr->ptr;
    __s1 = (byte *)(pcVar4 + local_40);
    bVar9 = *__s1;
    uVar7 = local_40;
    while( true ) {
      if ((bVar9 != 0x20) && (bVar9 != 9)) {
        bVar6 = lex_type[bVar9];
        uVar1 = local_40;
        goto joined_r0x0002bdc4;
      }
      uVar7 = uVar7 + 1;
      if (uVar7 == uVar3) break;
      bVar9 = pcVar4[uVar7];
      __s1 = (byte *)(pcVar4 + uVar7);
    }
  }
  goto LAB_0002bf06;
joined_r0x0002bdc4:
  local_40 = uVar7;
  if ((bVar6 & 2) == 0) goto LAB_0002be21;
  uVar7 = local_40 + 1;
  if (uVar3 <= uVar7) {
LAB_0002be0b:
    if (uVar3 <= uVar1) goto LAB_0002bf06;
    __s1 = (byte *)(pcVar4 + uVar1);
    bVar9 = *__s1;
    local_40 = uVar1;
    goto LAB_0002be21;
  }
  bVar6 = pcVar4[local_40 + 1];
  bVar9 = lex_type[bVar6];
  while ((bVar9 & 1) != 0) {
    uVar7 = uVar7 + 1;
    if (uVar3 <= uVar7) goto LAB_0002be0b;
    bVar6 = pcVar4[uVar7];
    bVar9 = lex_type[bVar6];
  }
  if ((bVar9 & 4) != 0) {
    uVar7 = uVar7 + 1;
    if (uVar3 <= uVar7) goto LAB_0002be0b;
    bVar6 = pcVar4[uVar7];
  }
  if ((bVar6 == 9) || (bVar6 == 0x20)) {
    do {
      uVar7 = uVar7 + 1;
      if (uVar3 <= uVar7) goto LAB_0002be0b;
      bVar6 = pcVar4[uVar7];
    } while ((bVar6 == 0x20) || (bVar6 == 9));
  }
  if (bVar6 != 0x3a) goto LAB_0002be0b;
  uVar1 = uVar7 + 1;
  if (uVar3 <= uVar1) goto LAB_0002bf06;
  __s1 = (byte *)(pcVar4 + uVar1);
  bVar9 = *__s1;
  bVar6 = lex_type[bVar9];
  uVar7 = uVar1;
  goto joined_r0x0002bdc4;
LAB_0002be21:
  if ((bVar9 == 9) || (bVar9 == 0x20)) {
    do {
      local_40 = local_40 + 1;
      if (uVar3 <= local_40) goto LAB_0002bf06;
      bVar9 = pcVar4[local_40];
      __s1 = (byte *)(pcVar4 + local_40);
    } while ((bVar9 == 0x20) || (bVar9 == 9));
  }
  if (bVar9 == 0x2e) {
    local_40 = local_40 + 1;
    __s1 = (byte *)(pcVar4 + local_40);
  }
  else if (macro_mri == 0) goto LAB_0002bf06;
  if (from == (char *)0x0) {
    iVar8 = strncasecmp((char *)__s1,"IRPC",4);
    if (iVar8 == 0) {
LAB_0002c101:
      local_34 = 4;
    }
    else {
      iVar8 = strncasecmp((char *)__s1,"IRP",3);
      if (iVar8 != 0) {
        iVar8 = strncasecmp((char *)__s1,"IREPC",5);
        if (iVar8 == 0) {
          local_34 = 5;
          goto LAB_0002c049;
        }
        iVar8 = strncasecmp((char *)__s1,"IREP",4);
        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))
        goto LAB_0002c101;
        iVar8 = strncasecmp((char *)__s1,"REP",3);
        local_34 = 0;
        if (iVar8 != 0) goto LAB_0002be9f;
      }
      local_34 = 3;
    }
LAB_0002c049:
    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))
    {
      local_24 = local_24 + 1;
    }
  }
  else {
    iVar8 = strncasecmp((char *)__s1,from,local_34);
    if (iVar8 == 0) goto LAB_0002c049;
  }
LAB_0002be9f:
  iVar8 = strncasecmp((char *)__s1,to,__n);
  if ((iVar8 == 0) &&
     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&
      (local_24 = local_24 + -1, local_24 == 0)))) {
    ptr->len = uVar1;
    return 1;
  }
  iVar8 = strncasecmp((char *)__s1,"linefile",8);
  pcVar5 = input_line_pointer;
  if (iVar8 == 0) {
    cVar2 = pcVar4[uVar3];
    pcVar4[uVar3] = '\0';
    input_line_pointer = ptr->ptr + local_40 + 8;
    s_app_line(0);
    ptr->ptr[ptr->len] = cVar2;
    input_line_pointer = pcVar5;
    ptr->len = uVar1;
  }
LAB_0002bf06:
  sb_add_char(ptr,local_38);
  local_40 = ptr->len;
  local_38 = (*get_line)(ptr);
  if (local_38 == 0) {
    return 0;
  }
  goto LAB_0002bd70;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)

{
  uint uVar1;
  undefined1 uVar2;
  uint uVar3;
  undefined4 uVar4;
  byte bVar5;
  size_t __n;
  uint uVar6;
  int iVar7;
  int iVar8;
  byte bVar9;
  byte *__s1;
  uint local_40;
  int local_38;
  size_t local_34;
  int local_24;
  
  __n = strlen(param_2);
  local_40 = param_3[1];
  local_38 = (*param_4)(param_3);
  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {
    local_34 = 0;
    param_1 = (char *)0x0;
  }
  else {
    local_34 = strlen(param_1);
  }
  if (local_38 == 0) {
    return 0;
  }
  local_24 = 1;
LAB_0002bd70:
  uVar3 = param_3[1];
  if (local_40 < uVar3) {
    iVar8 = *param_3;
    __s1 = (byte *)(iVar8 + local_40);
    bVar9 = *__s1;
    uVar6 = local_40;
    while( true ) {
      if ((bVar9 != 0x20) && (bVar9 != 9)) {
        bVar5 = (&DAT_0007b3c0)[bVar9];
        uVar1 = local_40;
        goto joined_r0x0002bdc4;
      }
      uVar6 = uVar6 + 1;
      if (uVar6 == uVar3) break;
      bVar9 = *(byte *)(iVar8 + uVar6);
      __s1 = (byte *)(iVar8 + uVar6);
    }
  }
  goto LAB_0002bf06;
joined_r0x0002bdc4:
  local_40 = uVar6;
  if ((bVar5 & 2) == 0) goto LAB_0002be21;
  uVar6 = local_40 + 1;
  if (uVar3 <= uVar6) {
LAB_0002be0b:
    if (uVar3 <= uVar1) goto LAB_0002bf06;
    __s1 = (byte *)(iVar8 + uVar1);
    bVar9 = *__s1;
    local_40 = uVar1;
    goto LAB_0002be21;
  }
  bVar5 = *(byte *)(iVar8 + 1 + local_40);
  bVar9 = (&DAT_0007b3c0)[bVar5];
  while ((bVar9 & 1) != 0) {
    uVar6 = uVar6 + 1;
    if (uVar3 <= uVar6) goto LAB_0002be0b;
    bVar5 = *(byte *)(iVar8 + uVar6);
    bVar9 = (&DAT_0007b3c0)[bVar5];
  }
  if ((bVar9 & 4) != 0) {
    uVar6 = uVar6 + 1;
    if (uVar3 <= uVar6) goto LAB_0002be0b;
    bVar5 = *(byte *)(iVar8 + uVar6);
  }
  if ((bVar5 == 9) || (bVar5 == 0x20)) {
    do {
      uVar6 = uVar6 + 1;
      if (uVar3 <= uVar6) goto LAB_0002be0b;
      bVar5 = *(byte *)(iVar8 + uVar6);
    } while ((bVar5 == 0x20) || (bVar5 == 9));
  }
  if (bVar5 != 0x3a) goto LAB_0002be0b;
  uVar1 = uVar6 + 1;
  if (uVar3 <= uVar1) goto LAB_0002bf06;
  __s1 = (byte *)(iVar8 + uVar1);
  bVar9 = *__s1;
  bVar5 = (&DAT_0007b3c0)[bVar9];
  uVar6 = uVar1;
  goto joined_r0x0002bdc4;
LAB_0002be21:
  if ((bVar9 == 9) || (bVar9 == 0x20)) {
    do {
      local_40 = local_40 + 1;
      if (uVar3 <= local_40) goto LAB_0002bf06;
      bVar9 = *(byte *)(iVar8 + local_40);
      __s1 = (byte *)(iVar8 + local_40);
    } while ((bVar9 == 0x20) || (bVar9 == 9));
  }
  if (bVar9 == 0x2e) {
    local_40 = local_40 + 1;
    __s1 = (byte *)(iVar8 + local_40);
  }
  else if (DAT_000839e8 == 0) goto LAB_0002bf06;
  if (param_1 == (char *)0x0) {
    iVar7 = strncasecmp((char *)__s1,"IRPC",4);
    if (iVar7 == 0) {
LAB_0002c101:
      local_34 = 4;
    }
    else {
      iVar7 = strncasecmp((char *)__s1,"IRP",3);
      if (iVar7 != 0) {
        iVar7 = strncasecmp((char *)__s1,"IREPC",5);
        if (iVar7 == 0) {
          local_34 = 5;
          goto LAB_0002c049;
        }
        iVar7 = strncasecmp((char *)__s1,"IREP",4);
        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))
        goto LAB_0002c101;
        iVar7 = strncasecmp((char *)__s1,"REP",3);
        local_34 = 0;
        if (iVar7 != 0) goto LAB_0002be9f;
      }
      local_34 = 3;
    }
LAB_0002c049:
    if ((local_40 + local_34 == uVar3) ||
       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {
      local_24 = local_24 + 1;
    }
  }
  else {
    iVar7 = strncasecmp((char *)__s1,param_1,local_34);
    if (iVar7 == 0) goto LAB_0002c049;
  }
LAB_0002be9f:
  iVar7 = strncasecmp((char *)__s1,param_2,__n);
  if ((iVar7 == 0) &&
     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))
      && (local_24 = local_24 + -1, local_24 == 0)))) {
    param_3[1] = uVar1;
    return 1;
  }
  iVar7 = strncasecmp((char *)__s1,"linefile",8);
  uVar4 = DAT_00083ef0;
  if (iVar7 == 0) {
    uVar2 = *(undefined1 *)(uVar3 + iVar8);
    *(undefined1 *)(uVar3 + iVar8) = 0;
    DAT_00083ef0 = *param_3 + 8 + local_40;
    FUN_00034820(0);
    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;
    DAT_00083ef0 = uVar4;
    param_3[1] = uVar1;
  }
LAB_0002bf06:
  FUN_00036450(param_3,local_38);
  local_40 = param_3[1];
  local_38 = (*param_4)(param_3);
  if (local_38 == 0) {
    return 0;
  }
  goto LAB_0002bd70;
}


CALL 0x0001ad8a
ADD EAX,0x4f31b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x48
MOV EBX,EAX
MOV dword ptr [ESP + 0x1c],EAX
PUSH dword ptr [ESP + 0x60]
CALL 0x00017420
POP ESI
MOV dword ptr [ESP + 0x30],EAX
MOV EBX,EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x18],EAX
PUSH dword ptr [ESP + 0x64]
CALL dword ptr [ESP + 0x6c]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
CMP EBX,0x4
JZ 0x0002c175
SUB ESP,0xc
PUSH dword ptr [ESP + 0x5c]
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x00017420
ADD ESP,0x10
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x0002c1c4
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x28],0x1
LEA EBP,[EAX + 0x3c0]
LEA EAX,[EAX + 0x8ef0]
MOV dword ptr [ESP + 0x2c],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ESP + 0xc]
CMP EDI,EAX
JBE 0x0002bf06
MOV EBX,dword ptr [ESP + 0x58]
MOV ESI,dword ptr [EBX]
LEA EDX,[ESI + EAX*0x1]
MOVZX ECX,byte ptr [EDX]
CMP CL,0x20
JZ 0x0002bd99
CMP CL,0x9
JNZ 0x0002bdbc
MOV EAX,dword ptr [ESP + 0xc]
LEA ESI,[ESI]
ADD EAX,0x1
CMP EAX,EDI
JZ 0x0002bf06
MOVZX ECX,byte ptr [ESI + EAX*0x1]
LEA EDX,[ESI + EAX*0x1]
CMP CL,0x20
JZ 0x0002bda0
CMP CL,0x9
JZ 0x0002bda0
MOVZX EBX,CL
TEST byte ptr [EBP + EBX*0x1],0x2
JZ 0x0002bfa9
LEA ESI,[ESI]
LEA EDX,[EAX + 0x1]
CMP EDX,EDI
JNC 0x0002be0b
MOVZX ECX,byte ptr [ESI + EAX*0x1 + 0x1]
MOV EAX,ECX
MOVZX ECX,byte ptr [EBP + ECX*0x1]
TEST CL,0x1
JNZ 0x0002be04
JMP 0x0002bf48
MOVZX ECX,byte ptr [ESI + EDX*0x1]
MOV EAX,ECX
MOVZX ECX,byte ptr [EBP + ECX*0x1]
TEST CL,0x1
JZ 0x0002bf48
ADD EDX,0x1
CMP EDX,EDI
JC 0x0002bdf0
MOV EAX,dword ptr [ESP + 0xc]
CMP EAX,EDI
JNC 0x0002bf06
LEA EDX,[ESI + EAX*0x1]
MOV dword ptr [ESP + 0x1c],EAX
MOVZX ECX,byte ptr [EDX]
CMP CL,0x9
JZ 0x0002be2b
CMP CL,0x20
JNZ 0x0002be50
MOV EAX,dword ptr [ESP + 0xc]
NOP
ADD EAX,0x1
CMP EAX,EDI
JNC 0x0002bf06
MOVZX ECX,byte ptr [ESI + EAX*0x1]
LEA EDX,[ESI + EAX*0x1]
CMP CL,0x20
JZ 0x0002be30
CMP CL,0x9
JZ 0x0002be30
MOV dword ptr [ESP + 0xc],EAX
CMP CL,0x2e
JZ 0x0002c06e
MOV EAX,dword ptr [ESP + 0x10]
MOV EBX,dword ptr [EAX + 0x89e8]
TEST EBX,EBX
JZ 0x0002bf06
MOV ECX,dword ptr [ESP + 0x50]
TEST ECX,ECX
JZ 0x0002bfba
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x58]
PUSH EDX
MOV EBX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x30],EDX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
TEST EAX,EAX
JZ 0x0002c049
SUB ESP,0x4
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x5c]
PUSH EDX
MOV EBX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x30],EDX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
TEST EAX,EAX
JNZ 0x0002bee5
MOV EAX,dword ptr [ESP + 0xc]
ADD EAX,dword ptr [ESP + 0x24]
CMP EAX,EDI
JZ 0x0002beda
MOVZX EAX,byte ptr [ESI + EAX*0x1]
TEST byte ptr [EBP + EAX*0x1],0x5
JNZ 0x0002bee5
SUB dword ptr [ESP + 0x28],0x1
JZ 0x0002c1ac
SUB ESP,0x4
PUSH 0x8
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdcee8]
PUSH EAX
PUSH EDX
CALL 0x00017540
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002c07f
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x64]
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x00036450
MOV EAX,dword ptr [ESP + 0x68]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x1c],EAX
POP EDX
PUSH dword ptr [ESP + 0x64]
CALL dword ptr [ESP + 0x6c]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0002bd70
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
AND ECX,0x4
JZ 0x0002bf5c
ADD EDX,0x1
CMP EDX,EDI
JNC 0x0002be0b
MOVZX EAX,byte ptr [ESI + EDX*0x1]
CMP AL,0x9
JZ 0x0002bf68
CMP AL,0x20
JNZ 0x0002bf7f
LEA ESI,[ESI]
ADD EDX,0x1
CMP EDX,EDI
JNC 0x0002be0b
MOVZX EAX,byte ptr [ESI + EDX*0x1]
CMP AL,0x20
JZ 0x0002bf68
CMP AL,0x9
JZ 0x0002bf68
CMP AL,0x3a
JNZ 0x0002be0b
LEA EAX,[EDX + 0x1]
CMP EAX,EDI
JNC 0x0002bf06
LEA EDX,[ESI + EAX*0x1]
MOV dword ptr [ESP + 0xc],EAX
MOVZX EBX,byte ptr [EDX]
MOV ECX,EBX
TEST byte ptr [EBP + EBX*0x1],0x2
JNZ 0x0002bdd0
MOV EBX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x1c],EBX
JMP 0x0002be21
SUB ESP,0x4
PUSH 0x4
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdcecf]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x20],EBX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x0002c101
SUB ESP,0x4
PUSH 0x3
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdced4]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x20],EBX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x0002c168
SUB ESP,0x4
PUSH 0x5
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdced8]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x20],EBX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x0002c0d8
MOV dword ptr [ESP + 0x18],0x5
MOV EAX,dword ptr [ESP + 0xc]
ADD EAX,dword ptr [ESP + 0x18]
CMP EAX,EDI
JZ 0x0002c064
MOVZX EAX,byte ptr [ESI + EAX*0x1]
TEST byte ptr [EBP + EAX*0x1],0x5
JNZ 0x0002be9f
ADD dword ptr [ESP + 0x28],0x1
JMP 0x0002be9f
ADD dword ptr [ESP + 0xc],0x1
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[ESI + EAX*0x1]
JMP 0x0002be6b
MOV EBX,dword ptr [ESP + 0x2c]
ADD EDI,ESI
SUB ESP,0xc
MOVZX ESI,byte ptr [EDI]
MOV EAX,dword ptr [EBX]
MOV byte ptr [EDI],0x0
MOV EDI,EBX
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV EDX,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x18]
LEA EDX,[EDX + EAX*0x1 + 0x8]
MOV dword ptr [EBX],EDX
PUSH 0x0
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x00034820
MOV EAX,dword ptr [ESP + 0x68]
MOV EBX,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,ESI
MOV byte ptr [ECX + EDX*0x1],AL
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x68]
ADD ESP,0x10
MOV dword ptr [EAX + 0x4],EBX
JMP 0x0002bf06
SUB ESP,0x4
PUSH 0x4
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdcede]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x20],EBX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x0002c10e
MOV dword ptr [ESP + 0x18],0x4
JMP 0x0002c049
SUB ESP,0x4
PUSH 0x4
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdcee3]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x20],EBX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x0002c101
SUB ESP,0x4
PUSH 0x3
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdcedf]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x30],EDX
CALL 0x00017540
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
TEST EAX,EAX
MOV dword ptr [ESP + 0x18],0x0
JNZ 0x0002be9f
MOV dword ptr [ESP + 0x18],0x3
JMP 0x0002c049
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfffdceca]
PUSH EAX
PUSH dword ptr [ESP + 0x60]
CALL 0x00017450
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0002bd2a
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x50],0x0
JMP 0x0002bd41
MOV EAX,dword ptr [ESP + 0x58]
MOV EBX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x4],EBX
ADD ESP,0x3c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EAX,EAX
JMP 0x0002bf3d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}\n\n" comment (function_definition "undefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" type_identifier (function_declarator "FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)" identifier (parameter_list "(char *param_1,char *param_2,int *param_3,code *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "size_t local_34;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" identifier = (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }" if (parenthesized_expression "((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0))" ( (binary_expression "(__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" (parenthesized_expression "(__n == 4)" ( (binary_expression "__n == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" ( (comma_expression "iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0" (assignment_expression "iVar8 = strcasecmp(param_2,"ENDR")" identifier = (call_expression "strcasecmp(param_2,"ENDR")" identifier (argument_list "(param_2,"ENDR")" ( identifier , (string_literal ""ENDR"" " string_content ") )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "param_1 = (char *)0x0;" (assignment_expression "param_1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_34 = strlen(param_1);\n  }" else (compound_statement "{\n    local_34 = strlen(param_1);\n  }" { (expression_statement "local_34 = strlen(param_1);" (assignment_expression "local_34 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0002bd70:\n  uVar3 = param_3[1];" statement_identifier : (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;)) (if_statement "if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" if (parenthesized_expression "(local_40 < uVar3)" ( (binary_expression "local_40 < uVar3" identifier < identifier) )) (compound_statement "{\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" { (expression_statement "iVar8 = *param_3;" (assignment_expression "iVar8 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "uVar6 = local_40;" (assignment_expression "uVar6 = local_40" identifier = identifier) ;) (while_statement "while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" { (if_statement "if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" if (parenthesized_expression "((bVar9 != 0x20) && (bVar9 != 9))" ( (binary_expression "(bVar9 != 0x20) && (bVar9 != 9)" (parenthesized_expression "(bVar9 != 0x20)" ( (binary_expression "bVar9 != 0x20" identifier != number_literal) )) && (parenthesized_expression "(bVar9 != 9)" ( (binary_expression "bVar9 != 9" identifier != number_literal) ))) )) (compound_statement "{\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" { (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (expression_statement "uVar1 = local_40;" (assignment_expression "uVar1 = local_40" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) })) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 == uVar3) break;" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "bVar9 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar9 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) (expression_statement "__s1 = (byte *)(iVar8 + uVar6);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar6)" identifier = (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) )))) ;) })) })) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;) (labeled_statement "joined_r0x0002bdc4:\n  local_40 = uVar6;" statement_identifier : (expression_statement "local_40 = uVar6;" (assignment_expression "local_40 = uVar6" identifier = identifier) ;)) (if_statement "if ((bVar5 & 2) == 0) goto LAB_0002be21;" if (parenthesized_expression "((bVar5 & 2) == 0)" ( (binary_expression "(bVar5 & 2) == 0" (parenthesized_expression "(bVar5 & 2)" ( (binary_expression "bVar5 & 2" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;)) (expression_statement "uVar6 = local_40 + 1;" (assignment_expression "uVar6 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (compound_statement "{\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" { (labeled_statement "LAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;" statement_identifier : (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;))) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" identifier = (cast_expression "(byte *)(iVar8 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar1)" ( (binary_expression "iVar8 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "local_40 = uVar1;" (assignment_expression "local_40 = uVar1" identifier = identifier) ;) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;) })) (expression_statement "bVar5 = *(byte *)(iVar8 + 1 + local_40);" (assignment_expression "bVar5 = *(byte *)(iVar8 + 1 + local_40)" identifier = (pointer_expression "*(byte *)(iVar8 + 1 + local_40)" * (cast_expression "(byte *)(iVar8 + 1 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 1 + local_40)" ( (binary_expression "iVar8 + 1 + local_40" (binary_expression "iVar8 + 1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (while_statement "while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" while (parenthesized_expression "((bVar9 & 1) != 0)" ( (binary_expression "(bVar9 & 1) != 0" (parenthesized_expression "(bVar9 & 1)" ( (binary_expression "bVar9 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) })) (if_statement "if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" if (parenthesized_expression "((bVar9 & 4) != 0)" ( (binary_expression "(bVar9 & 4) != 0" (parenthesized_expression "(bVar9 & 4)" ( (binary_expression "bVar9 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) })) (if_statement "if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" if (parenthesized_expression "((bVar5 == 9) || (bVar5 == 0x20))" ( (binary_expression "(bVar5 == 9) || (bVar5 == 0x20)" (parenthesized_expression "(bVar5 == 9)" ( (binary_expression "bVar5 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x20)" ( (binary_expression "bVar5 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" { (do_statement "do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));" do (compound_statement "{\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) }) while (parenthesized_expression "((bVar5 == 0x20) || (bVar5 == 9))" ( (binary_expression "(bVar5 == 0x20) || (bVar5 == 9)" (parenthesized_expression "(bVar5 == 0x20)" ( (binary_expression "bVar5 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 9)" ( (binary_expression "bVar5 == 9" identifier == number_literal) ))) )) ;) })) (if_statement "if (bVar5 != 0x3a) goto LAB_0002be0b;" if (parenthesized_expression "(bVar5 != 0x3a)" ( (binary_expression "bVar5 != 0x3a" identifier != number_literal) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "uVar1 = uVar6 + 1;" (assignment_expression "uVar1 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" identifier = (cast_expression "(byte *)(iVar8 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar1)" ( (binary_expression "iVar8 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (expression_statement "uVar6 = uVar1;" (assignment_expression "uVar6 = uVar1" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) (labeled_statement "LAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" statement_identifier : (if_statement "if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" if (parenthesized_expression "((bVar9 == 9) || (bVar9 == 0x20))" ( (binary_expression "(bVar9 == 9) || (bVar9 == 0x20)" (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" { (do_statement "do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));" do (compound_statement "{\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= local_40) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= local_40)" ( (binary_expression "uVar3 <= local_40" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "bVar9 = *(byte *)(iVar8 + local_40);" (assignment_expression "bVar9 = *(byte *)(iVar8 + local_40)" identifier = (pointer_expression "*(byte *)(iVar8 + local_40)" * (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) ))))) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) }) while (parenthesized_expression "((bVar9 == 0x20) || (bVar9 == 9))" ( (binary_expression "(bVar9 == 0x20) || (bVar9 == 9)" (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) ))) )) ;) }))) (if_statement "if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;" if (parenthesized_expression "(bVar9 == 0x2e)" ( (binary_expression "bVar9 == 0x2e" identifier == number_literal) )) (compound_statement "{\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) }) (else_clause "else if (DAT_000839e8 == 0) goto LAB_0002bf06;" else (if_statement "if (DAT_000839e8 == 0) goto LAB_0002bf06;" if (parenthesized_expression "(DAT_000839e8 == 0)" ( (binary_expression "DAT_000839e8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)))) (if_statement "if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRPC",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRPC",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IRPC",4)" identifier (argument_list "((char *)__s1,"IRPC",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002c101:\n      local_34 = 4;\n    }" { (labeled_statement "LAB_0002c101:\n      local_34 = 4;" statement_identifier : (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;)) }) (else_clause "else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" else (compound_statement "{\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"IRP",3)" identifier (argument_list "((char *)__s1,"IRP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRP"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREPC",5);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREPC",5)" identifier = (call_expression "strncasecmp((char *)__s1,"IREPC",5)" identifier (argument_list "((char *)__s1,"IREPC",5)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" { (expression_statement "local_34 = 5;" (assignment_expression "local_34 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;) })) (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREP",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREP",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IREP",4)" identifier (argument_list "((char *)__s1,"IREP",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREP"" " string_content ") , number_literal )))) ;) (if_statement "if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;" if (parenthesized_expression "((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))" ( (binary_expression "(iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" ( (comma_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4)" identifier = (call_expression "strncasecmp((char *)__s1,"REPT",4)" identifier (argument_list "((char *)__s1,"REPT",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REPT"" " string_content ") , number_literal )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0002c101;" goto statement_identifier ;)) (expression_statement "iVar7 = strncasecmp((char *)__s1,"REP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"REP",3)" identifier (argument_list "((char *)__s1,"REP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REP"" " string_content ") , number_literal )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if (iVar7 != 0) goto LAB_0002be9f;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002be9f;" goto statement_identifier ;)) })) (expression_statement "local_34 = 3;" (assignment_expression "local_34 = 3" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" statement_identifier : (if_statement "if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" if (parenthesized_expression "((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0))" ( (binary_expression "(local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" (parenthesized_expression "(local_40 + local_34 == uVar3)" ( (binary_expression "local_40 + local_34 == uVar3" (binary_expression "local_40 + local_34" identifier + identifier) == identifier) )) || (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" ( (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5)" ( (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ (pointer_expression "*(byte *)(iVar8 + local_40 + local_34)" * (cast_expression "(byte *)(iVar8 + local_40 + local_34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40 + local_34)" ( (binary_expression "iVar8 + local_40 + local_34" (binary_expression "iVar8 + local_40" identifier + identifier) + identifier) )))) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" else (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,param_1,local_34);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_1,local_34)" identifier = (call_expression "strncasecmp((char *)__s1,param_1,local_34)" identifier (argument_list "((char *)__s1,param_1,local_34)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) goto LAB_0002c049;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);" statement_identifier : (expression_statement "iVar7 = strncasecmp((char *)__s1,param_2,__n);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_2,__n)" identifier = (call_expression "strncasecmp((char *)__s1,param_2,__n)" identifier (argument_list "((char *)__s1,param_2,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;)) (if_statement "if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }" if (parenthesized_expression "((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))))" ( (binary_expression "(iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" ( (parenthesized_expression "((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))" ( (binary_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)" (parenthesized_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))" ( (binary_expression "local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" (binary_expression "local_40 + __n == uVar3" (binary_expression "local_40 + __n" identifier + identifier) == identifier) || (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" ( (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5)" ( (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ (pointer_expression "*(byte *)(iVar8 + local_40 + __n)" * (cast_expression "(byte *)(iVar8 + local_40 + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40 + __n)" ( (binary_expression "iVar8 + local_40 + __n" (binary_expression "iVar8 + local_40" identifier + identifier) + identifier) )))) ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(local_24 = local_24 + -1, local_24 == 0)" ( (comma_expression "local_24 = local_24 + -1, local_24 == 0" (assignment_expression "local_24 = local_24 + -1" identifier = (binary_expression "local_24 + -1" identifier + number_literal)) , (binary_expression "local_24 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    param_3[1] = uVar1;\n    return 1;\n  }" { (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar7 = strncasecmp((char *)__s1,"linefile",8);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"linefile",8)" identifier = (call_expression "strncasecmp((char *)__s1,"linefile",8)" identifier (argument_list "((char *)__s1,"linefile",8)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""linefile"" " string_content ") , number_literal )))) ;) (expression_statement "uVar4 = DAT_00083ef0;" (assignment_expression "uVar4 = DAT_00083ef0" identifier = identifier) ;) (if_statement "if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" { (expression_statement "uVar2 = *(undefined1 *)(uVar3 + iVar8);" (assignment_expression "uVar2 = *(undefined1 *)(uVar3 + iVar8)" identifier = (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" * (cast_expression "(undefined1 *)(uVar3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar8)" ( (binary_expression "uVar3 + iVar8" identifier + identifier) ))))) ;) (expression_statement "*(undefined1 *)(uVar3 + iVar8) = 0;" (assignment_expression "*(undefined1 *)(uVar3 + iVar8) = 0" (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" * (cast_expression "(undefined1 *)(uVar3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar8)" ( (binary_expression "uVar3 + iVar8" identifier + identifier) )))) = number_literal) ;) (expression_statement "DAT_00083ef0 = *param_3 + 8 + local_40;" (assignment_expression "DAT_00083ef0 = *param_3 + 8 + local_40" identifier = (binary_expression "*param_3 + 8 + local_40" (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) + identifier)) ;) (expression_statement "FUN_00034820(0);" (call_expression "FUN_00034820(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "*(undefined1 *)(*param_3 + param_3[1]) = uVar2;" (assignment_expression "*(undefined1 *)(*param_3 + param_3[1]) = uVar2" (pointer_expression "*(undefined1 *)(*param_3 + param_3[1])" * (cast_expression "(undefined1 *)(*param_3 + param_3[1])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + param_3[1])" ( (binary_expression "*param_3 + param_3[1]" (pointer_expression "*param_3" * identifier) + (subscript_expression "param_3[1]" identifier [ number_literal ])) )))) = identifier) ;) (expression_statement "DAT_00083ef0 = uVar4;" (assignment_expression "DAT_00083ef0 = uVar4" identifier = identifier) ;) (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0002bf06:\n  FUN_00036450(param_3,local_38);" statement_identifier : (expression_statement "FUN_00036450(param_3,local_38);" (call_expression "FUN_00036450(param_3,local_38)" identifier (argument_list "(param_3,local_38)" ( identifier , identifier ))) ;)) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" identifier = (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0002bd70;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint buffer_and_nest(char *from,char *to,sb *ptr,_func_size_t_sb_ptr *get_line)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  byte bVar6;\n  char *saved_input_line_pointer;\n  size_t __n;\n  uint uVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  size_t local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(to);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if ((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    from = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(from);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = ptr->len;\n  if (local_40 < uVar3) {\n    pcVar4 = ptr->ptr;\n    __s1 = (byte *)(pcVar4 + local_40);\n    bVar9 = *__s1;\n    uVar7 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar7;\n  if ((bVar6 & 2) == 0) goto LAB_0002be21;\n  uVar7 = local_40 + 1;\n  if (uVar3 <= uVar7) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(pcVar4 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar6 = pcVar4[local_40 + 1];\n  bVar9 = lex_type[bVar6];\n  while ((bVar9 & 1) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n    bVar9 = lex_type[bVar6];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n  }\n  if ((bVar6 == 9) || (bVar6 == 0x20)) {\n    do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));\n  }\n  if (bVar6 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar7 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(pcVar4 + uVar1);\n  bVar9 = *__s1;\n  bVar6 = lex_type[bVar9];\n  uVar7 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(pcVar4 + local_40);\n  }\n  else if (macro_mri == 0) goto LAB_0002bf06;\n  if (from == (char *)0x0) {\n    iVar8 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar8 = strncasecmp((char *)__s1,to,__n);\n  if ((iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))) {\n    ptr->len = uVar1;\n    return 1;\n  }\n  iVar8 = strncasecmp((char *)__s1,"linefile",8);\n  pcVar5 = input_line_pointer;\n  if (iVar8 == 0) {\n    cVar2 = pcVar4[uVar3];\n    pcVar4[uVar3] = '\0';\n    input_line_pointer = ptr->ptr + local_40 + 8;\n    s_app_line(0);\n    ptr->ptr[ptr->len] = cVar2;\n    input_line_pointer = pcVar5;\n    ptr->len = uVar1;\n  }\nLAB_0002bf06:\n  sb_add_char(ptr,local_38);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}\n\n" comment (function_definition "int buffer_and_nest(char *from,char *to,sb *ptr,_func_size_t_sb_ptr *get_line)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  byte bVar6;\n  char *saved_input_line_pointer;\n  size_t __n;\n  uint uVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  size_t local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(to);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if ((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    from = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(from);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = ptr->len;\n  if (local_40 < uVar3) {\n    pcVar4 = ptr->ptr;\n    __s1 = (byte *)(pcVar4 + local_40);\n    bVar9 = *__s1;\n    uVar7 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar7;\n  if ((bVar6 & 2) == 0) goto LAB_0002be21;\n  uVar7 = local_40 + 1;\n  if (uVar3 <= uVar7) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(pcVar4 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar6 = pcVar4[local_40 + 1];\n  bVar9 = lex_type[bVar6];\n  while ((bVar9 & 1) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n    bVar9 = lex_type[bVar6];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n  }\n  if ((bVar6 == 9) || (bVar6 == 0x20)) {\n    do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));\n  }\n  if (bVar6 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar7 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(pcVar4 + uVar1);\n  bVar9 = *__s1;\n  bVar6 = lex_type[bVar9];\n  uVar7 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(pcVar4 + local_40);\n  }\n  else if (macro_mri == 0) goto LAB_0002bf06;\n  if (from == (char *)0x0) {\n    iVar8 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar8 = strncasecmp((char *)__s1,to,__n);\n  if ((iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))) {\n    ptr->len = uVar1;\n    return 1;\n  }\n  iVar8 = strncasecmp((char *)__s1,"linefile",8);\n  pcVar5 = input_line_pointer;\n  if (iVar8 == 0) {\n    cVar2 = pcVar4[uVar3];\n    pcVar4[uVar3] = '\0';\n    input_line_pointer = ptr->ptr + local_40 + 8;\n    s_app_line(0);\n    ptr->ptr[ptr->len] = cVar2;\n    input_line_pointer = pcVar5;\n    ptr->len = uVar1;\n  }\nLAB_0002bf06:\n  sb_add_char(ptr,local_38);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" primitive_type (function_declarator "buffer_and_nest(char *from,char *to,sb *ptr,_func_size_t_sb_ptr *get_line)" identifier (parameter_list "(char *from,char *to,sb *ptr,_func_size_t_sb_ptr *get_line)" ( (parameter_declaration "char *from" primitive_type (pointer_declarator "*from" * identifier)) , (parameter_declaration "char *to" primitive_type (pointer_declarator "*to" * identifier)) , (parameter_declaration "sb *ptr" type_identifier (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "_func_size_t_sb_ptr *get_line" type_identifier (pointer_declarator "*get_line" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  byte bVar6;\n  char *saved_input_line_pointer;\n  size_t __n;\n  uint uVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  size_t local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(to);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if ((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    from = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(from);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = ptr->len;\n  if (local_40 < uVar3) {\n    pcVar4 = ptr->ptr;\n    __s1 = (byte *)(pcVar4 + local_40);\n    bVar9 = *__s1;\n    uVar7 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar7;\n  if ((bVar6 & 2) == 0) goto LAB_0002be21;\n  uVar7 = local_40 + 1;\n  if (uVar3 <= uVar7) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(pcVar4 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar6 = pcVar4[local_40 + 1];\n  bVar9 = lex_type[bVar6];\n  while ((bVar9 & 1) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n    bVar9 = lex_type[bVar6];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n  }\n  if ((bVar6 == 9) || (bVar6 == 0x20)) {\n    do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));\n  }\n  if (bVar6 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar7 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(pcVar4 + uVar1);\n  bVar9 = *__s1;\n  bVar6 = lex_type[bVar9];\n  uVar7 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(pcVar4 + local_40);\n  }\n  else if (macro_mri == 0) goto LAB_0002bf06;\n  if (from == (char *)0x0) {\n    iVar8 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar8 = strncasecmp((char *)__s1,to,__n);\n  if ((iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))) {\n    ptr->len = uVar1;\n    return 1;\n  }\n  iVar8 = strncasecmp((char *)__s1,"linefile",8);\n  pcVar5 = input_line_pointer;\n  if (iVar8 == 0) {\n    cVar2 = pcVar4[uVar3];\n    pcVar4[uVar3] = '\0';\n    input_line_pointer = ptr->ptr + local_40 + 8;\n    s_app_line(0);\n    ptr->ptr[ptr->len] = cVar2;\n    input_line_pointer = pcVar5;\n    ptr->len = uVar1;\n  }\nLAB_0002bf06:\n  sb_add_char(ptr,local_38);\n  local_40 = ptr->len;\n  local_38 = (*get_line)(ptr);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "char *saved_input_line_pointer;" primitive_type (pointer_declarator "*saved_input_line_pointer" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "size_t local_38;" primitive_type identifier ;) (declaration "size_t local_34;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "__n = strlen(to);" (assignment_expression "__n = strlen(to)" identifier = (call_expression "strlen(to)" identifier (argument_list "(to)" ( identifier )))) ;) (expression_statement "local_40 = ptr->len;" (assignment_expression "local_40 = ptr->len" identifier = (field_expression "ptr->len" identifier -> field_identifier)) ;) (expression_statement "local_38 = (*get_line)(ptr);" (assignment_expression "local_38 = (*get_line)(ptr)" identifier = (call_expression "(*get_line)(ptr)" (parenthesized_expression "(*get_line)" ( (pointer_expression "*get_line" * identifier) )) (argument_list "(ptr)" ( identifier )))) ;) (if_statement "if ((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    from = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(from);\n  }" if (parenthesized_expression "((__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0))" ( (binary_expression "(__n == 4) && (iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)" (parenthesized_expression "(__n == 4)" ( (binary_expression "__n == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0)" ( (comma_expression "iVar8 = strcasecmp(to,"ENDR"), iVar8 == 0" (assignment_expression "iVar8 = strcasecmp(to,"ENDR")" identifier = (call_expression "strcasecmp(to,"ENDR")" identifier (argument_list "(to,"ENDR")" ( identifier , (string_literal ""ENDR"" " string_content ") )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    local_34 = 0;\n    from = (char *)0x0;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "from = (char *)0x0;" (assignment_expression "from = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_34 = strlen(from);\n  }" else (compound_statement "{\n    local_34 = strlen(from);\n  }" { (expression_statement "local_34 = strlen(from);" (assignment_expression "local_34 = strlen(from)" identifier = (call_expression "strlen(from)" identifier (argument_list "(from)" ( identifier )))) ;) }))) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0002bd70:\n  uVar3 = ptr->len;" statement_identifier : (expression_statement "uVar3 = ptr->len;" (assignment_expression "uVar3 = ptr->len" identifier = (field_expression "ptr->len" identifier -> field_identifier)) ;)) (if_statement "if (local_40 < uVar3) {\n    pcVar4 = ptr->ptr;\n    __s1 = (byte *)(pcVar4 + local_40);\n    bVar9 = *__s1;\n    uVar7 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }\n  }" if (parenthesized_expression "(local_40 < uVar3)" ( (binary_expression "local_40 < uVar3" identifier < identifier) )) (compound_statement "{\n    pcVar4 = ptr->ptr;\n    __s1 = (byte *)(pcVar4 + local_40);\n    bVar9 = *__s1;\n    uVar7 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }\n  }" { (expression_statement "pcVar4 = ptr->ptr;" (assignment_expression "pcVar4 = ptr->ptr" identifier = (field_expression "ptr->ptr" identifier -> field_identifier)) ;) (expression_statement "__s1 = (byte *)(pcVar4 + local_40);" (assignment_expression "__s1 = (byte *)(pcVar4 + local_40)" identifier = (cast_expression "(byte *)(pcVar4 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + local_40)" ( (binary_expression "pcVar4 + local_40" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "uVar7 = local_40;" (assignment_expression "uVar7 = local_40" identifier = identifier) ;) (while_statement "while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar7 = uVar7 + 1;\n      if (uVar7 == uVar3) break;\n      bVar9 = pcVar4[uVar7];\n      __s1 = (byte *)(pcVar4 + uVar7);\n    }" { (if_statement "if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" if (parenthesized_expression "((bVar9 != 0x20) && (bVar9 != 9))" ( (binary_expression "(bVar9 != 0x20) && (bVar9 != 9)" (parenthesized_expression "(bVar9 != 0x20)" ( (binary_expression "bVar9 != 0x20" identifier != number_literal) )) && (parenthesized_expression "(bVar9 != 9)" ( (binary_expression "bVar9 != 9" identifier != number_literal) ))) )) (compound_statement "{\n        bVar6 = lex_type[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" { (expression_statement "bVar6 = lex_type[bVar9];" (assignment_expression "bVar6 = lex_type[bVar9]" identifier = (subscript_expression "lex_type[bVar9]" identifier [ identifier ])) ;) (expression_statement "uVar1 = local_40;" (assignment_expression "uVar1 = local_40" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) })) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar7 == uVar3) break;" if (parenthesized_expression "(uVar7 == uVar3)" ( (binary_expression "uVar7 == uVar3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "bVar9 = pcVar4[uVar7];" (assignment_expression "bVar9 = pcVar4[uVar7]" identifier = (subscript_expression "pcVar4[uVar7]" identifier [ identifier ])) ;) (expression_statement "__s1 = (byte *)(pcVar4 + uVar7);" (assignment_expression "__s1 = (byte *)(pcVar4 + uVar7)" identifier = (cast_expression "(byte *)(pcVar4 + uVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + uVar7)" ( (binary_expression "pcVar4 + uVar7" identifier + identifier) )))) ;) })) })) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;) (labeled_statement "joined_r0x0002bdc4:\n  local_40 = uVar7;" statement_identifier : (expression_statement "local_40 = uVar7;" (assignment_expression "local_40 = uVar7" identifier = identifier) ;)) (if_statement "if ((bVar6 & 2) == 0) goto LAB_0002be21;" if (parenthesized_expression "((bVar6 & 2) == 0)" ( (binary_expression "(bVar6 & 2) == 0" (parenthesized_expression "(bVar6 & 2)" ( (binary_expression "bVar6 & 2" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;)) (expression_statement "uVar7 = local_40 + 1;" (assignment_expression "uVar7 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar7) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(pcVar4 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (compound_statement "{\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(pcVar4 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" { (labeled_statement "LAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;" statement_identifier : (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;))) (expression_statement "__s1 = (byte *)(pcVar4 + uVar1);" (assignment_expression "__s1 = (byte *)(pcVar4 + uVar1)" identifier = (cast_expression "(byte *)(pcVar4 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + uVar1)" ( (binary_expression "pcVar4 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "local_40 = uVar1;" (assignment_expression "local_40 = uVar1" identifier = identifier) ;) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;) })) (expression_statement "bVar6 = pcVar4[local_40 + 1];" (assignment_expression "bVar6 = pcVar4[local_40 + 1]" identifier = (subscript_expression "pcVar4[local_40 + 1]" identifier [ (binary_expression "local_40 + 1" identifier + number_literal) ])) ;) (expression_statement "bVar9 = lex_type[bVar6];" (assignment_expression "bVar9 = lex_type[bVar6]" identifier = (subscript_expression "lex_type[bVar6]" identifier [ identifier ])) ;) (while_statement "while ((bVar9 & 1) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n    bVar9 = lex_type[bVar6];\n  }" while (parenthesized_expression "((bVar9 & 1) != 0)" ( (binary_expression "(bVar9 & 1) != 0" (parenthesized_expression "(bVar9 & 1)" ( (binary_expression "bVar9 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n    bVar9 = lex_type[bVar6];\n  }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar7) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar6 = pcVar4[uVar7];" (assignment_expression "bVar6 = pcVar4[uVar7]" identifier = (subscript_expression "pcVar4[uVar7]" identifier [ identifier ])) ;) (expression_statement "bVar9 = lex_type[bVar6];" (assignment_expression "bVar9 = lex_type[bVar6]" identifier = (subscript_expression "lex_type[bVar6]" identifier [ identifier ])) ;) })) (if_statement "if ((bVar9 & 4) != 0) {\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n  }" if (parenthesized_expression "((bVar9 & 4) != 0)" ( (binary_expression "(bVar9 & 4) != 0" (parenthesized_expression "(bVar9 & 4)" ( (binary_expression "bVar9 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = uVar7 + 1;\n    if (uVar3 <= uVar7) goto LAB_0002be0b;\n    bVar6 = pcVar4[uVar7];\n  }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar7) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar6 = pcVar4[uVar7];" (assignment_expression "bVar6 = pcVar4[uVar7]" identifier = (subscript_expression "pcVar4[uVar7]" identifier [ identifier ])) ;) })) (if_statement "if ((bVar6 == 9) || (bVar6 == 0x20)) {\n    do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));\n  }" if (parenthesized_expression "((bVar6 == 9) || (bVar6 == 0x20))" ( (binary_expression "(bVar6 == 9) || (bVar6 == 0x20)" (parenthesized_expression "(bVar6 == 9)" ( (binary_expression "bVar6 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar6 == 0x20)" ( (binary_expression "bVar6 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));\n  }" { (do_statement "do {\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    } while ((bVar6 == 0x20) || (bVar6 == 9));" do (compound_statement "{\n      uVar7 = uVar7 + 1;\n      if (uVar3 <= uVar7) goto LAB_0002be0b;\n      bVar6 = pcVar4[uVar7];\n    }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar7) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar6 = pcVar4[uVar7];" (assignment_expression "bVar6 = pcVar4[uVar7]" identifier = (subscript_expression "pcVar4[uVar7]" identifier [ identifier ])) ;) }) while (parenthesized_expression "((bVar6 == 0x20) || (bVar6 == 9))" ( (binary_expression "(bVar6 == 0x20) || (bVar6 == 9)" (parenthesized_expression "(bVar6 == 0x20)" ( (binary_expression "bVar6 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar6 == 9)" ( (binary_expression "bVar6 == 9" identifier == number_literal) ))) )) ;) })) (if_statement "if (bVar6 != 0x3a) goto LAB_0002be0b;" if (parenthesized_expression "(bVar6 != 0x3a)" ( (binary_expression "bVar6 != 0x3a" identifier != number_literal) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "uVar1 = uVar7 + 1;" (assignment_expression "uVar1 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "__s1 = (byte *)(pcVar4 + uVar1);" (assignment_expression "__s1 = (byte *)(pcVar4 + uVar1)" identifier = (cast_expression "(byte *)(pcVar4 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + uVar1)" ( (binary_expression "pcVar4 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "bVar6 = lex_type[bVar9];" (assignment_expression "bVar6 = lex_type[bVar9]" identifier = (subscript_expression "lex_type[bVar9]" identifier [ identifier ])) ;) (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) (labeled_statement "LAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" statement_identifier : (if_statement "if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" if (parenthesized_expression "((bVar9 == 9) || (bVar9 == 0x20))" ( (binary_expression "(bVar9 == 9) || (bVar9 == 0x20)" (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" { (do_statement "do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));" do (compound_statement "{\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = pcVar4[local_40];\n      __s1 = (byte *)(pcVar4 + local_40);\n    }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= local_40) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= local_40)" ( (binary_expression "uVar3 <= local_40" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "bVar9 = pcVar4[local_40];" (assignment_expression "bVar9 = pcVar4[local_40]" identifier = (subscript_expression "pcVar4[local_40]" identifier [ identifier ])) ;) (expression_statement "__s1 = (byte *)(pcVar4 + local_40);" (assignment_expression "__s1 = (byte *)(pcVar4 + local_40)" identifier = (cast_expression "(byte *)(pcVar4 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + local_40)" ( (binary_expression "pcVar4 + local_40" identifier + identifier) )))) ;) }) while (parenthesized_expression "((bVar9 == 0x20) || (bVar9 == 9))" ( (binary_expression "(bVar9 == 0x20) || (bVar9 == 9)" (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) ))) )) ;) }))) (if_statement "if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(pcVar4 + local_40);\n  }\n  else if (macro_mri == 0) goto LAB_0002bf06;" if (parenthesized_expression "(bVar9 == 0x2e)" ( (binary_expression "bVar9 == 0x2e" identifier == number_literal) )) (compound_statement "{\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(pcVar4 + local_40);\n  }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "__s1 = (byte *)(pcVar4 + local_40);" (assignment_expression "__s1 = (byte *)(pcVar4 + local_40)" identifier = (cast_expression "(byte *)(pcVar4 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + local_40)" ( (binary_expression "pcVar4 + local_40" identifier + identifier) )))) ;) }) (else_clause "else if (macro_mri == 0) goto LAB_0002bf06;" else (if_statement "if (macro_mri == 0) goto LAB_0002bf06;" if (parenthesized_expression "(macro_mri == 0)" ( (binary_expression "macro_mri == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)))) (if_statement "if (from == (char *)0x0) {\n    iVar8 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }" if (parenthesized_expression "(from == (char *)0x0)" ( (binary_expression "from == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar8 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }\n  }" { (expression_statement "iVar8 = strncasecmp((char *)__s1,"IRPC",4);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"IRPC",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IRPC",4)" identifier (argument_list "((char *)__s1,"IRPC",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002c101:\n      local_34 = 4;\n    }" { (labeled_statement "LAB_0002c101:\n      local_34 = 4;" statement_identifier : (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;)) }) (else_clause "else {\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" else (compound_statement "{\n      iVar8 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" { (expression_statement "iVar8 = strncasecmp((char *)__s1,"IRP",3);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"IRP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"IRP",3)" identifier (argument_list "((char *)__s1,"IRP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRP"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar8 != 0) {\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar8 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;\n        iVar8 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar8 != 0) goto LAB_0002be9f;\n      }" { (expression_statement "iVar8 = strncasecmp((char *)__s1,"IREPC",5);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"IREPC",5)" identifier = (call_expression "strncasecmp((char *)__s1,"IREPC",5)" identifier (argument_list "((char *)__s1,"IREPC",5)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar8 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" { (expression_statement "local_34 = 5;" (assignment_expression "local_34 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;) })) (expression_statement "iVar8 = strncasecmp((char *)__s1,"IREP",4);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"IREP",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IREP",4)" identifier (argument_list "((char *)__s1,"IREP",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREP"" " string_content ") , number_literal )))) ;) (if_statement "if ((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))\n        goto LAB_0002c101;" if (parenthesized_expression "((iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0))" ( (binary_expression "(iVar8 == 0) || (iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0)" ( (comma_expression "iVar8 = strncasecmp((char *)__s1,"REPT",4), iVar8 == 0" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"REPT",4)" identifier = (call_expression "strncasecmp((char *)__s1,"REPT",4)" identifier (argument_list "((char *)__s1,"REPT",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REPT"" " string_content ") , number_literal )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0002c101;" goto statement_identifier ;)) (expression_statement "iVar8 = strncasecmp((char *)__s1,"REP",3);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"REP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"REP",3)" identifier (argument_list "((char *)__s1,"REP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REP"" " string_content ") , number_literal )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if (iVar8 != 0) goto LAB_0002be9f;" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002be9f;" goto statement_identifier ;)) })) (expression_statement "local_34 = 3;" (assignment_expression "local_34 = 3" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002c049:\n    if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }" statement_identifier : (if_statement "if ((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))\n    {\n      local_24 = local_24 + 1;\n    }" if (parenthesized_expression "((local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0))" ( (binary_expression "(local_40 + local_34 == uVar3) || ((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0)" (parenthesized_expression "(local_40 + local_34 == uVar3)" ( (binary_expression "local_40 + local_34 == uVar3" (binary_expression "local_40 + local_34" identifier + identifier) == identifier) )) || (parenthesized_expression "((lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0)" ( (binary_expression "(lex_type[(byte)pcVar4[local_40 + local_34]] & 5) == 0" (parenthesized_expression "(lex_type[(byte)pcVar4[local_40 + local_34]] & 5)" ( (binary_expression "lex_type[(byte)pcVar4[local_40 + local_34]] & 5" (subscript_expression "lex_type[(byte)pcVar4[local_40 + local_34]]" identifier [ (cast_expression "(byte)pcVar4[local_40 + local_34]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar4[local_40 + local_34]" identifier [ (binary_expression "local_40 + local_34" identifier + identifier) ])) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }" else (compound_statement "{\n    iVar8 = strncasecmp((char *)__s1,from,local_34);\n    if (iVar8 == 0) goto LAB_0002c049;\n  }" { (expression_statement "iVar8 = strncasecmp((char *)__s1,from,local_34);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,from,local_34)" identifier = (call_expression "strncasecmp((char *)__s1,from,local_34)" identifier (argument_list "((char *)__s1,from,local_34)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (if_statement "if (iVar8 == 0) goto LAB_0002c049;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0002be9f:\n  iVar8 = strncasecmp((char *)__s1,to,__n);" statement_identifier : (expression_statement "iVar8 = strncasecmp((char *)__s1,to,__n);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,to,__n)" identifier = (call_expression "strncasecmp((char *)__s1,to,__n)" identifier (argument_list "((char *)__s1,to,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;)) (if_statement "if ((iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))) {\n    ptr->len = uVar1;\n    return 1;\n  }" if (parenthesized_expression "((iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0))))" ( (binary_expression "(iVar8 == 0) &&\n     (((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)))" ( (parenthesized_expression "((local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0))" ( (binary_expression "(local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)) &&\n      (local_24 = local_24 + -1, local_24 == 0)" (parenthesized_expression "(local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0))" ( (binary_expression "local_40 + __n == uVar3 || ((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)" (binary_expression "local_40 + __n == uVar3" (binary_expression "local_40 + __n" identifier + identifier) == identifier) || (parenthesized_expression "((lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0)" ( (binary_expression "(lex_type[(byte)pcVar4[local_40 + __n]] & 5) == 0" (parenthesized_expression "(lex_type[(byte)pcVar4[local_40 + __n]] & 5)" ( (binary_expression "lex_type[(byte)pcVar4[local_40 + __n]] & 5" (subscript_expression "lex_type[(byte)pcVar4[local_40 + __n]]" identifier [ (cast_expression "(byte)pcVar4[local_40 + __n]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar4[local_40 + __n]" identifier [ (binary_expression "local_40 + __n" identifier + identifier) ])) ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(local_24 = local_24 + -1, local_24 == 0)" ( (comma_expression "local_24 = local_24 + -1, local_24 == 0" (assignment_expression "local_24 = local_24 + -1" identifier = (binary_expression "local_24 + -1" identifier + number_literal)) , (binary_expression "local_24 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    ptr->len = uVar1;\n    return 1;\n  }" { (expression_statement "ptr->len = uVar1;" (assignment_expression "ptr->len = uVar1" (field_expression "ptr->len" identifier -> field_identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar8 = strncasecmp((char *)__s1,"linefile",8);" (assignment_expression "iVar8 = strncasecmp((char *)__s1,"linefile",8)" identifier = (call_expression "strncasecmp((char *)__s1,"linefile",8)" identifier (argument_list "((char *)__s1,"linefile",8)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""linefile"" " string_content ") , number_literal )))) ;) (expression_statement "pcVar5 = input_line_pointer;" (assignment_expression "pcVar5 = input_line_pointer" identifier = identifier) ;) (if_statement "if (iVar8 == 0) {\n    cVar2 = pcVar4[uVar3];\n    pcVar4[uVar3] = '\0';\n    input_line_pointer = ptr->ptr + local_40 + 8;\n    s_app_line(0);\n    ptr->ptr[ptr->len] = cVar2;\n    input_line_pointer = pcVar5;\n    ptr->len = uVar1;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    cVar2 = pcVar4[uVar3];\n    pcVar4[uVar3] = '\0';\n    input_line_pointer = ptr->ptr + local_40 + 8;\n    s_app_line(0);\n    ptr->ptr[ptr->len] = cVar2;\n    input_line_pointer = pcVar5;\n    ptr->len = uVar1;\n  }" { (expression_statement "cVar2 = pcVar4[uVar3];" (assignment_expression "cVar2 = pcVar4[uVar3]" identifier = (subscript_expression "pcVar4[uVar3]" identifier [ identifier ])) ;) (expression_statement "pcVar4[uVar3] = '\0';" (assignment_expression "pcVar4[uVar3] = '\0'" (subscript_expression "pcVar4[uVar3]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "input_line_pointer = ptr->ptr + local_40 + 8;" (assignment_expression "input_line_pointer = ptr->ptr + local_40 + 8" identifier = (binary_expression "ptr->ptr + local_40 + 8" (binary_expression "ptr->ptr + local_40" (field_expression "ptr->ptr" identifier -> field_identifier) + identifier) + number_literal)) ;) (expression_statement "s_app_line(0);" (call_expression "s_app_line(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "ptr->ptr[ptr->len] = cVar2;" (assignment_expression "ptr->ptr[ptr->len] = cVar2" (subscript_expression "ptr->ptr[ptr->len]" (field_expression "ptr->ptr" identifier -> field_identifier) [ (field_expression "ptr->len" identifier -> field_identifier) ]) = identifier) ;) (expression_statement "input_line_pointer = pcVar5;" (assignment_expression "input_line_pointer = pcVar5" identifier = identifier) ;) (expression_statement "ptr->len = uVar1;" (assignment_expression "ptr->len = uVar1" (field_expression "ptr->len" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_0002bf06:\n  sb_add_char(ptr,local_38);" statement_identifier : (expression_statement "sb_add_char(ptr,local_38);" (call_expression "sb_add_char(ptr,local_38)" identifier (argument_list "(ptr,local_38)" ( identifier , identifier ))) ;)) (expression_statement "local_40 = ptr->len;" (assignment_expression "local_40 = ptr->len" identifier = (field_expression "ptr->len" identifier -> field_identifier)) ;) (expression_statement "local_38 = (*get_line)(ptr);" (assignment_expression "local_38 = (*get_line)(ptr)" identifier = (call_expression "(*get_line)(ptr)" (parenthesized_expression "(*get_line)" ( (pointer_expression "*get_line" * identifier) )) (argument_list "(ptr)" ( identifier )))) ;) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0002bd70;" goto statement_identifier ;) })))
(translation_unit "undefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}\n\n" (function_definition "undefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" type_identifier (function_declarator "FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)" identifier (parameter_list "(char *param_1,char *param_2,int *param_3,code *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "size_t local_34;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" identifier = (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }" if (parenthesized_expression "((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0))" ( (binary_expression "(__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" (parenthesized_expression "(__n == 4)" ( (binary_expression "__n == 4" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" ( (comma_expression "iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0" (assignment_expression "iVar8 = strcasecmp(param_2,"ENDR")" identifier = (call_expression "strcasecmp(param_2,"ENDR")" identifier (argument_list "(param_2,"ENDR")" ( identifier , (string_literal ""ENDR"" " string_content ") )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "param_1 = (char *)0x0;" (assignment_expression "param_1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_34 = strlen(param_1);\n  }" else (compound_statement "{\n    local_34 = strlen(param_1);\n  }" { (expression_statement "local_34 = strlen(param_1);" (assignment_expression "local_34 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0002bd70:\n  uVar3 = param_3[1];" statement_identifier : (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;)) (if_statement "if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" if (parenthesized_expression "(local_40 < uVar3)" ( (binary_expression "local_40 < uVar3" identifier < identifier) )) (compound_statement "{\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" { (expression_statement "iVar8 = *param_3;" (assignment_expression "iVar8 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "uVar6 = local_40;" (assignment_expression "uVar6 = local_40" identifier = identifier) ;) (while_statement "while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" { (if_statement "if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" if (parenthesized_expression "((bVar9 != 0x20) && (bVar9 != 9))" ( (binary_expression "(bVar9 != 0x20) && (bVar9 != 9)" (parenthesized_expression "(bVar9 != 0x20)" ( (binary_expression "bVar9 != 0x20" identifier != number_literal) )) && (parenthesized_expression "(bVar9 != 9)" ( (binary_expression "bVar9 != 9" identifier != number_literal) ))) )) (compound_statement "{\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" { (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (expression_statement "uVar1 = local_40;" (assignment_expression "uVar1 = local_40" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) })) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 == uVar3) break;" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "bVar9 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar9 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) (expression_statement "__s1 = (byte *)(iVar8 + uVar6);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar6)" identifier = (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) )))) ;) })) })) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;) (labeled_statement "joined_r0x0002bdc4:\n  local_40 = uVar6;" statement_identifier : (expression_statement "local_40 = uVar6;" (assignment_expression "local_40 = uVar6" identifier = identifier) ;)) (if_statement "if ((bVar5 & 2) == 0) goto LAB_0002be21;" if (parenthesized_expression "((bVar5 & 2) == 0)" ( (binary_expression "(bVar5 & 2) == 0" (parenthesized_expression "(bVar5 & 2)" ( (binary_expression "bVar5 & 2" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;)) (expression_statement "uVar6 = local_40 + 1;" (assignment_expression "uVar6 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (compound_statement "{\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" { (labeled_statement "LAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;" statement_identifier : (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;))) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" identifier = (cast_expression "(byte *)(iVar8 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar1)" ( (binary_expression "iVar8 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "local_40 = uVar1;" (assignment_expression "local_40 = uVar1" identifier = identifier) ;) (goto_statement "goto LAB_0002be21;" goto statement_identifier ;) })) (expression_statement "bVar5 = *(byte *)(iVar8 + 1 + local_40);" (assignment_expression "bVar5 = *(byte *)(iVar8 + 1 + local_40)" identifier = (pointer_expression "*(byte *)(iVar8 + 1 + local_40)" * (cast_expression "(byte *)(iVar8 + 1 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 1 + local_40)" ( (binary_expression "iVar8 + 1 + local_40" (binary_expression "iVar8 + 1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (while_statement "while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" while (parenthesized_expression "((bVar9 & 1) != 0)" ( (binary_expression "(bVar9 & 1) != 0" (parenthesized_expression "(bVar9 & 1)" ( (binary_expression "bVar9 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) })) (if_statement "if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" if (parenthesized_expression "((bVar9 & 4) != 0)" ( (binary_expression "(bVar9 & 4) != 0" (parenthesized_expression "(bVar9 & 4)" ( (binary_expression "bVar9 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) })) (if_statement "if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" if (parenthesized_expression "((bVar5 == 9) || (bVar5 == 0x20))" ( (binary_expression "(bVar5 == 9) || (bVar5 == 0x20)" (parenthesized_expression "(bVar5 == 9)" ( (binary_expression "bVar5 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x20)" ( (binary_expression "bVar5 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" { (do_statement "do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));" do (compound_statement "{\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" if (parenthesized_expression "(uVar3 <= uVar6)" ( (binary_expression "uVar3 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" identifier = (pointer_expression "*(byte *)(iVar8 + uVar6)" * (cast_expression "(byte *)(iVar8 + uVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar6)" ( (binary_expression "iVar8 + uVar6" identifier + identifier) ))))) ;) }) while (parenthesized_expression "((bVar5 == 0x20) || (bVar5 == 9))" ( (binary_expression "(bVar5 == 0x20) || (bVar5 == 9)" (parenthesized_expression "(bVar5 == 0x20)" ( (binary_expression "bVar5 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 9)" ( (binary_expression "bVar5 == 9" identifier == number_literal) ))) )) ;) })) (if_statement "if (bVar5 != 0x3a) goto LAB_0002be0b;" if (parenthesized_expression "(bVar5 != 0x3a)" ( (binary_expression "bVar5 != 0x3a" identifier != number_literal) )) (goto_statement "goto LAB_0002be0b;" goto statement_identifier ;)) (expression_statement "uVar1 = uVar6 + 1;" (assignment_expression "uVar1 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= uVar1)" ( (binary_expression "uVar3 <= uVar1" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" identifier = (cast_expression "(byte *)(iVar8 + uVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + uVar1)" ( (binary_expression "iVar8 + uVar1" identifier + identifier) )))) ;) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" identifier = (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ identifier ])) ;) (expression_statement "uVar6 = uVar1;" (assignment_expression "uVar6 = uVar1" identifier = identifier) ;) (goto_statement "goto joined_r0x0002bdc4;" goto statement_identifier ;) (labeled_statement "LAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" statement_identifier : (if_statement "if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" if (parenthesized_expression "((bVar9 == 9) || (bVar9 == 0x20))" ( (binary_expression "(bVar9 == 9) || (bVar9 == 0x20)" (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" { (do_statement "do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));" do (compound_statement "{\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 <= local_40) goto LAB_0002bf06;" if (parenthesized_expression "(uVar3 <= local_40)" ( (binary_expression "uVar3 <= local_40" identifier <= identifier) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)) (expression_statement "bVar9 = *(byte *)(iVar8 + local_40);" (assignment_expression "bVar9 = *(byte *)(iVar8 + local_40)" identifier = (pointer_expression "*(byte *)(iVar8 + local_40)" * (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) ))))) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) }) while (parenthesized_expression "((bVar9 == 0x20) || (bVar9 == 9))" ( (binary_expression "(bVar9 == 0x20) || (bVar9 == 9)" (parenthesized_expression "(bVar9 == 0x20)" ( (binary_expression "bVar9 == 0x20" identifier == number_literal) )) || (parenthesized_expression "(bVar9 == 9)" ( (binary_expression "bVar9 == 9" identifier == number_literal) ))) )) ;) }))) (if_statement "if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;" if (parenthesized_expression "(bVar9 == 0x2e)" ( (binary_expression "bVar9 == 0x2e" identifier == number_literal) )) (compound_statement "{\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }" { (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" identifier = (cast_expression "(byte *)(iVar8 + local_40)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40)" ( (binary_expression "iVar8 + local_40" identifier + identifier) )))) ;) }) (else_clause "else if (DAT_000839e8 == 0) goto LAB_0002bf06;" else (if_statement "if (DAT_000839e8 == 0) goto LAB_0002bf06;" if (parenthesized_expression "(DAT_000839e8 == 0)" ( (binary_expression "DAT_000839e8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002bf06;" goto statement_identifier ;)))) (if_statement "if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRPC",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRPC",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IRPC",4)" identifier (argument_list "((char *)__s1,"IRPC",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002c101:\n      local_34 = 4;\n    }" { (labeled_statement "LAB_0002c101:\n      local_34 = 4;" statement_identifier : (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" identifier = number_literal) ;)) }) (else_clause "else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" else (compound_statement "{\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"IRP",3)" identifier (argument_list "((char *)__s1,"IRP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IRP"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREPC",5);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREPC",5)" identifier = (call_expression "strncasecmp((char *)__s1,"IREPC",5)" identifier (argument_list "((char *)__s1,"IREPC",5)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREPC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" { (expression_statement "local_34 = 5;" (assignment_expression "local_34 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;) })) (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREP",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREP",4)" identifier = (call_expression "strncasecmp((char *)__s1,"IREP",4)" identifier (argument_list "((char *)__s1,"IREP",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IREP"" " string_content ") , number_literal )))) ;) (if_statement "if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;" if (parenthesized_expression "((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))" ( (binary_expression "(iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" ( (comma_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4)" identifier = (call_expression "strncasecmp((char *)__s1,"REPT",4)" identifier (argument_list "((char *)__s1,"REPT",4)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REPT"" " string_content ") , number_literal )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0002c101;" goto statement_identifier ;)) (expression_statement "iVar7 = strncasecmp((char *)__s1,"REP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REP",3)" identifier = (call_expression "strncasecmp((char *)__s1,"REP",3)" identifier (argument_list "((char *)__s1,"REP",3)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""REP"" " string_content ") , number_literal )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if (iVar7 != 0) goto LAB_0002be9f;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002be9f;" goto statement_identifier ;)) })) (expression_statement "local_34 = 3;" (assignment_expression "local_34 = 3" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" statement_identifier : (if_statement "if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" if (parenthesized_expression "((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0))" ( (binary_expression "(local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" (parenthesized_expression "(local_40 + local_34 == uVar3)" ( (binary_expression "local_40 + local_34 == uVar3" (binary_expression "local_40 + local_34" identifier + identifier) == identifier) )) || (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" ( (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5)" ( (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ (pointer_expression "*(byte *)(iVar8 + local_40 + local_34)" * (cast_expression "(byte *)(iVar8 + local_40 + local_34)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40 + local_34)" ( (binary_expression "iVar8 + local_40 + local_34" (binary_expression "iVar8 + local_40" identifier + identifier) + identifier) )))) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" else (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" { (expression_statement "iVar7 = strncasecmp((char *)__s1,param_1,local_34);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_1,local_34)" identifier = (call_expression "strncasecmp((char *)__s1,param_1,local_34)" identifier (argument_list "((char *)__s1,param_1,local_34)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) goto LAB_0002c049;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c049;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);" statement_identifier : (expression_statement "iVar7 = strncasecmp((char *)__s1,param_2,__n);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_2,__n)" identifier = (call_expression "strncasecmp((char *)__s1,param_2,__n)" identifier (argument_list "((char *)__s1,param_2,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;)) (if_statement "if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }" if (parenthesized_expression "((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))))" ( (binary_expression "(iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" ( (parenthesized_expression "((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))" ( (binary_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)" (parenthesized_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))" ( (binary_expression "local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" (binary_expression "local_40 + __n == uVar3" (binary_expression "local_40 + __n" identifier + identifier) == identifier) || (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" ( (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5)" ( (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)]" (parenthesized_expression "(&DAT_0007b3c0)" ( (pointer_expression "&DAT_0007b3c0" & identifier) )) [ (pointer_expression "*(byte *)(iVar8 + local_40 + __n)" * (cast_expression "(byte *)(iVar8 + local_40 + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + local_40 + __n)" ( (binary_expression "iVar8 + local_40 + __n" (binary_expression "iVar8 + local_40" identifier + identifier) + identifier) )))) ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(local_24 = local_24 + -1, local_24 == 0)" ( (comma_expression "local_24 = local_24 + -1, local_24 == 0" (assignment_expression "local_24 = local_24 + -1" identifier = (binary_expression "local_24 + -1" identifier + number_literal)) , (binary_expression "local_24 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    param_3[1] = uVar1;\n    return 1;\n  }" { (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar7 = strncasecmp((char *)__s1,"linefile",8);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"linefile",8)" identifier = (call_expression "strncasecmp((char *)__s1,"linefile",8)" identifier (argument_list "((char *)__s1,"linefile",8)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""linefile"" " string_content ") , number_literal )))) ;) (expression_statement "uVar4 = DAT_00083ef0;" (assignment_expression "uVar4 = DAT_00083ef0" identifier = identifier) ;) (if_statement "if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" { (expression_statement "uVar2 = *(undefined1 *)(uVar3 + iVar8);" (assignment_expression "uVar2 = *(undefined1 *)(uVar3 + iVar8)" identifier = (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" * (cast_expression "(undefined1 *)(uVar3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar8)" ( (binary_expression "uVar3 + iVar8" identifier + identifier) ))))) ;) (expression_statement "*(undefined1 *)(uVar3 + iVar8) = 0;" (assignment_expression "*(undefined1 *)(uVar3 + iVar8) = 0" (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" * (cast_expression "(undefined1 *)(uVar3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar8)" ( (binary_expression "uVar3 + iVar8" identifier + identifier) )))) = number_literal) ;) (expression_statement "DAT_00083ef0 = *param_3 + 8 + local_40;" (assignment_expression "DAT_00083ef0 = *param_3 + 8 + local_40" identifier = (binary_expression "*param_3 + 8 + local_40" (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) + identifier)) ;) (expression_statement "FUN_00034820(0);" (call_expression "FUN_00034820(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "*(undefined1 *)(*param_3 + param_3[1]) = uVar2;" (assignment_expression "*(undefined1 *)(*param_3 + param_3[1]) = uVar2" (pointer_expression "*(undefined1 *)(*param_3 + param_3[1])" * (cast_expression "(undefined1 *)(*param_3 + param_3[1])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + param_3[1])" ( (binary_expression "*param_3 + param_3[1]" (pointer_expression "*param_3" * identifier) + (subscript_expression "param_3[1]" identifier [ number_literal ])) )))) = identifier) ;) (expression_statement "DAT_00083ef0 = uVar4;" (assignment_expression "DAT_00083ef0 = uVar4" identifier = identifier) ;) (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0002bf06:\n  FUN_00036450(param_3,local_38);" statement_identifier : (expression_statement "FUN_00036450(param_3,local_38);" (call_expression "FUN_00036450(param_3,local_38)" identifier (argument_list "(param_3,local_38)" ( identifier , identifier ))) ;)) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" identifier = (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(local_38 == 0)" ( (binary_expression "local_38 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0002bd70;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) })) })) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ;) }))) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) == IDENT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) )))) ]) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) == IDENT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) )))) ]) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (subscript_expression IDENT [ LIT ])) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })))
(function_definition "undefined4 FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002bce0(char *param_1,char *param_2,int *param_3,code *param_4)" (identifier "FUN_0002bce0") (parameter_list "(char *param_1,char *param_2,int *param_3,code *param_4)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "code *param_4" (type_identifier "code") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  size_t __n;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  byte bVar9;\n  byte *__s1;\n  uint local_40;\n  int local_38;\n  size_t local_34;\n  int local_24;\n  \n  __n = strlen(param_2);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }\n  if (local_38 == 0) {\n    return 0;\n  }\n  local_24 = 1;\nLAB_0002bd70:\n  uVar3 = param_3[1];\n  if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }\n  goto LAB_0002bf06;\njoined_r0x0002bdc4:\n  local_40 = uVar6;\n  if ((bVar5 & 2) == 0) goto LAB_0002be21;\n  uVar6 = local_40 + 1;\n  if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }\n  bVar5 = *(byte *)(iVar8 + 1 + local_40);\n  bVar9 = (&DAT_0007b3c0)[bVar5];\n  while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }\n  if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }\n  if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }\n  if (bVar5 != 0x3a) goto LAB_0002be0b;\n  uVar1 = uVar6 + 1;\n  if (uVar3 <= uVar1) goto LAB_0002bf06;\n  __s1 = (byte *)(iVar8 + uVar1);\n  bVar9 = *__s1;\n  bVar5 = (&DAT_0007b3c0)[bVar9];\n  uVar6 = uVar1;\n  goto joined_r0x0002bdc4;\nLAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }\n  if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;\n  if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }\nLAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);\n  if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }\n  iVar7 = strncasecmp((char *)__s1,"linefile",8);\n  uVar4 = DAT_00083ef0;\n  if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }\nLAB_0002bf06:\n  FUN_00036450(param_3,local_38);\n  local_40 = param_3[1];\n  local_38 = (*param_4)(param_3);\n  if (local_38 == 0) {\n    return 0;\n  }\n  goto LAB_0002bd70;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte bVar9;" (type_identifier "byte") (identifier "bVar9") (; ";")) (declaration "byte *__s1;" (type_identifier "byte") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "size_t local_34;" (primitive_type "size_t") (identifier "local_34") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" (identifier "__n") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" (identifier "local_40") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" (identifier "local_38") (= "=") (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }\n  else {\n    local_34 = strlen(param_1);\n  }" (if "if") (parenthesized_expression "((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0))" (( "(") (binary_expression "(__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" (parenthesized_expression "(__n == 4)" (( "(") (binary_expression "__n == 4" (identifier "__n") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)" (( "(") (comma_expression "iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0" (assignment_expression "iVar8 = strcasecmp(param_2,"ENDR")" (identifier "iVar8") (= "=") (call_expression "strcasecmp(param_2,"ENDR")" (identifier "strcasecmp") (argument_list "(param_2,"ENDR")" (( "(") (identifier "param_2") (, ",") (string_literal ""ENDR"" (" """) (string_content "ENDR") (" """)) () ")")))) (, ",") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    local_34 = 0;\n    param_1 = (char *)0x0;\n  }" ({ "{") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1 = (char *)0x0;" (assignment_expression "param_1 = (char *)0x0" (identifier "param_1") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    local_34 = strlen(param_1);\n  }" (else "else") (compound_statement "{\n    local_34 = strlen(param_1);\n  }" ({ "{") (expression_statement "local_34 = strlen(param_1);" (assignment_expression "local_34 = strlen(param_1)" (identifier "local_34") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(local_38 == 0)" (( "(") (binary_expression "local_38 == 0" (identifier "local_38") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0002bd70:\n  uVar3 = param_3[1];" (statement_identifier "LAB_0002bd70") (: ":") (expression_statement "uVar3 = param_3[1];" (assignment_expression "uVar3 = param_3[1]" (identifier "uVar3") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (if_statement "if (local_40 < uVar3) {\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" (if "if") (parenthesized_expression "(local_40 < uVar3)" (( "(") (binary_expression "local_40 < uVar3" (identifier "local_40") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n    iVar8 = *param_3;\n    __s1 = (byte *)(iVar8 + local_40);\n    bVar9 = *__s1;\n    uVar6 = local_40;\n    while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }\n  }" ({ "{") (expression_statement "iVar8 = *param_3;" (assignment_expression "iVar8 = *param_3" (identifier "iVar8") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + local_40)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40)" (( "(") (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) () ")")))) (; ";")) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" (identifier "bVar9") (= "=") (pointer_expression "*__s1" (* "*") (identifier "__s1"))) (; ";")) (expression_statement "uVar6 = local_40;" (assignment_expression "uVar6 = local_40" (identifier "uVar6") (= "=") (identifier "local_40")) (; ";")) (while_statement "while( true ) {\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }\n      uVar6 = uVar6 + 1;\n      if (uVar6 == uVar3) break;\n      bVar9 = *(byte *)(iVar8 + uVar6);\n      __s1 = (byte *)(iVar8 + uVar6);\n    }" ({ "{") (if_statement "if ((bVar9 != 0x20) && (bVar9 != 9)) {\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" (if "if") (parenthesized_expression "((bVar9 != 0x20) && (bVar9 != 9))" (( "(") (binary_expression "(bVar9 != 0x20) && (bVar9 != 9)" (parenthesized_expression "(bVar9 != 0x20)" (( "(") (binary_expression "bVar9 != 0x20" (identifier "bVar9") (!= "!=") (number_literal "0x20")) () ")")) (&& "&&") (parenthesized_expression "(bVar9 != 9)" (( "(") (binary_expression "bVar9 != 9" (identifier "bVar9") (!= "!=") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n        bVar5 = (&DAT_0007b3c0)[bVar9];\n        uVar1 = local_40;\n        goto joined_r0x0002bdc4;\n      }" ({ "{") (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" (identifier "bVar5") (= "=") (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (identifier "bVar9") (] "]"))) (; ";")) (expression_statement "uVar1 = local_40;" (assignment_expression "uVar1 = local_40" (identifier "uVar1") (= "=") (identifier "local_40")) (; ";")) (goto_statement "goto joined_r0x0002bdc4;" (goto "goto") (statement_identifier "joined_r0x0002bdc4") (; ";")) (} "}"))) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar6 == uVar3) break;" (if "if") (parenthesized_expression "(uVar6 == uVar3)" (( "(") (binary_expression "uVar6 == uVar3" (identifier "uVar6") (== "==") (identifier "uVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar9 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar9 = *(byte *)(iVar8 + uVar6)" (identifier "bVar9") (= "=") (pointer_expression "*(byte *)(iVar8 + uVar6)" (* "*") (cast_expression "(byte *)(iVar8 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar6)" (( "(") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6")) () ")"))))) (; ";")) (expression_statement "__s1 = (byte *)(iVar8 + uVar6);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar6)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar6)" (( "(") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6")) () ")")))) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_0002bf06;" (goto "goto") (statement_identifier "LAB_0002bf06") (; ";")) (labeled_statement "joined_r0x0002bdc4:\n  local_40 = uVar6;" (statement_identifier "joined_r0x0002bdc4") (: ":") (expression_statement "local_40 = uVar6;" (assignment_expression "local_40 = uVar6" (identifier "local_40") (= "=") (identifier "uVar6")) (; ";"))) (if_statement "if ((bVar5 & 2) == 0) goto LAB_0002be21;" (if "if") (parenthesized_expression "((bVar5 & 2) == 0)" (( "(") (binary_expression "(bVar5 & 2) == 0" (parenthesized_expression "(bVar5 & 2)" (( "(") (binary_expression "bVar5 & 2" (identifier "bVar5") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002be21;" (goto "goto") (statement_identifier "LAB_0002be21") (; ";"))) (expression_statement "uVar6 = local_40 + 1;" (assignment_expression "uVar6 = local_40 + 1" (identifier "uVar6") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= uVar6) {\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" (if "if") (parenthesized_expression "(uVar3 <= uVar6)" (( "(") (binary_expression "uVar3 <= uVar6" (identifier "uVar3") (<= "<=") (identifier "uVar6")) () ")")) (compound_statement "{\nLAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;\n    __s1 = (byte *)(iVar8 + uVar1);\n    bVar9 = *__s1;\n    local_40 = uVar1;\n    goto LAB_0002be21;\n  }" ({ "{") (labeled_statement "LAB_0002be0b:\n    if (uVar3 <= uVar1) goto LAB_0002bf06;" (statement_identifier "LAB_0002be0b") (: ":") (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" (if "if") (parenthesized_expression "(uVar3 <= uVar1)" (( "(") (binary_expression "uVar3 <= uVar1" (identifier "uVar3") (<= "<=") (identifier "uVar1")) () ")")) (goto_statement "goto LAB_0002bf06;" (goto "goto") (statement_identifier "LAB_0002bf06") (; ";")))) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + uVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar1)" (( "(") (binary_expression "iVar8 + uVar1" (identifier "iVar8") (+ "+") (identifier "uVar1")) () ")")))) (; ";")) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" (identifier "bVar9") (= "=") (pointer_expression "*__s1" (* "*") (identifier "__s1"))) (; ";")) (expression_statement "local_40 = uVar1;" (assignment_expression "local_40 = uVar1" (identifier "local_40") (= "=") (identifier "uVar1")) (; ";")) (goto_statement "goto LAB_0002be21;" (goto "goto") (statement_identifier "LAB_0002be21") (; ";")) (} "}"))) (expression_statement "bVar5 = *(byte *)(iVar8 + 1 + local_40);" (assignment_expression "bVar5 = *(byte *)(iVar8 + 1 + local_40)" (identifier "bVar5") (= "=") (pointer_expression "*(byte *)(iVar8 + 1 + local_40)" (* "*") (cast_expression "(byte *)(iVar8 + 1 + local_40)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 1 + local_40)" (( "(") (binary_expression "iVar8 + 1 + local_40" (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1")) (+ "+") (identifier "local_40")) () ")"))))) (; ";")) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" (identifier "bVar9") (= "=") (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (identifier "bVar5") (] "]"))) (; ";")) (while_statement "while ((bVar9 & 1) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" (while "while") (parenthesized_expression "((bVar9 & 1) != 0)" (( "(") (binary_expression "(bVar9 & 1) != 0" (parenthesized_expression "(bVar9 & 1)" (( "(") (binary_expression "bVar9 & 1" (identifier "bVar9") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n    bVar9 = (&DAT_0007b3c0)[bVar5];\n  }" ({ "{") (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" (if "if") (parenthesized_expression "(uVar3 <= uVar6)" (( "(") (binary_expression "uVar3 <= uVar6" (identifier "uVar3") (<= "<=") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_0002be0b;" (goto "goto") (statement_identifier "LAB_0002be0b") (; ";"))) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" (identifier "bVar5") (= "=") (pointer_expression "*(byte *)(iVar8 + uVar6)" (* "*") (cast_expression "(byte *)(iVar8 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar6)" (( "(") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6")) () ")"))))) (; ";")) (expression_statement "bVar9 = (&DAT_0007b3c0)[bVar5];" (assignment_expression "bVar9 = (&DAT_0007b3c0)[bVar5]" (identifier "bVar9") (= "=") (subscript_expression "(&DAT_0007b3c0)[bVar5]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (identifier "bVar5") (] "]"))) (; ";")) (} "}"))) (if_statement "if ((bVar9 & 4) != 0) {\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" (if "if") (parenthesized_expression "((bVar9 & 4) != 0)" (( "(") (binary_expression "(bVar9 & 4) != 0" (parenthesized_expression "(bVar9 & 4)" (( "(") (binary_expression "bVar9 & 4" (identifier "bVar9") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = uVar6 + 1;\n    if (uVar3 <= uVar6) goto LAB_0002be0b;\n    bVar5 = *(byte *)(iVar8 + uVar6);\n  }" ({ "{") (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" (if "if") (parenthesized_expression "(uVar3 <= uVar6)" (( "(") (binary_expression "uVar3 <= uVar6" (identifier "uVar3") (<= "<=") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_0002be0b;" (goto "goto") (statement_identifier "LAB_0002be0b") (; ";"))) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" (identifier "bVar5") (= "=") (pointer_expression "*(byte *)(iVar8 + uVar6)" (* "*") (cast_expression "(byte *)(iVar8 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar6)" (( "(") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((bVar5 == 9) || (bVar5 == 0x20)) {\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" (if "if") (parenthesized_expression "((bVar5 == 9) || (bVar5 == 0x20))" (( "(") (binary_expression "(bVar5 == 9) || (bVar5 == 0x20)" (parenthesized_expression "(bVar5 == 9)" (( "(") (binary_expression "bVar5 == 9" (identifier "bVar5") (== "==") (number_literal "9")) () ")")) (|| "||") (parenthesized_expression "(bVar5 == 0x20)" (( "(") (binary_expression "bVar5 == 0x20" (identifier "bVar5") (== "==") (number_literal "0x20")) () ")"))) () ")")) (compound_statement "{\n    do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));\n  }" ({ "{") (do_statement "do {\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    } while ((bVar5 == 0x20) || (bVar5 == 9));" (do "do") (compound_statement "{\n      uVar6 = uVar6 + 1;\n      if (uVar3 <= uVar6) goto LAB_0002be0b;\n      bVar5 = *(byte *)(iVar8 + uVar6);\n    }" ({ "{") (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= uVar6) goto LAB_0002be0b;" (if "if") (parenthesized_expression "(uVar3 <= uVar6)" (( "(") (binary_expression "uVar3 <= uVar6" (identifier "uVar3") (<= "<=") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_0002be0b;" (goto "goto") (statement_identifier "LAB_0002be0b") (; ";"))) (expression_statement "bVar5 = *(byte *)(iVar8 + uVar6);" (assignment_expression "bVar5 = *(byte *)(iVar8 + uVar6)" (identifier "bVar5") (= "=") (pointer_expression "*(byte *)(iVar8 + uVar6)" (* "*") (cast_expression "(byte *)(iVar8 + uVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar6)" (( "(") (binary_expression "iVar8 + uVar6" (identifier "iVar8") (+ "+") (identifier "uVar6")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((bVar5 == 0x20) || (bVar5 == 9))" (( "(") (binary_expression "(bVar5 == 0x20) || (bVar5 == 9)" (parenthesized_expression "(bVar5 == 0x20)" (( "(") (binary_expression "bVar5 == 0x20" (identifier "bVar5") (== "==") (number_literal "0x20")) () ")")) (|| "||") (parenthesized_expression "(bVar5 == 9)" (( "(") (binary_expression "bVar5 == 9" (identifier "bVar5") (== "==") (number_literal "9")) () ")"))) () ")")) (; ";")) (} "}"))) (if_statement "if (bVar5 != 0x3a) goto LAB_0002be0b;" (if "if") (parenthesized_expression "(bVar5 != 0x3a)" (( "(") (binary_expression "bVar5 != 0x3a" (identifier "bVar5") (!= "!=") (number_literal "0x3a")) () ")")) (goto_statement "goto LAB_0002be0b;" (goto "goto") (statement_identifier "LAB_0002be0b") (; ";"))) (expression_statement "uVar1 = uVar6 + 1;" (assignment_expression "uVar1 = uVar6 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= uVar1) goto LAB_0002bf06;" (if "if") (parenthesized_expression "(uVar3 <= uVar1)" (( "(") (binary_expression "uVar3 <= uVar1" (identifier "uVar3") (<= "<=") (identifier "uVar1")) () ")")) (goto_statement "goto LAB_0002bf06;" (goto "goto") (statement_identifier "LAB_0002bf06") (; ";"))) (expression_statement "__s1 = (byte *)(iVar8 + uVar1);" (assignment_expression "__s1 = (byte *)(iVar8 + uVar1)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + uVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + uVar1)" (( "(") (binary_expression "iVar8 + uVar1" (identifier "iVar8") (+ "+") (identifier "uVar1")) () ")")))) (; ";")) (expression_statement "bVar9 = *__s1;" (assignment_expression "bVar9 = *__s1" (identifier "bVar9") (= "=") (pointer_expression "*__s1" (* "*") (identifier "__s1"))) (; ";")) (expression_statement "bVar5 = (&DAT_0007b3c0)[bVar9];" (assignment_expression "bVar5 = (&DAT_0007b3c0)[bVar9]" (identifier "bVar5") (= "=") (subscript_expression "(&DAT_0007b3c0)[bVar9]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (identifier "bVar9") (] "]"))) (; ";")) (expression_statement "uVar6 = uVar1;" (assignment_expression "uVar6 = uVar1" (identifier "uVar6") (= "=") (identifier "uVar1")) (; ";")) (goto_statement "goto joined_r0x0002bdc4;" (goto "goto") (statement_identifier "joined_r0x0002bdc4") (; ";")) (labeled_statement "LAB_0002be21:\n  if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" (statement_identifier "LAB_0002be21") (: ":") (if_statement "if ((bVar9 == 9) || (bVar9 == 0x20)) {\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" (if "if") (parenthesized_expression "((bVar9 == 9) || (bVar9 == 0x20))" (( "(") (binary_expression "(bVar9 == 9) || (bVar9 == 0x20)" (parenthesized_expression "(bVar9 == 9)" (( "(") (binary_expression "bVar9 == 9" (identifier "bVar9") (== "==") (number_literal "9")) () ")")) (|| "||") (parenthesized_expression "(bVar9 == 0x20)" (( "(") (binary_expression "bVar9 == 0x20" (identifier "bVar9") (== "==") (number_literal "0x20")) () ")"))) () ")")) (compound_statement "{\n    do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));\n  }" ({ "{") (do_statement "do {\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    } while ((bVar9 == 0x20) || (bVar9 == 9));" (do "do") (compound_statement "{\n      local_40 = local_40 + 1;\n      if (uVar3 <= local_40) goto LAB_0002bf06;\n      bVar9 = *(byte *)(iVar8 + local_40);\n      __s1 = (byte *)(iVar8 + local_40);\n    }" ({ "{") (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 <= local_40) goto LAB_0002bf06;" (if "if") (parenthesized_expression "(uVar3 <= local_40)" (( "(") (binary_expression "uVar3 <= local_40" (identifier "uVar3") (<= "<=") (identifier "local_40")) () ")")) (goto_statement "goto LAB_0002bf06;" (goto "goto") (statement_identifier "LAB_0002bf06") (; ";"))) (expression_statement "bVar9 = *(byte *)(iVar8 + local_40);" (assignment_expression "bVar9 = *(byte *)(iVar8 + local_40)" (identifier "bVar9") (= "=") (pointer_expression "*(byte *)(iVar8 + local_40)" (* "*") (cast_expression "(byte *)(iVar8 + local_40)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40)" (( "(") (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) () ")"))))) (; ";")) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + local_40)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40)" (( "(") (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((bVar9 == 0x20) || (bVar9 == 9))" (( "(") (binary_expression "(bVar9 == 0x20) || (bVar9 == 9)" (parenthesized_expression "(bVar9 == 0x20)" (( "(") (binary_expression "bVar9 == 0x20" (identifier "bVar9") (== "==") (number_literal "0x20")) () ")")) (|| "||") (parenthesized_expression "(bVar9 == 9)" (( "(") (binary_expression "bVar9 == 9" (identifier "bVar9") (== "==") (number_literal "9")) () ")"))) () ")")) (; ";")) (} "}")))) (if_statement "if (bVar9 == 0x2e) {\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }\n  else if (DAT_000839e8 == 0) goto LAB_0002bf06;" (if "if") (parenthesized_expression "(bVar9 == 0x2e)" (( "(") (binary_expression "bVar9 == 0x2e" (identifier "bVar9") (== "==") (number_literal "0x2e")) () ")")) (compound_statement "{\n    local_40 = local_40 + 1;\n    __s1 = (byte *)(iVar8 + local_40);\n  }" ({ "{") (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__s1 = (byte *)(iVar8 + local_40);" (assignment_expression "__s1 = (byte *)(iVar8 + local_40)" (identifier "__s1") (= "=") (cast_expression "(byte *)(iVar8 + local_40)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40)" (( "(") (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) () ")")))) (; ";")) (} "}")) (else_clause "else if (DAT_000839e8 == 0) goto LAB_0002bf06;" (else "else") (if_statement "if (DAT_000839e8 == 0) goto LAB_0002bf06;" (if "if") (parenthesized_expression "(DAT_000839e8 == 0)" (( "(") (binary_expression "DAT_000839e8 == 0" (identifier "DAT_000839e8") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002bf06;" (goto "goto") (statement_identifier "LAB_0002bf06") (; ";"))))) (if_statement "if (param_1 == (char *)0x0) {\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }\n  else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,"IRPC",4);\n    if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }\nLAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }\n  }" ({ "{") (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRPC",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRPC",4)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"IRPC",4)" (identifier "strncasecmp") (argument_list "((char *)__s1,"IRPC",4)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""IRPC"" (" """) (string_content "IRPC") (" """)) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\nLAB_0002c101:\n      local_34 = 4;\n    }\n    else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0002c101:\n      local_34 = 4;\n    }" ({ "{") (labeled_statement "LAB_0002c101:\n      local_34 = 4;" (statement_identifier "LAB_0002c101") (: ":") (expression_statement "local_34 = 4;" (assignment_expression "local_34 = 4" (identifier "local_34") (= "=") (number_literal "4")) (; ";"))) (} "}")) (else_clause "else {\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" (else "else") (compound_statement "{\n      iVar7 = strncasecmp((char *)__s1,"IRP",3);\n      if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }\n      local_34 = 3;\n    }" ({ "{") (expression_statement "iVar7 = strncasecmp((char *)__s1,"IRP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IRP",3)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"IRP",3)" (identifier "strncasecmp") (argument_list "((char *)__s1,"IRP",3)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""IRP"" (" """) (string_content "IRP") (" """)) (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = strncasecmp((char *)__s1,"IREPC",5);\n        if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }\n        iVar7 = strncasecmp((char *)__s1,"IREP",4);\n        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;\n        iVar7 = strncasecmp((char *)__s1,"REP",3);\n        local_34 = 0;\n        if (iVar7 != 0) goto LAB_0002be9f;\n      }" ({ "{") (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREPC",5);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREPC",5)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"IREPC",5)" (identifier "strncasecmp") (argument_list "((char *)__s1,"IREPC",5)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""IREPC"" (" """) (string_content "IREPC") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_34 = 5;\n          goto LAB_0002c049;\n        }" ({ "{") (expression_statement "local_34 = 5;" (assignment_expression "local_34 = 5" (identifier "local_34") (= "=") (number_literal "5")) (; ";")) (goto_statement "goto LAB_0002c049;" (goto "goto") (statement_identifier "LAB_0002c049") (; ";")) (} "}"))) (expression_statement "iVar7 = strncasecmp((char *)__s1,"IREP",4);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"IREP",4)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"IREP",4)" (identifier "strncasecmp") (argument_list "((char *)__s1,"IREP",4)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""IREP"" (" """) (string_content "IREP") (" """)) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))\n        goto LAB_0002c101;" (if "if") (parenthesized_expression "((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))" (( "(") (binary_expression "(iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0)" (( "(") (comma_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REPT",4)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"REPT",4)" (identifier "strncasecmp") (argument_list "((char *)__s1,"REPT",4)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""REPT"" (" """) (string_content "REPT") (" """)) (, ",") (number_literal "4") () ")")))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0002c101;" (goto "goto") (statement_identifier "LAB_0002c101") (; ";"))) (expression_statement "iVar7 = strncasecmp((char *)__s1,"REP",3);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"REP",3)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"REP",3)" (identifier "strncasecmp") (argument_list "((char *)__s1,"REP",3)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""REP"" (" """) (string_content "REP") (" """)) (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_0002be9f;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002be9f;" (goto "goto") (statement_identifier "LAB_0002be9f") (; ";"))) (} "}"))) (expression_statement "local_34 = 3;" (assignment_expression "local_34 = 3" (identifier "local_34") (= "=") (number_literal "3")) (; ";")) (} "}")))) (labeled_statement "LAB_0002c049:\n    if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" (statement_identifier "LAB_0002c049") (: ":") (if_statement "if ((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {\n      local_24 = local_24 + 1;\n    }" (if "if") (parenthesized_expression "((local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0))" (( "(") (binary_expression "(local_40 + local_34 == uVar3) ||\n       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" (parenthesized_expression "(local_40 + local_34 == uVar3)" (( "(") (binary_expression "local_40 + local_34 == uVar3" (binary_expression "local_40 + local_34" (identifier "local_40") (+ "+") (identifier "local_34")) (== "==") (identifier "uVar3")) () ")")) (|| "||") (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)" (( "(") (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5)" (( "(") (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (pointer_expression "*(byte *)(iVar8 + local_40 + local_34)" (* "*") (cast_expression "(byte *)(iVar8 + local_40 + local_34)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40 + local_34)" (( "(") (binary_expression "iVar8 + local_40 + local_34" (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) (+ "+") (identifier "local_34")) () ")")))) (] "]")) (& "&") (number_literal "5")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      local_24 = local_24 + 1;\n    }" ({ "{") (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" (else "else") (compound_statement "{\n    iVar7 = strncasecmp((char *)__s1,param_1,local_34);\n    if (iVar7 == 0) goto LAB_0002c049;\n  }" ({ "{") (expression_statement "iVar7 = strncasecmp((char *)__s1,param_1,local_34);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_1,local_34)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,param_1,local_34)" (identifier "strncasecmp") (argument_list "((char *)__s1,param_1,local_34)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (identifier "param_1") (, ",") (identifier "local_34") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_0002c049;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002c049;" (goto "goto") (statement_identifier "LAB_0002c049") (; ";"))) (} "}")))) (labeled_statement "LAB_0002be9f:\n  iVar7 = strncasecmp((char *)__s1,param_2,__n);" (statement_identifier "LAB_0002be9f") (: ":") (expression_statement "iVar7 = strncasecmp((char *)__s1,param_2,__n);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,param_2,__n)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,param_2,__n)" (identifier "strncasecmp") (argument_list "((char *)__s1,param_2,__n)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (identifier "param_2") (, ",") (identifier "__n") () ")")))) (; ";"))) (if_statement "if ((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))) {\n    param_3[1] = uVar1;\n    return 1;\n  }" (if "if") (parenthesized_expression "((iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))))" (( "(") (binary_expression "(iVar7 == 0) &&\n     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)))" (( "(") (parenthesized_expression "((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0))" (( "(") (binary_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))\n      && (local_24 = local_24 + -1, local_24 == 0)" (parenthesized_expression "(local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))" (( "(") (binary_expression "local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" (binary_expression "local_40 + __n == uVar3" (binary_expression "local_40 + __n" (identifier "local_40") (+ "+") (identifier "__n")) (== "==") (identifier "uVar3")) (|| "||") (parenthesized_expression "(((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0)" (( "(") (binary_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0" (parenthesized_expression "((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5)" (( "(") (binary_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5" (subscript_expression "(&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)]" (parenthesized_expression "(&DAT_0007b3c0)" (( "(") (pointer_expression "&DAT_0007b3c0" (& "&") (identifier "DAT_0007b3c0")) () ")")) ([ "[") (pointer_expression "*(byte *)(iVar8 + local_40 + __n)" (* "*") (cast_expression "(byte *)(iVar8 + local_40 + __n)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + local_40 + __n)" (( "(") (binary_expression "iVar8 + local_40 + __n" (binary_expression "iVar8 + local_40" (identifier "iVar8") (+ "+") (identifier "local_40")) (+ "+") (identifier "__n")) () ")")))) (] "]")) (& "&") (number_literal "5")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(local_24 = local_24 + -1, local_24 == 0)" (( "(") (comma_expression "local_24 = local_24 + -1, local_24 == 0" (assignment_expression "local_24 = local_24 + -1" (identifier "local_24") (= "=") (binary_expression "local_24 + -1" (identifier "local_24") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    param_3[1] = uVar1;\n    return 1;\n  }" ({ "{") (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar7 = strncasecmp((char *)__s1,"linefile",8);" (assignment_expression "iVar7 = strncasecmp((char *)__s1,"linefile",8)" (identifier "iVar7") (= "=") (call_expression "strncasecmp((char *)__s1,"linefile",8)" (identifier "strncasecmp") (argument_list "((char *)__s1,"linefile",8)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (string_literal ""linefile"" (" """) (string_content "linefile") (" """)) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "uVar4 = DAT_00083ef0;" (assignment_expression "uVar4 = DAT_00083ef0" (identifier "uVar4") (= "=") (identifier "DAT_00083ef0")) (; ";")) (if_statement "if (iVar7 == 0) {\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = *(undefined1 *)(uVar3 + iVar8);\n    *(undefined1 *)(uVar3 + iVar8) = 0;\n    DAT_00083ef0 = *param_3 + 8 + local_40;\n    FUN_00034820(0);\n    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;\n    DAT_00083ef0 = uVar4;\n    param_3[1] = uVar1;\n  }" ({ "{") (expression_statement "uVar2 = *(undefined1 *)(uVar3 + iVar8);" (assignment_expression "uVar2 = *(undefined1 *)(uVar3 + iVar8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" (* "*") (cast_expression "(undefined1 *)(uVar3 + iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + iVar8)" (( "(") (binary_expression "uVar3 + iVar8" (identifier "uVar3") (+ "+") (identifier "iVar8")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(uVar3 + iVar8) = 0;" (assignment_expression "*(undefined1 *)(uVar3 + iVar8) = 0" (pointer_expression "*(undefined1 *)(uVar3 + iVar8)" (* "*") (cast_expression "(undefined1 *)(uVar3 + iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + iVar8)" (( "(") (binary_expression "uVar3 + iVar8" (identifier "uVar3") (+ "+") (identifier "iVar8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00083ef0 = *param_3 + 8 + local_40;" (assignment_expression "DAT_00083ef0 = *param_3 + 8 + local_40" (identifier "DAT_00083ef0") (= "=") (binary_expression "*param_3 + 8 + local_40" (binary_expression "*param_3 + 8" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "8")) (+ "+") (identifier "local_40"))) (; ";")) (expression_statement "FUN_00034820(0);" (call_expression "FUN_00034820(0)" (identifier "FUN_00034820") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(*param_3 + param_3[1]) = uVar2;" (assignment_expression "*(undefined1 *)(*param_3 + param_3[1]) = uVar2" (pointer_expression "*(undefined1 *)(*param_3 + param_3[1])" (* "*") (cast_expression "(undefined1 *)(*param_3 + param_3[1])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + param_3[1])" (( "(") (binary_expression "*param_3 + param_3[1]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "DAT_00083ef0 = uVar4;" (assignment_expression "DAT_00083ef0 = uVar4" (identifier "DAT_00083ef0") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "param_3[1] = uVar1;" (assignment_expression "param_3[1] = uVar1" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (labeled_statement "LAB_0002bf06:\n  FUN_00036450(param_3,local_38);" (statement_identifier "LAB_0002bf06") (: ":") (expression_statement "FUN_00036450(param_3,local_38);" (call_expression "FUN_00036450(param_3,local_38)" (identifier "FUN_00036450") (argument_list "(param_3,local_38)" (( "(") (identifier "param_3") (, ",") (identifier "local_38") () ")"))) (; ";"))) (expression_statement "local_40 = param_3[1];" (assignment_expression "local_40 = param_3[1]" (identifier "local_40") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_38 = (*param_4)(param_3);" (assignment_expression "local_38 = (*param_4)(param_3)" (identifier "local_38") (= "=") (call_expression "(*param_4)(param_3)" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (local_38 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(local_38 == 0)" (( "(") (binary_expression "local_38 == 0" (identifier "local_38") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_0002bd70;" (goto "goto") (statement_identifier "LAB_0002bd70") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int function_1(char *var_14,char *to,type_1 *ptr,type_2 *get_line)

{
  type_3 var_12;
  char cVar2;
  type_3 var_7;
  char *var_8;
  char *pcVar5;
  type_4 var_11;
  char *saved_input_line_pointer;
  size_t var_2;
  type_3 var_10;
  int var_4;
  type_4 var_9;
  type_4 *__s1;
  type_3 var_6;
  size_t var_5;
  size_t var_16;
  int var_17;
  
  var_2 = var_1(to);
  var_6 = ptr->len;
  var_5 = (*get_line)(ptr);
  if ((var_2 == 4) && (var_4 = var_3(to,"ENDR"), var_4 == 0)) {
    var_16 = 0;
    var_14 = (char *)0x0;
  }
  else {
    var_16 = var_1(var_14);
  }
  if (var_5 == 0) {
    return 0;
  }
  var_17 = 1;
LAB_0002bd70:
  var_7 = ptr->len;
  if (var_6 < var_7) {
    var_8 = ptr->ptr;
    __s1 = (type_4 *)(var_8 + var_6);
    var_9 = *__s1;
    var_10 = var_6;
    while( true ) {
      if ((var_9 != 0x20) && (var_9 != 9)) {
        var_11 = lex_type[var_9];
        var_12 = var_6;
        goto joined_r0x0002bdc4;
      }
      var_10 = var_10 + 1;
      if (var_10 == var_7) break;
      var_9 = var_8[var_10];
      __s1 = (type_4 *)(var_8 + var_10);
    }
  }
  goto LAB_0002bf06;
joined_r0x0002bdc4:
  var_6 = var_10;
  if ((var_11 & 2) == 0) goto LAB_0002be21;
  var_10 = var_6 + 1;
  if (var_7 <= var_10) {
LAB_0002be0b:
    if (var_7 <= var_12) goto LAB_0002bf06;
    __s1 = (type_4 *)(var_8 + var_12);
    var_9 = *__s1;
    var_6 = var_12;
    goto LAB_0002be21;
  }
  var_11 = var_8[var_6 + 1];
  var_9 = lex_type[var_11];
  while ((var_9 & 1) != 0) {
    var_10 = var_10 + 1;
    if (var_7 <= var_10) goto LAB_0002be0b;
    var_11 = var_8[var_10];
    var_9 = lex_type[var_11];
  }
  if ((var_9 & 4) != 0) {
    var_10 = var_10 + 1;
    if (var_7 <= var_10) goto LAB_0002be0b;
    var_11 = var_8[var_10];
  }
  if ((var_11 == 9) || (var_11 == 0x20)) {
    do {
      var_10 = var_10 + 1;
      if (var_7 <= var_10) goto LAB_0002be0b;
      var_11 = var_8[var_10];
    } while ((var_11 == 0x20) || (var_11 == 9));
  }
  if (var_11 != 0x3a) goto LAB_0002be0b;
  var_12 = var_10 + 1;
  if (var_7 <= var_12) goto LAB_0002bf06;
  __s1 = (type_4 *)(var_8 + var_12);
  var_9 = *__s1;
  var_11 = lex_type[var_9];
  var_10 = var_12;
  goto joined_r0x0002bdc4;
LAB_0002be21:
  if ((var_9 == 9) || (var_9 == 0x20)) {
    do {
      var_6 = var_6 + 1;
      if (var_7 <= var_6) goto LAB_0002bf06;
      var_9 = var_8[var_6];
      __s1 = (type_4 *)(var_8 + var_6);
    } while ((var_9 == 0x20) || (var_9 == 9));
  }
  if (var_9 == 0x2e) {
    var_6 = var_6 + 1;
    __s1 = (type_4 *)(var_8 + var_6);
  }
  else if (var_13 == 0) goto LAB_0002bf06;
  if (var_14 == (char *)0x0) {
    var_4 = var_15((char *)__s1,"IRPC",4);
    if (var_4 == 0) {
LAB_0002c101:
      var_16 = 4;
    }
    else {
      var_4 = var_15((char *)__s1,"IRP",3);
      if (var_4 != 0) {
        var_4 = var_15((char *)__s1,"IREPC",5);
        if (var_4 == 0) {
          var_16 = 5;
          goto LAB_0002c049;
        }
        var_4 = var_15((char *)__s1,"IREP",4);
        if ((var_4 == 0) || (var_4 = var_15((char *)__s1,"REPT",4), var_4 == 0))
        goto LAB_0002c101;
        var_4 = var_15((char *)__s1,"REP",3);
        var_16 = 0;
        if (var_4 != 0) goto LAB_0002be9f;
      }
      var_16 = 3;
    }
LAB_0002c049:
    if ((var_6 + var_16 == var_7) || ((lex_type[(type_4)var_8[var_6 + var_16]] & 5) == 0))
    {
      var_17 = var_17 + 1;
    }
  }
  else {
    var_4 = var_15((char *)__s1,var_14,var_16);
    if (var_4 == 0) goto LAB_0002c049;
  }
LAB_0002be9f:
  var_4 = var_15((char *)__s1,to,var_2);
  if ((var_4 == 0) &&
     (((var_6 + var_2 == var_7 || ((lex_type[(type_4)var_8[var_6 + var_2]] & 5) == 0)) &&
      (var_17 = var_17 + -1, var_17 == 0)))) {
    ptr->len = var_12;
    return 1;
  }
  var_4 = var_15((char *)__s1,"linefile",8);
  pcVar5 = input_line_pointer;
  if (var_4 == 0) {
    cVar2 = var_8[var_7];
    var_8[var_7] = '\0';
    input_line_pointer = ptr->ptr + var_6 + 8;
    var_18(0);
    ptr->ptr[ptr->len] = cVar2;
    input_line_pointer = pcVar5;
    ptr->len = var_12;
  }
LAB_0002bf06:
  var_19(ptr,var_5);
  var_6 = ptr->len;
  var_5 = (*get_line)(ptr);
  if (var_5 == 0) {
    return 0;
  }
  goto LAB_0002bd70;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(char *param_1,char *param_2,int *param_3,code *param_4)

{
  uint uVar1;
  undefined1 uVar2;
  uint uVar3;
  undefined4 uVar4;
  byte bVar5;
  size_t __n;
  uint uVar6;
  int iVar7;
  int iVar8;
  byte bVar9;
  byte *__s1;
  uint local_40;
  int local_38;
  size_t local_34;
  int local_24;
  
  __n = strlen(param_2);
  local_40 = param_3[1];
  local_38 = (*param_4)(param_3);
  if ((__n == 4) && (iVar8 = strcasecmp(param_2,"ENDR"), iVar8 == 0)) {
    local_34 = 0;
    param_1 = (char *)0x0;
  }
  else {
    local_34 = strlen(param_1);
  }
  if (local_38 == 0) {
    return 0;
  }
  local_24 = 1;
LAB_0002bd70:
  uVar3 = param_3[1];
  if (local_40 < uVar3) {
    iVar8 = *param_3;
    __s1 = (byte *)(iVar8 + local_40);
    bVar9 = *__s1;
    uVar6 = local_40;
    while( true ) {
      if ((bVar9 != 0x20) && (bVar9 != 9)) {
        bVar5 = (&DAT_0007b3c0)[bVar9];
        uVar1 = local_40;
        goto joined_r0x0002bdc4;
      }
      uVar6 = uVar6 + 1;
      if (uVar6 == uVar3) break;
      bVar9 = *(byte *)(iVar8 + uVar6);
      __s1 = (byte *)(iVar8 + uVar6);
    }
  }
  goto LAB_0002bf06;
joined_r0x0002bdc4:
  local_40 = uVar6;
  if ((bVar5 & 2) == 0) goto LAB_0002be21;
  uVar6 = local_40 + 1;
  if (uVar3 <= uVar6) {
LAB_0002be0b:
    if (uVar3 <= uVar1) goto LAB_0002bf06;
    __s1 = (byte *)(iVar8 + uVar1);
    bVar9 = *__s1;
    local_40 = uVar1;
    goto LAB_0002be21;
  }
  bVar5 = *(byte *)(iVar8 + 1 + local_40);
  bVar9 = (&DAT_0007b3c0)[bVar5];
  while ((bVar9 & 1) != 0) {
    uVar6 = uVar6 + 1;
    if (uVar3 <= uVar6) goto LAB_0002be0b;
    bVar5 = *(byte *)(iVar8 + uVar6);
    bVar9 = (&DAT_0007b3c0)[bVar5];
  }
  if ((bVar9 & 4) != 0) {
    uVar6 = uVar6 + 1;
    if (uVar3 <= uVar6) goto LAB_0002be0b;
    bVar5 = *(byte *)(iVar8 + uVar6);
  }
  if ((bVar5 == 9) || (bVar5 == 0x20)) {
    do {
      uVar6 = uVar6 + 1;
      if (uVar3 <= uVar6) goto LAB_0002be0b;
      bVar5 = *(byte *)(iVar8 + uVar6);
    } while ((bVar5 == 0x20) || (bVar5 == 9));
  }
  if (bVar5 != 0x3a) goto LAB_0002be0b;
  uVar1 = uVar6 + 1;
  if (uVar3 <= uVar1) goto LAB_0002bf06;
  __s1 = (byte *)(iVar8 + uVar1);
  bVar9 = *__s1;
  bVar5 = (&DAT_0007b3c0)[bVar9];
  uVar6 = uVar1;
  goto joined_r0x0002bdc4;
LAB_0002be21:
  if ((bVar9 == 9) || (bVar9 == 0x20)) {
    do {
      local_40 = local_40 + 1;
      if (uVar3 <= local_40) goto LAB_0002bf06;
      bVar9 = *(byte *)(iVar8 + local_40);
      __s1 = (byte *)(iVar8 + local_40);
    } while ((bVar9 == 0x20) || (bVar9 == 9));
  }
  if (bVar9 == 0x2e) {
    local_40 = local_40 + 1;
    __s1 = (byte *)(iVar8 + local_40);
  }
  else if (DAT_000839e8 == 0) goto LAB_0002bf06;
  if (param_1 == (char *)0x0) {
    iVar7 = strncasecmp((char *)__s1,"IRPC",4);
    if (iVar7 == 0) {
LAB_0002c101:
      local_34 = 4;
    }
    else {
      iVar7 = strncasecmp((char *)__s1,"IRP",3);
      if (iVar7 != 0) {
        iVar7 = strncasecmp((char *)__s1,"IREPC",5);
        if (iVar7 == 0) {
          local_34 = 5;
          goto LAB_0002c049;
        }
        iVar7 = strncasecmp((char *)__s1,"IREP",4);
        if ((iVar7 == 0) || (iVar7 = strncasecmp((char *)__s1,"REPT",4), iVar7 == 0))
        goto LAB_0002c101;
        iVar7 = strncasecmp((char *)__s1,"REP",3);
        local_34 = 0;
        if (iVar7 != 0) goto LAB_0002be9f;
      }
      local_34 = 3;
    }
LAB_0002c049:
    if ((local_40 + local_34 == uVar3) ||
       (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + local_34)] & 5) == 0)) {
      local_24 = local_24 + 1;
    }
  }
  else {
    iVar7 = strncasecmp((char *)__s1,param_1,local_34);
    if (iVar7 == 0) goto LAB_0002c049;
  }
LAB_0002be9f:
  iVar7 = strncasecmp((char *)__s1,param_2,__n);
  if ((iVar7 == 0) &&
     (((local_40 + __n == uVar3 || (((&DAT_0007b3c0)[*(byte *)(iVar8 + local_40 + __n)] & 5) == 0))
      && (local_24 = local_24 + -1, local_24 == 0)))) {
    param_3[1] = uVar1;
    return 1;
  }
  iVar7 = strncasecmp((char *)__s1,"linefile",8);
  uVar4 = DAT_00083ef0;
  if (iVar7 == 0) {
    uVar2 = *(undefined1 *)(uVar3 + iVar8);
    *(undefined1 *)(uVar3 + iVar8) = 0;
    DAT_00083ef0 = *param_3 + 8 + local_40;
    FUN_00034820(0);
    *(undefined1 *)(*param_3 + param_3[1]) = uVar2;
    DAT_00083ef0 = uVar4;
    param_3[1] = uVar1;
  }
LAB_0002bf06:
  FUN_00036450(param_3,local_38);
  local_40 = param_3[1];
  local_38 = (*param_4)(param_3);
  if (local_38 == 0) {
    return 0;
  }
  goto LAB_0002bd70;
}

