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

int __regparm2
search_range(POSITION pos,POSITION endpos,int search_type,int matches,int maxlines,
            POSITION *plinepos,POSITION *pendpos)

{
  int iVar1;
  ulonglong uVar2;
  uint uVar3;
  int iVar4;
  uint size;
  int *chpos;
  int *chpos_00;
  int in_GS_OFFSET;
  LINENUM linenum;
  POSITION pos_00;
  hilite_tree *cvt_ops;
  char *cvt_ops_00;
  POSITION local_8c;
  uint uStack_88;
  char *local_84;
  uint local_80;
  undefined8 local_74;
  uint local_6c;
  char *line;
  int line_len;
  char *sp;
  char *ep;
  hilite hl;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  linenum = find_linenum(CONCAT44(matches,search_type));
  uVar2 = endpos;
joined_r0x0002887f:
  do {
    if (((byte)sigs & 3) != 0) {
      local_6c = 0xffffffff;
LAB_00028b68:
      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        __stack_chk_fail_local();
      }
      return local_6c;
    }
    endpos._4_4_ = (uint)(uVar2 >> 0x20);
    if ((pos != -1 &&
         (SBORROW4(matches,pos._4_4_) !=
         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==
         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||
       (maxlines == 0)) {
LAB_00028b50:
      local_6c = endpos._4_4_;
      if (pendpos != (POSITION *)0x0) {
        *(int *)pendpos = search_type;
        *(int *)((int)pendpos + 4) = matches;
      }
      goto LAB_00028b68;
    }
    maxlines = maxlines - (uint)(0 < maxlines);
    local_74._0_4_ = (uint)linenum;
    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);
    if ((uVar2 & 1) == 0) {
      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);
      cvt_ops_00 = (char *)pos_00;
      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);
      local_80 = uStack_88;
      local_84 = cvt_ops_00;
      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;
      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);
      uVar3 = uStack_88 & (uint)cvt_ops_00;
      linenum = local_74;
    }
    else {
      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);
      local_84 = (char *)search_type;
      local_80 = matches;
      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {
        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)
        ;
        linenum = local_74;
      }
LAB_0002890b:
      local_74 = linenum;
      local_8c = pos_00;
      uVar3 = uStack_88 & (uint)cvt_ops_00;
      pos_00 = local_8c;
      linenum = local_74;
    }
    if (uVar3 == 0xffffffff) goto LAB_00028b50;
    endpos._0_4_ = (uint)uVar2;
    cvt_ops_00 = (char *)pos_00;
    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);
    if ((linenums != 0) &&
       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,
       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {
      add_lnum(linenum,pos_00);
    }
    iVar4 = is_filtered(CONCAT44(local_80,local_84));
    search_type = (int)cvt_ops_00;
    matches = uStack_88;
  } while (iVar4 != 0);
  if (is_caseless == 0) {
    if (bs_mode == 0) {
      uVar3 = 6;
    }
    else {
      uVar3 = 0;
      if (bs_mode != 2) {
        uVar3 = 4;
      }
    }
  }
  else {
    uVar3 = 7;
    if (bs_mode != 0) {
      uVar3 = (uint)(bs_mode != 2) * 4 + 1;
    }
  }
  if (ctldisp == 2) {
    uVar3 = uVar3 | 8;
  }
  size = cvt_length(line_len,uVar3);
  chpos = (int *)ecalloc(1,size);
  chpos_00 = cvt_alloc_chpos(size);
  cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3);
  local_6c = (uint)endpos & 0x10;
  if (((((uVar2 & 0x10) != 0) ||
       ((SBORROW4(local_80,prep_startpos._4_4_) !=
        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=
        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||
      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||
     ((SBORROW4(local_80,prep_endpos._4_4_) !=
      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==
      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)) {
    if ((filter_info.search_type & 0x1000U) == 0) {
      uVar3 = prev_pattern(&filter_info);
    }
    else {
      uVar3 = (uint)(filter_info.text != (char *)0x0);
    }
    if ((uVar3 != 0) &&
       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0
                              ,filter_info.search_type), iVar4 != 0)) {
      hl.hl_endpos._4_4_ = uStack_88;
      hl.hl_startpos._0_4_ = local_84;
      hl.hl_startpos._4_4_ = local_80;
      hl.hl_endpos._0_4_ = cvt_ops_00;
      if ((SBORROW4(local_80,uStack_88) !=
          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=
          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {
        add_hilite(&filter_anchor,&hl);
      }
      goto joined_r0x0002887f;
    }
  }
  if ((search_info.search_type._1_1_ & 0x10) == 0) {
    uVar3 = prev_pattern(&search_info);
  }
  else {
    uVar3 = (uint)(search_info.text != (char *)0x0);
  }
  if ((uVar3 != 0) &&
     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,
                            (uint)endpos), iVar4 != 0)) {
    if ((uVar2 & 0x10) == 0) {
      endpos._4_4_ = endpos._4_4_ - 1;
      if ((int)endpos._4_4_ < 1) {
        if (hilite_search == 1) {
          cvt_ops = &hilite_anchor;
          clr_hlist(&hilite_anchor);
          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);
        }
        free(chpos);
        free(chpos_00);
        if (plinepos != (POSITION *)0x0) {
          *(char **)plinepos = local_84;
          *(uint *)((int)plinepos + 4) = local_80;
        }
        goto LAB_00028b68;
      }
    }
    else {
      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);
    }
  }
  uVar2 = CONCAT44(endpos._4_4_,(uint)endpos);
  free(chpos);
  free(chpos_00);
  goto joined_r0x0002887f;
}



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

int __regparm2
FUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,
            int param_6,int param_7,longlong *param_8,longlong *param_9)

{
  longlong lVar1;
  longlong lVar2;
  uint uVar3;
  int iVar4;
  undefined4 uVar5;
  void *__ptr;
  void *__ptr_00;
  byte bVar6;
  uint uVar7;
  int iVar8;
  int in_GS_OFFSET;
  longlong lVar9;
  longlong lVar10;
  uint local_8c;
  int local_88;
  uint local_84;
  int local_80;
  int local_6c;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined8 local_30;
  undefined8 local_28;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x287fd;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  lVar9 = FUN_00022970(param_1,param_2);
  lVar1 = CONCAT44(param_2,param_1);
  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);
  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);
joined_r0x0002887f:
  do {
    if ((DAT_000419f8 & 3) != 0) {
      local_6c = -1;
LAB_00028b68:
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_0002b510();
      }
      return local_6c;
    }
    iVar8 = (int)((ulonglong)lVar1 >> 0x20);
    uVar3 = (uint)((uint)lVar1 < param_3);
    iVar4 = iVar8 - param_4;
    if (((param_4 & param_3) != 0xffffffff &&
         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||
       (param_7 == 0)) {
LAB_00028b50:
      local_6c = param_6;
      if (param_9 != (longlong *)0x0) {
        *param_9 = lVar1;
      }
      goto LAB_00028b68;
    }
    param_7 = param_7 - (uint)(0 < param_7);
    if ((param_5 & 1) == 0) {
      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);
      lVar2 = lVar10;
      if (lVar9 != 0) {
        lVar9 = lVar9 + -1;
      }
    }
    else {
      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);
      lVar2 = lVar1;
      if (lVar9 != 0) {
        lVar9 = lVar9 + 1;
      }
    }
    if (lVar10 == -1) goto LAB_00028b50;
    local_80 = (int)((ulonglong)lVar2 >> 0x20);
    local_84 = (uint)lVar2;
    local_88 = (int)((ulonglong)lVar10 >> 0x20);
    local_8c = (uint)lVar10;
    if ((DAT_00041960 != 0) &&
       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,
       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {
      FUN_00022420(lVar9,lVar10);
    }
    iVar4 = FUN_00028790(lVar2);
    lVar1 = lVar10;
  } while (iVar4 != 0);
  if (DAT_0004187c == 0) {
    if (DAT_000419a8 == 0) {
      bVar6 = 6;
    }
    else {
      bVar6 = 0;
      if (DAT_000419a8 != 2) {
        bVar6 = 4;
      }
    }
  }
  else {
    bVar6 = 7;
    if (DAT_000419a8 != 0) {
      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;
    }
  }
  if (DAT_000419ac == 2) {
    bVar6 = bVar6 | 8;
  }
  uVar5 = FUN_0001b440(local_3c,bVar6);
  __ptr = (void *)FUN_00012c20(1,uVar5);
  __ptr_00 = (void *)FUN_0001b470(uVar5);
  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);
  if (((((param_5 & 0x10) != 0) ||
       ((SBORROW4(local_80,DAT_0004188c) !=
        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=
        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||
      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||
     ((SBORROW4(local_80,DAT_00041884) !=
      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==
      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {
    if ((DAT_00041848 & 0x1000) == 0) {
      uVar3 = FUN_00027c20();
    }
    else {
      uVar3 = (uint)(DAT_00041844 != 0);
    }
    if (uVar3 != 0) {
      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,
                           DAT_00041848);
      if (iVar4 != 0) {
        local_30 = lVar2;
        local_28 = lVar10;
        if ((SBORROW4(local_80,local_88) !=
            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=
            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {
          FUN_00027ce0();
        }
        goto joined_r0x0002887f;
      }
    }
  }
  if ((DAT_00041854._1_1_ & 0x10) == 0) {
    uVar3 = FUN_00027c20();
  }
  else {
    uVar3 = (uint)(DAT_00041850 != 0);
  }
  if (uVar3 != 0) {
    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);
    if (iVar4 != 0) {
      if ((param_5 & 0x10) == 0) {
        param_6 = param_6 + -1;
        if (param_6 < 1) {
          if (DAT_000419cc == 1) {
            FUN_00028580(&DAT_00041868);
            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);
          }
          free(__ptr);
          free(__ptr_00);
          local_6c = 0;
          if (param_8 != (longlong *)0x0) {
            *param_8 = lVar2;
          }
          goto LAB_00028b68;
        }
      }
      else {
        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);
      }
    }
  }
  free(__ptr);
  free(__ptr_00);
  goto joined_r0x0002887f;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x000129a0
ADD EBX,0x1369b
SUB ESP,0x84
MOV EAX,dword ptr [ESP + 0x98]
MOV EBP,dword ptr [ESP + 0xa8]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x9c]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0xac]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0xb0]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x74],EAX
XOR EAX,EAX
PUSH EDX
PUSH ESI
CALL 0x00022970
MOV dword ptr [ESP + 0x28],EAX
LEA EAX,[EBX + 0x5b60]
MOV dword ptr [ESP + 0x2c],EDX
ADD ESP,0x10
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[EBX + 0x5ac8]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[EBX + 0x5b10]
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0x24]
TEST byte ptr [EAX],0x3
JNZ 0x00028ad8
LEA ESI,[ESI]
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x14]
AND EAX,ECX
CMP EAX,-0x1
SETNZ DL
CMP ESI,ECX
MOV ECX,EDI
SBB ECX,dword ptr [ESP + 0x14]
SETGE AL
TEST DL,AL
JNZ 0x00028b50
TEST EBP,EBP
JZ 0x00028b50
SETG AL
MOVZX EAX,AL
SUB EBP,EAX
LEA EAX,[ESP + 0x50]
TEST byte ptr [ESP + 0x98],0x1
MOV dword ptr [ESP + 0x20],EAX
JZ 0x00028ae8
PUSH EAX
LEA EAX,[ESP + 0x50]
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x00021fd0
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x14],EDX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,EDX
MOV EDX,ECX
MOV dword ptr [ESP + 0x8],ESI
OR EDX,EAX
MOV dword ptr [ESP + 0xc],EDI
JZ 0x0002890b
ADD dword ptr [ESP + 0x18],0x1
ADC dword ptr [ESP + 0x1c],0x0
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP]
MOV EAX,ECX
AND EAX,EDX
CMP EAX,-0x1
JZ 0x00028b50
MOV EAX,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [EAX]
TEST EDI,EDI
JZ 0x0002893e
MOV EAX,dword ptr [ESP]
SUB EAX,ESI
CDQ
XOR EAX,EDX
SUB EAX,EDX
CMP EAX,0x800
JG 0x00028bb0
SUB ESP,0x8
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x14]
CALL 0x00028790
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00028ac4
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [EBX + 0x59e4]
MOV EAX,dword ptr [EAX]
TEST EDX,EDX
JNZ 0x00028b88
TEST EAX,EAX
JNZ 0x00028c48
MOV EDX,0x6
LEA ECX,[EBX + 0x5b14]
MOV EAX,EDX
OR EAX,0x8
CMP dword ptr [ECX],0x2
CMOVZ EDX,EAX
SUB ESP,0x8
PUSH EDX
MOV dword ptr [ESP + 0x3c],EDX
PUSH dword ptr [ESP + 0x5c]
CALL 0x0001b440
POP ECX
POP ESI
PUSH EAX
MOV EDI,EAX
PUSH 0x1
CALL 0x00012c20
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x0001b470
MOV EDX,dword ptr [ESP + 0x40]
MOV EDI,EAX
MOV dword ptr [ESP],EDX
PUSH dword ptr [ESP + 0x30]
PUSH EAX
PUSH dword ptr [ESP + 0x64]
PUSH ESI
CALL 0x0001b4c0
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x98]
AND EAX,0x10
MOV dword ptr [ESP + 0x20],EAX
JNZ 0x00028a18
MOV EAX,dword ptr [EBX + 0x59f4]
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [EBX + 0x59f0]
CMP dword ptr [ESP + 0x8],EDX
SBB ECX,EAX
JL 0x00028a18
AND EAX,EDX
CMP EAX,-0x1
JZ 0x00028a18
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
CMP EAX,dword ptr [EBX + 0x59e8]
MOV EAX,EDX
SBB EAX,dword ptr [EBX + 0x59ec]
JL 0x00028a3a
LEA ESI,[ESI]
TEST byte ptr [EBX + 0x59b1],0x10
JZ 0x00028c60
MOV EDX,dword ptr [EBX + 0x59ac]
XOR EAX,EAX
TEST EDX,EDX
SETNZ AL
TEST EAX,EAX
JNZ 0x00028bd0
TEST byte ptr [EBX + 0x59bd],0x10
JZ 0x00028c70
MOV ECX,dword ptr [EBX + 0x59b8]
XOR EAX,EAX
TEST ECX,ECX
SETNZ AL
TEST EAX,EAX
JZ 0x00028ab0
PUSH dword ptr [ESP + 0x98]
PUSH 0x0
LEA EAX,[ESP + 0x60]
PUSH EAX
LEA EAX,[ESP + 0x60]
PUSH EAX
PUSH dword ptr [ESP + 0x60]
PUSH ESI
PUSH dword ptr [EBX + 0x59b8]
PUSH dword ptr [EBX + 0x59b4]
CALL 0x00026750
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00028ab0
MOV EDX,dword ptr [ESP + 0x20]
TEST EDX,EDX
JNZ 0x00028c80
SUB dword ptr [ESP + 0x9c],0x1
MOV EAX,dword ptr [ESP + 0x9c]
TEST EAX,EAX
JLE 0x00028ca4
LEA ESI,[ESI]
NOP
SUB ESP,0xc
PUSH ESI
CALL 0x000120e0
MOV dword ptr [ESP],EDI
CALL 0x000120e0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [ESP]
MOV EDI,dword ptr [ESP + 0x4]
TEST byte ptr [EAX],0x3
JZ 0x00028888
MOV dword ptr [ESP + 0x20],0xffffffff
JMP 0x00028b68
PUSH EAX
LEA EAX,[ESP + 0x50]
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x00022100
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x14],EDX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,EDX
MOV EDX,dword ptr [ESP]
MOV dword ptr [ESP + 0x30],ECX
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,EDX
OR ECX,EAX
JZ 0x0002890b
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP]
ADD dword ptr [ESP + 0x18],-0x1
MOV EAX,ECX
ADC dword ptr [ESP + 0x1c],-0x1
AND EAX,EDX
CMP EAX,-0x1
JNZ 0x0002891f
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x9c]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JZ 0x00028b68
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],EDI
MOV EDI,dword ptr [ESP + 0x6c]
XOR EDI,dword ptr GS:[0x14]
MOV EAX,dword ptr [ESP + 0x20]
JNZ 0x00028d11
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,0x7
TEST EAX,EAX
JZ 0x0002897a
XOR EDX,EDX
CMP EAX,0x2
SETNZ DL
LEA EDX,[EDX*0x4 + 0x1]
JMP 0x0002897a
PUSH dword ptr [ESP + 0x4]
PUSH dword ptr [ESP + 0x4]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x24]
CALL 0x00022420
ADD ESP,0x10
JMP 0x0002893e
PUSH dword ptr [EBX + 0x59b0]
PUSH 0x0
LEA EAX,[ESP + 0x60]
PUSH EAX
LEA EAX,[ESP + 0x60]
PUSH EAX
PUSH dword ptr [ESP + 0x60]
PUSH ESI
PUSH dword ptr [EBX + 0x59ac]
PUSH dword ptr [EBX + 0x59a8]
CALL 0x00026750
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00028a3a
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP]
MOV EDI,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x5c],EAX
CMP EAX,ESI
MOV EAX,EDX
MOV dword ptr [ESP + 0x60],EDX
SBB EAX,EDI
MOV dword ptr [ESP + 0x64],ESI
MOV dword ptr [ESP + 0x68],EDI
JGE 0x00028ac4
LEA EDX,[ESP + 0x5c]
LEA EAX,[EBX + 0x59c0]
CALL 0x00027ce0
JMP 0x00028ac4
CMP EAX,0x2
MOV EAX,0x4
CMOVNZ EDX,EAX
JMP 0x0002897a
LEA EAX,[EBX + 0x59a8]
CALL 0x00027c20
JMP 0x00028a32
LEA EAX,[EBX + 0x59b4]
CALL 0x00027c20
JMP 0x00028a54
PUSH dword ptr [ESP + 0x58]
MOV ECX,ESI
PUSH dword ptr [ESP + 0x58]
PUSH EDI
PUSH dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
CALL 0x000280b0
ADD ESP,0x10
JMP 0x00028ab0
LEA EAX,[EBX + 0x5b34]
CMP dword ptr [EAX],0x1
JZ 0x00028ce1
SUB ESP,0xc
PUSH ESI
CALL 0x000120e0
MOV dword ptr [ESP],EDI
CALL 0x000120e0
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x3c]
TEST EDI,EDI
JZ 0x00028b68
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [EDI],EAX
MOV dword ptr [EDI + 0x4],EDX
JMP 0x00028b68
SUB ESP,0xc
LEA EAX,[EBX + 0x59d0]
PUSH EAX
CALL 0x00028580
PUSH dword ptr [ESP + 0x68]
MOV ECX,ESI
PUSH dword ptr [ESP + 0x68]
PUSH EDI
PUSH dword ptr [ESP + 0x6c]
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESP + 0x2c]
CALL 0x000280b0
ADD ESP,0x20
JMP 0x00028caf
CALL 0x0002b510
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm2\nFUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)\n\n{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}\n\n" comment (function_definition "int __regparm2\nFUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)\n\n{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "longlong *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "longlong *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar9;" type_identifier identifier ;) (declaration "longlong lVar10;" type_identifier identifier ;) (declaration "uint local_8c;" type_identifier identifier ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "int local_6c;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x287fd;" (assignment_expression "uStack_14 = 0x287fd" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "lVar9 = FUN_00022970(param_1,param_2);" (assignment_expression "lVar9 = FUN_00022970(param_1,param_2)" identifier = (call_expression "FUN_00022970(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "lVar1 = CONCAT44(param_2,param_1);" (assignment_expression "lVar1 = CONCAT44(param_2,param_1)" identifier = (call_expression "CONCAT44(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);" (assignment_expression "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30)" identifier = (call_expression "CONCAT44(local_30._4_4_,(undefined4)local_30)" identifier (argument_list "(local_30._4_4_,(undefined4)local_30)" ( (field_expression "local_30._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)local_30" ( (type_descriptor "undefined4" type_identifier) ) identifier) )))) ;) (expression_statement "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);" (assignment_expression "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28)" identifier = (call_expression "CONCAT44(local_28._4_4_,(undefined4)local_28)" identifier (argument_list "(local_28._4_4_,(undefined4)local_28)" ( (field_expression "local_28._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)local_28" ( (type_descriptor "undefined4" type_identifier) ) identifier) )))) ;) (labeled_statement "joined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" statement_identifier : (do_statement "do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" do (compound_statement "{\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  }" { (if_statement "if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }" if (parenthesized_expression "((DAT_000419f8 & 3) != 0)" ( (binary_expression "(DAT_000419f8 & 3) != 0" (parenthesized_expression "(DAT_000419f8 & 3)" ( (binary_expression "DAT_000419f8 & 3" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }\n      return local_6c;\n    }" { (expression_statement "local_6c = -1;" (assignment_expression "local_6c = -1" identifier = number_literal) ;) (labeled_statement "LAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0002b510();\n      }" { comment (expression_statement "FUN_0002b510();" (call_expression "FUN_0002b510()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_6c;" return identifier ;) })) (expression_statement "iVar8 = (int)((ulonglong)lVar1 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)lVar1 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar3 = (uint)((uint)lVar1 < param_3);" (assignment_expression "uVar3 = (uint)((uint)lVar1 < param_3)" identifier = (call_expression "(uint)((uint)lVar1 < param_3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)lVar1 < param_3)" ( (binary_expression "(uint)lVar1 < param_3" (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ;) (expression_statement "iVar4 = iVar8 - param_4;" (assignment_expression "iVar4 = iVar8 - param_4" identifier = (binary_expression "iVar8 - param_4" identifier - identifier)) ;) (if_statement "if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" if (parenthesized_expression "(((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0))" ( (binary_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)" (parenthesized_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" ( (binary_expression "(param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" ( (binary_expression "param_4 & param_3" identifier & identifier) )) != number_literal) && (binary_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(iVar8,param_4)" identifier (argument_list "(iVar8,param_4)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 - uVar3)" ( (binary_expression "iVar4 - uVar3" identifier - identifier) ))) < number_literal))) )) || (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" { (labeled_statement "LAB_00028b50:\n      local_6c = param_6;" statement_identifier : (expression_statement "local_6c = param_6;" (assignment_expression "local_6c = param_6" identifier = identifier) ;)) (if_statement "if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }" if (parenthesized_expression "(param_9 != (longlong *)0x0)" ( (binary_expression "param_9 != (longlong *)0x0" identifier != (cast_expression "(longlong *)0x0" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *param_9 = lVar1;\n      }" { (expression_statement "*param_9 = lVar1;" (assignment_expression "*param_9 = lVar1" (pointer_expression "*param_9" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) (expression_statement "param_7 = param_7 - (uint)(0 < param_7);" (assignment_expression "param_7 = param_7 - (uint)(0 < param_7)" identifier = (binary_expression "param_7 - (uint)(0 < param_7)" identifier - (call_expression "(uint)(0 < param_7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < param_7)" ( (binary_expression "0 < param_7" number_literal < identifier) ))))) ;) (if_statement "if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" if (parenthesized_expression "((param_5 & 1) == 0)" ( (binary_expression "(param_5 & 1) == 0" (parenthesized_expression "(param_5 & 1)" ( (binary_expression "param_5 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }" { (expression_statement "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c)" identifier = (call_expression "FUN_00022100(lVar1,&local_40,&local_3c)" identifier (argument_list "(lVar1,&local_40,&local_3c)" ( identifier , (pointer_expression "&local_40" & identifier) , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "lVar2 = lVar10;" (assignment_expression "lVar2 = lVar10" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        lVar9 = lVar9 + -1;\n      }" { (expression_statement "lVar9 = lVar9 + -1;" (assignment_expression "lVar9 = lVar9 + -1" identifier = (binary_expression "lVar9 + -1" identifier + number_literal)) ;) })) }) (else_clause "else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" else (compound_statement "{\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" { (expression_statement "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c)" identifier = (call_expression "FUN_00021fd0(lVar1,&local_40,&local_3c)" identifier (argument_list "(lVar1,&local_40,&local_3c)" ( identifier , (pointer_expression "&local_40" & identifier) , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "lVar2 = lVar1;" (assignment_expression "lVar2 = lVar1" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        lVar9 = lVar9 + 1;\n      }" { (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) })) }))) (if_statement "if (lVar10 == -1) goto LAB_00028b50;" if (parenthesized_expression "(lVar10 == -1)" ( (binary_expression "lVar10 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00028b50;" goto statement_identifier ;)) (expression_statement "local_80 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "local_80 = (int)((ulonglong)lVar2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_84 = (uint)lVar2;" (assignment_expression "local_84 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_88 = (int)((ulonglong)lVar10 >> 0x20);" (assignment_expression "local_88 = (int)((ulonglong)lVar10 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar10 >> 0x20)" ( (binary_expression "(ulonglong)lVar10 >> 0x20" (cast_expression "(ulonglong)lVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_8c = (uint)lVar10;" (assignment_expression "local_8c = (uint)lVar10" identifier = (cast_expression "(uint)lVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }" if (parenthesized_expression "((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)))" ( (binary_expression "(DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" (parenthesized_expression "(DAT_00041960 != 0)" ( (binary_expression "DAT_00041960 != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" ( (comma_expression "uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar3 = local_8c - (uint)lVar1" identifier = (binary_expression "local_8c - (uint)lVar1" identifier - (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) , (comma_expression "uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) , (binary_expression "0x800 < (int)((uVar3 ^ uVar7) - uVar7)" number_literal < (cast_expression "(int)((uVar3 ^ uVar7) - uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar3 ^ uVar7) - uVar7)" ( (binary_expression "(uVar3 ^ uVar7) - uVar7" (parenthesized_expression "(uVar3 ^ uVar7)" ( (binary_expression "uVar3 ^ uVar7" identifier ^ identifier) )) - identifier) )))))) ))) )) (compound_statement "{\n      FUN_00022420(lVar9,lVar10);\n    }" { (expression_statement "FUN_00022420(lVar9,lVar10);" (call_expression "FUN_00022420(lVar9,lVar10)" identifier (argument_list "(lVar9,lVar10)" ( identifier , identifier ))) ;) })) (expression_statement "iVar4 = FUN_00028790(lVar2);" (assignment_expression "iVar4 = FUN_00028790(lVar2)" identifier = (call_expression "FUN_00028790(lVar2)" identifier (argument_list "(lVar2)" ( identifier )))) ;) (expression_statement "lVar1 = lVar10;" (assignment_expression "lVar1 = lVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;)) (if_statement "if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" if (parenthesized_expression "(DAT_0004187c == 0)" ( (binary_expression "DAT_0004187c == 0" identifier == number_literal) )) (compound_statement "{\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }" { (if_statement "if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" if (parenthesized_expression "(DAT_000419a8 == 0)" ( (binary_expression "DAT_000419a8 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar6 = 6;\n    }" { (expression_statement "bVar6 = 6;" (assignment_expression "bVar6 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" else (compound_statement "{\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" { (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }" if (parenthesized_expression "(DAT_000419a8 != 2)" ( (binary_expression "DAT_000419a8 != 2" identifier != number_literal) )) (compound_statement "{\n        bVar6 = 4;\n      }" { (expression_statement "bVar6 = 4;" (assignment_expression "bVar6 = 4" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" else (compound_statement "{\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" { (expression_statement "bVar6 = 7;" (assignment_expression "bVar6 = 7" identifier = number_literal) ;) (if_statement "if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" if (parenthesized_expression "(DAT_000419a8 != 0)" ( (binary_expression "DAT_000419a8 != 0" identifier != number_literal) )) (compound_statement "{\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" { (expression_statement "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;" (assignment_expression "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1" identifier = (binary_expression "(DAT_000419a8 != 2) * '\x04' + 1" (binary_expression "(DAT_000419a8 != 2) * '\x04'" (parenthesized_expression "(DAT_000419a8 != 2)" ( (binary_expression "DAT_000419a8 != 2" identifier != number_literal) )) * (char_literal "'\x04'" ' escape_sequence ')) + number_literal)) ;) })) }))) (if_statement "if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }" if (parenthesized_expression "(DAT_000419ac == 2)" ( (binary_expression "DAT_000419ac == 2" identifier == number_literal) )) (compound_statement "{\n    bVar6 = bVar6 | 8;\n  }" { (expression_statement "bVar6 = bVar6 | 8;" (assignment_expression "bVar6 = bVar6 | 8" identifier = (binary_expression "bVar6 | 8" identifier | number_literal)) ;) })) (expression_statement "uVar5 = FUN_0001b440(local_3c,bVar6);" (assignment_expression "uVar5 = FUN_0001b440(local_3c,bVar6)" identifier = (call_expression "FUN_0001b440(local_3c,bVar6)" identifier (argument_list "(local_3c,bVar6)" ( identifier , identifier )))) ;) (expression_statement "__ptr = (void *)FUN_00012c20(1,uVar5);" (assignment_expression "__ptr = (void *)FUN_00012c20(1,uVar5)" identifier = (cast_expression "(void *)FUN_00012c20(1,uVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(1,uVar5)" identifier (argument_list "(1,uVar5)" ( number_literal , identifier ))))) ;) (expression_statement "__ptr_00 = (void *)FUN_0001b470(uVar5);" (assignment_expression "__ptr_00 = (void *)FUN_0001b470(uVar5)" identifier = (cast_expression "(void *)FUN_0001b470(uVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);" (call_expression "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6)" identifier (argument_list "(__ptr,local_40,__ptr_00,&local_3c,bVar6)" ( identifier , identifier , identifier , (pointer_expression "&local_3c" & identifier) , identifier ))) ;) (if_statement "if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" if (parenthesized_expression "(((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0))" ( (binary_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" (parenthesized_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff))" ( (binary_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)" (parenthesized_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0))" ( (binary_expression "((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" (parenthesized_expression "((param_5 & 0x10) != 0)" ( (binary_expression "(param_5 & 0x10) != 0" (parenthesized_expression "(param_5 & 0x10)" ( (binary_expression "param_5 & 0x10" identifier & number_literal) )) != number_literal) )) || (parenthesized_expression "((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" ( (binary_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888)))" ( (binary_expression "SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" (call_expression "SBORROW4(local_80,DAT_0004188c)" identifier (argument_list "(local_80,DAT_0004188c)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" identifier (argument_list "(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" ( (binary_expression "local_80 - DAT_0004188c" identifier - identifier) , (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041888)" ( (binary_expression "local_84 < DAT_00041888" identifier < identifier) ))) )))) )) != (binary_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (cast_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" ( (binary_expression "(local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)" (parenthesized_expression "(local_80 - DAT_0004188c)" ( (binary_expression "local_80 - DAT_0004188c" identifier - identifier) )) - (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041888)" ( (binary_expression "local_84 < DAT_00041888" identifier < identifier) )))) ))) < number_literal)) ))) )) || (parenthesized_expression "((DAT_0004188c & DAT_00041888) == 0xffffffff)" ( (binary_expression "(DAT_0004188c & DAT_00041888) == 0xffffffff" (parenthesized_expression "(DAT_0004188c & DAT_00041888)" ( (binary_expression "DAT_0004188c & DAT_00041888" identifier & identifier) )) == number_literal) ))) )) || (parenthesized_expression "((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" ( (binary_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880)))" ( (binary_expression "SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" (call_expression "SBORROW4(local_80,DAT_00041884)" identifier (argument_list "(local_80,DAT_00041884)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" identifier (argument_list "(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" ( (binary_expression "local_80 - DAT_00041884" identifier - identifier) , (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041880)" ( (binary_expression "local_84 < DAT_00041880" identifier < identifier) ))) )))) )) == (binary_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (cast_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" ( (binary_expression "(local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)" (parenthesized_expression "(local_80 - DAT_00041884)" ( (binary_expression "local_80 - DAT_00041884" identifier - identifier) )) - (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041880)" ( (binary_expression "local_84 < DAT_00041880" identifier < identifier) )))) ))) < number_literal)) ))) )) (compound_statement "{\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" { (if_statement "if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" if (parenthesized_expression "((DAT_00041848 & 0x1000) == 0)" ( (binary_expression "(DAT_00041848 & 0x1000) == 0" (parenthesized_expression "(DAT_00041848 & 0x1000)" ( (binary_expression "DAT_00041848 & 0x1000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = FUN_00027c20();\n    }" { (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" identifier = (call_expression "FUN_00027c20()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" else (compound_statement "{\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" { (expression_statement "uVar3 = (uint)(DAT_00041844 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041844 != 0)" identifier = (call_expression "(uint)(DAT_00041844 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00041844 != 0)" ( (binary_expression "DAT_00041844 != 0" identifier != number_literal) )))) ;) }))) (if_statement "if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" { (expression_statement "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);" (assignment_expression "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" identifier = (call_expression "FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" identifier (argument_list "(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_34" & identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" { (expression_statement "local_30 = lVar2;" (assignment_expression "local_30 = lVar2" identifier = identifier) ;) (expression_statement "local_28 = lVar10;" (assignment_expression "local_28 = lVar10" identifier = identifier) ;) (if_statement "if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }" if (parenthesized_expression "((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0)" ( (binary_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (parenthesized_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c)))" ( (binary_expression "SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" (call_expression "SBORROW4(local_80,local_88)" identifier (argument_list "(local_80,local_88)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" identifier (argument_list "(local_80 - local_88,(uint)(local_84 < local_8c))" ( (binary_expression "local_80 - local_88" identifier - identifier) , (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_8c)" ( (binary_expression "local_84 < local_8c" identifier < identifier) ))) )))) )) != (binary_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (cast_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - local_88) - (uint)(local_84 < local_8c))" ( (binary_expression "(local_80 - local_88) - (uint)(local_84 < local_8c)" (parenthesized_expression "(local_80 - local_88)" ( (binary_expression "local_80 - local_88" identifier - identifier) )) - (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_8c)" ( (binary_expression "local_84 < local_8c" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n          FUN_00027ce0();\n        }" { (expression_statement "FUN_00027ce0();" (call_expression "FUN_00027ce0()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })) })) })) (if_statement "if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" if (parenthesized_expression "((DAT_00041854._1_1_ & 0x10) == 0)" ( (binary_expression "(DAT_00041854._1_1_ & 0x10) == 0" (parenthesized_expression "(DAT_00041854._1_1_ & 0x10)" ( (binary_expression "DAT_00041854._1_1_ & 0x10" (field_expression "DAT_00041854._1_1_" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar3 = FUN_00027c20();\n  }" { (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" identifier = (call_expression "FUN_00027c20()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" else (compound_statement "{\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" { (expression_statement "uVar3 = (uint)(DAT_00041850 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041850 != 0)" identifier = (call_expression "(uint)(DAT_00041850 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00041850 != 0)" ( (binary_expression "DAT_00041850 != 0" identifier != number_literal) )))) ;) }))) (if_statement "if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" { (expression_statement "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);" (assignment_expression "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" identifier = (call_expression "FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" identifier (argument_list "(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_34" & identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" { (if_statement "if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" if (parenthesized_expression "((param_5 & 0x10) == 0)" ( (binary_expression "(param_5 & 0x10) == 0" (parenthesized_expression "(param_5 & 0x10)" ( (binary_expression "param_5 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }" { (expression_statement "param_6 = param_6 + -1;" (assignment_expression "param_6 = param_6 + -1" identifier = (binary_expression "param_6 + -1" identifier + number_literal)) ;) (if_statement "if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" if (parenthesized_expression "(param_6 < 1)" ( (binary_expression "param_6 < 1" identifier < number_literal) )) (compound_statement "{\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" { (if_statement "if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" if (parenthesized_expression "(DAT_000419cc == 1)" ( (binary_expression "DAT_000419cc == 1" identifier == number_literal) )) (compound_statement "{\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" { (expression_statement "FUN_00028580(&DAT_00041868);" (call_expression "FUN_00028580(&DAT_00041868)" identifier (argument_list "(&DAT_00041868)" ( (pointer_expression "&DAT_00041868" & identifier) ))) ;) (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" identifier (argument_list "(local_3c,__ptr_00,local_38,local_34)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" identifier = number_literal) ;) (if_statement "if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }" if (parenthesized_expression "(param_8 != (longlong *)0x0)" ( (binary_expression "param_8 != (longlong *)0x0" identifier != (cast_expression "(longlong *)0x0" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *param_8 = lVar2;\n          }" { (expression_statement "*param_8 = lVar2;" (assignment_expression "*param_8 = lVar2" (pointer_expression "*param_8" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) }) (else_clause "else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" else (compound_statement "{\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" { (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" identifier (argument_list "(local_3c,__ptr_00,local_38,local_34)" ( identifier , identifier , identifier , identifier ))) ;) }))) })) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm2\nsearch_range(POSITION pos,POSITION endpos,int search_type,int matches,int maxlines,\n            POSITION *plinepos,POSITION *pendpos)\n\n{\n  int iVar1;\n  ulonglong uVar2;\n  uint uVar3;\n  int iVar4;\n  uint size;\n  int *chpos;\n  int *chpos_00;\n  int in_GS_OFFSET;\n  LINENUM linenum;\n  POSITION pos_00;\n  hilite_tree *cvt_ops;\n  char *cvt_ops_00;\n  POSITION local_8c;\n  uint uStack_88;\n  char *local_84;\n  uint local_80;\n  undefined8 local_74;\n  uint local_6c;\n  char *line;\n  int line_len;\n  char *sp;\n  char *ep;\n  hilite hl;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  linenum = find_linenum(CONCAT44(matches,search_type));\n  uVar2 = endpos;\njoined_r0x0002887f:\n  do {\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  } while (iVar4 != 0);\n  if (is_caseless == 0) {\n    if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }\n  }\n  else {\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }\n  if (ctldisp == 2) {\n    uVar3 = uVar3 | 8;\n  }\n  size = cvt_length(line_len,uVar3);\n  chpos = (int *)ecalloc(1,size);\n  chpos_00 = cvt_alloc_chpos(size);\n  cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3);\n  local_6c = (uint)endpos & 0x10;\n  if (((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)) {\n    if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }\n    if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }\n  }\n  if ((search_info.search_type._1_1_ & 0x10) == 0) {\n    uVar3 = prev_pattern(&search_info);\n  }\n  else {\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }\n  if ((uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)) {\n    if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }\n  }\n  uVar2 = CONCAT44(endpos._4_4_,(uint)endpos);\n  free(chpos);\n  free(chpos_00);\n  goto joined_r0x0002887f;\n}\n\n" comment (function_definition "int __regparm2\nsearch_range(POSITION pos,POSITION endpos,int search_type,int matches,int maxlines,\n            POSITION *plinepos,POSITION *pendpos)\n\n{\n  int iVar1;\n  ulonglong uVar2;\n  uint uVar3;\n  int iVar4;\n  uint size;\n  int *chpos;\n  int *chpos_00;\n  int in_GS_OFFSET;\n  LINENUM linenum;\n  POSITION pos_00;\n  hilite_tree *cvt_ops;\n  char *cvt_ops_00;\n  POSITION local_8c;\n  uint uStack_88;\n  char *local_84;\n  uint local_80;\n  undefined8 local_74;\n  uint local_6c;\n  char *line;\n  int line_len;\n  char *sp;\n  char *ep;\n  hilite hl;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  linenum = find_linenum(CONCAT44(matches,search_type));\n  uVar2 = endpos;\njoined_r0x0002887f:\n  do {\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  } while (iVar4 != 0);\n  if (is_caseless == 0) {\n    if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }\n  }\n  else {\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }\n  if (ctldisp == 2) {\n    uVar3 = uVar3 | 8;\n  }\n  size = cvt_length(line_len,uVar3);\n  chpos = (int *)ecalloc(1,size);\n  chpos_00 = cvt_alloc_chpos(size);\n  cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3);\n  local_6c = (uint)endpos & 0x10;\n  if (((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)) {\n    if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }\n    if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }\n  }\n  if ((search_info.search_type._1_1_ & 0x10) == 0) {\n    uVar3 = prev_pattern(&search_info);\n  }\n  else {\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }\n  if ((uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)) {\n    if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }\n  }\n  uVar2 = CONCAT44(endpos._4_4_,(uint)endpos);\n  free(chpos);\n  free(chpos_00);\n  goto joined_r0x0002887f;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "search_range(POSITION pos,POSITION endpos,int search_type,int matches,int maxlines,\n            POSITION *plinepos,POSITION *pendpos)" identifier (parameter_list "(POSITION pos,POSITION endpos,int search_type,int matches,int maxlines,\n            POSITION *plinepos,POSITION *pendpos)" ( (parameter_declaration "POSITION pos" type_identifier identifier) , (parameter_declaration "POSITION endpos" type_identifier identifier) , (parameter_declaration "int search_type" primitive_type identifier) , (parameter_declaration "int matches" primitive_type identifier) , (parameter_declaration "int maxlines" primitive_type identifier) , (parameter_declaration "POSITION *plinepos" type_identifier (pointer_declarator "*plinepos" * identifier)) , (parameter_declaration "POSITION *pendpos" type_identifier (pointer_declarator "*pendpos" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  ulonglong uVar2;\n  uint uVar3;\n  int iVar4;\n  uint size;\n  int *chpos;\n  int *chpos_00;\n  int in_GS_OFFSET;\n  LINENUM linenum;\n  POSITION pos_00;\n  hilite_tree *cvt_ops;\n  char *cvt_ops_00;\n  POSITION local_8c;\n  uint uStack_88;\n  char *local_84;\n  uint local_80;\n  undefined8 local_74;\n  uint local_6c;\n  char *line;\n  int line_len;\n  char *sp;\n  char *ep;\n  hilite hl;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  linenum = find_linenum(CONCAT44(matches,search_type));\n  uVar2 = endpos;\njoined_r0x0002887f:\n  do {\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  } while (iVar4 != 0);\n  if (is_caseless == 0) {\n    if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }\n  }\n  else {\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }\n  if (ctldisp == 2) {\n    uVar3 = uVar3 | 8;\n  }\n  size = cvt_length(line_len,uVar3);\n  chpos = (int *)ecalloc(1,size);\n  chpos_00 = cvt_alloc_chpos(size);\n  cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3);\n  local_6c = (uint)endpos & 0x10;\n  if (((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)) {\n    if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }\n    if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }\n  }\n  if ((search_info.search_type._1_1_ & 0x10) == 0) {\n    uVar3 = prev_pattern(&search_info);\n  }\n  else {\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }\n  if ((uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)) {\n    if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }\n  }\n  uVar2 = CONCAT44(endpos._4_4_,(uint)endpos);\n  free(chpos);\n  free(chpos_00);\n  goto joined_r0x0002887f;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint size;" type_identifier identifier ;) (declaration "int *chpos;" primitive_type (pointer_declarator "*chpos" * identifier) ;) (declaration "int *chpos_00;" primitive_type (pointer_declarator "*chpos_00" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "LINENUM linenum;" type_identifier identifier ;) (declaration "POSITION pos_00;" type_identifier identifier ;) (declaration "hilite_tree *cvt_ops;" type_identifier (pointer_declarator "*cvt_ops" * identifier) ;) (declaration "char *cvt_ops_00;" primitive_type (pointer_declarator "*cvt_ops_00" * identifier) ;) (declaration "POSITION local_8c;" type_identifier identifier ;) (declaration "uint uStack_88;" type_identifier identifier ;) (declaration "char *local_84;" primitive_type (pointer_declarator "*local_84" * identifier) ;) (declaration "uint local_80;" type_identifier identifier ;) (declaration "undefined8 local_74;" type_identifier identifier ;) (declaration "uint local_6c;" type_identifier identifier ;) (declaration "char *line;" primitive_type (pointer_declarator "*line" * identifier) ;) (declaration "int line_len;" primitive_type identifier ;) (declaration "char *sp;" primitive_type (pointer_declarator "*sp" * identifier) ;) (declaration "char *ep;" primitive_type (pointer_declarator "*ep" * identifier) ;) (declaration "hilite hl;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "linenum = find_linenum(CONCAT44(matches,search_type));" (assignment_expression "linenum = find_linenum(CONCAT44(matches,search_type))" identifier = (call_expression "find_linenum(CONCAT44(matches,search_type))" identifier (argument_list "(CONCAT44(matches,search_type))" ( (call_expression "CONCAT44(matches,search_type)" identifier (argument_list "(matches,search_type)" ( identifier , identifier ))) )))) ;) (expression_statement "uVar2 = endpos;" (assignment_expression "uVar2 = endpos" identifier = identifier) ;) (labeled_statement "joined_r0x0002887f:\n  do {\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  } while (iVar4 != 0);" statement_identifier : (do_statement "do {\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  } while (iVar4 != 0);" do (compound_statement "{\n    if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }\n    endpos._4_4_ = (uint)(uVar2 >> 0x20);\n    if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }\n    maxlines = maxlines - (uint)(0 < maxlines);\n    local_74._0_4_ = (uint)linenum;\n    local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);\n    if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }\n    if (uVar3 == 0xffffffff) goto LAB_00028b50;\n    endpos._0_4_ = (uint)uVar2;\n    cvt_ops_00 = (char *)pos_00;\n    uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n    if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }\n    iVar4 = is_filtered(CONCAT44(local_80,local_84));\n    search_type = (int)cvt_ops_00;\n    matches = uStack_88;\n  }" { (if_statement "if (((byte)sigs & 3) != 0) {\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }" if (parenthesized_expression "(((byte)sigs & 3) != 0)" ( (binary_expression "((byte)sigs & 3) != 0" (parenthesized_expression "((byte)sigs & 3)" ( (binary_expression "(byte)sigs & 3" (cast_expression "(byte)sigs" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      local_6c = 0xffffffff;\nLAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return local_6c;\n    }" { (expression_statement "local_6c = 0xffffffff;" (assignment_expression "local_6c = 0xffffffff" identifier = number_literal) ;) (labeled_statement "LAB_00028b68:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_6c;" return identifier ;) })) (expression_statement "endpos._4_4_ = (uint)(uVar2 >> 0x20);" (assignment_expression "endpos._4_4_ = (uint)(uVar2 >> 0x20)" (field_expression "endpos._4_4_" identifier . field_identifier) = (call_expression "(uint)(uVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 >> 0x20)" ( (binary_expression "uVar2 >> 0x20" identifier >> number_literal) )))) ;) (if_statement "if ((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)) {\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }" if (parenthesized_expression "((pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0))" ( (binary_expression "(pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0) ||\n       (maxlines == 0)" (parenthesized_expression "(pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0)" ( (binary_expression "pos != -1 &&\n         (SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0" (binary_expression "pos != -1" identifier != number_literal) && (binary_expression "(SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))) ==\n         (int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0" (parenthesized_expression "(SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos)))" ( (binary_expression "SBORROW4(matches,pos._4_4_) !=\n         SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))" (call_expression "SBORROW4(matches,pos._4_4_)" identifier (argument_list "(matches,pos._4_4_)" ( identifier , (field_expression "pos._4_4_" identifier . field_identifier) ))) != (call_expression "SBORROW4(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))" identifier (argument_list "(matches - pos._4_4_,(uint)((uint)search_type < (char *)pos))" ( (binary_expression "matches - pos._4_4_" identifier - (field_expression "pos._4_4_" identifier . field_identifier)) , (call_expression "(uint)((uint)search_type < (char *)pos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)search_type < (char *)pos)" ( (binary_expression "(uint)search_type < (char *)pos" (cast_expression "(uint)search_type" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(char *)pos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ))) )))) )) == (binary_expression "(int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)) < 0" (cast_expression "(int)((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos))" ( (binary_expression "(matches - pos._4_4_) - (uint)((uint)search_type < (char *)pos)" (parenthesized_expression "(matches - pos._4_4_)" ( (binary_expression "matches - pos._4_4_" identifier - (field_expression "pos._4_4_" identifier . field_identifier)) )) - (call_expression "(uint)((uint)search_type < (char *)pos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)search_type < (char *)pos)" ( (binary_expression "(uint)search_type < (char *)pos" (cast_expression "(uint)search_type" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(char *)pos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )))) ))) < number_literal))) )) || (parenthesized_expression "(maxlines == 0)" ( (binary_expression "maxlines == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00028b50:\n      local_6c = endpos._4_4_;\n      if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }\n      goto LAB_00028b68;\n    }" { (labeled_statement "LAB_00028b50:\n      local_6c = endpos._4_4_;" statement_identifier : (expression_statement "local_6c = endpos._4_4_;" (assignment_expression "local_6c = endpos._4_4_" identifier = (field_expression "endpos._4_4_" identifier . field_identifier)) ;)) (if_statement "if (pendpos != (POSITION *)0x0) {\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }" if (parenthesized_expression "(pendpos != (POSITION *)0x0)" ( (binary_expression "pendpos != (POSITION *)0x0" identifier != (cast_expression "(POSITION *)0x0" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(int *)pendpos = search_type;\n        *(int *)((int)pendpos + 4) = matches;\n      }" { (expression_statement "*(int *)pendpos = search_type;" (assignment_expression "*(int *)pendpos = search_type" (pointer_expression "*(int *)pendpos" * (cast_expression "(int *)pendpos" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)((int)pendpos + 4) = matches;" (assignment_expression "*(int *)((int)pendpos + 4) = matches" (pointer_expression "*(int *)((int)pendpos + 4)" * (cast_expression "(int *)((int)pendpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pendpos + 4)" ( (binary_expression "(int)pendpos + 4" (cast_expression "(int)pendpos" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) (expression_statement "maxlines = maxlines - (uint)(0 < maxlines);" (assignment_expression "maxlines = maxlines - (uint)(0 < maxlines)" identifier = (binary_expression "maxlines - (uint)(0 < maxlines)" identifier - (call_expression "(uint)(0 < maxlines)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < maxlines)" ( (binary_expression "0 < maxlines" number_literal < identifier) ))))) ;) (expression_statement "local_74._0_4_ = (uint)linenum;" (assignment_expression "local_74._0_4_ = (uint)linenum" (field_expression "local_74._0_4_" identifier . field_identifier) = (cast_expression "(uint)linenum" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_74._4_4_ = (int)((ulonglong)linenum >> 0x20);" (assignment_expression "local_74._4_4_ = (int)((ulonglong)linenum >> 0x20)" (field_expression "local_74._4_4_" identifier . field_identifier) = (cast_expression "(int)((ulonglong)linenum >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)linenum >> 0x20)" ( (binary_expression "(ulonglong)linenum >> 0x20" (cast_expression "(ulonglong)linenum" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((uVar2 & 1) == 0) {\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }\n    else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      cvt_ops_00 = (char *)pos_00;\n      uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);\n      local_80 = uStack_88;\n      local_84 = cvt_ops_00;\n      if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;\n      local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      linenum = local_74;\n    }" { (expression_statement "pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len);" (assignment_expression "pos_00 = back_raw_line(CONCAT44(matches,search_type),&line,&line_len)" identifier = (call_expression "back_raw_line(CONCAT44(matches,search_type),&line,&line_len)" identifier (argument_list "(CONCAT44(matches,search_type),&line,&line_len)" ( (call_expression "CONCAT44(matches,search_type)" identifier (argument_list "(matches,search_type)" ( identifier , identifier ))) , (pointer_expression "&line" & identifier) , (pointer_expression "&line_len" & identifier) )))) ;) (expression_statement "cvt_ops_00 = (char *)pos_00;" (assignment_expression "cvt_ops_00 = (char *)pos_00" identifier = (cast_expression "(char *)pos_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);" (assignment_expression "uStack_88 = (uint)((ulonglong)pos_00 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)pos_00 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)pos_00 >> 0x20)" ( (binary_expression "(ulonglong)pos_00 >> 0x20" (cast_expression "(ulonglong)pos_00" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_80 = uStack_88;" (assignment_expression "local_80 = uStack_88" identifier = identifier) ;) (expression_statement "local_84 = cvt_ops_00;" (assignment_expression "local_84 = cvt_ops_00" identifier = identifier) ;) (if_statement "if (local_74._4_4_ == 0 && (uint)local_74 == 0) goto LAB_0002890b;" if (parenthesized_expression "(local_74._4_4_ == 0 && (uint)local_74 == 0)" ( (binary_expression "local_74._4_4_ == 0 && (uint)local_74 == 0" (binary_expression "local_74._4_4_ == 0" (field_expression "local_74._4_4_" identifier . field_identifier) == number_literal) && (binary_expression "(uint)local_74 == 0" (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier) == number_literal)) )) (goto_statement "goto LAB_0002890b;" goto statement_identifier ;)) (expression_statement "local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1);" (assignment_expression "local_74 = CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1)" identifier = (call_expression "CONCAT44(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1)" identifier (argument_list "(local_74._4_4_ + -1 + (uint)((uint)local_74 != 0),(uint)local_74 - 1)" ( (binary_expression "local_74._4_4_ + -1 + (uint)((uint)local_74 != 0)" (binary_expression "local_74._4_4_ + -1" (field_expression "local_74._4_4_" identifier . field_identifier) + number_literal) + (call_expression "(uint)((uint)local_74 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)local_74 != 0)" ( (binary_expression "(uint)local_74 != 0" (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier) != number_literal) )))) , (binary_expression "(uint)local_74 - 1" (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier) - number_literal) )))) ;) (expression_statement "uVar3 = uStack_88 & (uint)cvt_ops_00;" (assignment_expression "uVar3 = uStack_88 & (uint)cvt_ops_00" identifier = (binary_expression "uStack_88 & (uint)cvt_ops_00" identifier & (cast_expression "(uint)cvt_ops_00" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "linenum = local_74;" (assignment_expression "linenum = local_74" identifier = identifier) ;) }) (else_clause "else {\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }" else (compound_statement "{\n      pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);\n      local_84 = (char *)search_type;\n      local_80 = matches;\n      if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }\nLAB_0002890b:\n      local_74 = linenum;\n      local_8c = pos_00;\n      uVar3 = uStack_88 & (uint)cvt_ops_00;\n      pos_00 = local_8c;\n      linenum = local_74;\n    }" { (expression_statement "pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len);" (assignment_expression "pos_00 = forw_raw_line(CONCAT44(matches,search_type),&line,&line_len)" identifier = (call_expression "forw_raw_line(CONCAT44(matches,search_type),&line,&line_len)" identifier (argument_list "(CONCAT44(matches,search_type),&line,&line_len)" ( (call_expression "CONCAT44(matches,search_type)" identifier (argument_list "(matches,search_type)" ( identifier , identifier ))) , (pointer_expression "&line" & identifier) , (pointer_expression "&line_len" & identifier) )))) ;) (expression_statement "local_84 = (char *)search_type;" (assignment_expression "local_84 = (char *)search_type" identifier = (cast_expression "(char *)search_type" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_80 = matches;" (assignment_expression "local_80 = matches" identifier = identifier) ;) (if_statement "if (local_74._4_4_ != 0 || (uint)local_74 != 0) {\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }" if (parenthesized_expression "(local_74._4_4_ != 0 || (uint)local_74 != 0)" ( (binary_expression "local_74._4_4_ != 0 || (uint)local_74 != 0" (binary_expression "local_74._4_4_ != 0" (field_expression "local_74._4_4_" identifier . field_identifier) != number_literal) || (binary_expression "(uint)local_74 != 0" (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier) != number_literal)) )) (compound_statement "{\n        local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;\n        linenum = local_74;\n      }" { (expression_statement "local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)\n        ;" (assignment_expression "local_74 = CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)" identifier = (call_expression "CONCAT44(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)" identifier (argument_list "(local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74),(uint)local_74 + 1)" ( (binary_expression "local_74._4_4_ + (uint)(0xfffffffe < (uint)local_74)" (field_expression "local_74._4_4_" identifier . field_identifier) + (call_expression "(uint)(0xfffffffe < (uint)local_74)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < (uint)local_74)" ( (binary_expression "0xfffffffe < (uint)local_74" number_literal < (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) , (binary_expression "(uint)local_74 + 1" (cast_expression "(uint)local_74" ( (type_descriptor "uint" type_identifier) ) identifier) + number_literal) )))) ;) (expression_statement "linenum = local_74;" (assignment_expression "linenum = local_74" identifier = identifier) ;) })) (labeled_statement "LAB_0002890b:\n      local_74 = linenum;" statement_identifier : (expression_statement "local_74 = linenum;" (assignment_expression "local_74 = linenum" identifier = identifier) ;)) (expression_statement "local_8c = pos_00;" (assignment_expression "local_8c = pos_00" identifier = identifier) ;) (expression_statement "uVar3 = uStack_88 & (uint)cvt_ops_00;" (assignment_expression "uVar3 = uStack_88 & (uint)cvt_ops_00" identifier = (binary_expression "uStack_88 & (uint)cvt_ops_00" identifier & (cast_expression "(uint)cvt_ops_00" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "pos_00 = local_8c;" (assignment_expression "pos_00 = local_8c" identifier = identifier) ;) (expression_statement "linenum = local_74;" (assignment_expression "linenum = local_74" identifier = identifier) ;) }))) (if_statement "if (uVar3 == 0xffffffff) goto LAB_00028b50;" if (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_00028b50;" goto statement_identifier ;)) (expression_statement "endpos._0_4_ = (uint)uVar2;" (assignment_expression "endpos._0_4_ = (uint)uVar2" (field_expression "endpos._0_4_" identifier . field_identifier) = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "cvt_ops_00 = (char *)pos_00;" (assignment_expression "cvt_ops_00 = (char *)pos_00" identifier = (cast_expression "(char *)pos_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uStack_88 = (uint)((ulonglong)pos_00 >> 0x20);" (assignment_expression "uStack_88 = (uint)((ulonglong)pos_00 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)pos_00 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)pos_00 >> 0x20)" ( (binary_expression "(ulonglong)pos_00 >> 0x20" (cast_expression "(ulonglong)pos_00" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))) {\n      add_lnum(linenum,pos_00);\n    }" if (parenthesized_expression "((linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3)))" ( (binary_expression "(linenums != 0) &&\n       (uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))" (parenthesized_expression "(linenums != 0)" ( (binary_expression "linenums != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3))" ( (comma_expression "uVar3 = (int)cvt_ops_00 - search_type >> 0x1f,\n       0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3)" (assignment_expression "uVar3 = (int)cvt_ops_00 - search_type >> 0x1f" identifier = (binary_expression "(int)cvt_ops_00 - search_type >> 0x1f" (binary_expression "(int)cvt_ops_00 - search_type" (cast_expression "(int)cvt_ops_00" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal)) , (binary_expression "0x800 < (int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3)" number_literal < (cast_expression "(int)(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((int)cvt_ops_00 - search_type ^ uVar3) - uVar3)" ( (binary_expression "((int)cvt_ops_00 - search_type ^ uVar3) - uVar3" (parenthesized_expression "((int)cvt_ops_00 - search_type ^ uVar3)" ( (binary_expression "(int)cvt_ops_00 - search_type ^ uVar3" (binary_expression "(int)cvt_ops_00 - search_type" (cast_expression "(int)cvt_ops_00" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ^ identifier) )) - identifier) ))))) ))) )) (compound_statement "{\n      add_lnum(linenum,pos_00);\n    }" { (expression_statement "add_lnum(linenum,pos_00);" (call_expression "add_lnum(linenum,pos_00)" identifier (argument_list "(linenum,pos_00)" ( identifier , identifier ))) ;) })) (expression_statement "iVar4 = is_filtered(CONCAT44(local_80,local_84));" (assignment_expression "iVar4 = is_filtered(CONCAT44(local_80,local_84))" identifier = (call_expression "is_filtered(CONCAT44(local_80,local_84))" identifier (argument_list "(CONCAT44(local_80,local_84))" ( (call_expression "CONCAT44(local_80,local_84)" identifier (argument_list "(local_80,local_84)" ( identifier , identifier ))) )))) ;) (expression_statement "search_type = (int)cvt_ops_00;" (assignment_expression "search_type = (int)cvt_ops_00" identifier = (cast_expression "(int)cvt_ops_00" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "matches = uStack_88;" (assignment_expression "matches = uStack_88" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;)) (if_statement "if (is_caseless == 0) {\n    if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }\n  }\n  else {\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }" if (parenthesized_expression "(is_caseless == 0)" ( (binary_expression "is_caseless == 0" identifier == number_literal) )) (compound_statement "{\n    if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }\n  }" { (if_statement "if (bs_mode == 0) {\n      uVar3 = 6;\n    }\n    else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }" if (parenthesized_expression "(bs_mode == 0)" ( (binary_expression "bs_mode == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 6;\n    }" { (expression_statement "uVar3 = 6;" (assignment_expression "uVar3 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }" else (compound_statement "{\n      uVar3 = 0;\n      if (bs_mode != 2) {\n        uVar3 = 4;\n      }\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (bs_mode != 2) {\n        uVar3 = 4;\n      }" if (parenthesized_expression "(bs_mode != 2)" ( (binary_expression "bs_mode != 2" identifier != number_literal) )) (compound_statement "{\n        uVar3 = 4;\n      }" { (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }" else (compound_statement "{\n    uVar3 = 7;\n    if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }\n  }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (if_statement "if (bs_mode != 0) {\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }" if (parenthesized_expression "(bs_mode != 0)" ( (binary_expression "bs_mode != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = (uint)(bs_mode != 2) * 4 + 1;\n    }" { (expression_statement "uVar3 = (uint)(bs_mode != 2) * 4 + 1;" (assignment_expression "uVar3 = (uint)(bs_mode != 2) * 4 + 1" identifier = (binary_expression "(uint)(bs_mode != 2) * 4 + 1" (binary_expression "(uint)(bs_mode != 2) * 4" (call_expression "(uint)(bs_mode != 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bs_mode != 2)" ( (binary_expression "bs_mode != 2" identifier != number_literal) ))) * number_literal) + number_literal)) ;) })) }))) (if_statement "if (ctldisp == 2) {\n    uVar3 = uVar3 | 8;\n  }" if (parenthesized_expression "(ctldisp == 2)" ( (binary_expression "ctldisp == 2" identifier == number_literal) )) (compound_statement "{\n    uVar3 = uVar3 | 8;\n  }" { (expression_statement "uVar3 = uVar3 | 8;" (assignment_expression "uVar3 = uVar3 | 8" identifier = (binary_expression "uVar3 | 8" identifier | number_literal)) ;) })) (expression_statement "size = cvt_length(line_len,uVar3);" (assignment_expression "size = cvt_length(line_len,uVar3)" identifier = (call_expression "cvt_length(line_len,uVar3)" identifier (argument_list "(line_len,uVar3)" ( identifier , identifier )))) ;) (expression_statement "chpos = (int *)ecalloc(1,size);" (assignment_expression "chpos = (int *)ecalloc(1,size)" identifier = (cast_expression "(int *)ecalloc(1,size)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "ecalloc(1,size)" identifier (argument_list "(1,size)" ( number_literal , identifier ))))) ;) (expression_statement "chpos_00 = cvt_alloc_chpos(size);" (assignment_expression "chpos_00 = cvt_alloc_chpos(size)" identifier = (call_expression "cvt_alloc_chpos(size)" identifier (argument_list "(size)" ( identifier )))) ;) (expression_statement "cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3);" (call_expression "cvt_text((char *)chpos,line,chpos_00,&line_len,uVar3)" identifier (argument_list "((char *)chpos,line,chpos_00,&line_len,uVar3)" ( (cast_expression "(char *)chpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (pointer_expression "&line_len" & identifier) , identifier ))) ;) (expression_statement "local_6c = (uint)endpos & 0x10;" (assignment_expression "local_6c = (uint)endpos & 0x10" identifier = (binary_expression "(uint)endpos & 0x10" (cast_expression "(uint)endpos" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (if_statement "if (((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)) {\n    if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }\n    if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }\n  }" if (parenthesized_expression "(((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0))" ( (binary_expression "((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)) ||\n     ((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)" (parenthesized_expression "((((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff))" ( (binary_expression "(((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)) ||\n      ((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)" (parenthesized_expression "(((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0))" ( (binary_expression "((uVar2 & 0x10) != 0) ||\n       ((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)" (parenthesized_expression "((uVar2 & 0x10) != 0)" ( (binary_expression "(uVar2 & 0x10) != 0" (parenthesized_expression "(uVar2 & 0x10)" ( (binary_expression "uVar2 & 0x10" identifier & number_literal) )) != number_literal) )) || (parenthesized_expression "((SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0)" ( (binary_expression "(SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))) !=\n        (int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0" (parenthesized_expression "(SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos)))" ( (binary_expression "SBORROW4(local_80,prep_startpos._4_4_) !=\n        SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))" (call_expression "SBORROW4(local_80,prep_startpos._4_4_)" identifier (argument_list "(local_80,prep_startpos._4_4_)" ( identifier , (field_expression "prep_startpos._4_4_" identifier . field_identifier) ))) != (call_expression "SBORROW4(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))" identifier (argument_list "(local_80 - prep_startpos._4_4_,(uint)(local_84 < (char *)prep_startpos))" ( (binary_expression "local_80 - prep_startpos._4_4_" identifier - (field_expression "prep_startpos._4_4_" identifier . field_identifier)) , (call_expression "(uint)(local_84 < (char *)prep_startpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < (char *)prep_startpos)" ( (binary_expression "local_84 < (char *)prep_startpos" identifier < (cast_expression "(char *)prep_startpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ))) )))) )) != (binary_expression "(int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)) < 0" (cast_expression "(int)((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos))" ( (binary_expression "(local_80 - prep_startpos._4_4_) - (uint)(local_84 < (char *)prep_startpos)" (parenthesized_expression "(local_80 - prep_startpos._4_4_)" ( (binary_expression "local_80 - prep_startpos._4_4_" identifier - (field_expression "prep_startpos._4_4_" identifier . field_identifier)) )) - (call_expression "(uint)(local_84 < (char *)prep_startpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < (char *)prep_startpos)" ( (binary_expression "local_84 < (char *)prep_startpos" identifier < (cast_expression "(char *)prep_startpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )))) ))) < number_literal)) ))) )) || (parenthesized_expression "((prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff)" ( (binary_expression "(prep_startpos._4_4_ & (uint)(char *)prep_startpos) == 0xffffffff" (parenthesized_expression "(prep_startpos._4_4_ & (uint)(char *)prep_startpos)" ( (binary_expression "prep_startpos._4_4_ & (uint)(char *)prep_startpos" (field_expression "prep_startpos._4_4_" identifier . field_identifier) & (cast_expression "(uint)(char *)prep_startpos" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char *)prep_startpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) == number_literal) ))) )) || (parenthesized_expression "((SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0)" ( (binary_expression "(SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))) ==\n      (int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0" (parenthesized_expression "(SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos)))" ( (binary_expression "SBORROW4(local_80,prep_endpos._4_4_) !=\n      SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))" (call_expression "SBORROW4(local_80,prep_endpos._4_4_)" identifier (argument_list "(local_80,prep_endpos._4_4_)" ( identifier , (field_expression "prep_endpos._4_4_" identifier . field_identifier) ))) != (call_expression "SBORROW4(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))" identifier (argument_list "(local_80 - prep_endpos._4_4_,(uint)(local_84 < (char *)prep_endpos))" ( (binary_expression "local_80 - prep_endpos._4_4_" identifier - (field_expression "prep_endpos._4_4_" identifier . field_identifier)) , (call_expression "(uint)(local_84 < (char *)prep_endpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < (char *)prep_endpos)" ( (binary_expression "local_84 < (char *)prep_endpos" identifier < (cast_expression "(char *)prep_endpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ))) )))) )) == (binary_expression "(int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)) < 0" (cast_expression "(int)((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos))" ( (binary_expression "(local_80 - prep_endpos._4_4_) - (uint)(local_84 < (char *)prep_endpos)" (parenthesized_expression "(local_80 - prep_endpos._4_4_)" ( (binary_expression "local_80 - prep_endpos._4_4_" identifier - (field_expression "prep_endpos._4_4_" identifier . field_identifier)) )) - (call_expression "(uint)(local_84 < (char *)prep_endpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < (char *)prep_endpos)" ( (binary_expression "local_84 < (char *)prep_endpos" identifier < (cast_expression "(char *)prep_endpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )))) ))) < number_literal)) ))) )) (compound_statement "{\n    if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }\n    if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }\n  }" { (if_statement "if ((filter_info.search_type & 0x1000U) == 0) {\n      uVar3 = prev_pattern(&filter_info);\n    }\n    else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }" if (parenthesized_expression "((filter_info.search_type & 0x1000U) == 0)" ( (binary_expression "(filter_info.search_type & 0x1000U) == 0" (parenthesized_expression "(filter_info.search_type & 0x1000U)" ( (binary_expression "filter_info.search_type & 0x1000U" (field_expression "filter_info.search_type" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = prev_pattern(&filter_info);\n    }" { (expression_statement "uVar3 = prev_pattern(&filter_info);" (assignment_expression "uVar3 = prev_pattern(&filter_info)" identifier = (call_expression "prev_pattern(&filter_info)" identifier (argument_list "(&filter_info)" ( (pointer_expression "&filter_info" & identifier) )))) ;) }) (else_clause "else {\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }" else (compound_statement "{\n      uVar3 = (uint)(filter_info.text != (char *)0x0);\n    }" { (expression_statement "uVar3 = (uint)(filter_info.text != (char *)0x0);" (assignment_expression "uVar3 = (uint)(filter_info.text != (char *)0x0)" identifier = (call_expression "(uint)(filter_info.text != (char *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(filter_info.text != (char *)0x0)" ( (binary_expression "filter_info.text != (char *)0x0" (field_expression "filter_info.text" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) ;) }))) (if_statement "if ((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)) {\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }" if (parenthesized_expression "((uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0))" ( (binary_expression "(uVar3 != 0) &&\n       (iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0)" ( (comma_expression "iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type), iVar4 != 0" (assignment_expression "iVar4 = match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type)" identifier = (call_expression "match_pattern(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type)" identifier (argument_list "(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0\n                              ,filter_info.search_type)" ( (field_expression "filter_info.compiled" identifier . field_identifier) , (field_expression "filter_info.text" identifier . field_identifier) , (cast_expression "(char *)chpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (pointer_expression "&sp" & identifier) , (pointer_expression "&ep" & identifier) , number_literal , (field_expression "filter_info.search_type" identifier . field_identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      hl.hl_endpos._4_4_ = uStack_88;\n      hl.hl_startpos._0_4_ = local_84;\n      hl.hl_startpos._4_4_ = local_80;\n      hl.hl_endpos._0_4_ = cvt_ops_00;\n      if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }\n      goto joined_r0x0002887f;\n    }" { (expression_statement "hl.hl_endpos._4_4_ = uStack_88;" (assignment_expression "hl.hl_endpos._4_4_ = uStack_88" (field_expression "hl.hl_endpos._4_4_" (field_expression "hl.hl_endpos" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "hl.hl_startpos._0_4_ = local_84;" (assignment_expression "hl.hl_startpos._0_4_ = local_84" (field_expression "hl.hl_startpos._0_4_" (field_expression "hl.hl_startpos" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "hl.hl_startpos._4_4_ = local_80;" (assignment_expression "hl.hl_startpos._4_4_ = local_80" (field_expression "hl.hl_startpos._4_4_" (field_expression "hl.hl_startpos" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "hl.hl_endpos._0_4_ = cvt_ops_00;" (assignment_expression "hl.hl_endpos._0_4_ = cvt_ops_00" (field_expression "hl.hl_endpos._0_4_" (field_expression "hl.hl_endpos" identifier . field_identifier) . field_identifier) = identifier) ;) (if_statement "if ((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0) {\n        add_hilite(&filter_anchor,&hl);\n      }" if (parenthesized_expression "((SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0)" ( (binary_expression "(SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))) !=\n          (int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0" (parenthesized_expression "(SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00)))" ( (binary_expression "SBORROW4(local_80,uStack_88) !=\n          SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))" (call_expression "SBORROW4(local_80,uStack_88)" identifier (argument_list "(local_80,uStack_88)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))" identifier (argument_list "(local_80 - uStack_88,(uint)(local_84 < cvt_ops_00))" ( (binary_expression "local_80 - uStack_88" identifier - identifier) , (call_expression "(uint)(local_84 < cvt_ops_00)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < cvt_ops_00)" ( (binary_expression "local_84 < cvt_ops_00" identifier < identifier) ))) )))) )) != (binary_expression "(int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)) < 0" (cast_expression "(int)((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00))" ( (binary_expression "(local_80 - uStack_88) - (uint)(local_84 < cvt_ops_00)" (parenthesized_expression "(local_80 - uStack_88)" ( (binary_expression "local_80 - uStack_88" identifier - identifier) )) - (call_expression "(uint)(local_84 < cvt_ops_00)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < cvt_ops_00)" ( (binary_expression "local_84 < cvt_ops_00" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n        add_hilite(&filter_anchor,&hl);\n      }" { (expression_statement "add_hilite(&filter_anchor,&hl);" (call_expression "add_hilite(&filter_anchor,&hl)" identifier (argument_list "(&filter_anchor,&hl)" ( (pointer_expression "&filter_anchor" & identifier) , (pointer_expression "&hl" & identifier) ))) ;) })) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })) })) (if_statement "if ((search_info.search_type._1_1_ & 0x10) == 0) {\n    uVar3 = prev_pattern(&search_info);\n  }\n  else {\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }" if (parenthesized_expression "((search_info.search_type._1_1_ & 0x10) == 0)" ( (binary_expression "(search_info.search_type._1_1_ & 0x10) == 0" (parenthesized_expression "(search_info.search_type._1_1_ & 0x10)" ( (binary_expression "search_info.search_type._1_1_ & 0x10" (field_expression "search_info.search_type._1_1_" (field_expression "search_info.search_type" identifier . field_identifier) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar3 = prev_pattern(&search_info);\n  }" { (expression_statement "uVar3 = prev_pattern(&search_info);" (assignment_expression "uVar3 = prev_pattern(&search_info)" identifier = (call_expression "prev_pattern(&search_info)" identifier (argument_list "(&search_info)" ( (pointer_expression "&search_info" & identifier) )))) ;) }) (else_clause "else {\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }" else (compound_statement "{\n    uVar3 = (uint)(search_info.text != (char *)0x0);\n  }" { (expression_statement "uVar3 = (uint)(search_info.text != (char *)0x0);" (assignment_expression "uVar3 = (uint)(search_info.text != (char *)0x0)" identifier = (call_expression "(uint)(search_info.text != (char *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(search_info.text != (char *)0x0)" ( (binary_expression "search_info.text != (char *)0x0" (field_expression "search_info.text" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) ;) }))) (if_statement "if ((uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)) {\n    if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }\n  }" if (parenthesized_expression "((uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0))" ( (binary_expression "(uVar3 != 0) &&\n     (iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0)" ( (comma_expression "iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos), iVar4 != 0" (assignment_expression "iVar4 = match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos)" identifier = (call_expression "match_pattern(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos)" identifier (argument_list "(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,\n                            (uint)endpos)" ( (field_expression "search_info.compiled" identifier . field_identifier) , (field_expression "search_info.text" identifier . field_identifier) , (cast_expression "(char *)chpos" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (pointer_expression "&sp" & identifier) , (pointer_expression "&ep" & identifier) , number_literal , (cast_expression "(uint)endpos" ( (type_descriptor "uint" type_identifier) ) identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }\n  }" { (if_statement "if ((uVar2 & 0x10) == 0) {\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }\n    else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }" if (parenthesized_expression "((uVar2 & 0x10) == 0)" ( (binary_expression "(uVar2 & 0x10) == 0" (parenthesized_expression "(uVar2 & 0x10)" ( (binary_expression "uVar2 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      endpos._4_4_ = endpos._4_4_ - 1;\n      if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }\n    }" { (expression_statement "endpos._4_4_ = endpos._4_4_ - 1;" (assignment_expression "endpos._4_4_ = endpos._4_4_ - 1" (field_expression "endpos._4_4_" identifier . field_identifier) = (binary_expression "endpos._4_4_ - 1" (field_expression "endpos._4_4_" identifier . field_identifier) - number_literal)) ;) (if_statement "if ((int)endpos._4_4_ < 1) {\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }" if (parenthesized_expression "((int)endpos._4_4_ < 1)" ( (binary_expression "(int)endpos._4_4_ < 1" (cast_expression "(int)endpos._4_4_" ( (type_descriptor "int" primitive_type) ) (field_expression "endpos._4_4_" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n        if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }\n        free(chpos);\n        free(chpos_00);\n        if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }\n        goto LAB_00028b68;\n      }" { (if_statement "if (hilite_search == 1) {\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }" if (parenthesized_expression "(hilite_search == 1)" ( (binary_expression "hilite_search == 1" identifier == number_literal) )) (compound_statement "{\n          cvt_ops = &hilite_anchor;\n          clr_hlist(&hilite_anchor);\n          hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);\n        }" { (expression_statement "cvt_ops = &hilite_anchor;" (assignment_expression "cvt_ops = &hilite_anchor" identifier = (pointer_expression "&hilite_anchor" & identifier)) ;) (expression_statement "clr_hlist(&hilite_anchor);" (call_expression "clr_hlist(&hilite_anchor)" identifier (argument_list "(&hilite_anchor)" ( (pointer_expression "&hilite_anchor" & identifier) ))) ;) (expression_statement "hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops);" (call_expression "hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops)" identifier (argument_list "(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops)" ( (call_expression "CONCAT44(chpos_00,line_len)" identifier (argument_list "(chpos_00,line_len)" ( identifier , identifier ))) , identifier , identifier , identifier , identifier , identifier , (cast_expression "(int)cvt_ops" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "free(chpos);" (call_expression "free(chpos)" identifier (argument_list "(chpos)" ( identifier ))) ;) (expression_statement "free(chpos_00);" (call_expression "free(chpos_00)" identifier (argument_list "(chpos_00)" ( identifier ))) ;) (if_statement "if (plinepos != (POSITION *)0x0) {\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }" if (parenthesized_expression "(plinepos != (POSITION *)0x0)" ( (binary_expression "plinepos != (POSITION *)0x0" identifier != (cast_expression "(POSITION *)0x0" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(char **)plinepos = local_84;\n          *(uint *)((int)plinepos + 4) = local_80;\n        }" { (expression_statement "*(char **)plinepos = local_84;" (assignment_expression "*(char **)plinepos = local_84" (pointer_expression "*(char **)plinepos" * (cast_expression "(char **)plinepos" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(uint *)((int)plinepos + 4) = local_80;" (assignment_expression "*(uint *)((int)plinepos + 4) = local_80" (pointer_expression "*(uint *)((int)plinepos + 4)" * (cast_expression "(uint *)((int)plinepos + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)plinepos + 4)" ( (binary_expression "(int)plinepos + 4" (cast_expression "(int)plinepos" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) }) (else_clause "else {\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }" else (compound_statement "{\n      hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);\n    }" { (expression_statement "hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00);" (call_expression "hilite_line(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00)" identifier (argument_list "(CONCAT44(chpos_00,line_len),local_84,local_80,chpos,sp,ep,(int)cvt_ops_00)" ( (call_expression "CONCAT44(chpos_00,line_len)" identifier (argument_list "(chpos_00,line_len)" ( identifier , identifier ))) , identifier , identifier , identifier , identifier , identifier , (cast_expression "(int)cvt_ops_00" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))) })) (expression_statement "uVar2 = CONCAT44(endpos._4_4_,(uint)endpos);" (assignment_expression "uVar2 = CONCAT44(endpos._4_4_,(uint)endpos)" identifier = (call_expression "CONCAT44(endpos._4_4_,(uint)endpos)" identifier (argument_list "(endpos._4_4_,(uint)endpos)" ( (field_expression "endpos._4_4_" identifier . field_identifier) , (cast_expression "(uint)endpos" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (expression_statement "free(chpos);" (call_expression "free(chpos)" identifier (argument_list "(chpos)" ( identifier ))) ;) (expression_statement "free(chpos_00);" (call_expression "free(chpos_00)" identifier (argument_list "(chpos_00)" ( identifier ))) ;) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })))
(translation_unit "int __regparm2\nFUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)\n\n{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}\n\n" (function_definition "int __regparm2\nFUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)\n\n{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "longlong *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "longlong *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar9;" type_identifier identifier ;) (declaration "longlong lVar10;" type_identifier identifier ;) (declaration "uint local_8c;" type_identifier identifier ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "int local_6c;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x287fd;" (assignment_expression "uStack_14 = 0x287fd" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "lVar9 = FUN_00022970(param_1,param_2);" (assignment_expression "lVar9 = FUN_00022970(param_1,param_2)" identifier = (call_expression "FUN_00022970(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "lVar1 = CONCAT44(param_2,param_1);" (assignment_expression "lVar1 = CONCAT44(param_2,param_1)" identifier = (call_expression "CONCAT44(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);" (assignment_expression "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30)" identifier = (call_expression "CONCAT44(local_30._4_4_,(undefined4)local_30)" identifier (argument_list "(local_30._4_4_,(undefined4)local_30)" ( (field_expression "local_30._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)local_30" ( (type_descriptor "undefined4" type_identifier) ) identifier) )))) ;) (expression_statement "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);" (assignment_expression "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28)" identifier = (call_expression "CONCAT44(local_28._4_4_,(undefined4)local_28)" identifier (argument_list "(local_28._4_4_,(undefined4)local_28)" ( (field_expression "local_28._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)local_28" ( (type_descriptor "undefined4" type_identifier) ) identifier) )))) ;) (labeled_statement "joined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" statement_identifier : (do_statement "do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" do (compound_statement "{\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  }" { (if_statement "if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }" if (parenthesized_expression "((DAT_000419f8 & 3) != 0)" ( (binary_expression "(DAT_000419f8 & 3) != 0" (parenthesized_expression "(DAT_000419f8 & 3)" ( (binary_expression "DAT_000419f8 & 3" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }" { (expression_statement "local_6c = -1;" (assignment_expression "local_6c = -1" identifier = number_literal) ;) (labeled_statement "LAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n        FUN_0002b510();\n      }" { (expression_statement "FUN_0002b510();" (call_expression "FUN_0002b510()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_6c;" return identifier ;) })) (expression_statement "iVar8 = (int)((ulonglong)lVar1 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)lVar1 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar3 = (uint)((uint)lVar1 < param_3);" (assignment_expression "uVar3 = (uint)((uint)lVar1 < param_3)" identifier = (call_expression "(uint)((uint)lVar1 < param_3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)lVar1 < param_3)" ( (binary_expression "(uint)lVar1 < param_3" (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ;) (expression_statement "iVar4 = iVar8 - param_4;" (assignment_expression "iVar4 = iVar8 - param_4" identifier = (binary_expression "iVar8 - param_4" identifier - identifier)) ;) (if_statement "if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" if (parenthesized_expression "(((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0))" ( (binary_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)" (parenthesized_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" ( (binary_expression "(param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" ( (binary_expression "param_4 & param_3" identifier & identifier) )) != number_literal) && (binary_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(iVar8,param_4)" identifier (argument_list "(iVar8,param_4)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 - uVar3)" ( (binary_expression "iVar4 - uVar3" identifier - identifier) ))) < number_literal))) )) || (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" { (labeled_statement "LAB_00028b50:\n      local_6c = param_6;" statement_identifier : (expression_statement "local_6c = param_6;" (assignment_expression "local_6c = param_6" identifier = identifier) ;)) (if_statement "if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }" if (parenthesized_expression "(param_9 != (longlong *)0x0)" ( (binary_expression "param_9 != (longlong *)0x0" identifier != (cast_expression "(longlong *)0x0" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *param_9 = lVar1;\n      }" { (expression_statement "*param_9 = lVar1;" (assignment_expression "*param_9 = lVar1" (pointer_expression "*param_9" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) (expression_statement "param_7 = param_7 - (uint)(0 < param_7);" (assignment_expression "param_7 = param_7 - (uint)(0 < param_7)" identifier = (binary_expression "param_7 - (uint)(0 < param_7)" identifier - (call_expression "(uint)(0 < param_7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < param_7)" ( (binary_expression "0 < param_7" number_literal < identifier) ))))) ;) (if_statement "if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" if (parenthesized_expression "((param_5 & 1) == 0)" ( (binary_expression "(param_5 & 1) == 0" (parenthesized_expression "(param_5 & 1)" ( (binary_expression "param_5 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }" { (expression_statement "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c)" identifier = (call_expression "FUN_00022100(lVar1,&local_40,&local_3c)" identifier (argument_list "(lVar1,&local_40,&local_3c)" ( identifier , (pointer_expression "&local_40" & identifier) , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "lVar2 = lVar10;" (assignment_expression "lVar2 = lVar10" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        lVar9 = lVar9 + -1;\n      }" { (expression_statement "lVar9 = lVar9 + -1;" (assignment_expression "lVar9 = lVar9 + -1" identifier = (binary_expression "lVar9 + -1" identifier + number_literal)) ;) })) }) (else_clause "else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" else (compound_statement "{\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" { (expression_statement "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c)" identifier = (call_expression "FUN_00021fd0(lVar1,&local_40,&local_3c)" identifier (argument_list "(lVar1,&local_40,&local_3c)" ( identifier , (pointer_expression "&local_40" & identifier) , (pointer_expression "&local_3c" & identifier) )))) ;) (expression_statement "lVar2 = lVar1;" (assignment_expression "lVar2 = lVar1" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        lVar9 = lVar9 + 1;\n      }" { (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) })) }))) (if_statement "if (lVar10 == -1) goto LAB_00028b50;" if (parenthesized_expression "(lVar10 == -1)" ( (binary_expression "lVar10 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00028b50;" goto statement_identifier ;)) (expression_statement "local_80 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "local_80 = (int)((ulonglong)lVar2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_84 = (uint)lVar2;" (assignment_expression "local_84 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_88 = (int)((ulonglong)lVar10 >> 0x20);" (assignment_expression "local_88 = (int)((ulonglong)lVar10 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar10 >> 0x20)" ( (binary_expression "(ulonglong)lVar10 >> 0x20" (cast_expression "(ulonglong)lVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_8c = (uint)lVar10;" (assignment_expression "local_8c = (uint)lVar10" identifier = (cast_expression "(uint)lVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }" if (parenthesized_expression "((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)))" ( (binary_expression "(DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" (parenthesized_expression "(DAT_00041960 != 0)" ( (binary_expression "DAT_00041960 != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" ( (comma_expression "uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar3 = local_8c - (uint)lVar1" identifier = (binary_expression "local_8c - (uint)lVar1" identifier - (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) , (comma_expression "uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) , (binary_expression "0x800 < (int)((uVar3 ^ uVar7) - uVar7)" number_literal < (cast_expression "(int)((uVar3 ^ uVar7) - uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar3 ^ uVar7) - uVar7)" ( (binary_expression "(uVar3 ^ uVar7) - uVar7" (parenthesized_expression "(uVar3 ^ uVar7)" ( (binary_expression "uVar3 ^ uVar7" identifier ^ identifier) )) - identifier) )))))) ))) )) (compound_statement "{\n      FUN_00022420(lVar9,lVar10);\n    }" { (expression_statement "FUN_00022420(lVar9,lVar10);" (call_expression "FUN_00022420(lVar9,lVar10)" identifier (argument_list "(lVar9,lVar10)" ( identifier , identifier ))) ;) })) (expression_statement "iVar4 = FUN_00028790(lVar2);" (assignment_expression "iVar4 = FUN_00028790(lVar2)" identifier = (call_expression "FUN_00028790(lVar2)" identifier (argument_list "(lVar2)" ( identifier )))) ;) (expression_statement "lVar1 = lVar10;" (assignment_expression "lVar1 = lVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;)) (if_statement "if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" if (parenthesized_expression "(DAT_0004187c == 0)" ( (binary_expression "DAT_0004187c == 0" identifier == number_literal) )) (compound_statement "{\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }" { (if_statement "if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" if (parenthesized_expression "(DAT_000419a8 == 0)" ( (binary_expression "DAT_000419a8 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar6 = 6;\n    }" { (expression_statement "bVar6 = 6;" (assignment_expression "bVar6 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" else (compound_statement "{\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" { (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }" if (parenthesized_expression "(DAT_000419a8 != 2)" ( (binary_expression "DAT_000419a8 != 2" identifier != number_literal) )) (compound_statement "{\n        bVar6 = 4;\n      }" { (expression_statement "bVar6 = 4;" (assignment_expression "bVar6 = 4" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" else (compound_statement "{\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" { (expression_statement "bVar6 = 7;" (assignment_expression "bVar6 = 7" identifier = number_literal) ;) (if_statement "if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" if (parenthesized_expression "(DAT_000419a8 != 0)" ( (binary_expression "DAT_000419a8 != 0" identifier != number_literal) )) (compound_statement "{\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" { (expression_statement "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;" (assignment_expression "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1" identifier = (binary_expression "(DAT_000419a8 != 2) * '\x04' + 1" (binary_expression "(DAT_000419a8 != 2) * '\x04'" (parenthesized_expression "(DAT_000419a8 != 2)" ( (binary_expression "DAT_000419a8 != 2" identifier != number_literal) )) * (char_literal "'\x04'" ' escape_sequence ')) + number_literal)) ;) })) }))) (if_statement "if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }" if (parenthesized_expression "(DAT_000419ac == 2)" ( (binary_expression "DAT_000419ac == 2" identifier == number_literal) )) (compound_statement "{\n    bVar6 = bVar6 | 8;\n  }" { (expression_statement "bVar6 = bVar6 | 8;" (assignment_expression "bVar6 = bVar6 | 8" identifier = (binary_expression "bVar6 | 8" identifier | number_literal)) ;) })) (expression_statement "uVar5 = FUN_0001b440(local_3c,bVar6);" (assignment_expression "uVar5 = FUN_0001b440(local_3c,bVar6)" identifier = (call_expression "FUN_0001b440(local_3c,bVar6)" identifier (argument_list "(local_3c,bVar6)" ( identifier , identifier )))) ;) (expression_statement "__ptr = (void *)FUN_00012c20(1,uVar5);" (assignment_expression "__ptr = (void *)FUN_00012c20(1,uVar5)" identifier = (cast_expression "(void *)FUN_00012c20(1,uVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(1,uVar5)" identifier (argument_list "(1,uVar5)" ( number_literal , identifier ))))) ;) (expression_statement "__ptr_00 = (void *)FUN_0001b470(uVar5);" (assignment_expression "__ptr_00 = (void *)FUN_0001b470(uVar5)" identifier = (cast_expression "(void *)FUN_0001b470(uVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001b470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);" (call_expression "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6)" identifier (argument_list "(__ptr,local_40,__ptr_00,&local_3c,bVar6)" ( identifier , identifier , identifier , (pointer_expression "&local_3c" & identifier) , identifier ))) ;) (if_statement "if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" if (parenthesized_expression "(((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0))" ( (binary_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" (parenthesized_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff))" ( (binary_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)" (parenthesized_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0))" ( (binary_expression "((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" (parenthesized_expression "((param_5 & 0x10) != 0)" ( (binary_expression "(param_5 & 0x10) != 0" (parenthesized_expression "(param_5 & 0x10)" ( (binary_expression "param_5 & 0x10" identifier & number_literal) )) != number_literal) )) || (parenthesized_expression "((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" ( (binary_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888)))" ( (binary_expression "SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" (call_expression "SBORROW4(local_80,DAT_0004188c)" identifier (argument_list "(local_80,DAT_0004188c)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" identifier (argument_list "(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" ( (binary_expression "local_80 - DAT_0004188c" identifier - identifier) , (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041888)" ( (binary_expression "local_84 < DAT_00041888" identifier < identifier) ))) )))) )) != (binary_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (cast_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" ( (binary_expression "(local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)" (parenthesized_expression "(local_80 - DAT_0004188c)" ( (binary_expression "local_80 - DAT_0004188c" identifier - identifier) )) - (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041888)" ( (binary_expression "local_84 < DAT_00041888" identifier < identifier) )))) ))) < number_literal)) ))) )) || (parenthesized_expression "((DAT_0004188c & DAT_00041888) == 0xffffffff)" ( (binary_expression "(DAT_0004188c & DAT_00041888) == 0xffffffff" (parenthesized_expression "(DAT_0004188c & DAT_00041888)" ( (binary_expression "DAT_0004188c & DAT_00041888" identifier & identifier) )) == number_literal) ))) )) || (parenthesized_expression "((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" ( (binary_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880)))" ( (binary_expression "SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" (call_expression "SBORROW4(local_80,DAT_00041884)" identifier (argument_list "(local_80,DAT_00041884)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" identifier (argument_list "(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" ( (binary_expression "local_80 - DAT_00041884" identifier - identifier) , (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041880)" ( (binary_expression "local_84 < DAT_00041880" identifier < identifier) ))) )))) )) == (binary_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (cast_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" ( (binary_expression "(local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)" (parenthesized_expression "(local_80 - DAT_00041884)" ( (binary_expression "local_80 - DAT_00041884" identifier - identifier) )) - (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < DAT_00041880)" ( (binary_expression "local_84 < DAT_00041880" identifier < identifier) )))) ))) < number_literal)) ))) )) (compound_statement "{\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" { (if_statement "if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" if (parenthesized_expression "((DAT_00041848 & 0x1000) == 0)" ( (binary_expression "(DAT_00041848 & 0x1000) == 0" (parenthesized_expression "(DAT_00041848 & 0x1000)" ( (binary_expression "DAT_00041848 & 0x1000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = FUN_00027c20();\n    }" { (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" identifier = (call_expression "FUN_00027c20()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" else (compound_statement "{\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" { (expression_statement "uVar3 = (uint)(DAT_00041844 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041844 != 0)" identifier = (call_expression "(uint)(DAT_00041844 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00041844 != 0)" ( (binary_expression "DAT_00041844 != 0" identifier != number_literal) )))) ;) }))) (if_statement "if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" { (expression_statement "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);" (assignment_expression "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" identifier = (call_expression "FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" identifier (argument_list "(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_34" & identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" { (expression_statement "local_30 = lVar2;" (assignment_expression "local_30 = lVar2" identifier = identifier) ;) (expression_statement "local_28 = lVar10;" (assignment_expression "local_28 = lVar10" identifier = identifier) ;) (if_statement "if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }" if (parenthesized_expression "((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0)" ( (binary_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (parenthesized_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c)))" ( (binary_expression "SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" (call_expression "SBORROW4(local_80,local_88)" identifier (argument_list "(local_80,local_88)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" identifier (argument_list "(local_80 - local_88,(uint)(local_84 < local_8c))" ( (binary_expression "local_80 - local_88" identifier - identifier) , (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_8c)" ( (binary_expression "local_84 < local_8c" identifier < identifier) ))) )))) )) != (binary_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (cast_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_80 - local_88) - (uint)(local_84 < local_8c))" ( (binary_expression "(local_80 - local_88) - (uint)(local_84 < local_8c)" (parenthesized_expression "(local_80 - local_88)" ( (binary_expression "local_80 - local_88" identifier - identifier) )) - (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_84 < local_8c)" ( (binary_expression "local_84 < local_8c" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n          FUN_00027ce0();\n        }" { (expression_statement "FUN_00027ce0();" (call_expression "FUN_00027ce0()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })) })) })) (if_statement "if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" if (parenthesized_expression "((DAT_00041854._1_1_ & 0x10) == 0)" ( (binary_expression "(DAT_00041854._1_1_ & 0x10) == 0" (parenthesized_expression "(DAT_00041854._1_1_ & 0x10)" ( (binary_expression "DAT_00041854._1_1_ & 0x10" (field_expression "DAT_00041854._1_1_" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar3 = FUN_00027c20();\n  }" { (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" identifier = (call_expression "FUN_00027c20()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" else (compound_statement "{\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" { (expression_statement "uVar3 = (uint)(DAT_00041850 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041850 != 0)" identifier = (call_expression "(uint)(DAT_00041850 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00041850 != 0)" ( (binary_expression "DAT_00041850 != 0" identifier != number_literal) )))) ;) }))) (if_statement "if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" { (expression_statement "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);" (assignment_expression "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" identifier = (call_expression "FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" identifier (argument_list "(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_34" & identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" { (if_statement "if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" if (parenthesized_expression "((param_5 & 0x10) == 0)" ( (binary_expression "(param_5 & 0x10) == 0" (parenthesized_expression "(param_5 & 0x10)" ( (binary_expression "param_5 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }" { (expression_statement "param_6 = param_6 + -1;" (assignment_expression "param_6 = param_6 + -1" identifier = (binary_expression "param_6 + -1" identifier + number_literal)) ;) (if_statement "if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" if (parenthesized_expression "(param_6 < 1)" ( (binary_expression "param_6 < 1" identifier < number_literal) )) (compound_statement "{\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" { (if_statement "if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" if (parenthesized_expression "(DAT_000419cc == 1)" ( (binary_expression "DAT_000419cc == 1" identifier == number_literal) )) (compound_statement "{\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" { (expression_statement "FUN_00028580(&DAT_00041868);" (call_expression "FUN_00028580(&DAT_00041868)" identifier (argument_list "(&DAT_00041868)" ( (pointer_expression "&DAT_00041868" & identifier) ))) ;) (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" identifier (argument_list "(local_3c,__ptr_00,local_38,local_34)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" identifier = number_literal) ;) (if_statement "if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }" if (parenthesized_expression "(param_8 != (longlong *)0x0)" ( (binary_expression "param_8 != (longlong *)0x0" identifier != (cast_expression "(longlong *)0x0" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *param_8 = lVar2;\n          }" { (expression_statement "*param_8 = lVar2;" (assignment_expression "*param_8 = lVar2" (pointer_expression "*param_8" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00028b68;" goto statement_identifier ;) })) }) (else_clause "else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" else (compound_statement "{\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" { (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" identifier (argument_list "(local_3c,__ptr_00,local_38,local_34)" ( identifier , identifier , identifier , identifier ))) ;) }))) })) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (goto_statement "goto joined_r0x0002887f;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 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 ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) != LIT) && (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) , (comma_expression (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) , (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) - IDENT) )))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) * (char_literal ' escape_sequence ')) + 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 = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) == LIT) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) }))) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "int __regparm2\nFUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)\n\n{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" (primitive_type "int") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_000287f0(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" (identifier "FUN_000287f0") (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,\n            int param_6,int param_7,longlong *param_8,longlong *param_9)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "longlong *param_8" (type_identifier "longlong") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "longlong *param_9" (type_identifier "longlong") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) () ")"))) (compound_statement "{\n  longlong lVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  void *__ptr;\n  void *__ptr_00;\n  byte bVar6;\n  uint uVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  longlong lVar9;\n  longlong lVar10;\n  uint local_8c;\n  int local_88;\n  uint local_84;\n  int local_80;\n  int local_6c;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined8 local_30;\n  undefined8 local_28;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x287fd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  lVar9 = FUN_00022970(param_1,param_2);\n  lVar1 = CONCAT44(param_2,param_1);\n  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);\n  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);\njoined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);\n  if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }\n  if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }\n  uVar5 = FUN_0001b440(local_3c,bVar6);\n  __ptr = (void *)FUN_00012c20(1,uVar5);\n  __ptr_00 = (void *)FUN_0001b470(uVar5);\n  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);\n  if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }\n  if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }\n  if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }\n  free(__ptr);\n  free(__ptr_00);\n  goto joined_r0x0002887f;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "void *__ptr_00;" (primitive_type "void") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "byte bVar6;" (type_identifier "byte") (identifier "bVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "longlong lVar9;" (type_identifier "longlong") (identifier "lVar9") (; ";")) (declaration "longlong lVar10;" (type_identifier "longlong") (identifier "lVar10") (; ";")) (declaration "uint local_8c;" (type_identifier "uint") (identifier "local_8c") (; ";")) (declaration "int local_88;" (primitive_type "int") (identifier "local_88") (; ";")) (declaration "uint local_84;" (type_identifier "uint") (identifier "local_84") (; ";")) (declaration "int local_80;" (primitive_type "int") (identifier "local_80") (; ";")) (declaration "int local_6c;" (primitive_type "int") (identifier "local_6c") (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined8 local_30;" (type_identifier "undefined8") (identifier "local_30") (; ";")) (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x287fd;" (assignment_expression "uStack_14 = 0x287fd" (identifier "uStack_14") (= "=") (number_literal "0x287fd")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "lVar9 = FUN_00022970(param_1,param_2);" (assignment_expression "lVar9 = FUN_00022970(param_1,param_2)" (identifier "lVar9") (= "=") (call_expression "FUN_00022970(param_1,param_2)" (identifier "FUN_00022970") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "lVar1 = CONCAT44(param_2,param_1);" (assignment_expression "lVar1 = CONCAT44(param_2,param_1)" (identifier "lVar1") (= "=") (call_expression "CONCAT44(param_2,param_1)" (identifier "CONCAT44") (argument_list "(param_2,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);" (assignment_expression "local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30)" (identifier "local_30") (= "=") (call_expression "CONCAT44(local_30._4_4_,(undefined4)local_30)" (identifier "CONCAT44") (argument_list "(local_30._4_4_,(undefined4)local_30)" (( "(") (field_expression "local_30._4_4_" (identifier "local_30") (. ".") (field_identifier "_4_4_")) (, ",") (cast_expression "(undefined4)local_30" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);" (assignment_expression "local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28)" (identifier "local_28") (= "=") (call_expression "CONCAT44(local_28._4_4_,(undefined4)local_28)" (identifier "CONCAT44") (argument_list "(local_28._4_4_,(undefined4)local_28)" (( "(") (field_expression "local_28._4_4_" (identifier "local_28") (. ".") (field_identifier "_4_4_")) (, ",") (cast_expression "(undefined4)local_28" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "local_28")) () ")")))) (; ";")) (labeled_statement "joined_r0x0002887f:\n  do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" (statement_identifier "joined_r0x0002887f") (: ":") (do_statement "do {\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  } while (iVar4 != 0);" (do "do") (compound_statement "{\n    if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }\n    iVar8 = (int)((ulonglong)lVar1 >> 0x20);\n    uVar3 = (uint)((uint)lVar1 < param_3);\n    iVar4 = iVar8 - param_4;\n    if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }\n    param_7 = param_7 - (uint)(0 < param_7);\n    if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }\n    if (lVar10 == -1) goto LAB_00028b50;\n    local_80 = (int)((ulonglong)lVar2 >> 0x20);\n    local_84 = (uint)lVar2;\n    local_88 = (int)((ulonglong)lVar10 >> 0x20);\n    local_8c = (uint)lVar10;\n    if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }\n    iVar4 = FUN_00028790(lVar2);\n    lVar1 = lVar10;\n  }" ({ "{") (if_statement "if ((DAT_000419f8 & 3) != 0) {\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }" (if "if") (parenthesized_expression "((DAT_000419f8 & 3) != 0)" (( "(") (binary_expression "(DAT_000419f8 & 3) != 0" (parenthesized_expression "(DAT_000419f8 & 3)" (( "(") (binary_expression "DAT_000419f8 & 3" (identifier "DAT_000419f8") (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_6c = -1;\nLAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }\n      return local_6c;\n    }" ({ "{") (expression_statement "local_6c = -1;" (assignment_expression "local_6c = -1" (identifier "local_6c") (= "=") (number_literal "-1")) (; ";")) (labeled_statement "LAB_00028b68:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }" (statement_identifier "LAB_00028b68") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0002b510();\n      }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n        FUN_0002b510();\n      }" ({ "{") (expression_statement "FUN_0002b510();" (call_expression "FUN_0002b510()" (identifier "FUN_0002b510") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return local_6c;" (return "return") (identifier "local_6c") (; ";")) (} "}"))) (expression_statement "iVar8 = (int)((ulonglong)lVar1 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)lVar1 >> 0x20)" (identifier "iVar8") (= "=") (cast_expression "(int)((ulonglong)lVar1 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar3 = (uint)((uint)lVar1 < param_3);" (assignment_expression "uVar3 = (uint)((uint)lVar1 < param_3)" (identifier "uVar3") (= "=") (call_expression "(uint)((uint)lVar1 < param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)lVar1 < param_3)" (( "(") (binary_expression "(uint)lVar1 < param_3" (cast_expression "(uint)lVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar1")) (< "<") (identifier "param_3")) () ")")))) (; ";")) (expression_statement "iVar4 = iVar8 - param_4;" (assignment_expression "iVar4 = iVar8 - param_4" (identifier "iVar4") (= "=") (binary_expression "iVar8 - param_4" (identifier "iVar8") (- "-") (identifier "param_4"))) (; ";")) (if_statement "if (((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)) {\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" (if "if") (parenthesized_expression "(((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0))" (( "(") (binary_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||\n       (param_7 == 0)" (parenthesized_expression "((param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" (( "(") (binary_expression "(param_4 & param_3) != 0xffffffff &&\n         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (binary_expression "(param_4 & param_3) != 0xffffffff" (parenthesized_expression "(param_4 & param_3)" (( "(") (binary_expression "param_4 & param_3" (identifier "param_4") (& "&") (identifier "param_3")) () ")")) (!= "!=") (number_literal "0xffffffff")) (&& "&&") (binary_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3))" (( "(") (binary_expression "SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(iVar8,param_4)" (identifier "SBORROW4") (argument_list "(iVar8,param_4)" (( "(") (identifier "iVar8") (, ",") (identifier "param_4") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar4,uVar3)" (identifier "SBORROW4") (argument_list "(iVar4,uVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "uVar3") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar4 - uVar3)" (( "(") (binary_expression "iVar4 - uVar3" (identifier "iVar4") (- "-") (identifier "uVar3")) () ")"))) (< "<") (number_literal "0")))) () ")")) (|| "||") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_00028b50:\n      local_6c = param_6;\n      if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }\n      goto LAB_00028b68;\n    }" ({ "{") (labeled_statement "LAB_00028b50:\n      local_6c = param_6;" (statement_identifier "LAB_00028b50") (: ":") (expression_statement "local_6c = param_6;" (assignment_expression "local_6c = param_6" (identifier "local_6c") (= "=") (identifier "param_6")) (; ";"))) (if_statement "if (param_9 != (longlong *)0x0) {\n        *param_9 = lVar1;\n      }" (if "if") (parenthesized_expression "(param_9 != (longlong *)0x0)" (( "(") (binary_expression "param_9 != (longlong *)0x0" (identifier "param_9") (!= "!=") (cast_expression "(longlong *)0x0" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *param_9 = lVar1;\n      }" ({ "{") (expression_statement "*param_9 = lVar1;" (assignment_expression "*param_9 = lVar1" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (identifier "lVar1")) (; ";")) (} "}"))) (goto_statement "goto LAB_00028b68;" (goto "goto") (statement_identifier "LAB_00028b68") (; ";")) (} "}"))) (expression_statement "param_7 = param_7 - (uint)(0 < param_7);" (assignment_expression "param_7 = param_7 - (uint)(0 < param_7)" (identifier "param_7") (= "=") (binary_expression "param_7 - (uint)(0 < param_7)" (identifier "param_7") (- "-") (call_expression "(uint)(0 < param_7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0 < param_7)" (( "(") (binary_expression "0 < param_7" (number_literal "0") (< "<") (identifier "param_7")) () ")"))))) (; ";")) (if_statement "if ((param_5 & 1) == 0) {\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }\n    else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" (if "if") (parenthesized_expression "((param_5 & 1) == 0)" (( "(") (binary_expression "(param_5 & 1) == 0" (parenthesized_expression "(param_5 & 1)" (( "(") (binary_expression "param_5 & 1" (identifier "param_5") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);\n      lVar2 = lVar10;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }\n    }" ({ "{") (expression_statement "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00022100(lVar1,&local_40,&local_3c)" (identifier "lVar10") (= "=") (call_expression "FUN_00022100(lVar1,&local_40,&local_3c)" (identifier "FUN_00022100") (argument_list "(lVar1,&local_40,&local_3c)" (( "(") (identifier "lVar1") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) () ")")))) (; ";")) (expression_statement "lVar2 = lVar10;" (assignment_expression "lVar2 = lVar10" (identifier "lVar2") (= "=") (identifier "lVar10")) (; ";")) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + -1;\n      }" (if "if") (parenthesized_expression "(lVar9 != 0)" (( "(") (binary_expression "lVar9 != 0" (identifier "lVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        lVar9 = lVar9 + -1;\n      }" ({ "{") (expression_statement "lVar9 = lVar9 + -1;" (assignment_expression "lVar9 = lVar9 + -1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + -1" (identifier "lVar9") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" (else "else") (compound_statement "{\n      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);\n      lVar2 = lVar1;\n      if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }\n    }" ({ "{") (expression_statement "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);" (assignment_expression "lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c)" (identifier "lVar10") (= "=") (call_expression "FUN_00021fd0(lVar1,&local_40,&local_3c)" (identifier "FUN_00021fd0") (argument_list "(lVar1,&local_40,&local_3c)" (( "(") (identifier "lVar1") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) () ")")))) (; ";")) (expression_statement "lVar2 = lVar1;" (assignment_expression "lVar2 = lVar1" (identifier "lVar2") (= "=") (identifier "lVar1")) (; ";")) (if_statement "if (lVar9 != 0) {\n        lVar9 = lVar9 + 1;\n      }" (if "if") (parenthesized_expression "(lVar9 != 0)" (( "(") (binary_expression "lVar9 != 0" (identifier "lVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        lVar9 = lVar9 + 1;\n      }" ({ "{") (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (lVar10 == -1) goto LAB_00028b50;" (if "if") (parenthesized_expression "(lVar10 == -1)" (( "(") (binary_expression "lVar10 == -1" (identifier "lVar10") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00028b50;" (goto "goto") (statement_identifier "LAB_00028b50") (; ";"))) (expression_statement "local_80 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "local_80 = (int)((ulonglong)lVar2 >> 0x20)" (identifier "local_80") (= "=") (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar2")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_84 = (uint)lVar2;" (assignment_expression "local_84 = (uint)lVar2" (identifier "local_84") (= "=") (cast_expression "(uint)lVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar2"))) (; ";")) (expression_statement "local_88 = (int)((ulonglong)lVar10 >> 0x20);" (assignment_expression "local_88 = (int)((ulonglong)lVar10 >> 0x20)" (identifier "local_88") (= "=") (cast_expression "(int)((ulonglong)lVar10 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar10 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar10 >> 0x20" (cast_expression "(ulonglong)lVar10" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar10")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_8c = (uint)lVar10;" (assignment_expression "local_8c = (uint)lVar10" (identifier "local_8c") (= "=") (cast_expression "(uint)lVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar10"))) (; ";")) (if_statement "if ((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {\n      FUN_00022420(lVar9,lVar10);\n    }" (if "if") (parenthesized_expression "((DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)))" (( "(") (binary_expression "(DAT_00041960 != 0) &&\n       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" (parenthesized_expression "(DAT_00041960 != 0)" (( "(") (binary_expression "DAT_00041960 != 0" (identifier "DAT_00041960") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7))" (( "(") (comma_expression "uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar3 = local_8c - (uint)lVar1" (identifier "uVar3") (= "=") (binary_expression "local_8c - (uint)lVar1" (identifier "local_8c") (- "-") (cast_expression "(uint)lVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar1")))) (, ",") (comma_expression "uVar7 = (int)uVar3 >> 0x1f,\n       0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (assignment_expression "uVar7 = (int)uVar3 >> 0x1f" (identifier "uVar7") (= "=") (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x1f"))) (, ",") (binary_expression "0x800 < (int)((uVar3 ^ uVar7) - uVar7)" (number_literal "0x800") (< "<") (cast_expression "(int)((uVar3 ^ uVar7) - uVar7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uVar3 ^ uVar7) - uVar7)" (( "(") (binary_expression "(uVar3 ^ uVar7) - uVar7" (parenthesized_expression "(uVar3 ^ uVar7)" (( "(") (binary_expression "uVar3 ^ uVar7" (identifier "uVar3") (^ "^") (identifier "uVar7")) () ")")) (- "-") (identifier "uVar7")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      FUN_00022420(lVar9,lVar10);\n    }" ({ "{") (expression_statement "FUN_00022420(lVar9,lVar10);" (call_expression "FUN_00022420(lVar9,lVar10)" (identifier "FUN_00022420") (argument_list "(lVar9,lVar10)" (( "(") (identifier "lVar9") (, ",") (identifier "lVar10") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_00028790(lVar2);" (assignment_expression "iVar4 = FUN_00028790(lVar2)" (identifier "iVar4") (= "=") (call_expression "FUN_00028790(lVar2)" (identifier "FUN_00028790") (argument_list "(lVar2)" (( "(") (identifier "lVar2") () ")")))) (; ";")) (expression_statement "lVar1 = lVar10;" (assignment_expression "lVar1 = lVar10" (identifier "lVar1") (= "=") (identifier "lVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";"))) (if_statement "if (DAT_0004187c == 0) {\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }\n  else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_0004187c == 0)" (( "(") (binary_expression "DAT_0004187c == 0" (identifier "DAT_0004187c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }\n  }" ({ "{") (if_statement "if (DAT_000419a8 == 0) {\n      bVar6 = 6;\n    }\n    else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" (if "if") (parenthesized_expression "(DAT_000419a8 == 0)" (( "(") (binary_expression "DAT_000419a8 == 0" (identifier "DAT_000419a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      bVar6 = 6;\n    }" ({ "{") (expression_statement "bVar6 = 6;" (assignment_expression "bVar6 = 6" (identifier "bVar6") (= "=") (number_literal "6")) (; ";")) (} "}")) (else_clause "else {\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" (else "else") (compound_statement "{\n      bVar6 = 0;\n      if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }\n    }" ({ "{") (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" (identifier "bVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (DAT_000419a8 != 2) {\n        bVar6 = 4;\n      }" (if "if") (parenthesized_expression "(DAT_000419a8 != 2)" (( "(") (binary_expression "DAT_000419a8 != 2" (identifier "DAT_000419a8") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        bVar6 = 4;\n      }" ({ "{") (expression_statement "bVar6 = 4;" (assignment_expression "bVar6 = 4" (identifier "bVar6") (= "=") (number_literal "4")) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" (else "else") (compound_statement "{\n    bVar6 = 7;\n    if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }\n  }" ({ "{") (expression_statement "bVar6 = 7;" (assignment_expression "bVar6 = 7" (identifier "bVar6") (= "=") (number_literal "7")) (; ";")) (if_statement "if (DAT_000419a8 != 0) {\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" (if "if") (parenthesized_expression "(DAT_000419a8 != 0)" (( "(") (binary_expression "DAT_000419a8 != 0" (identifier "DAT_000419a8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;\n    }" ({ "{") (expression_statement "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;" (assignment_expression "bVar6 = (DAT_000419a8 != 2) * '\x04' + 1" (identifier "bVar6") (= "=") (binary_expression "(DAT_000419a8 != 2) * '\x04' + 1" (binary_expression "(DAT_000419a8 != 2) * '\x04'" (parenthesized_expression "(DAT_000419a8 != 2)" (( "(") (binary_expression "DAT_000419a8 != 2" (identifier "DAT_000419a8") (!= "!=") (number_literal "2")) () ")")) (* "*") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (DAT_000419ac == 2) {\n    bVar6 = bVar6 | 8;\n  }" (if "if") (parenthesized_expression "(DAT_000419ac == 2)" (( "(") (binary_expression "DAT_000419ac == 2" (identifier "DAT_000419ac") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    bVar6 = bVar6 | 8;\n  }" ({ "{") (expression_statement "bVar6 = bVar6 | 8;" (assignment_expression "bVar6 = bVar6 | 8" (identifier "bVar6") (= "=") (binary_expression "bVar6 | 8" (identifier "bVar6") (| "|") (number_literal "8"))) (; ";")) (} "}"))) (expression_statement "uVar5 = FUN_0001b440(local_3c,bVar6);" (assignment_expression "uVar5 = FUN_0001b440(local_3c,bVar6)" (identifier "uVar5") (= "=") (call_expression "FUN_0001b440(local_3c,bVar6)" (identifier "FUN_0001b440") (argument_list "(local_3c,bVar6)" (( "(") (identifier "local_3c") (, ",") (identifier "bVar6") () ")")))) (; ";")) (expression_statement "__ptr = (void *)FUN_00012c20(1,uVar5);" (assignment_expression "__ptr = (void *)FUN_00012c20(1,uVar5)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00012c20(1,uVar5)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012c20(1,uVar5)" (identifier "FUN_00012c20") (argument_list "(1,uVar5)" (( "(") (number_literal "1") (, ",") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "__ptr_00 = (void *)FUN_0001b470(uVar5);" (assignment_expression "__ptr_00 = (void *)FUN_0001b470(uVar5)" (identifier "__ptr_00") (= "=") (cast_expression "(void *)FUN_0001b470(uVar5)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001b470(uVar5)" (identifier "FUN_0001b470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);" (call_expression "FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6)" (identifier "FUN_0001b4c0") (argument_list "(__ptr,local_40,__ptr_00,&local_3c,bVar6)" (( "(") (identifier "__ptr") (, ",") (identifier "local_40") (, ",") (identifier "__ptr_00") (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) (, ",") (identifier "bVar6") () ")"))) (; ";")) (if_statement "if (((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0))" (( "(") (binary_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||\n     ((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" (parenthesized_expression "((((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff))" (( "(") (binary_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||\n      ((DAT_0004188c & DAT_00041888) == 0xffffffff)" (parenthesized_expression "(((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0))" (( "(") (binary_expression "((param_5 & 0x10) != 0) ||\n       ((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" (parenthesized_expression "((param_5 & 0x10) != 0)" (( "(") (binary_expression "(param_5 & 0x10) != 0" (parenthesized_expression "(param_5 & 0x10)" (( "(") (binary_expression "param_5 & 0x10" (identifier "param_5") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)" (( "(") (binary_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=\n        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888)))" (( "(") (binary_expression "SBORROW4(local_80,DAT_0004188c) !=\n        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" (call_expression "SBORROW4(local_80,DAT_0004188c)" (identifier "SBORROW4") (argument_list "(local_80,DAT_0004188c)" (( "(") (identifier "local_80") (, ",") (identifier "DAT_0004188c") () ")"))) (!= "!=") (call_expression "SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" (identifier "SBORROW4") (argument_list "(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))" (( "(") (binary_expression "local_80 - DAT_0004188c" (identifier "local_80") (- "-") (identifier "DAT_0004188c")) (, ",") (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < DAT_00041888)" (( "(") (binary_expression "local_84 < DAT_00041888" (identifier "local_84") (< "<") (identifier "DAT_00041888")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0" (cast_expression "(int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888))" (( "(") (binary_expression "(local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)" (parenthesized_expression "(local_80 - DAT_0004188c)" (( "(") (binary_expression "local_80 - DAT_0004188c" (identifier "local_80") (- "-") (identifier "DAT_0004188c")) () ")")) (- "-") (call_expression "(uint)(local_84 < DAT_00041888)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < DAT_00041888)" (( "(") (binary_expression "local_84 < DAT_00041888" (identifier "local_84") (< "<") (identifier "DAT_00041888")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((DAT_0004188c & DAT_00041888) == 0xffffffff)" (( "(") (binary_expression "(DAT_0004188c & DAT_00041888) == 0xffffffff" (parenthesized_expression "(DAT_0004188c & DAT_00041888)" (( "(") (binary_expression "DAT_0004188c & DAT_00041888" (identifier "DAT_0004188c") (& "&") (identifier "DAT_00041888")) () ")")) (== "==") (number_literal "0xffffffff")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)" (( "(") (binary_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==\n      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (parenthesized_expression "(SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880)))" (( "(") (binary_expression "SBORROW4(local_80,DAT_00041884) !=\n      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" (call_expression "SBORROW4(local_80,DAT_00041884)" (identifier "SBORROW4") (argument_list "(local_80,DAT_00041884)" (( "(") (identifier "local_80") (, ",") (identifier "DAT_00041884") () ")"))) (!= "!=") (call_expression "SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" (identifier "SBORROW4") (argument_list "(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))" (( "(") (binary_expression "local_80 - DAT_00041884" (identifier "local_80") (- "-") (identifier "DAT_00041884")) (, ",") (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < DAT_00041880)" (( "(") (binary_expression "local_84 < DAT_00041880" (identifier "local_84") (< "<") (identifier "DAT_00041880")) () ")"))) () ")")))) () ")")) (== "==") (binary_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0" (cast_expression "(int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880))" (( "(") (binary_expression "(local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)" (parenthesized_expression "(local_80 - DAT_00041884)" (( "(") (binary_expression "local_80 - DAT_00041884" (identifier "local_80") (- "-") (identifier "DAT_00041884")) () ")")) (- "-") (call_expression "(uint)(local_84 < DAT_00041880)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < DAT_00041880)" (( "(") (binary_expression "local_84 < DAT_00041880" (identifier "local_84") (< "<") (identifier "DAT_00041880")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }\n    if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }\n  }" ({ "{") (if_statement "if ((DAT_00041848 & 0x1000) == 0) {\n      uVar3 = FUN_00027c20();\n    }\n    else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" (if "if") (parenthesized_expression "((DAT_00041848 & 0x1000) == 0)" (( "(") (binary_expression "(DAT_00041848 & 0x1000) == 0" (parenthesized_expression "(DAT_00041848 & 0x1000)" (( "(") (binary_expression "DAT_00041848 & 0x1000" (identifier "DAT_00041848") (& "&") (number_literal "0x1000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = FUN_00027c20();\n    }" ({ "{") (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" (identifier "uVar3") (= "=") (call_expression "FUN_00027c20()" (identifier "FUN_00027c20") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" (else "else") (compound_statement "{\n      uVar3 = (uint)(DAT_00041844 != 0);\n    }" ({ "{") (expression_statement "uVar3 = (uint)(DAT_00041844 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041844 != 0)" (identifier "uVar3") (= "=") (call_expression "(uint)(DAT_00041844 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_00041844 != 0)" (( "(") (binary_expression "DAT_00041844 != 0" (identifier "DAT_00041844") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (if_statement "if (uVar3 != 0) {\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);\n      if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }\n    }" ({ "{") (expression_statement "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848);" (assignment_expression "iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" (identifier "iVar4") (= "=") (call_expression "FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" (identifier "FUN_00026750") (argument_list "(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,\n                           DAT_00041848)" (( "(") (identifier "DAT_00041840") (, ",") (identifier "DAT_00041844") (, ",") (identifier "__ptr") (, ",") (identifier "local_3c") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0") (, ",") (identifier "DAT_00041848") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_30 = lVar2;\n        local_28 = lVar10;\n        if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }\n        goto joined_r0x0002887f;\n      }" ({ "{") (expression_statement "local_30 = lVar2;" (assignment_expression "local_30 = lVar2" (identifier "local_30") (= "=") (identifier "lVar2")) (; ";")) (expression_statement "local_28 = lVar10;" (assignment_expression "local_28 = lVar10" (identifier "local_28") (= "=") (identifier "lVar10")) (; ";")) (if_statement "if ((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {\n          FUN_00027ce0();\n        }" (if "if") (parenthesized_expression "((SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0)" (( "(") (binary_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=\n            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (parenthesized_expression "(SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c)))" (( "(") (binary_expression "SBORROW4(local_80,local_88) !=\n            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" (call_expression "SBORROW4(local_80,local_88)" (identifier "SBORROW4") (argument_list "(local_80,local_88)" (( "(") (identifier "local_80") (, ",") (identifier "local_88") () ")"))) (!= "!=") (call_expression "SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))" (identifier "SBORROW4") (argument_list "(local_80 - local_88,(uint)(local_84 < local_8c))" (( "(") (binary_expression "local_80 - local_88" (identifier "local_80") (- "-") (identifier "local_88")) (, ",") (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < local_8c)" (( "(") (binary_expression "local_84 < local_8c" (identifier "local_84") (< "<") (identifier "local_8c")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0" (cast_expression "(int)((local_80 - local_88) - (uint)(local_84 < local_8c))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((local_80 - local_88) - (uint)(local_84 < local_8c))" (( "(") (binary_expression "(local_80 - local_88) - (uint)(local_84 < local_8c)" (parenthesized_expression "(local_80 - local_88)" (( "(") (binary_expression "local_80 - local_88" (identifier "local_80") (- "-") (identifier "local_88")) () ")")) (- "-") (call_expression "(uint)(local_84 < local_8c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_84 < local_8c)" (( "(") (binary_expression "local_84 < local_8c" (identifier "local_84") (< "<") (identifier "local_8c")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n          FUN_00027ce0();\n        }" ({ "{") (expression_statement "FUN_00027ce0();" (call_expression "FUN_00027ce0()" (identifier "FUN_00027ce0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto joined_r0x0002887f;" (goto "goto") (statement_identifier "joined_r0x0002887f") (; ";")) (} "}"))) (} "}"))) (} "}"))) (if_statement "if ((DAT_00041854._1_1_ & 0x10) == 0) {\n    uVar3 = FUN_00027c20();\n  }\n  else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" (if "if") (parenthesized_expression "((DAT_00041854._1_1_ & 0x10) == 0)" (( "(") (binary_expression "(DAT_00041854._1_1_ & 0x10) == 0" (parenthesized_expression "(DAT_00041854._1_1_ & 0x10)" (( "(") (binary_expression "DAT_00041854._1_1_ & 0x10" (field_expression "DAT_00041854._1_1_" (identifier "DAT_00041854") (. ".") (field_identifier "_1_1_")) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = FUN_00027c20();\n  }" ({ "{") (expression_statement "uVar3 = FUN_00027c20();" (assignment_expression "uVar3 = FUN_00027c20()" (identifier "uVar3") (= "=") (call_expression "FUN_00027c20()" (identifier "FUN_00027c20") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" (else "else") (compound_statement "{\n    uVar3 = (uint)(DAT_00041850 != 0);\n  }" ({ "{") (expression_statement "uVar3 = (uint)(DAT_00041850 != 0);" (assignment_expression "uVar3 = (uint)(DAT_00041850 != 0)" (identifier "uVar3") (= "=") (call_expression "(uint)(DAT_00041850 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_00041850 != 0)" (( "(") (binary_expression "DAT_00041850 != 0" (identifier "DAT_00041850") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (if_statement "if (uVar3 != 0) {\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);\n    if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }\n  }" ({ "{") (expression_statement "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);" (assignment_expression "iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" (identifier "iVar4") (= "=") (call_expression "FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" (identifier "FUN_00026750") (argument_list "(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5)" (( "(") (identifier "DAT_0004184c") (, ",") (identifier "DAT_00041850") (, ",") (identifier "__ptr") (, ",") (identifier "local_3c") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }\n    }" ({ "{") (if_statement "if ((param_5 & 0x10) == 0) {\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }\n      else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" (if "if") (parenthesized_expression "((param_5 & 0x10) == 0)" (( "(") (binary_expression "(param_5 & 0x10) == 0" (parenthesized_expression "(param_5 & 0x10)" (( "(") (binary_expression "param_5 & 0x10" (identifier "param_5") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_6 = param_6 + -1;\n        if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }\n      }" ({ "{") (expression_statement "param_6 = param_6 + -1;" (assignment_expression "param_6 = param_6 + -1" (identifier "param_6") (= "=") (binary_expression "param_6 + -1" (identifier "param_6") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (param_6 < 1) {\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" (if "if") (parenthesized_expression "(param_6 < 1)" (( "(") (binary_expression "param_6 < 1" (identifier "param_6") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }\n          free(__ptr);\n          free(__ptr_00);\n          local_6c = 0;\n          if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }\n          goto LAB_00028b68;\n        }" ({ "{") (if_statement "if (DAT_000419cc == 1) {\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" (if "if") (parenthesized_expression "(DAT_000419cc == 1)" (( "(") (binary_expression "DAT_000419cc == 1" (identifier "DAT_000419cc") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            FUN_00028580(&DAT_00041868);\n            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n          }" ({ "{") (expression_statement "FUN_00028580(&DAT_00041868);" (call_expression "FUN_00028580(&DAT_00041868)" (identifier "FUN_00028580") (argument_list "(&DAT_00041868)" (( "(") (pointer_expression "&DAT_00041868" (& "&") (identifier "DAT_00041868")) () ")"))) (; ";")) (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" (identifier "FUN_000280b0") (argument_list "(local_3c,__ptr_00,local_38,local_34)" (( "(") (identifier "local_3c") (, ",") (identifier "__ptr_00") (, ",") (identifier "local_38") (, ",") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (expression_statement "local_6c = 0;" (assignment_expression "local_6c = 0" (identifier "local_6c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_8 != (longlong *)0x0) {\n            *param_8 = lVar2;\n          }" (if "if") (parenthesized_expression "(param_8 != (longlong *)0x0)" (( "(") (binary_expression "param_8 != (longlong *)0x0" (identifier "param_8") (!= "!=") (cast_expression "(longlong *)0x0" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *param_8 = lVar2;\n          }" ({ "{") (expression_statement "*param_8 = lVar2;" (assignment_expression "*param_8 = lVar2" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "lVar2")) (; ";")) (} "}"))) (goto_statement "goto LAB_00028b68;" (goto "goto") (statement_identifier "LAB_00028b68") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" (else "else") (compound_statement "{\n        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);\n      }" ({ "{") (expression_statement "FUN_000280b0(local_3c,__ptr_00,local_38,local_34);" (call_expression "FUN_000280b0(local_3c,__ptr_00,local_38,local_34)" (identifier "FUN_000280b0") (argument_list "(local_3c,__ptr_00,local_38,local_34)" (( "(") (identifier "local_3c") (, ",") (identifier "__ptr_00") (, ",") (identifier "local_38") (, ",") (identifier "local_34") () ")"))) (; ";")) (} "}")))) (} "}"))) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (goto_statement "goto joined_r0x0002887f;" (goto "goto") (statement_identifier "joined_r0x0002887f") (; ";")) (} "}")))

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

int __regparm2
function_1(type_1 var_7,type_1 endpos,int var_17,int var_9,int var_10,
            type_1 *var_38,type_1 *var_11)

{
  int var_4;
  type_2 var_6;
  type_3 var_15;
  int var_20;
  type_3 size;
  int *chpos;
  int *chpos_00;
  int var_1;
  type_4 linenum;
  type_1 pos_00;
  type_5 *cvt_ops;
  char *var_32;
  type_1 local_8c;
  type_3 var_13;
  char *var_29;
  type_3 var_28;
  type_6 local_74;
  type_3 local_6c;
  char *line;
  int line_len;
  char *sp;
  char *ep;
  type_7 hl;
  
  var_4 = *(int *)(var_1 + 0x14);
  linenum = var_2(var_3(var_9,var_17));
  var_6 = endpos;
joined_r0x0002887f:
  do {
    if (((type_8)sigs & 3) != 0) {
      local_6c = 0xffffffff;
LAB_00028b68:
      if (var_4 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
        var_5();
      }
      return local_6c;
    }
    endpos._4_4_ = (type_3)(var_6 >> 0x20);
    if ((var_7 != -1 &&
         (var_8(var_9,var_7._4_4_) !=
         var_8(var_9 - var_7._4_4_,(type_3)((type_3)var_17 < (char *)var_7))) ==
         (int)((var_9 - var_7._4_4_) - (type_3)((type_3)var_17 < (char *)var_7)) < 0) ||
       (var_10 == 0)) {
LAB_00028b50:
      local_6c = endpos._4_4_;
      if (var_11 != (type_1 *)0x0) {
        *(int *)var_11 = var_17;
        *(int *)((int)var_11 + 4) = var_9;
      }
      goto LAB_00028b68;
    }
    var_10 = var_10 - (type_3)(0 < var_10);
    local_74._0_4_ = (type_3)linenum;
    local_74._4_4_ = (int)((type_2)linenum >> 0x20);
    if ((var_6 & 1) == 0) {
      pos_00 = var_12(var_3(var_9,var_17),&line,&line_len);
      var_32 = (char *)pos_00;
      var_13 = (type_3)((type_2)pos_00 >> 0x20);
      var_28 = var_13;
      var_29 = var_32;
      if (local_74._4_4_ == 0 && (type_3)local_74 == 0) goto LAB_0002890b;
      local_74 = var_3(local_74._4_4_ + -1 + (type_3)((type_3)local_74 != 0),(type_3)local_74 - 1);
      var_15 = var_13 & (type_3)var_32;
      linenum = local_74;
    }
    else {
      pos_00 = var_14(var_3(var_9,var_17),&line,&line_len);
      var_29 = (char *)var_17;
      var_28 = var_9;
      if (local_74._4_4_ != 0 || (type_3)local_74 != 0) {
        local_74 = var_3(local_74._4_4_ + (type_3)(0xfffffffe < (type_3)local_74),(type_3)local_74 + 1)
        ;
        linenum = local_74;
      }
LAB_0002890b:
      local_74 = linenum;
      local_8c = pos_00;
      var_15 = var_13 & (type_3)var_32;
      pos_00 = local_8c;
      linenum = local_74;
    }
    if (var_15 == 0xffffffff) goto LAB_00028b50;
    endpos._0_4_ = (type_3)var_6;
    var_32 = (char *)pos_00;
    var_13 = (type_3)((type_2)pos_00 >> 0x20);
    if ((var_16 != 0) &&
       (var_15 = (int)var_32 - var_17 >> 0x1f,
       0x800 < (int)(((int)var_32 - var_17 ^ var_15) - var_15))) {
      var_18(linenum,pos_00);
    }
    var_20 = var_19(var_3(var_28,var_29));
    var_17 = (int)var_32;
    var_9 = var_13;
  } while (var_20 != 0);
  if (var_21 == 0) {
    if (var_22 == 0) {
      var_15 = 6;
    }
    else {
      var_15 = 0;
      if (var_22 != 2) {
        var_15 = 4;
      }
    }
  }
  else {
    var_15 = 7;
    if (var_22 != 0) {
      var_15 = (type_3)(var_22 != 2) * 4 + 1;
    }
  }
  if (var_23 == 2) {
    var_15 = var_15 | 8;
  }
  size = var_24(line_len,var_15);
  chpos = (int *)var_25(1,size);
  chpos_00 = var_26(size);
  var_27((char *)chpos,line,chpos_00,&line_len,var_15);
  local_6c = (type_3)endpos & 0x10;
  if (((((var_6 & 0x10) != 0) ||
       ((var_8(var_28,prep_startpos._4_4_) !=
        var_8(var_28 - prep_startpos._4_4_,(type_3)(var_29 < (char *)prep_startpos))) !=
        (int)((var_28 - prep_startpos._4_4_) - (type_3)(var_29 < (char *)prep_startpos)) < 0)) ||
      ((prep_startpos._4_4_ & (type_3)(char *)prep_startpos) == 0xffffffff)) ||
     ((var_8(var_28,prep_endpos._4_4_) !=
      var_8(var_28 - prep_endpos._4_4_,(type_3)(var_29 < (char *)prep_endpos))) ==
      (int)((var_28 - prep_endpos._4_4_) - (type_3)(var_29 < (char *)prep_endpos)) < 0)) {
    if ((filter_info.var_17 & 0x1000U) == 0) {
      var_15 = var_30(&filter_info);
    }
    else {
      var_15 = (type_3)(filter_info.text != (char *)0x0);
    }
    if ((var_15 != 0) &&
       (var_20 = var_31(filter_info.compiled,filter_info.text,(char *)chpos,line_len,&sp,&ep,0
                              ,filter_info.var_17), var_20 != 0)) {
      hl.hl_endpos._4_4_ = var_13;
      hl.hl_startpos._0_4_ = var_29;
      hl.hl_startpos._4_4_ = var_28;
      hl.hl_endpos._0_4_ = var_32;
      if ((var_8(var_28,var_13) !=
          var_8(var_28 - var_13,(type_3)(var_29 < var_32))) !=
          (int)((var_28 - var_13) - (type_3)(var_29 < var_32)) < 0) {
        var_33(&filter_anchor,&hl);
      }
      goto joined_r0x0002887f;
    }
  }
  if ((search_info.var_17._1_1_ & 0x10) == 0) {
    var_15 = var_30(&search_info);
  }
  else {
    var_15 = (type_3)(search_info.text != (char *)0x0);
  }
  if ((var_15 != 0) &&
     (var_20 = var_31(search_info.compiled,search_info.text,(char *)chpos,line_len,&sp,&ep,0,
                            (type_3)endpos), var_20 != 0)) {
    if ((var_6 & 0x10) == 0) {
      endpos._4_4_ = endpos._4_4_ - 1;
      if ((int)endpos._4_4_ < 1) {
        if (var_34 == 1) {
          cvt_ops = &hilite_anchor;
          var_35(&hilite_anchor);
          var_36(var_3(chpos_00,line_len),var_29,var_28,chpos,sp,ep,(int)cvt_ops);
        }
        var_37(chpos);
        var_37(chpos_00);
        if (var_38 != (type_1 *)0x0) {
          *(char **)var_38 = var_29;
          *(type_3 *)((int)var_38 + 4) = var_28;
        }
        goto LAB_00028b68;
      }
    }
    else {
      var_36(var_3(chpos_00,line_len),var_29,var_28,chpos,sp,ep,(int)var_32);
    }
  }
  var_6 = var_3(endpos._4_4_,(type_3)endpos);
  var_37(chpos);
  var_37(chpos_00);
  goto joined_r0x0002887f;
}


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

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

int __regparm2
MASKED(undefined4 param_1,undefined4 param_2,uint param_3,uint param_4,uint param_5,
            int param_6,int param_7,longlong *param_8,longlong *param_9)

{
  longlong lVar1;
  longlong lVar2;
  uint uVar3;
  int iVar4;
  undefined4 uVar5;
  void *__ptr;
  void *__ptr_00;
  byte bVar6;
  uint uVar7;
  int iVar8;
  int in_GS_OFFSET;
  longlong lVar9;
  longlong lVar10;
  uint local_8c;
  int local_88;
  uint local_84;
  int local_80;
  int local_6c;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined8 local_30;
  undefined8 local_28;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x287fd;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  lVar9 = FUN_00022970(param_1,param_2);
  lVar1 = CONCAT44(param_2,param_1);
  local_30 = CONCAT44(local_30._4_4_,(undefined4)local_30);
  local_28 = CONCAT44(local_28._4_4_,(undefined4)local_28);
joined_r0x0002887f:
  do {
    if ((DAT_000419f8 & 3) != 0) {
      local_6c = -1;
LAB_00028b68:
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_0002b510();
      }
      return local_6c;
    }
    iVar8 = (int)((ulonglong)lVar1 >> 0x20);
    uVar3 = (uint)((uint)lVar1 < param_3);
    iVar4 = iVar8 - param_4;
    if (((param_4 & param_3) != 0xffffffff &&
         (SBORROW4(iVar8,param_4) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0) ||
       (param_7 == 0)) {
LAB_00028b50:
      local_6c = param_6;
      if (param_9 != (longlong *)0x0) {
        *param_9 = lVar1;
      }
      goto LAB_00028b68;
    }
    param_7 = param_7 - (uint)(0 < param_7);
    if ((param_5 & 1) == 0) {
      lVar10 = FUN_00022100(lVar1,&local_40,&local_3c);
      lVar2 = lVar10;
      if (lVar9 != 0) {
        lVar9 = lVar9 + -1;
      }
    }
    else {
      lVar10 = FUN_00021fd0(lVar1,&local_40,&local_3c);
      lVar2 = lVar1;
      if (lVar9 != 0) {
        lVar9 = lVar9 + 1;
      }
    }
    if (lVar10 == -1) goto LAB_00028b50;
    local_80 = (int)((ulonglong)lVar2 >> 0x20);
    local_84 = (uint)lVar2;
    local_88 = (int)((ulonglong)lVar10 >> 0x20);
    local_8c = (uint)lVar10;
    if ((DAT_00041960 != 0) &&
       (uVar3 = local_8c - (uint)lVar1, uVar7 = (int)uVar3 >> 0x1f,
       0x800 < (int)((uVar3 ^ uVar7) - uVar7))) {
      FUN_00022420(lVar9,lVar10);
    }
    iVar4 = FUN_00028790(lVar2);
    lVar1 = lVar10;
  } while (iVar4 != 0);
  if (DAT_0004187c == 0) {
    if (DAT_000419a8 == 0) {
      bVar6 = 6;
    }
    else {
      bVar6 = 0;
      if (DAT_000419a8 != 2) {
        bVar6 = 4;
      }
    }
  }
  else {
    bVar6 = 7;
    if (DAT_000419a8 != 0) {
      bVar6 = (DAT_000419a8 != 2) * '\x04' + 1;
    }
  }
  if (DAT_000419ac == 2) {
    bVar6 = bVar6 | 8;
  }
  uVar5 = FUN_0001b440(local_3c,bVar6);
  __ptr = (void *)FUN_00012c20(1,uVar5);
  __ptr_00 = (void *)FUN_0001b470(uVar5);
  FUN_0001b4c0(__ptr,local_40,__ptr_00,&local_3c,bVar6);
  if (((((param_5 & 0x10) != 0) ||
       ((SBORROW4(local_80,DAT_0004188c) !=
        SBORROW4(local_80 - DAT_0004188c,(uint)(local_84 < DAT_00041888))) !=
        (int)((local_80 - DAT_0004188c) - (uint)(local_84 < DAT_00041888)) < 0)) ||
      ((DAT_0004188c & DAT_00041888) == 0xffffffff)) ||
     ((SBORROW4(local_80,DAT_00041884) !=
      SBORROW4(local_80 - DAT_00041884,(uint)(local_84 < DAT_00041880))) ==
      (int)((local_80 - DAT_00041884) - (uint)(local_84 < DAT_00041880)) < 0)) {
    if ((DAT_00041848 & 0x1000) == 0) {
      uVar3 = FUN_00027c20();
    }
    else {
      uVar3 = (uint)(DAT_00041844 != 0);
    }
    if (uVar3 != 0) {
      iVar4 = FUN_00026750(DAT_00041840,DAT_00041844,__ptr,local_3c,&local_38,&local_34,0,
                           DAT_00041848);
      if (iVar4 != 0) {
        local_30 = lVar2;
        local_28 = lVar10;
        if ((SBORROW4(local_80,local_88) !=
            SBORROW4(local_80 - local_88,(uint)(local_84 < local_8c))) !=
            (int)((local_80 - local_88) - (uint)(local_84 < local_8c)) < 0) {
          FUN_00027ce0();
        }
        goto joined_r0x0002887f;
      }
    }
  }
  if ((DAT_00041854._1_1_ & 0x10) == 0) {
    uVar3 = FUN_00027c20();
  }
  else {
    uVar3 = (uint)(DAT_00041850 != 0);
  }
  if (uVar3 != 0) {
    iVar4 = FUN_00026750(DAT_0004184c,DAT_00041850,__ptr,local_3c,&local_38,&local_34,0,param_5);
    if (iVar4 != 0) {
      if ((param_5 & 0x10) == 0) {
        param_6 = param_6 + -1;
        if (param_6 < 1) {
          if (DAT_000419cc == 1) {
            FUN_00028580(&DAT_00041868);
            FUN_000280b0(local_3c,__ptr_00,local_38,local_34);
          }
          free(__ptr);
          free(__ptr_00);
          local_6c = 0;
          if (param_8 != (longlong *)0x0) {
            *param_8 = lVar2;
          }
          goto LAB_00028b68;
        }
      }
      else {
        FUN_000280b0(local_3c,__ptr_00,local_38,local_34);
      }
    }
  }
  free(__ptr);
  free(__ptr_00);
  goto joined_r0x0002887f;
}

