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

int rl_complete_internal(int what_to_do)

{
  size_t sVar1;
  char *pcVar2;
  char *pcVar3;
  int iVar4;
  char **ppcVar5;
  char *pcVar6;
  rl_compentry_func_t *our_func;
  int in_GS_OFFSET;
  int local_58;
  uint local_50;
  size_t local_40;
  char quote_char;
  char **matches;
  int delimiter;
  int found_quote;
  int local_20;
  undefined4 uStack_14;
  
  pcVar3 = rl_line_buffer;
  uStack_14 = 0xcf499;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  rl_filename_completion_desired = 0;
  rl_filename_quoting_desired = 1;
  rl_readline_state = rl_readline_state | 0x4000;
  rl_completion_type = what_to_do;
  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;
  rl_completion_suppress_quote = 0;
  rl_completion_suppress_append = 0;
  rl_completion_append_character = 0x20;
  _rl_complete_display_matches_interrupt = 0;
  if (rl_line_buffer != (char *)0x0) {
    sVar1 = strlen(rl_line_buffer);
    pcVar2 = (char *)xmalloc(sVar1 + 1);
    pcVar3 = strcpy(pcVar2,pcVar3);
  }
  iVar4 = rl_point;
  delimiter = 0;
  found_quote = 0;
  quote_char = '\0';
  our_func = rl_completion_entry_function;
  if (rl_completion_entry_function == (rl_compentry_func_t *)0x0) {
    our_func = rl_filename_completion_function;
  }
  local_58 = 0;
  if (rl_point != 0) {
    quote_char = _rl_find_completion_word(&found_quote,&delimiter);
    local_58 = rl_point;
  }
  rl_point = iVar4;
  pcVar2 = rl_copy_text(local_58,iVar4);
  matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char);
  local_50 = 0;
  if (matches != (char **)0x0) {
    iVar4 = strcmp(pcVar2,*matches);
    local_50 = (uint)(iVar4 != 0);
  }
  if (what_to_do == 0x21 || what_to_do == 0x40) {
    local_40 = strlen(pcVar2);
  }
  xfree(pcVar2);
  if (matches == (char **)0x0) {
    rl_ding();
    if (pcVar3 != (char *)0x0) {
      free(pcVar3);
    }
    completion_changed_buffer = 0;
    iVar4 = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    goto LAB_000cf7a0;
  }
  iVar4 = postprocess_matches(&matches,rl_filename_completion_desired);
  ppcVar5 = matches;
  if (iVar4 == 0) {
    rl_ding();
    if (pcVar3 != (char *)0x0) {
      free(pcVar3);
    }
    completion_changed_buffer = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    iVar4 = 0;
    goto LAB_000cf7a0;
  }
  if (what_to_do == 0x2a) {
    rl_begin_undo_group();
    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))
    {
      local_58 = local_58 + -1;
    }
    rl_delete_text(local_58,rl_point);
    pcVar2 = ppcVar5[1];
    rl_point = local_58;
    if (pcVar2 == (char *)0x0) {
      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);
      rl_insert_text(pcVar2);
      rl_insert_text(" ");
      if (pcVar2 != *ppcVar5) {
        xfree(pcVar2);
      }
    }
    else {
      ppcVar5 = ppcVar5 + 1;
      do {
        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);
        rl_insert_text(pcVar2);
        rl_insert_text(" ");
        if (pcVar2 != *ppcVar5) {
          xfree(pcVar2);
        }
        ppcVar5 = ppcVar5 + 1;
        pcVar2 = *ppcVar5;
      } while (pcVar2 != (char *)0x0);
    }
    rl_end_undo_group();
LAB_000cf6bf:
    ppcVar5 = matches;
    if (matches != (char **)0x0) {
LAB_000cf6c3:
      _rl_free_match_list(ppcVar5);
    }
  }
  else {
    if (what_to_do < 0x2b) {
      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;
LAB_000cf7ce:
      pcVar2 = *matches;
      pcVar6 = matches[1];
      if (what_to_do == 9) {
        if (*pcVar2 != '\0') {
          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);
          pcVar6 = matches[1];
        }
        ppcVar5 = matches;
        if (pcVar6 == (char *)0x0) {
LAB_000cfa70:
          append_to_match(*matches,delimiter,(int)quote_char,local_50);
          goto LAB_000cf6bf;
        }
LAB_000cfa21:
        if (rl_editing_mode != 0) {
          rl_ding();
          goto LAB_000cf6bf;
        }
      }
      else {
        if (*pcVar2 == '\0') {
LAB_000cf82c:
          ppcVar5 = matches;
          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;
        }
        else {
          if (pcVar6 == (char *)0x0) {
            iVar4 = 1;
LAB_000cf815:
            insert_match(pcVar2,local_58,iVar4,&quote_char);
            pcVar6 = matches[1];
            goto LAB_000cf82c;
          }
          sVar1 = strlen(pcVar2);
          if ((int)local_40 <= (int)sVar1) {
            iVar4 = 2;
            goto LAB_000cf815;
          }
        }
        if (what_to_do == 0x21) {
LAB_000cf850:
          display_matches(ppcVar5);
          goto LAB_000cf6bf;
        }
        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;
        if (local_50 == 0) goto LAB_000cf850;
      }
      goto LAB_000cf6c3;
    }
    if (what_to_do != 0x3f) {
      if (what_to_do == 0x40) goto LAB_000cf7ce;
LAB_000cf741:
      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);
      rl_ding();
      if (pcVar3 != (char *)0x0) {
        free(pcVar3);
      }
      rl_readline_state = rl_readline_state & 0xffffbfff;
      if (matches != (char **)0x0) {
        _rl_free_match_list(matches);
      }
      iVar4 = 1;
      rl_completion_found_quote = 0;
      rl_completion_quote_character = 0;
      goto LAB_000cf7a0;
    }
    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {
      _rl_complete_display_matches_interrupt = 0;
      _rl_sigcleanup = _rl_complete_sigcleanup;
      _rl_sigcleanarg = matches;
    }
    display_matches(matches);
    if (_rl_complete_display_matches_interrupt == 0) {
LAB_000cf6af:
      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;
      _rl_sigcleanarg = (void *)0x0;
      goto LAB_000cf6bf;
    }
    matches = (char **)0x0;
    _rl_complete_display_matches_interrupt = 0;
    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {
      (*rl_signal_event_hook)();
      goto LAB_000cf6af;
    }
    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;
    _rl_sigcleanarg = (void *)0x0;
  }
  if (pcVar3 != (char *)0x0) {
    iVar4 = strcmp(rl_line_buffer,pcVar3);
    completion_changed_buffer = (int)(iVar4 != 0);
    xfree(pcVar3);
  }
  rl_readline_state = rl_readline_state & 0xffffbfff;
  rl_completion_found_quote = 0;
  rl_completion_quote_character = 0;
  iVar4 = _rl_caught_signal;
  if (_rl_caught_signal != 0) {
    iVar4 = 0;
    _rl_signal_handler(_rl_caught_signal);
  }
LAB_000cf7a0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return iVar4;
}



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

int rl_complete_internal(int param_1)

{
  char cVar1;
  size_t sVar2;
  char *pcVar3;
  char *pcVar4;
  int iVar5;
  code *pcVar6;
  int *piVar7;
  int in_GS_OFFSET;
  bool bVar8;
  int local_58;
  size_t local_40;
  char local_2d;
  int *local_2c;
  undefined4 local_28;
  undefined4 local_24;
  int local_20;
  undefined4 uStack_14;
  
  pcVar4 = rl_line_buffer;
  uStack_14 = 0xcf499;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  rl_filename_completion_desired = 0;
  rl_filename_quoting_desired = 1;
  rl_readline_state = rl_readline_state | 0x4000;
  rl_completion_type = param_1;
  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;
  rl_completion_suppress_quote = 0;
  rl_completion_suppress_append = 0;
  rl_completion_append_character = 0x20;
  DAT_00151e44 = 0;
  if (rl_line_buffer != (char *)0x0) {
    sVar2 = strlen(rl_line_buffer);
    pcVar3 = (char *)xmalloc(sVar2 + 1);
    pcVar4 = strcpy(pcVar3,pcVar4);
  }
  iVar5 = rl_point;
  local_28 = 0;
  local_24 = 0;
  local_2d = '\0';
  pcVar6 = rl_completion_entry_function;
  if (rl_completion_entry_function == (code *)0x0) {
    pcVar6 = rl_filename_completion_function;
  }
  local_58 = 0;
  if (rl_point != 0) {
    local_2d = _rl_find_completion_word(&local_24,&local_28);
    local_58 = rl_point;
  }
  rl_point = iVar5;
  pcVar3 = (char *)rl_copy_text(local_58,iVar5);
  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);
  bVar8 = false;
  if (local_2c != (int *)0x0) {
    iVar5 = strcmp(pcVar3,(char *)*local_2c);
    bVar8 = iVar5 != 0;
  }
  if (param_1 == 0x21 || param_1 == 0x40) {
    local_40 = strlen(pcVar3);
  }
  xfree(pcVar3);
  if (local_2c == (int *)0x0) {
    rl_ding();
    if (pcVar4 != (char *)0x0) {
      free(pcVar4);
    }
    DAT_00151e48 = 0;
    iVar5 = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    goto LAB_000cf7a0;
  }
  iVar5 = FUN_000cdd50();
  piVar7 = local_2c;
  if (iVar5 == 0) {
    rl_ding();
    if (pcVar4 != (char *)0x0) {
      free(pcVar4);
    }
    DAT_00151e48 = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    iVar5 = 0;
    goto LAB_000cf7a0;
  }
  if (param_1 == 0x2a) {
    rl_begin_undo_group();
    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {
      local_58 = local_58 + -1;
    }
    rl_delete_text(local_58,rl_point);
    rl_point = local_58;
    if (piVar7[1] == 0) {
      iVar5 = FUN_000ce0a0();
      rl_insert_text(iVar5);
      rl_insert_text(&DAT_000f08bf);
      if (iVar5 != *piVar7) {
        xfree(iVar5);
      }
    }
    else {
      piVar7 = piVar7 + 1;
      do {
        iVar5 = FUN_000ce0a0();
        rl_insert_text(iVar5);
        rl_insert_text(&DAT_000f08bf);
        if (iVar5 != *piVar7) {
          xfree(iVar5);
        }
        piVar7 = piVar7 + 1;
      } while (*piVar7 != 0);
    }
    rl_end_undo_group();
LAB_000cf6bf:
    if (local_2c != (int *)0x0) {
LAB_000cf6c3:
      FUN_000ce3a0();
    }
  }
  else {
    if (param_1 < 0x2b) {
      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;
LAB_000cf7ce:
      cVar1 = *(char *)*local_2c;
      iVar5 = local_2c[1];
      if (param_1 == 9) {
        if (cVar1 != '\0') {
          FUN_000ce160(&local_2d);
          iVar5 = local_2c[1];
        }
        if (iVar5 == 0) {
LAB_000cfa70:
          FUN_000cc090(bVar8);
          goto LAB_000cf6bf;
        }
LAB_000cfa21:
        if (rl_editing_mode != 0) {
          rl_ding();
          goto LAB_000cf6bf;
        }
      }
      else {
        if (cVar1 == '\0') {
LAB_000cf82c:
          if (iVar5 == 0) goto LAB_000cfa70;
        }
        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {
          FUN_000ce160(&local_2d);
          iVar5 = local_2c[1];
          goto LAB_000cf82c;
        }
        if (param_1 == 0x21) {
LAB_000cf850:
          FUN_000cf060();
          goto LAB_000cf6bf;
        }
        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;
        if (bVar8 == false) goto LAB_000cf850;
      }
      goto LAB_000cf6c3;
    }
    if (param_1 != 0x3f) {
      if (param_1 == 0x40) goto LAB_000cf7ce;
LAB_000cf741:
      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);
      rl_ding();
      if (pcVar4 != (char *)0x0) {
        free(pcVar4);
      }
      rl_readline_state = rl_readline_state & 0xffffbfff;
      if (local_2c != (int *)0x0) {
        FUN_000ce3a0();
      }
      iVar5 = 1;
      rl_completion_found_quote = 0;
      rl_completion_quote_character = 0;
      goto LAB_000cf7a0;
    }
    if (rl_completion_display_matches_hook == 0) {
      DAT_00151e44 = 0;
      _rl_sigcleanup = FUN_000ce3f0;
      _rl_sigcleanarg = local_2c;
    }
    FUN_000cf060();
    if (DAT_00151e44 == 0) {
LAB_000cf6af:
      _rl_sigcleanup = (code *)0x0;
      _rl_sigcleanarg = (int *)0x0;
      goto LAB_000cf6bf;
    }
    local_2c = (int *)0x0;
    DAT_00151e44 = 0;
    if (rl_signal_event_hook != (code *)0x0) {
      (*rl_signal_event_hook)();
      goto LAB_000cf6af;
    }
    _rl_sigcleanup = (code *)0x0;
    _rl_sigcleanarg = (int *)0x0;
  }
  if (pcVar4 != (char *)0x0) {
    iVar5 = strcmp(rl_line_buffer,pcVar4);
    DAT_00151e48 = (uint)(iVar5 != 0);
    xfree(pcVar4);
  }
  rl_readline_state = rl_readline_state & 0xffffbfff;
  rl_completion_found_quote = 0;
  rl_completion_quote_character = 0;
  iVar5 = _rl_caught_signal;
  if (_rl_caught_signal != 0) {
    iVar5 = 0;
    _rl_signal_handler(_rl_caught_signal);
  }
LAB_000cf7a0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return iVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00031ed0
ADD EBX,0x7ab67
SUB ESP,0x4c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x60]
LEA EAX,[EBX + 0x7b44]
MOV EDX,dword ptr [EBX + 0x7dc4]
MOV dword ptr [EBX + 0x7d64],0x0
MOV dword ptr [EBX + 0x4618],0x1
OR dword ptr [EAX],0x4000
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0xd9ac]
MOV dword ptr [EBX + 0x7d7c],ESI
MOV dword ptr [EAX],EDX
LEA EAX,[EBX + 0x7afc]
MOV dword ptr [EBX + 0x7d50],0x0
MOV EBP,dword ptr [EAX]
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [EBX + 0x7d54],0x0
MOV dword ptr [EBX + 0x4614],0x20
MOV dword ptr [EBX + 0x7e44],0x0
TEST EBP,EBP
JZ 0x000cf544
SUB ESP,0xc
PUSH EBP
CALL 0x0002f760
ADD EAX,0x1
MOV dword ptr [ESP],EAX
CALL 0x00099200
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x0002f580
ADD ESP,0x10
MOV EBP,EAX
MOV EDX,dword ptr [EBX + 0x7d8c]
LEA EAX,[EBX + 0xfff82b40]
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x38],0x0
TEST EDX,EDX
MOV byte ptr [ESP + 0x2f],0x0
CMOVZ EDX,EAX
LEA EAX,[EBX + 0xd988]
MOV dword ptr [ESP + 0x4],0x0
MOV ECX,dword ptr [EAX]
MOV dword ptr [ESP + 0x8],EAX
TEST ECX,ECX
JNZ 0x000cf860
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0x8
MOV dword ptr [EAX],ECX
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
PUSH dword ptr [ESP + 0x10]
CALL 0x000dd1d0
ADD ESP,0xc
MOV EDI,EAX
MOVSX EAX,byte ptr [ESP + 0x33]
PUSH EAX
MOV EAX,EDI
PUSH dword ptr [ESP + 0x40]
MOV EDX,dword ptr [ESP + 0x1c]
PUSH EDX
MOV ECX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x000cf390
MOV dword ptr [ESP + 0x40],EAX
ADD ESP,0x10
MOV dword ptr [ESP + 0xc],0x0
TEST EAX,EAX
JZ 0x000cf5f1
SUB ESP,0x8
PUSH dword ptr [EAX]
PUSH EDI
CALL 0x0002f100
ADD ESP,0x10
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
MOV dword ptr [ESP + 0xc],EAX
CMP ESI,0x21
SETZ DL
CMP ESI,0x40
SETZ AL
OR DL,AL
MOV byte ptr [ESP + 0x10],DL
JZ 0x000cf615
SUB ESP,0xc
PUSH EDI
CALL 0x0002f760
ADD ESP,0x10
MOV dword ptr [ESP + 0x1c],EAX
SUB ESP,0xc
PUSH EDI
CALL 0x000992e0
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x30]
TEST EDI,EDI
JZ 0x000cf950
MOV EDX,dword ptr [EBX + 0x7d64]
LEA EAX,[ESP + 0x30]
CALL 0x000cdd50
MOV EDI,EAX
TEST EAX,EAX
JZ 0x000cf9a0
CMP ESI,0x2a
JZ 0x000cf8a0
JLE 0x000cf7c0
CMP ESI,0x3f
JNZ 0x000cf738
MOV EDX,dword ptr [EBX + 0x7dd0]
MOV EAX,dword ptr [ESP + 0x30]
LEA EDI,[EBX + 0xda60]
TEST EDX,EDX
JZ 0x000cfaa8
LEA ESI,[EBX + 0xda64]
CALL 0x000cf060
MOV EAX,dword ptr [EBX + 0x7e44]
TEST EAX,EAX
JZ 0x000cf6af
LEA EAX,[EBX + 0x8764]
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [EBX + 0x7e44],0x0
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x000cfb18
CALL EAX
MOV dword ptr [EDI],0x0
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESI],0x0
TEST EAX,EAX
JZ 0x000cf6c8
CALL 0x000ce3a0
TEST EBP,EBP
JZ 0x000cf6f4
SUB ESP,0x8
PUSH EBP
MOV EAX,dword ptr [ESP + 0x24]
PUSH dword ptr [EAX]
CALL 0x0002f100
MOV dword ptr [ESP],EBP
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
MOV dword ptr [EBX + 0x7e48],EAX
CALL 0x000992e0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
AND dword ptr [EAX],0xffffbfff
LEA EAX,[EBX + 0xd9b8]
MOV dword ptr [EAX],0x0
LEA EAX,[EBX + 0xd9a8]
MOV dword ptr [EAX],0x0
LEA EAX,[EBX + 0x7fd0]
MOV EDI,dword ptr [EAX]
TEST EDI,EDI
JZ 0x000cf7a0
MOV EAX,dword ptr [EAX]
SUB ESP,0xc
XOR EDI,EDI
PUSH EAX
CALL 0x000dcf50
ADD ESP,0x10
JMP 0x000cf7a0
CMP ESI,0x40
JZ 0x000cf7ce
SUB ESP,0x8
LEA EAX,[EBX + 0xfffbbc38]
PUSH ESI
PUSH EAX
CALL 0x000dd460
CALL 0x000e16a0
ADD ESP,0x10
TEST EBP,EBP
JZ 0x000cf769
SUB ESP,0xc
PUSH EBP
CALL 0x0002f200
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
AND dword ptr [EAX],0xffffbfff
MOV EAX,dword ptr [ESP + 0x30]
TEST EAX,EAX
JZ 0x000cf780
CALL 0x000ce3a0
LEA EAX,[EBX + 0xd9b8]
MOV EDI,0x1
MOV dword ptr [EAX],0x0
LEA EAX,[EBX + 0xd9a8]
MOV dword ptr [EAX],0x0
LEA ESI,[ESI]
MOV ECX,dword ptr [ESP + 0x3c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDI
JNZ 0x000cfb29
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,0x9
JZ 0x000cf7ce
CMP ESI,0x21
JNZ 0x000cf741
MOV EDI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESP + 0x8],EAX
MOVZX EDX,byte ptr [EAX]
MOV EAX,dword ptr [EDI + 0x4]
CMP ESI,0x9
JZ 0x000cf9f0
TEST DL,DL
JZ 0x000cf82c
TEST EAX,EAX
JZ 0x000cfa93
SUB ESP,0xc
PUSH dword ptr [ESP + 0x14]
CALL 0x0002f760
ADD ESP,0x10
CMP dword ptr [ESP + 0x1c],EAX
JG 0x000cf834
SUB ESP,0xc
MOV ECX,0x2
LEA EAX,[ESP + 0x3b]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x000ce160
MOV EDI,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x4]
TEST EAX,EAX
JZ 0x000cfa70
CMP ESI,0x21
JZ 0x000cf850
CMP byte ptr [ESP + 0x10],0x0
JZ 0x000cfa21
MOV ESI,dword ptr [ESP + 0xc]
TEST ESI,ESI
JNZ 0x000cfa2d
MOV EAX,EDI
CALL 0x000cf060
MOV EAX,dword ptr [ESP + 0x30]
JMP 0x000cf6bf
MOV dword ptr [ESP + 0x10],ECX
SUB ESP,0x8
MOV dword ptr [ESP + 0x14],EDX
LEA EAX,[ESP + 0x3c]
PUSH EAX
LEA EAX,[ESP + 0x44]
PUSH EAX
CALL 0x000ce620
MOV byte ptr [ESP + 0x3f],AL
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x000cf586
MOV ESI,dword ptr [ESP + 0x30]
CALL 0x000ded40
MOVZX EAX,byte ptr [ESP + 0x2f]
TEST AL,AL
JZ 0x000cf8be
MOV ECX,dword ptr [ESP + 0x4]
TEST ECX,ECX
JNZ 0x000cfa38
SUB ESP,0x8
MOV EDI,dword ptr [ESP + 0x10]
PUSH dword ptr [EDI]
PUSH dword ptr [ESP + 0x10]
CALL 0x000e2550
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0x10
MOV dword ptr [EDI],ECX
TEST EAX,EAX
JZ 0x000cfad0
LEA ECX,[ESP + 0x2f]
MOV dword ptr [ESP + 0x8],EBP
ADD ESI,0x4
MOV dword ptr [ESP + 0x4],ECX
LEA ECX,[EBX + 0xfffa68bf]
MOV EBP,ECX
LEA ESI,[ESI]
NOP
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,0x1
CALL 0x000ce0a0
SUB ESP,0xc
PUSH EAX
MOV EDI,EAX
CALL 0x000e1ec0
MOV dword ptr [ESP],EBP
CALL 0x000e1ec0
ADD ESP,0x10
CMP EDI,dword ptr [ESI]
JZ 0x000cf934
SUB ESP,0xc
PUSH EDI
CALL 0x000992e0
ADD ESP,0x10
ADD ESI,0x4
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JNZ 0x000cf900
MOV EBP,dword ptr [ESP + 0x8]
CALL 0x000ded90
MOV EAX,dword ptr [ESP + 0x30]
JMP 0x000cf6bf
CALL 0x000e16a0
TEST EBP,EBP
JZ 0x000cf965
SUB ESP,0xc
PUSH EBP
CALL 0x0002f200
ADD ESP,0x10
MOV dword ptr [EBX + 0x7e48],0x0
MOV EAX,dword ptr [ESP + 0x14]
XOR EDI,EDI
AND dword ptr [EAX],0xffffbfff
LEA EAX,[EBX + 0xd9b8]
MOV dword ptr [EAX],0x0
LEA EAX,[EBX + 0xd9a8]
MOV dword ptr [EAX],0x0
JMP 0x000cf7a0
CALL 0x000e16a0
TEST EBP,EBP
JZ 0x000cf9b5
SUB ESP,0xc
PUSH EBP
CALL 0x0002f200
ADD ESP,0x10
MOV dword ptr [EBX + 0x7e48],0x0
MOV EAX,dword ptr [ESP + 0x14]
AND dword ptr [EAX],0xffffbfff
LEA EAX,[EBX + 0xd9b8]
MOV dword ptr [EAX],0x0
LEA EAX,[EBX + 0xd9a8]
MOV dword ptr [EAX],0x0
JMP 0x000cf7a0
TEST DL,DL
JZ 0x000cfa1d
XOR ECX,ECX
TEST EAX,EAX
SETNZ CL
SUB ESP,0xc
LEA EAX,[ESP + 0x3b]
ADD ECX,0x1
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x000ce160
MOV EDI,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x4]
TEST EAX,EAX
JZ 0x000cfa70
LEA EAX,[EBX + 0x1d50]
MOV ECX,dword ptr [EAX]
TEST ECX,ECX
JNZ 0x000cfa58
MOV EAX,EDI
JMP 0x000cf6c3
MOV EDI,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EDI]
CMP AL,byte ptr [EDX + ECX*0x1 + -0x1]
JNZ 0x000cf8be
SUB dword ptr [ESP + 0x4],0x1
JMP 0x000cf8be
CALL 0x000e16a0
MOV EAX,dword ptr [ESP + 0x30]
JMP 0x000cf6bf
MOVSX ECX,byte ptr [ESP + 0x2f]
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x44]
CALL 0x000cc090
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
JMP 0x000cf6bf
SUB ESP,0xc
MOV ECX,0x1
LEA EAX,[ESP + 0x3b]
PUSH EAX
JMP 0x000cf815
LEA ESI,[EBX + 0xda64]
LEA EDX,[EBX + 0xfff843f0]
MOV dword ptr [EBX + 0x7e44],0x0
MOV dword ptr [EDI],EDX
MOV dword ptr [ESI],EAX
JMP 0x000cf67c
MOV EAX,dword ptr [ESI]
LEA ECX,[ESP + 0x2f]
MOV EDX,0x1
CALL 0x000ce0a0
SUB ESP,0xc
PUSH EAX
MOV EDI,EAX
CALL 0x000e1ec0
LEA EAX,[EBX + 0xfffa68bf]
MOV dword ptr [ESP],EAX
CALL 0x000e1ec0
ADD ESP,0x10
CMP EDI,dword ptr [ESI]
JZ 0x000cf941
SUB ESP,0xc
PUSH EDI
CALL 0x000992e0
ADD ESP,0x10
JMP 0x000cf941
MOV dword ptr [EDI],0x0
MOV dword ptr [ESI],0x0
JMP 0x000cf6c8
CALL 0x000ecc40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint rl_complete_internal(int param_1)\n\n{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return iVar5;\n}\n\n" comment (function_definition "int rl_complete_internal(int param_1)\n\n{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return iVar5;\n}" primitive_type (function_declarator "rl_complete_internal(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return iVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "size_t local_40;" primitive_type identifier ;) (declaration "char local_2d;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar4 = rl_line_buffer;" (assignment_expression "pcVar4 = rl_line_buffer" identifier = identifier) ;) (expression_statement "uStack_14 = 0xcf499;" (assignment_expression "uStack_14 = 0xcf499" 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 "rl_filename_completion_desired = 0;" (assignment_expression "rl_filename_completion_desired = 0" identifier = number_literal) ;) (expression_statement "rl_filename_quoting_desired = 1;" (assignment_expression "rl_filename_quoting_desired = 1" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state | 0x4000;" (assignment_expression "rl_readline_state = rl_readline_state | 0x4000" identifier = (binary_expression "rl_readline_state | 0x4000" identifier | number_literal)) ;) (expression_statement "rl_completion_type = param_1;" (assignment_expression "rl_completion_type = param_1" identifier = identifier) ;) (expression_statement "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;" (assignment_expression "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs" identifier = identifier) ;) (expression_statement "rl_completion_suppress_quote = 0;" (assignment_expression "rl_completion_suppress_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_suppress_append = 0;" (assignment_expression "rl_completion_suppress_append = 0" identifier = number_literal) ;) (expression_statement "rl_completion_append_character = 0x20;" (assignment_expression "rl_completion_append_character = 0x20" identifier = number_literal) ;) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (if_statement "if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" if (parenthesized_expression "(rl_line_buffer != (char *)0x0)" ( (binary_expression "rl_line_buffer != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" { (expression_statement "sVar2 = strlen(rl_line_buffer);" (assignment_expression "sVar2 = strlen(rl_line_buffer)" identifier = (call_expression "strlen(rl_line_buffer)" identifier (argument_list "(rl_line_buffer)" ( identifier )))) ;) (expression_statement "pcVar3 = (char *)xmalloc(sVar2 + 1);" (assignment_expression "pcVar3 = (char *)xmalloc(sVar2 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 1)" identifier (argument_list "(sVar2 + 1)" ( (binary_expression "sVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = strcpy(pcVar3,pcVar4);" (assignment_expression "pcVar4 = strcpy(pcVar3,pcVar4)" identifier = (call_expression "strcpy(pcVar3,pcVar4)" identifier (argument_list "(pcVar3,pcVar4)" ( identifier , identifier )))) ;) })) (expression_statement "iVar5 = rl_point;" (assignment_expression "iVar5 = rl_point" identifier = identifier) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_2d = '\0';" (assignment_expression "local_2d = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar6 = rl_completion_entry_function;" (assignment_expression "pcVar6 = rl_completion_entry_function" identifier = identifier) ;) (if_statement "if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }" if (parenthesized_expression "(rl_completion_entry_function == (code *)0x0)" ( (binary_expression "rl_completion_entry_function == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar6 = rl_filename_completion_function;\n  }" { (expression_statement "pcVar6 = rl_filename_completion_function;" (assignment_expression "pcVar6 = rl_filename_completion_function" identifier = identifier) ;) })) (expression_statement "local_58 = 0;" (assignment_expression "local_58 = 0" identifier = number_literal) ;) (if_statement "if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" if (parenthesized_expression "(rl_point != 0)" ( (binary_expression "rl_point != 0" identifier != number_literal) )) (compound_statement "{\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" { (expression_statement "local_2d = _rl_find_completion_word(&local_24,&local_28);" (assignment_expression "local_2d = _rl_find_completion_word(&local_24,&local_28)" identifier = (call_expression "_rl_find_completion_word(&local_24,&local_28)" identifier (argument_list "(&local_24,&local_28)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (expression_statement "local_58 = rl_point;" (assignment_expression "local_58 = rl_point" identifier = identifier) ;) })) (expression_statement "rl_point = iVar5;" (assignment_expression "rl_point = iVar5" identifier = identifier) ;) (expression_statement "pcVar3 = (char *)rl_copy_text(local_58,iVar5);" (assignment_expression "pcVar3 = (char *)rl_copy_text(local_58,iVar5)" identifier = (cast_expression "(char *)rl_copy_text(local_58,iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "rl_copy_text(local_58,iVar5)" identifier (argument_list "(local_58,iVar5)" ( identifier , identifier ))))) ;) (expression_statement "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);" (assignment_expression "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" identifier = (cast_expression "(int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000cf390(pcVar6,local_24,(int)local_2d)" identifier (argument_list "(pcVar6,local_24,(int)local_2d)" ( identifier , identifier , (cast_expression "(int)local_2d" ( (type_descriptor "int" primitive_type) ) identifier) ))))) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" { (expression_statement "iVar5 = strcmp(pcVar3,(char *)*local_2c);" (assignment_expression "iVar5 = strcmp(pcVar3,(char *)*local_2c)" identifier = (call_expression "strcmp(pcVar3,(char *)*local_2c)" identifier (argument_list "(pcVar3,(char *)*local_2c)" ( identifier , (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)) )))) ;) (expression_statement "bVar8 = iVar5 != 0;" (assignment_expression "bVar8 = iVar5 != 0" identifier = (binary_expression "iVar5 != 0" identifier != number_literal)) ;) })) (if_statement "if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }" if (parenthesized_expression "(param_1 == 0x21 || param_1 == 0x40)" ( (binary_expression "param_1 == 0x21 || param_1 == 0x40" (binary_expression "param_1 == 0x21" identifier == number_literal) || (binary_expression "param_1 == 0x40" identifier == number_literal)) )) (compound_statement "{\n    local_40 = strlen(pcVar3);\n  }" { (expression_statement "local_40 = strlen(pcVar3);" (assignment_expression "local_40 = strlen(pcVar3)" identifier = (call_expression "strlen(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) })) (expression_statement "xfree(pcVar3);" (call_expression "xfree(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (if_statement "if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(local_2c == (int *)0x0)" ( (binary_expression "local_2c == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar4);\n    }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (expression_statement "iVar5 = FUN_000cdd50();" (assignment_expression "iVar5 = FUN_000cdd50()" identifier = (call_expression "FUN_000cdd50()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar4);\n    }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" if (parenthesized_expression "(param_1 == 0x2a)" ( (binary_expression "param_1 == 0x2a" identifier == number_literal) )) (compound_statement "{\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }" { (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }" if (parenthesized_expression "(((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1]))" ( (binary_expression "((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])" (parenthesized_expression "((local_2d != '\0') && (local_58 != 0))" ( (binary_expression "(local_2d != '\0') && (local_58 != 0)" (parenthesized_expression "(local_2d != '\0')" ( (binary_expression "local_2d != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(local_58 != 0)" ( (binary_expression "local_58 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(local_2d == rl_line_buffer[local_58 + -1])" ( (binary_expression "local_2d == rl_line_buffer[local_58 + -1]" identifier == (subscript_expression "rl_line_buffer[local_58 + -1]" identifier [ (binary_expression "local_58 + -1" identifier + number_literal) ])) ))) )) (compound_statement "{\n      local_58 = local_58 + -1;\n    }" { (expression_statement "local_58 = local_58 + -1;" (assignment_expression "local_58 = local_58 + -1" identifier = (binary_expression "local_58 + -1" identifier + number_literal)) ;) })) (expression_statement "rl_delete_text(local_58,rl_point);" (call_expression "rl_delete_text(local_58,rl_point)" identifier (argument_list "(local_58,rl_point)" ( identifier , identifier ))) ;) (expression_statement "rl_point = local_58;" (assignment_expression "rl_point = local_58" identifier = identifier) ;) (if_statement "if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" if (parenthesized_expression "(piVar7[1] == 0)" ( (binary_expression "piVar7[1] == 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }" { (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" identifier = (call_expression "FUN_000ce0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" identifier (argument_list "(&DAT_000f08bf)" ( (pointer_expression "&DAT_000f08bf" & identifier) ))) ;) (if_statement "if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }" if (parenthesized_expression "(iVar5 != *piVar7)" ( (binary_expression "iVar5 != *piVar7" identifier != (pointer_expression "*piVar7" * identifier)) )) (compound_statement "{\n        xfree(iVar5);\n      }" { (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) }) (else_clause "else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" else (compound_statement "{\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" { (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (do_statement "do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);" do (compound_statement "{\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      }" { (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" identifier = (call_expression "FUN_000ce0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" identifier (argument_list "(&DAT_000f08bf)" ( (pointer_expression "&DAT_000f08bf" & identifier) ))) ;) (if_statement "if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }" if (parenthesized_expression "(iVar5 != *piVar7)" ( (binary_expression "iVar5 != *piVar7" identifier != (pointer_expression "*piVar7" * identifier)) )) (compound_statement "{\n          xfree(iVar5);\n        }" { (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar7 != 0)" ( (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" * identifier) != number_literal) )) ;) }))) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" statement_identifier : (if_statement "if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" { (labeled_statement "LAB_000cf6c3:\n      FUN_000ce3a0();" statement_identifier : (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" identifier (argument_list "()" ( ))) ;)) }))) }) (else_clause "else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" else (compound_statement "{\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" { (if_statement "if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" if (parenthesized_expression "(param_1 < 0x2b)" ( (binary_expression "param_1 < 0x2b" identifier < number_literal) )) (compound_statement "{\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" { (if_statement "if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;" if (parenthesized_expression "((param_1 != 9) && (param_1 != 0x21))" ( (binary_expression "(param_1 != 9) && (param_1 != 0x21)" (parenthesized_expression "(param_1 != 9)" ( (binary_expression "param_1 != 9" identifier != number_literal) )) && (parenthesized_expression "(param_1 != 0x21)" ( (binary_expression "param_1 != 0x21" identifier != number_literal) ))) )) (goto_statement "goto LAB_000cf741;" goto statement_identifier ;)) (labeled_statement "LAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;" statement_identifier : (expression_statement "cVar1 = *(char *)*local_2c;" (assignment_expression "cVar1 = *(char *)*local_2c" identifier = (pointer_expression "*(char *)*local_2c" * (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)))) ;)) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" if (parenthesized_expression "(param_1 == 9)" ( (binary_expression "param_1 == 9" identifier == number_literal) )) (compound_statement "{\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }" { (if_statement "if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" { (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" identifier (argument_list "(&local_2d)" ( (pointer_expression "&local_2d" & identifier) ))) ;) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cfa70:\n          FUN_000cc090(bVar8);" statement_identifier : (expression_statement "FUN_000cc090(bVar8);" (call_expression "FUN_000cc090(bVar8)" identifier (argument_list "(bVar8)" ( identifier ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (labeled_statement "LAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" statement_identifier : (if_statement "if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(rl_editing_mode != 0)" ( (binary_expression "rl_editing_mode != 0" identifier != number_literal) )) (compound_statement "{\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) }))) }) (else_clause "else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" else (compound_statement "{\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" { (if_statement "if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }" { (labeled_statement "LAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;" statement_identifier : (if_statement "if (iVar5 == 0) goto LAB_000cfa70;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cfa70;" goto statement_identifier ;))) }) (else_clause "else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" else (if_statement "if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" if (parenthesized_expression "((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2))" ( (binary_expression "(iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" ( (comma_expression "sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2" (assignment_expression "sVar2 = strlen((char *)*local_2c)" identifier = (call_expression "strlen((char *)*local_2c)" identifier (argument_list "((char *)*local_2c)" ( (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)) )))) , (binary_expression "(int)local_40 <= (int)sVar2" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" { (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" identifier (argument_list "(&local_2d)" ( (pointer_expression "&local_2d" & identifier) ))) ;) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_000cf82c;" goto statement_identifier ;) })))) (if_statement "if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(param_1 == 0x21)" ( (binary_expression "param_1 == 0x21" identifier == number_literal) )) (compound_statement "{\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cf850:\n          FUN_000cf060();" statement_identifier : (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (if_statement "if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;" if (parenthesized_expression "(param_1 != 0x21 && param_1 != 0x40)" ( (binary_expression "param_1 != 0x21 && param_1 != 0x40" (binary_expression "param_1 != 0x21" identifier != number_literal) && (binary_expression "param_1 != 0x40" identifier != number_literal)) )) (goto_statement "goto LAB_000cfa21;" goto statement_identifier ;)) (if_statement "if (bVar8 == false) goto LAB_000cf850;" if (parenthesized_expression "(bVar8 == false)" ( (binary_expression "bVar8 == false" identifier == false) )) (goto_statement "goto LAB_000cf850;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_000cf6c3;" goto statement_identifier ;) })) (if_statement "if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" if (parenthesized_expression "(param_1 != 0x3f)" ( (binary_expression "param_1 != 0x3f" identifier != number_literal) )) (compound_statement "{\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" { (if_statement "if (param_1 == 0x40) goto LAB_000cf7ce;" if (parenthesized_expression "(param_1 == 0x40)" ( (binary_expression "param_1 == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_000cf7ce;" goto statement_identifier ;)) (labeled_statement "LAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" statement_identifier : (expression_statement "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" (call_expression "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1)" identifier (argument_list "("bad value %d for what_to_do in rl_complete",param_1)" ( (string_literal ""bad value %d for what_to_do in rl_complete"" " string_content ") , identifier ))) ;)) (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(pcVar4);\n      }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (if_statement "if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_000ce3a0();\n      }" { (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" if (parenthesized_expression "(rl_completion_display_matches_hook == 0)" ( (binary_expression "rl_completion_display_matches_hook == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" { (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (expression_statement "_rl_sigcleanup = FUN_000ce3f0;" (assignment_expression "_rl_sigcleanup = FUN_000ce3f0" identifier = identifier) ;) (expression_statement "_rl_sigcleanarg = local_2c;" (assignment_expression "_rl_sigcleanarg = local_2c" identifier = identifier) ;) })) (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" if (parenthesized_expression "(DAT_00151e44 == 0)" ( (binary_expression "DAT_00151e44 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" { (labeled_statement "LAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;" statement_identifier : (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (expression_statement "local_2c = (int *)0x0;" (assignment_expression "local_2c = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (if_statement "if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" if (parenthesized_expression "(rl_signal_event_hook != (code *)0x0)" ( (binary_expression "rl_signal_event_hook != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" { (expression_statement "(*rl_signal_event_hook)();" (call_expression "(*rl_signal_event_hook)()" (parenthesized_expression "(*rl_signal_event_hook)" ( (pointer_expression "*rl_signal_event_hook" * identifier) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6af;" goto statement_identifier ;) })) (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" { (expression_statement "iVar5 = strcmp(rl_line_buffer,pcVar4);" (assignment_expression "iVar5 = strcmp(rl_line_buffer,pcVar4)" identifier = (call_expression "strcmp(rl_line_buffer,pcVar4)" identifier (argument_list "(rl_line_buffer,pcVar4)" ( identifier , identifier )))) ;) (expression_statement "DAT_00151e48 = (uint)(iVar5 != 0);" (assignment_expression "DAT_00151e48 = (uint)(iVar5 != 0)" identifier = (call_expression "(uint)(iVar5 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )))) ;) (expression_statement "xfree(pcVar4);" (call_expression "xfree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar5 = _rl_caught_signal;" (assignment_expression "iVar5 = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" if (parenthesized_expression "(_rl_caught_signal != 0)" ( (binary_expression "_rl_caught_signal != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "_rl_signal_handler(_rl_caught_signal);" (call_expression "_rl_signal_handler(_rl_caught_signal)" identifier (argument_list "(_rl_caught_signal)" ( identifier ))) ;) })) (labeled_statement "LAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\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_000ecc40();\n  }" { comment (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint rl_complete_internal(int what_to_do)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  char **ppcVar5;\n  char *pcVar6;\n  rl_compentry_func_t *our_func;\n  int in_GS_OFFSET;\n  int local_58;\n  uint local_50;\n  size_t local_40;\n  char quote_char;\n  char **matches;\n  int delimiter;\n  int found_quote;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar3 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = what_to_do;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  _rl_complete_display_matches_interrupt = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar1 = strlen(rl_line_buffer);\n    pcVar2 = (char *)xmalloc(sVar1 + 1);\n    pcVar3 = strcpy(pcVar2,pcVar3);\n  }\n  iVar4 = rl_point;\n  delimiter = 0;\n  found_quote = 0;\n  quote_char = '\0';\n  our_func = rl_completion_entry_function;\n  if (rl_completion_entry_function == (rl_compentry_func_t *)0x0) {\n    our_func = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    quote_char = _rl_find_completion_word(&found_quote,&delimiter);\n    local_58 = rl_point;\n  }\n  rl_point = iVar4;\n  pcVar2 = rl_copy_text(local_58,iVar4);\n  matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char);\n  local_50 = 0;\n  if (matches != (char **)0x0) {\n    iVar4 = strcmp(pcVar2,*matches);\n    local_50 = (uint)(iVar4 != 0);\n  }\n  if (what_to_do == 0x21 || what_to_do == 0x40) {\n    local_40 = strlen(pcVar2);\n  }\n  xfree(pcVar2);\n  if (matches == (char **)0x0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    iVar4 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar4 = postprocess_matches(&matches,rl_filename_completion_desired);\n  ppcVar5 = matches;\n  if (iVar4 == 0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar4 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (what_to_do == 0x2a) {\n    rl_begin_undo_group();\n    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    pcVar2 = ppcVar5[1];\n    rl_point = local_58;\n    if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    ppcVar5 = matches;\n    if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }\n  }\n  else {\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }\n  if (pcVar3 != (char *)0x0) {\n    iVar4 = strcmp(rl_line_buffer,pcVar3);\n    completion_changed_buffer = (int)(iVar4 != 0);\n    xfree(pcVar3);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar4 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar4 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar4;\n}\n\n" comment comment (function_definition "int rl_complete_internal(int what_to_do)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  char **ppcVar5;\n  char *pcVar6;\n  rl_compentry_func_t *our_func;\n  int in_GS_OFFSET;\n  int local_58;\n  uint local_50;\n  size_t local_40;\n  char quote_char;\n  char **matches;\n  int delimiter;\n  int found_quote;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar3 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = what_to_do;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  _rl_complete_display_matches_interrupt = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar1 = strlen(rl_line_buffer);\n    pcVar2 = (char *)xmalloc(sVar1 + 1);\n    pcVar3 = strcpy(pcVar2,pcVar3);\n  }\n  iVar4 = rl_point;\n  delimiter = 0;\n  found_quote = 0;\n  quote_char = '\0';\n  our_func = rl_completion_entry_function;\n  if (rl_completion_entry_function == (rl_compentry_func_t *)0x0) {\n    our_func = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    quote_char = _rl_find_completion_word(&found_quote,&delimiter);\n    local_58 = rl_point;\n  }\n  rl_point = iVar4;\n  pcVar2 = rl_copy_text(local_58,iVar4);\n  matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char);\n  local_50 = 0;\n  if (matches != (char **)0x0) {\n    iVar4 = strcmp(pcVar2,*matches);\n    local_50 = (uint)(iVar4 != 0);\n  }\n  if (what_to_do == 0x21 || what_to_do == 0x40) {\n    local_40 = strlen(pcVar2);\n  }\n  xfree(pcVar2);\n  if (matches == (char **)0x0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    iVar4 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar4 = postprocess_matches(&matches,rl_filename_completion_desired);\n  ppcVar5 = matches;\n  if (iVar4 == 0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar4 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (what_to_do == 0x2a) {\n    rl_begin_undo_group();\n    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    pcVar2 = ppcVar5[1];\n    rl_point = local_58;\n    if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    ppcVar5 = matches;\n    if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }\n  }\n  else {\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }\n  if (pcVar3 != (char *)0x0) {\n    iVar4 = strcmp(rl_line_buffer,pcVar3);\n    completion_changed_buffer = (int)(iVar4 != 0);\n    xfree(pcVar3);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar4 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar4 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar4;\n}" primitive_type (function_declarator "rl_complete_internal(int what_to_do)" identifier (parameter_list "(int what_to_do)" ( (parameter_declaration "int what_to_do" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  char **ppcVar5;\n  char *pcVar6;\n  rl_compentry_func_t *our_func;\n  int in_GS_OFFSET;\n  int local_58;\n  uint local_50;\n  size_t local_40;\n  char quote_char;\n  char **matches;\n  int delimiter;\n  int found_quote;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar3 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = what_to_do;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  _rl_complete_display_matches_interrupt = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar1 = strlen(rl_line_buffer);\n    pcVar2 = (char *)xmalloc(sVar1 + 1);\n    pcVar3 = strcpy(pcVar2,pcVar3);\n  }\n  iVar4 = rl_point;\n  delimiter = 0;\n  found_quote = 0;\n  quote_char = '\0';\n  our_func = rl_completion_entry_function;\n  if (rl_completion_entry_function == (rl_compentry_func_t *)0x0) {\n    our_func = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    quote_char = _rl_find_completion_word(&found_quote,&delimiter);\n    local_58 = rl_point;\n  }\n  rl_point = iVar4;\n  pcVar2 = rl_copy_text(local_58,iVar4);\n  matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char);\n  local_50 = 0;\n  if (matches != (char **)0x0) {\n    iVar4 = strcmp(pcVar2,*matches);\n    local_50 = (uint)(iVar4 != 0);\n  }\n  if (what_to_do == 0x21 || what_to_do == 0x40) {\n    local_40 = strlen(pcVar2);\n  }\n  xfree(pcVar2);\n  if (matches == (char **)0x0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    iVar4 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar4 = postprocess_matches(&matches,rl_filename_completion_desired);\n  ppcVar5 = matches;\n  if (iVar4 == 0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar4 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (what_to_do == 0x2a) {\n    rl_begin_undo_group();\n    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    pcVar2 = ppcVar5[1];\n    rl_point = local_58;\n    if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    ppcVar5 = matches;\n    if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }\n  }\n  else {\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }\n  if (pcVar3 != (char *)0x0) {\n    iVar4 = strcmp(rl_line_buffer,pcVar3);\n    completion_changed_buffer = (int)(iVar4 != 0);\n    xfree(pcVar3);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar4 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar4 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar4;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char **ppcVar5;" primitive_type (pointer_declarator "**ppcVar5" * (pointer_declarator "*ppcVar5" * identifier)) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "rl_compentry_func_t *our_func;" type_identifier (pointer_declarator "*our_func" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "size_t local_40;" primitive_type identifier ;) (declaration "char quote_char;" primitive_type identifier ;) (declaration "char **matches;" primitive_type (pointer_declarator "**matches" * (pointer_declarator "*matches" * identifier)) ;) (declaration "int delimiter;" primitive_type identifier ;) (declaration "int found_quote;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar3 = rl_line_buffer;" (assignment_expression "pcVar3 = rl_line_buffer" identifier = identifier) ;) (expression_statement "uStack_14 = 0xcf499;" (assignment_expression "uStack_14 = 0xcf499" 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 "rl_filename_completion_desired = 0;" (assignment_expression "rl_filename_completion_desired = 0" identifier = number_literal) ;) (expression_statement "rl_filename_quoting_desired = 1;" (assignment_expression "rl_filename_quoting_desired = 1" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state | 0x4000;" (assignment_expression "rl_readline_state = rl_readline_state | 0x4000" identifier = (binary_expression "rl_readline_state | 0x4000" identifier | number_literal)) ;) (expression_statement "rl_completion_type = what_to_do;" (assignment_expression "rl_completion_type = what_to_do" identifier = identifier) ;) (expression_statement "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;" (assignment_expression "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs" identifier = identifier) ;) (expression_statement "rl_completion_suppress_quote = 0;" (assignment_expression "rl_completion_suppress_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_suppress_append = 0;" (assignment_expression "rl_completion_suppress_append = 0" identifier = number_literal) ;) (expression_statement "rl_completion_append_character = 0x20;" (assignment_expression "rl_completion_append_character = 0x20" identifier = number_literal) ;) (expression_statement "_rl_complete_display_matches_interrupt = 0;" (assignment_expression "_rl_complete_display_matches_interrupt = 0" identifier = number_literal) ;) (if_statement "if (rl_line_buffer != (char *)0x0) {\n    sVar1 = strlen(rl_line_buffer);\n    pcVar2 = (char *)xmalloc(sVar1 + 1);\n    pcVar3 = strcpy(pcVar2,pcVar3);\n  }" if (parenthesized_expression "(rl_line_buffer != (char *)0x0)" ( (binary_expression "rl_line_buffer != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar1 = strlen(rl_line_buffer);\n    pcVar2 = (char *)xmalloc(sVar1 + 1);\n    pcVar3 = strcpy(pcVar2,pcVar3);\n  }" { (expression_statement "sVar1 = strlen(rl_line_buffer);" (assignment_expression "sVar1 = strlen(rl_line_buffer)" identifier = (call_expression "strlen(rl_line_buffer)" identifier (argument_list "(rl_line_buffer)" ( identifier )))) ;) (expression_statement "pcVar2 = (char *)xmalloc(sVar1 + 1);" (assignment_expression "pcVar2 = (char *)xmalloc(sVar1 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 1)" identifier (argument_list "(sVar1 + 1)" ( (binary_expression "sVar1 + 1" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = strcpy(pcVar2,pcVar3);" (assignment_expression "pcVar3 = strcpy(pcVar2,pcVar3)" identifier = (call_expression "strcpy(pcVar2,pcVar3)" identifier (argument_list "(pcVar2,pcVar3)" ( identifier , identifier )))) ;) })) (expression_statement "iVar4 = rl_point;" (assignment_expression "iVar4 = rl_point" identifier = identifier) ;) (expression_statement "delimiter = 0;" (assignment_expression "delimiter = 0" identifier = number_literal) ;) (expression_statement "found_quote = 0;" (assignment_expression "found_quote = 0" identifier = number_literal) ;) (expression_statement "quote_char = '\0';" (assignment_expression "quote_char = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "our_func = rl_completion_entry_function;" (assignment_expression "our_func = rl_completion_entry_function" identifier = identifier) ;) (if_statement "if (rl_completion_entry_function == (rl_compentry_func_t *)0x0) {\n    our_func = rl_filename_completion_function;\n  }" if (parenthesized_expression "(rl_completion_entry_function == (rl_compentry_func_t *)0x0)" ( (binary_expression "rl_completion_entry_function == (rl_compentry_func_t *)0x0" identifier == (cast_expression "(rl_compentry_func_t *)0x0" ( (type_descriptor "rl_compentry_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    our_func = rl_filename_completion_function;\n  }" { (expression_statement "our_func = rl_filename_completion_function;" (assignment_expression "our_func = rl_filename_completion_function" identifier = identifier) ;) })) (expression_statement "local_58 = 0;" (assignment_expression "local_58 = 0" identifier = number_literal) ;) (if_statement "if (rl_point != 0) {\n    quote_char = _rl_find_completion_word(&found_quote,&delimiter);\n    local_58 = rl_point;\n  }" if (parenthesized_expression "(rl_point != 0)" ( (binary_expression "rl_point != 0" identifier != number_literal) )) (compound_statement "{\n    quote_char = _rl_find_completion_word(&found_quote,&delimiter);\n    local_58 = rl_point;\n  }" { (expression_statement "quote_char = _rl_find_completion_word(&found_quote,&delimiter);" (assignment_expression "quote_char = _rl_find_completion_word(&found_quote,&delimiter)" identifier = (call_expression "_rl_find_completion_word(&found_quote,&delimiter)" identifier (argument_list "(&found_quote,&delimiter)" ( (pointer_expression "&found_quote" & identifier) , (pointer_expression "&delimiter" & identifier) )))) ;) (expression_statement "local_58 = rl_point;" (assignment_expression "local_58 = rl_point" identifier = identifier) ;) })) (expression_statement "rl_point = iVar4;" (assignment_expression "rl_point = iVar4" identifier = identifier) ;) (expression_statement "pcVar2 = rl_copy_text(local_58,iVar4);" (assignment_expression "pcVar2 = rl_copy_text(local_58,iVar4)" identifier = (call_expression "rl_copy_text(local_58,iVar4)" identifier (argument_list "(local_58,iVar4)" ( identifier , identifier )))) ;) (expression_statement "matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char);" (assignment_expression "matches = gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char)" identifier = (call_expression "gen_completion_matches(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char)" identifier (argument_list "(pcVar2,local_58,iVar4,our_func,found_quote,(int)quote_char)" ( identifier , identifier , identifier , identifier , identifier , (cast_expression "(int)quote_char" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) (if_statement "if (matches != (char **)0x0) {\n    iVar4 = strcmp(pcVar2,*matches);\n    local_50 = (uint)(iVar4 != 0);\n  }" if (parenthesized_expression "(matches != (char **)0x0)" ( (binary_expression "matches != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    iVar4 = strcmp(pcVar2,*matches);\n    local_50 = (uint)(iVar4 != 0);\n  }" { (expression_statement "iVar4 = strcmp(pcVar2,*matches);" (assignment_expression "iVar4 = strcmp(pcVar2,*matches)" identifier = (call_expression "strcmp(pcVar2,*matches)" identifier (argument_list "(pcVar2,*matches)" ( identifier , (pointer_expression "*matches" * identifier) )))) ;) (expression_statement "local_50 = (uint)(iVar4 != 0);" (assignment_expression "local_50 = (uint)(iVar4 != 0)" identifier = (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )))) ;) })) (if_statement "if (what_to_do == 0x21 || what_to_do == 0x40) {\n    local_40 = strlen(pcVar2);\n  }" if (parenthesized_expression "(what_to_do == 0x21 || what_to_do == 0x40)" ( (binary_expression "what_to_do == 0x21 || what_to_do == 0x40" (binary_expression "what_to_do == 0x21" identifier == number_literal) || (binary_expression "what_to_do == 0x40" identifier == number_literal)) )) (compound_statement "{\n    local_40 = strlen(pcVar2);\n  }" { (expression_statement "local_40 = strlen(pcVar2);" (assignment_expression "local_40 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) })) (expression_statement "xfree(pcVar2);" (call_expression "xfree(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (if_statement "if (matches == (char **)0x0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    iVar4 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(matches == (char **)0x0)" ( (binary_expression "matches == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    iVar4 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar3);\n    }" { (expression_statement "free(pcVar3);" (call_expression "free(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (expression_statement "completion_changed_buffer = 0;" (assignment_expression "completion_changed_buffer = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (expression_statement "iVar4 = postprocess_matches(&matches,rl_filename_completion_desired);" (assignment_expression "iVar4 = postprocess_matches(&matches,rl_filename_completion_desired)" identifier = (call_expression "postprocess_matches(&matches,rl_filename_completion_desired)" identifier (argument_list "(&matches,rl_filename_completion_desired)" ( (pointer_expression "&matches" & identifier) , identifier )))) ;) (expression_statement "ppcVar5 = matches;" (assignment_expression "ppcVar5 = matches" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar4 = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n    if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }\n    completion_changed_buffer = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar4 = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      free(pcVar3);\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar3);\n    }" { (expression_statement "free(pcVar3);" (call_expression "free(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (expression_statement "completion_changed_buffer = 0;" (assignment_expression "completion_changed_buffer = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (what_to_do == 0x2a) {\n    rl_begin_undo_group();\n    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    pcVar2 = ppcVar5[1];\n    rl_point = local_58;\n    if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    ppcVar5 = matches;\n    if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }\n  }\n  else {\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }" if (parenthesized_expression "(what_to_do == 0x2a)" ( (binary_expression "what_to_do == 0x2a" identifier == number_literal) )) (compound_statement "{\n    rl_begin_undo_group();\n    if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    pcVar2 = ppcVar5[1];\n    rl_point = local_58;\n    if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    ppcVar5 = matches;\n    if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }\n  }" { (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))\n    {\n      local_58 = local_58 + -1;\n    }" if (parenthesized_expression "(((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1]))" ( (binary_expression "((quote_char != '\0') && (local_58 != 0)) && (quote_char == rl_line_buffer[local_58 + -1])" (parenthesized_expression "((quote_char != '\0') && (local_58 != 0))" ( (binary_expression "(quote_char != '\0') && (local_58 != 0)" (parenthesized_expression "(quote_char != '\0')" ( (binary_expression "quote_char != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(local_58 != 0)" ( (binary_expression "local_58 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(quote_char == rl_line_buffer[local_58 + -1])" ( (binary_expression "quote_char == rl_line_buffer[local_58 + -1]" identifier == (subscript_expression "rl_line_buffer[local_58 + -1]" identifier [ (binary_expression "local_58 + -1" identifier + number_literal) ])) ))) )) (compound_statement "{\n      local_58 = local_58 + -1;\n    }" { (expression_statement "local_58 = local_58 + -1;" (assignment_expression "local_58 = local_58 + -1" identifier = (binary_expression "local_58 + -1" identifier + number_literal)) ;) })) (expression_statement "rl_delete_text(local_58,rl_point);" (call_expression "rl_delete_text(local_58,rl_point)" identifier (argument_list "(local_58,rl_point)" ( identifier , identifier ))) ;) (expression_statement "pcVar2 = ppcVar5[1];" (assignment_expression "pcVar2 = ppcVar5[1]" identifier = (subscript_expression "ppcVar5[1]" identifier [ number_literal ])) ;) (expression_statement "rl_point = local_58;" (assignment_expression "rl_point = local_58" identifier = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }\n    else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);\n      rl_insert_text(pcVar2);\n      rl_insert_text(" ");\n      if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }\n    }" { (expression_statement "pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char);" (assignment_expression "pcVar2 = make_quoted_replacement(*ppcVar5,1,&quote_char)" identifier = (call_expression "make_quoted_replacement(*ppcVar5,1,&quote_char)" identifier (argument_list "(*ppcVar5,1,&quote_char)" ( (pointer_expression "*ppcVar5" * identifier) , number_literal , (pointer_expression "&quote_char" & identifier) )))) ;) (expression_statement "rl_insert_text(pcVar2);" (call_expression "rl_insert_text(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "rl_insert_text(" ");" (call_expression "rl_insert_text(" ")" identifier (argument_list "(" ")" ( (string_literal "" "" " string_content ") ))) ;) (if_statement "if (pcVar2 != *ppcVar5) {\n        xfree(pcVar2);\n      }" if (parenthesized_expression "(pcVar2 != *ppcVar5)" ( (binary_expression "pcVar2 != *ppcVar5" identifier != (pointer_expression "*ppcVar5" * identifier)) )) (compound_statement "{\n        xfree(pcVar2);\n      }" { (expression_statement "xfree(pcVar2);" (call_expression "xfree(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) })) }) (else_clause "else {\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }" else (compound_statement "{\n      ppcVar5 = ppcVar5 + 1;\n      do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);\n    }" { (expression_statement "ppcVar5 = ppcVar5 + 1;" (assignment_expression "ppcVar5 = ppcVar5 + 1" identifier = (binary_expression "ppcVar5 + 1" identifier + number_literal)) ;) (do_statement "do {\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      } while (pcVar2 != (char *)0x0);" do (compound_statement "{\n        pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);\n        rl_insert_text(pcVar2);\n        rl_insert_text(" ");\n        if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }\n        ppcVar5 = ppcVar5 + 1;\n        pcVar2 = *ppcVar5;\n      }" { (expression_statement "pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char);" (assignment_expression "pcVar2 = make_quoted_replacement(pcVar2,1,&quote_char)" identifier = (call_expression "make_quoted_replacement(pcVar2,1,&quote_char)" identifier (argument_list "(pcVar2,1,&quote_char)" ( identifier , number_literal , (pointer_expression "&quote_char" & identifier) )))) ;) (expression_statement "rl_insert_text(pcVar2);" (call_expression "rl_insert_text(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "rl_insert_text(" ");" (call_expression "rl_insert_text(" ")" identifier (argument_list "(" ")" ( (string_literal "" "" " string_content ") ))) ;) (if_statement "if (pcVar2 != *ppcVar5) {\n          xfree(pcVar2);\n        }" if (parenthesized_expression "(pcVar2 != *ppcVar5)" ( (binary_expression "pcVar2 != *ppcVar5" identifier != (pointer_expression "*ppcVar5" * identifier)) )) (compound_statement "{\n          xfree(pcVar2);\n        }" { (expression_statement "xfree(pcVar2);" (call_expression "xfree(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) })) (expression_statement "ppcVar5 = ppcVar5 + 1;" (assignment_expression "ppcVar5 = ppcVar5 + 1" identifier = (binary_expression "ppcVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar2 = *ppcVar5;" (assignment_expression "pcVar2 = *ppcVar5" identifier = (pointer_expression "*ppcVar5" * identifier)) ;) }) while (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000cf6bf:\n    ppcVar5 = matches;" statement_identifier : (expression_statement "ppcVar5 = matches;" (assignment_expression "ppcVar5 = matches" identifier = identifier) ;)) (if_statement "if (matches != (char **)0x0) {\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }" if (parenthesized_expression "(matches != (char **)0x0)" ( (binary_expression "matches != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\nLAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);\n    }" { (labeled_statement "LAB_000cf6c3:\n      _rl_free_match_list(ppcVar5);" statement_identifier : (expression_statement "_rl_free_match_list(ppcVar5);" (call_expression "_rl_free_match_list(ppcVar5)" identifier (argument_list "(ppcVar5)" ( identifier ))) ;)) })) }) (else_clause "else {\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }" else (compound_statement "{\n    if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }\n    display_matches(matches);\n    if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }\n    matches = (char **)0x0;\n    _rl_complete_display_matches_interrupt = 0;\n    if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n    _rl_sigcleanarg = (void *)0x0;\n  }" { (if_statement "if (what_to_do < 0x2b) {\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" if (parenthesized_expression "(what_to_do < 0x2b)" ( (binary_expression "what_to_do < 0x2b" identifier < number_literal) )) (compound_statement "{\n      if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      pcVar2 = *matches;\n      pcVar6 = matches[1];\n      if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" { (if_statement "if ((what_to_do != 9) && (what_to_do != 0x21)) goto LAB_000cf741;" if (parenthesized_expression "((what_to_do != 9) && (what_to_do != 0x21))" ( (binary_expression "(what_to_do != 9) && (what_to_do != 0x21)" (parenthesized_expression "(what_to_do != 9)" ( (binary_expression "what_to_do != 9" identifier != number_literal) )) && (parenthesized_expression "(what_to_do != 0x21)" ( (binary_expression "what_to_do != 0x21" identifier != number_literal) ))) )) (goto_statement "goto LAB_000cf741;" goto statement_identifier ;)) (labeled_statement "LAB_000cf7ce:\n      pcVar2 = *matches;" statement_identifier : (expression_statement "pcVar2 = *matches;" (assignment_expression "pcVar2 = *matches" identifier = (pointer_expression "*matches" * identifier)) ;)) (expression_statement "pcVar6 = matches[1];" (assignment_expression "pcVar6 = matches[1]" identifier = (subscript_expression "matches[1]" identifier [ number_literal ])) ;) (if_statement "if (what_to_do == 9) {\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }" if (parenthesized_expression "(what_to_do == 9)" ( (binary_expression "what_to_do == 9" identifier == number_literal) )) (compound_statement "{\n        if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }\n        ppcVar5 = matches;\n        if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }" { (if_statement "if (*pcVar2 != '\0') {\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }" if (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);\n          pcVar6 = matches[1];\n        }" { (expression_statement "insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char);" (call_expression "insert_match(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char)" identifier (argument_list "(pcVar2,local_58,(pcVar6 != (char *)0x0) + 1,&quote_char)" ( identifier , identifier , (binary_expression "(pcVar6 != (char *)0x0) + 1" (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) + number_literal) , (pointer_expression "&quote_char" & identifier) ))) ;) (expression_statement "pcVar6 = matches[1];" (assignment_expression "pcVar6 = matches[1]" identifier = (subscript_expression "matches[1]" identifier [ number_literal ])) ;) })) (expression_statement "ppcVar5 = matches;" (assignment_expression "ppcVar5 = matches" identifier = identifier) ;) (if_statement "if (pcVar6 == (char *)0x0) {\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cfa70:\n          append_to_match(*matches,delimiter,(int)quote_char,local_50);" statement_identifier : (expression_statement "append_to_match(*matches,delimiter,(int)quote_char,local_50);" (call_expression "append_to_match(*matches,delimiter,(int)quote_char,local_50)" identifier (argument_list "(*matches,delimiter,(int)quote_char,local_50)" ( (pointer_expression "*matches" * identifier) , identifier , (cast_expression "(int)quote_char" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (labeled_statement "LAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" statement_identifier : (if_statement "if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(rl_editing_mode != 0)" ( (binary_expression "rl_editing_mode != 0" identifier != number_literal) )) (compound_statement "{\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) }))) }) (else_clause "else {\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }" else (compound_statement "{\n        if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }\n        if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }\n        if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;\n        if (local_50 == 0) goto LAB_000cf850;\n      }" { (if_statement "if (*pcVar2 == '\0') {\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }\n        else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }" if (parenthesized_expression "(*pcVar2 == '\0')" ( (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000cf82c:\n          ppcVar5 = matches;\n          if (pcVar6 == (char *)0x0) goto LAB_000cfa70;\n        }" { (labeled_statement "LAB_000cf82c:\n          ppcVar5 = matches;" statement_identifier : (expression_statement "ppcVar5 = matches;" (assignment_expression "ppcVar5 = matches" identifier = identifier) ;)) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000cfa70;" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000cfa70;" goto statement_identifier ;)) }) (else_clause "else {\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }" else (compound_statement "{\n          if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }\n          sVar1 = strlen(pcVar2);\n          if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }\n        }" { (if_statement "if (pcVar6 == (char *)0x0) {\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar4 = 1;\nLAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);\n            pcVar6 = matches[1];\n            goto LAB_000cf82c;\n          }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000cf815:\n            insert_match(pcVar2,local_58,iVar4,&quote_char);" statement_identifier : (expression_statement "insert_match(pcVar2,local_58,iVar4,&quote_char);" (call_expression "insert_match(pcVar2,local_58,iVar4,&quote_char)" identifier (argument_list "(pcVar2,local_58,iVar4,&quote_char)" ( identifier , identifier , identifier , (pointer_expression "&quote_char" & identifier) ))) ;)) (expression_statement "pcVar6 = matches[1];" (assignment_expression "pcVar6 = matches[1]" identifier = (subscript_expression "matches[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_000cf82c;" goto statement_identifier ;) })) (expression_statement "sVar1 = strlen(pcVar2);" (assignment_expression "sVar1 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (if_statement "if ((int)local_40 <= (int)sVar1) {\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }" if (parenthesized_expression "((int)local_40 <= (int)sVar1)" ( (binary_expression "(int)local_40 <= (int)sVar1" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            iVar4 = 2;\n            goto LAB_000cf815;\n          }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_000cf815;" goto statement_identifier ;) })) }))) (if_statement "if (what_to_do == 0x21) {\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(what_to_do == 0x21)" ( (binary_expression "what_to_do == 0x21" identifier == number_literal) )) (compound_statement "{\nLAB_000cf850:\n          display_matches(ppcVar5);\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cf850:\n          display_matches(ppcVar5);" statement_identifier : (expression_statement "display_matches(ppcVar5);" (call_expression "display_matches(ppcVar5)" identifier (argument_list "(ppcVar5)" ( identifier ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (if_statement "if (what_to_do != 0x21 && what_to_do != 0x40) goto LAB_000cfa21;" if (parenthesized_expression "(what_to_do != 0x21 && what_to_do != 0x40)" ( (binary_expression "what_to_do != 0x21 && what_to_do != 0x40" (binary_expression "what_to_do != 0x21" identifier != number_literal) && (binary_expression "what_to_do != 0x40" identifier != number_literal)) )) (goto_statement "goto LAB_000cfa21;" goto statement_identifier ;)) (if_statement "if (local_50 == 0) goto LAB_000cf850;" if (parenthesized_expression "(local_50 == 0)" ( (binary_expression "local_50 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cf850;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_000cf6c3;" goto statement_identifier ;) })) (if_statement "if (what_to_do != 0x3f) {\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" if (parenthesized_expression "(what_to_do != 0x3f)" ( (binary_expression "what_to_do != 0x3f" identifier != number_literal) )) (compound_statement "{\n      if (what_to_do == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);\n      rl_ding();\n      if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }\n      iVar4 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" { (if_statement "if (what_to_do == 0x40) goto LAB_000cf7ce;" if (parenthesized_expression "(what_to_do == 0x40)" ( (binary_expression "what_to_do == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_000cf7ce;" goto statement_identifier ;)) (labeled_statement "LAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);" statement_identifier : (expression_statement "_rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do);" (call_expression "_rl_ttymsg("bad value %d for what_to_do in rl_complete",what_to_do)" identifier (argument_list "("bad value %d for what_to_do in rl_complete",what_to_do)" ( (string_literal ""bad value %d for what_to_do in rl_complete"" " string_content ") , identifier ))) ;)) (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n        free(pcVar3);\n      }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(pcVar3);\n      }" { (expression_statement "free(pcVar3);" (call_expression "free(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (if_statement "if (matches != (char **)0x0) {\n        _rl_free_match_list(matches);\n      }" if (parenthesized_expression "(matches != (char **)0x0)" ( (binary_expression "matches != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n        _rl_free_match_list(matches);\n      }" { (expression_statement "_rl_free_match_list(matches);" (call_expression "_rl_free_match_list(matches)" identifier (argument_list "(matches)" ( identifier ))) ;) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0) {\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }" if (parenthesized_expression "(rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0)" ( (binary_expression "rl_completion_display_matches_hook == (rl_compdisp_func_t *)0x0" identifier == (cast_expression "(rl_compdisp_func_t *)0x0" ( (type_descriptor "rl_compdisp_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      _rl_complete_display_matches_interrupt = 0;\n      _rl_sigcleanup = _rl_complete_sigcleanup;\n      _rl_sigcleanarg = matches;\n    }" { (expression_statement "_rl_complete_display_matches_interrupt = 0;" (assignment_expression "_rl_complete_display_matches_interrupt = 0" identifier = number_literal) ;) (expression_statement "_rl_sigcleanup = _rl_complete_sigcleanup;" (assignment_expression "_rl_sigcleanup = _rl_complete_sigcleanup" identifier = identifier) ;) (expression_statement "_rl_sigcleanarg = matches;" (assignment_expression "_rl_sigcleanarg = matches" identifier = identifier) ;) })) (expression_statement "display_matches(matches);" (call_expression "display_matches(matches)" identifier (argument_list "(matches)" ( identifier ))) ;) (if_statement "if (_rl_complete_display_matches_interrupt == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }" if (parenthesized_expression "(_rl_complete_display_matches_interrupt == 0)" ( (binary_expression "_rl_complete_display_matches_interrupt == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;\n      _rl_sigcleanarg = (void *)0x0;\n      goto LAB_000cf6bf;\n    }" { (labeled_statement "LAB_000cf6af:\n      _rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;" statement_identifier : (expression_statement "_rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;" (assignment_expression "_rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0" identifier = (cast_expression "(_rl_sigcleanup_func_t *)0x0" ( (type_descriptor "_rl_sigcleanup_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "_rl_sigcleanarg = (void *)0x0;" (assignment_expression "_rl_sigcleanarg = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (expression_statement "matches = (char **)0x0;" (assignment_expression "matches = (char **)0x0" identifier = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "_rl_complete_display_matches_interrupt = 0;" (assignment_expression "_rl_complete_display_matches_interrupt = 0" identifier = number_literal) ;) (if_statement "if (rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" if (parenthesized_expression "(rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0)" ( (binary_expression "rl_signal_event_hook != (rl_hook_func_t_conflict *)0x0" identifier != (cast_expression "(rl_hook_func_t_conflict *)0x0" ( (type_descriptor "rl_hook_func_t_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" { (expression_statement "(*rl_signal_event_hook)();" (call_expression "(*rl_signal_event_hook)()" (parenthesized_expression "(*rl_signal_event_hook)" ( (pointer_expression "*rl_signal_event_hook" * identifier) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6af;" goto statement_identifier ;) })) (expression_statement "_rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0;" (assignment_expression "_rl_sigcleanup = (_rl_sigcleanup_func_t *)0x0" identifier = (cast_expression "(_rl_sigcleanup_func_t *)0x0" ( (type_descriptor "_rl_sigcleanup_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_rl_sigcleanarg = (void *)0x0;" (assignment_expression "_rl_sigcleanarg = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (pcVar3 != (char *)0x0) {\n    iVar4 = strcmp(rl_line_buffer,pcVar3);\n    completion_changed_buffer = (int)(iVar4 != 0);\n    xfree(pcVar3);\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = strcmp(rl_line_buffer,pcVar3);\n    completion_changed_buffer = (int)(iVar4 != 0);\n    xfree(pcVar3);\n  }" { (expression_statement "iVar4 = strcmp(rl_line_buffer,pcVar3);" (assignment_expression "iVar4 = strcmp(rl_line_buffer,pcVar3)" identifier = (call_expression "strcmp(rl_line_buffer,pcVar3)" identifier (argument_list "(rl_line_buffer,pcVar3)" ( identifier , identifier )))) ;) (expression_statement "completion_changed_buffer = (int)(iVar4 != 0);" (assignment_expression "completion_changed_buffer = (int)(iVar4 != 0)" identifier = (cast_expression "(int)(iVar4 != 0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )))) ;) (expression_statement "xfree(pcVar3);" (call_expression "xfree(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar4 = _rl_caught_signal;" (assignment_expression "iVar4 = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal != 0) {\n    iVar4 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" if (parenthesized_expression "(_rl_caught_signal != 0)" ( (binary_expression "_rl_caught_signal != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "_rl_signal_handler(_rl_caught_signal);" (call_expression "_rl_signal_handler(_rl_caught_signal)" identifier (argument_list "(_rl_caught_signal)" ( identifier ))) ;) })) (labeled_statement "LAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\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    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int rl_complete_internal(int param_1)\n\n{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return iVar5;\n}\n\n" (function_definition "int rl_complete_internal(int param_1)\n\n{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return iVar5;\n}" primitive_type (function_declarator "rl_complete_internal(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return iVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "size_t local_40;" primitive_type identifier ;) (declaration "char local_2d;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar4 = rl_line_buffer;" (assignment_expression "pcVar4 = rl_line_buffer" identifier = identifier) ;) (expression_statement "uStack_14 = 0xcf499;" (assignment_expression "uStack_14 = 0xcf499" 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 "rl_filename_completion_desired = 0;" (assignment_expression "rl_filename_completion_desired = 0" identifier = number_literal) ;) (expression_statement "rl_filename_quoting_desired = 1;" (assignment_expression "rl_filename_quoting_desired = 1" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state | 0x4000;" (assignment_expression "rl_readline_state = rl_readline_state | 0x4000" identifier = (binary_expression "rl_readline_state | 0x4000" identifier | number_literal)) ;) (expression_statement "rl_completion_type = param_1;" (assignment_expression "rl_completion_type = param_1" identifier = identifier) ;) (expression_statement "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;" (assignment_expression "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs" identifier = identifier) ;) (expression_statement "rl_completion_suppress_quote = 0;" (assignment_expression "rl_completion_suppress_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_suppress_append = 0;" (assignment_expression "rl_completion_suppress_append = 0" identifier = number_literal) ;) (expression_statement "rl_completion_append_character = 0x20;" (assignment_expression "rl_completion_append_character = 0x20" identifier = number_literal) ;) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (if_statement "if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" if (parenthesized_expression "(rl_line_buffer != (char *)0x0)" ( (binary_expression "rl_line_buffer != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" { (expression_statement "sVar2 = strlen(rl_line_buffer);" (assignment_expression "sVar2 = strlen(rl_line_buffer)" identifier = (call_expression "strlen(rl_line_buffer)" identifier (argument_list "(rl_line_buffer)" ( identifier )))) ;) (expression_statement "pcVar3 = (char *)xmalloc(sVar2 + 1);" (assignment_expression "pcVar3 = (char *)xmalloc(sVar2 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 1)" identifier (argument_list "(sVar2 + 1)" ( (binary_expression "sVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = strcpy(pcVar3,pcVar4);" (assignment_expression "pcVar4 = strcpy(pcVar3,pcVar4)" identifier = (call_expression "strcpy(pcVar3,pcVar4)" identifier (argument_list "(pcVar3,pcVar4)" ( identifier , identifier )))) ;) })) (expression_statement "iVar5 = rl_point;" (assignment_expression "iVar5 = rl_point" identifier = identifier) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_2d = '\0';" (assignment_expression "local_2d = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar6 = rl_completion_entry_function;" (assignment_expression "pcVar6 = rl_completion_entry_function" identifier = identifier) ;) (if_statement "if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }" if (parenthesized_expression "(rl_completion_entry_function == (code *)0x0)" ( (binary_expression "rl_completion_entry_function == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar6 = rl_filename_completion_function;\n  }" { (expression_statement "pcVar6 = rl_filename_completion_function;" (assignment_expression "pcVar6 = rl_filename_completion_function" identifier = identifier) ;) })) (expression_statement "local_58 = 0;" (assignment_expression "local_58 = 0" identifier = number_literal) ;) (if_statement "if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" if (parenthesized_expression "(rl_point != 0)" ( (binary_expression "rl_point != 0" identifier != number_literal) )) (compound_statement "{\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" { (expression_statement "local_2d = _rl_find_completion_word(&local_24,&local_28);" (assignment_expression "local_2d = _rl_find_completion_word(&local_24,&local_28)" identifier = (call_expression "_rl_find_completion_word(&local_24,&local_28)" identifier (argument_list "(&local_24,&local_28)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (expression_statement "local_58 = rl_point;" (assignment_expression "local_58 = rl_point" identifier = identifier) ;) })) (expression_statement "rl_point = iVar5;" (assignment_expression "rl_point = iVar5" identifier = identifier) ;) (expression_statement "pcVar3 = (char *)rl_copy_text(local_58,iVar5);" (assignment_expression "pcVar3 = (char *)rl_copy_text(local_58,iVar5)" identifier = (cast_expression "(char *)rl_copy_text(local_58,iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "rl_copy_text(local_58,iVar5)" identifier (argument_list "(local_58,iVar5)" ( identifier , identifier ))))) ;) (expression_statement "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);" (assignment_expression "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" identifier = (cast_expression "(int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000cf390(pcVar6,local_24,(int)local_2d)" identifier (argument_list "(pcVar6,local_24,(int)local_2d)" ( identifier , identifier , (cast_expression "(int)local_2d" ( (type_descriptor "int" primitive_type) ) identifier) ))))) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" { (expression_statement "iVar5 = strcmp(pcVar3,(char *)*local_2c);" (assignment_expression "iVar5 = strcmp(pcVar3,(char *)*local_2c)" identifier = (call_expression "strcmp(pcVar3,(char *)*local_2c)" identifier (argument_list "(pcVar3,(char *)*local_2c)" ( identifier , (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)) )))) ;) (expression_statement "bVar8 = iVar5 != 0;" (assignment_expression "bVar8 = iVar5 != 0" identifier = (binary_expression "iVar5 != 0" identifier != number_literal)) ;) })) (if_statement "if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }" if (parenthesized_expression "(param_1 == 0x21 || param_1 == 0x40)" ( (binary_expression "param_1 == 0x21 || param_1 == 0x40" (binary_expression "param_1 == 0x21" identifier == number_literal) || (binary_expression "param_1 == 0x40" identifier == number_literal)) )) (compound_statement "{\n    local_40 = strlen(pcVar3);\n  }" { (expression_statement "local_40 = strlen(pcVar3);" (assignment_expression "local_40 = strlen(pcVar3)" identifier = (call_expression "strlen(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) })) (expression_statement "xfree(pcVar3);" (call_expression "xfree(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (if_statement "if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(local_2c == (int *)0x0)" ( (binary_expression "local_2c == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar4);\n    }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (expression_statement "iVar5 = FUN_000cdd50();" (assignment_expression "iVar5 = FUN_000cdd50()" identifier = (call_expression "FUN_000cdd50()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pcVar4);\n    }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" identifier = number_literal) ;) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" if (parenthesized_expression "(param_1 == 0x2a)" ( (binary_expression "param_1 == 0x2a" identifier == number_literal) )) (compound_statement "{\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }" { (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }" if (parenthesized_expression "(((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1]))" ( (binary_expression "((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])" (parenthesized_expression "((local_2d != '\0') && (local_58 != 0))" ( (binary_expression "(local_2d != '\0') && (local_58 != 0)" (parenthesized_expression "(local_2d != '\0')" ( (binary_expression "local_2d != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(local_58 != 0)" ( (binary_expression "local_58 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(local_2d == rl_line_buffer[local_58 + -1])" ( (binary_expression "local_2d == rl_line_buffer[local_58 + -1]" identifier == (subscript_expression "rl_line_buffer[local_58 + -1]" identifier [ (binary_expression "local_58 + -1" identifier + number_literal) ])) ))) )) (compound_statement "{\n      local_58 = local_58 + -1;\n    }" { (expression_statement "local_58 = local_58 + -1;" (assignment_expression "local_58 = local_58 + -1" identifier = (binary_expression "local_58 + -1" identifier + number_literal)) ;) })) (expression_statement "rl_delete_text(local_58,rl_point);" (call_expression "rl_delete_text(local_58,rl_point)" identifier (argument_list "(local_58,rl_point)" ( identifier , identifier ))) ;) (expression_statement "rl_point = local_58;" (assignment_expression "rl_point = local_58" identifier = identifier) ;) (if_statement "if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" if (parenthesized_expression "(piVar7[1] == 0)" ( (binary_expression "piVar7[1] == 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }" { (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" identifier = (call_expression "FUN_000ce0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" identifier (argument_list "(&DAT_000f08bf)" ( (pointer_expression "&DAT_000f08bf" & identifier) ))) ;) (if_statement "if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }" if (parenthesized_expression "(iVar5 != *piVar7)" ( (binary_expression "iVar5 != *piVar7" identifier != (pointer_expression "*piVar7" * identifier)) )) (compound_statement "{\n        xfree(iVar5);\n      }" { (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) }) (else_clause "else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" else (compound_statement "{\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" { (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (do_statement "do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);" do (compound_statement "{\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      }" { (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" identifier = (call_expression "FUN_000ce0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" identifier (argument_list "(&DAT_000f08bf)" ( (pointer_expression "&DAT_000f08bf" & identifier) ))) ;) (if_statement "if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }" if (parenthesized_expression "(iVar5 != *piVar7)" ( (binary_expression "iVar5 != *piVar7" identifier != (pointer_expression "*piVar7" * identifier)) )) (compound_statement "{\n          xfree(iVar5);\n        }" { (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar7 != 0)" ( (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" * identifier) != number_literal) )) ;) }))) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" statement_identifier : (if_statement "if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" { (labeled_statement "LAB_000cf6c3:\n      FUN_000ce3a0();" statement_identifier : (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" identifier (argument_list "()" ( ))) ;)) }))) }) (else_clause "else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" else (compound_statement "{\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" { (if_statement "if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" if (parenthesized_expression "(param_1 < 0x2b)" ( (binary_expression "param_1 < 0x2b" identifier < number_literal) )) (compound_statement "{\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" { (if_statement "if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;" if (parenthesized_expression "((param_1 != 9) && (param_1 != 0x21))" ( (binary_expression "(param_1 != 9) && (param_1 != 0x21)" (parenthesized_expression "(param_1 != 9)" ( (binary_expression "param_1 != 9" identifier != number_literal) )) && (parenthesized_expression "(param_1 != 0x21)" ( (binary_expression "param_1 != 0x21" identifier != number_literal) ))) )) (goto_statement "goto LAB_000cf741;" goto statement_identifier ;)) (labeled_statement "LAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;" statement_identifier : (expression_statement "cVar1 = *(char *)*local_2c;" (assignment_expression "cVar1 = *(char *)*local_2c" identifier = (pointer_expression "*(char *)*local_2c" * (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)))) ;)) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" if (parenthesized_expression "(param_1 == 9)" ( (binary_expression "param_1 == 9" identifier == number_literal) )) (compound_statement "{\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }" { (if_statement "if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" { (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" identifier (argument_list "(&local_2d)" ( (pointer_expression "&local_2d" & identifier) ))) ;) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cfa70:\n          FUN_000cc090(bVar8);" statement_identifier : (expression_statement "FUN_000cc090(bVar8);" (call_expression "FUN_000cc090(bVar8)" identifier (argument_list "(bVar8)" ( identifier ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (labeled_statement "LAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" statement_identifier : (if_statement "if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(rl_editing_mode != 0)" ( (binary_expression "rl_editing_mode != 0" identifier != number_literal) )) (compound_statement "{\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) }))) }) (else_clause "else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" else (compound_statement "{\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" { (if_statement "if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }" { (labeled_statement "LAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;" statement_identifier : (if_statement "if (iVar5 == 0) goto LAB_000cfa70;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cfa70;" goto statement_identifier ;))) }) (else_clause "else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" else (if_statement "if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" if (parenthesized_expression "((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2))" ( (binary_expression "(iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" ( (comma_expression "sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2" (assignment_expression "sVar2 = strlen((char *)*local_2c)" identifier = (call_expression "strlen((char *)*local_2c)" identifier (argument_list "((char *)*local_2c)" ( (cast_expression "(char *)*local_2c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_2c" * identifier)) )))) , (binary_expression "(int)local_40 <= (int)sVar2" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" { (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" identifier (argument_list "(&local_2d)" ( (pointer_expression "&local_2d" & identifier) ))) ;) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" identifier = (subscript_expression "local_2c[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_000cf82c;" goto statement_identifier ;) })))) (if_statement "if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" if (parenthesized_expression "(param_1 == 0x21)" ( (binary_expression "param_1 == 0x21" identifier == number_literal) )) (compound_statement "{\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" { (labeled_statement "LAB_000cf850:\n          FUN_000cf060();" statement_identifier : (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (if_statement "if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;" if (parenthesized_expression "(param_1 != 0x21 && param_1 != 0x40)" ( (binary_expression "param_1 != 0x21 && param_1 != 0x40" (binary_expression "param_1 != 0x21" identifier != number_literal) && (binary_expression "param_1 != 0x40" identifier != number_literal)) )) (goto_statement "goto LAB_000cfa21;" goto statement_identifier ;)) (if_statement "if (bVar8 == false) goto LAB_000cf850;" if (parenthesized_expression "(bVar8 == false)" ( (binary_expression "bVar8 == false" identifier == false) )) (goto_statement "goto LAB_000cf850;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_000cf6c3;" goto statement_identifier ;) })) (if_statement "if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" if (parenthesized_expression "(param_1 != 0x3f)" ( (binary_expression "param_1 != 0x3f" identifier != number_literal) )) (compound_statement "{\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" { (if_statement "if (param_1 == 0x40) goto LAB_000cf7ce;" if (parenthesized_expression "(param_1 == 0x40)" ( (binary_expression "param_1 == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_000cf7ce;" goto statement_identifier ;)) (labeled_statement "LAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" statement_identifier : (expression_statement "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" (call_expression "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1)" identifier (argument_list "("bad value %d for what_to_do in rl_complete",param_1)" ( (string_literal ""bad value %d for what_to_do in rl_complete"" " string_content ") , identifier ))) ;)) (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(pcVar4);\n      }" { (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (if_statement "if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }" if (parenthesized_expression "(local_2c != (int *)0x0)" ( (binary_expression "local_2c != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_000ce3a0();\n      }" { (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cf7a0;" goto statement_identifier ;) })) (if_statement "if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" if (parenthesized_expression "(rl_completion_display_matches_hook == 0)" ( (binary_expression "rl_completion_display_matches_hook == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" { (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (expression_statement "_rl_sigcleanup = FUN_000ce3f0;" (assignment_expression "_rl_sigcleanup = FUN_000ce3f0" identifier = identifier) ;) (expression_statement "_rl_sigcleanarg = local_2c;" (assignment_expression "_rl_sigcleanarg = local_2c" identifier = identifier) ;) })) (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" if (parenthesized_expression "(DAT_00151e44 == 0)" ( (binary_expression "DAT_00151e44 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" { (labeled_statement "LAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;" statement_identifier : (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000cf6bf;" goto statement_identifier ;) })) (expression_statement "local_2c = (int *)0x0;" (assignment_expression "local_2c = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" identifier = number_literal) ;) (if_statement "if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" if (parenthesized_expression "(rl_signal_event_hook != (code *)0x0)" ( (binary_expression "rl_signal_event_hook != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" { (expression_statement "(*rl_signal_event_hook)();" (call_expression "(*rl_signal_event_hook)()" (parenthesized_expression "(*rl_signal_event_hook)" ( (pointer_expression "*rl_signal_event_hook" * identifier) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000cf6af;" goto statement_identifier ;) })) (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" { (expression_statement "iVar5 = strcmp(rl_line_buffer,pcVar4);" (assignment_expression "iVar5 = strcmp(rl_line_buffer,pcVar4)" identifier = (call_expression "strcmp(rl_line_buffer,pcVar4)" identifier (argument_list "(rl_line_buffer,pcVar4)" ( identifier , identifier )))) ;) (expression_statement "DAT_00151e48 = (uint)(iVar5 != 0);" (assignment_expression "DAT_00151e48 = (uint)(iVar5 != 0)" identifier = (call_expression "(uint)(iVar5 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )))) ;) (expression_statement "xfree(pcVar4);" (call_expression "xfree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" identifier = (binary_expression "rl_readline_state & 0xffffbfff" identifier & number_literal)) ;) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" identifier = number_literal) ;) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" identifier = number_literal) ;) (expression_statement "iVar5 = _rl_caught_signal;" (assignment_expression "iVar5 = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" if (parenthesized_expression "(_rl_caught_signal != 0)" ( (binary_expression "_rl_caught_signal != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "_rl_signal_handler(_rl_caught_signal);" (call_expression "_rl_signal_handler(_rl_caught_signal)" identifier (argument_list "(_rl_caught_signal)" ( identifier ))) ;) })) (labeled_statement "LAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\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_000ecc40();\n  }" { (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = 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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (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 IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == BOOL) )) (goto_statement goto statement_identifier ;)) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (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 ;) })))
(function_definition "int rl_complete_internal(int param_1)\n\n{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return iVar5;\n}" (primitive_type "int") (function_declarator "rl_complete_internal(int param_1)" (identifier "rl_complete_internal") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char cVar1;\n  size_t sVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_58;\n  size_t local_40;\n  char local_2d;\n  int *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  pcVar4 = rl_line_buffer;\n  uStack_14 = 0xcf499;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  rl_filename_completion_desired = 0;\n  rl_filename_quoting_desired = 1;\n  rl_readline_state = rl_readline_state | 0x4000;\n  rl_completion_type = param_1;\n  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;\n  rl_completion_suppress_quote = 0;\n  rl_completion_suppress_append = 0;\n  rl_completion_append_character = 0x20;\n  DAT_00151e44 = 0;\n  if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }\n  iVar5 = rl_point;\n  local_28 = 0;\n  local_24 = 0;\n  local_2d = '\0';\n  pcVar6 = rl_completion_entry_function;\n  if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }\n  local_58 = 0;\n  if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }\n  rl_point = iVar5;\n  pcVar3 = (char *)rl_copy_text(local_58,iVar5);\n  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);\n  bVar8 = false;\n  if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }\n  if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }\n  xfree(pcVar3);\n  if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }\n  iVar5 = FUN_000cdd50();\n  piVar7 = local_2c;\n  if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }\n  if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }\n  if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }\n  rl_readline_state = rl_readline_state & 0xffffbfff;\n  rl_completion_found_quote = 0;\n  rl_completion_quote_character = 0;\n  iVar5 = _rl_caught_signal;\n  if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }\nLAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return iVar5;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "int local_58;" (primitive_type "int") (identifier "local_58") (; ";")) (declaration "size_t local_40;" (primitive_type "size_t") (identifier "local_40") (; ";")) (declaration "char local_2d;" (primitive_type "char") (identifier "local_2d") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "pcVar4 = rl_line_buffer;" (assignment_expression "pcVar4 = rl_line_buffer" (identifier "pcVar4") (= "=") (identifier "rl_line_buffer")) (; ";")) (expression_statement "uStack_14 = 0xcf499;" (assignment_expression "uStack_14 = 0xcf499" (identifier "uStack_14") (= "=") (number_literal "0xcf499")) (; ";")) (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 "rl_filename_completion_desired = 0;" (assignment_expression "rl_filename_completion_desired = 0" (identifier "rl_filename_completion_desired") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_filename_quoting_desired = 1;" (assignment_expression "rl_filename_quoting_desired = 1" (identifier "rl_filename_quoting_desired") (= "=") (number_literal "1")) (; ";")) (expression_statement "rl_readline_state = rl_readline_state | 0x4000;" (assignment_expression "rl_readline_state = rl_readline_state | 0x4000" (identifier "rl_readline_state") (= "=") (binary_expression "rl_readline_state | 0x4000" (identifier "rl_readline_state") (| "|") (number_literal "0x4000"))) (; ";")) (expression_statement "rl_completion_type = param_1;" (assignment_expression "rl_completion_type = param_1" (identifier "rl_completion_type") (= "=") (identifier "param_1")) (; ";")) (expression_statement "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;" (assignment_expression "rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs" (identifier "rl_completion_mark_symlink_dirs") (= "=") (identifier "_rl_complete_mark_symlink_dirs")) (; ";")) (expression_statement "rl_completion_suppress_quote = 0;" (assignment_expression "rl_completion_suppress_quote = 0" (identifier "rl_completion_suppress_quote") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_suppress_append = 0;" (assignment_expression "rl_completion_suppress_append = 0" (identifier "rl_completion_suppress_append") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_append_character = 0x20;" (assignment_expression "rl_completion_append_character = 0x20" (identifier "rl_completion_append_character") (= "=") (number_literal "0x20")) (; ";")) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" (identifier "DAT_00151e44") (= "=") (number_literal "0")) (; ";")) (if_statement "if (rl_line_buffer != (char *)0x0) {\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" (if "if") (parenthesized_expression "(rl_line_buffer != (char *)0x0)" (( "(") (binary_expression "rl_line_buffer != (char *)0x0" (identifier "rl_line_buffer") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar2 = strlen(rl_line_buffer);\n    pcVar3 = (char *)xmalloc(sVar2 + 1);\n    pcVar4 = strcpy(pcVar3,pcVar4);\n  }" ({ "{") (expression_statement "sVar2 = strlen(rl_line_buffer);" (assignment_expression "sVar2 = strlen(rl_line_buffer)" (identifier "sVar2") (= "=") (call_expression "strlen(rl_line_buffer)" (identifier "strlen") (argument_list "(rl_line_buffer)" (( "(") (identifier "rl_line_buffer") () ")")))) (; ";")) (expression_statement "pcVar3 = (char *)xmalloc(sVar2 + 1);" (assignment_expression "pcVar3 = (char *)xmalloc(sVar2 + 1)" (identifier "pcVar3") (= "=") (cast_expression "(char *)xmalloc(sVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar2 + 1)" (identifier "xmalloc") (argument_list "(sVar2 + 1)" (( "(") (binary_expression "sVar2 + 1" (identifier "sVar2") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "pcVar4 = strcpy(pcVar3,pcVar4);" (assignment_expression "pcVar4 = strcpy(pcVar3,pcVar4)" (identifier "pcVar4") (= "=") (call_expression "strcpy(pcVar3,pcVar4)" (identifier "strcpy") (argument_list "(pcVar3,pcVar4)" (( "(") (identifier "pcVar3") (, ",") (identifier "pcVar4") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar5 = rl_point;" (assignment_expression "iVar5 = rl_point" (identifier "iVar5") (= "=") (identifier "rl_point")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2d = '\0';" (assignment_expression "local_2d = '\0'" (identifier "local_2d") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pcVar6 = rl_completion_entry_function;" (assignment_expression "pcVar6 = rl_completion_entry_function" (identifier "pcVar6") (= "=") (identifier "rl_completion_entry_function")) (; ";")) (if_statement "if (rl_completion_entry_function == (code *)0x0) {\n    pcVar6 = rl_filename_completion_function;\n  }" (if "if") (parenthesized_expression "(rl_completion_entry_function == (code *)0x0)" (( "(") (binary_expression "rl_completion_entry_function == (code *)0x0" (identifier "rl_completion_entry_function") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar6 = rl_filename_completion_function;\n  }" ({ "{") (expression_statement "pcVar6 = rl_filename_completion_function;" (assignment_expression "pcVar6 = rl_filename_completion_function" (identifier "pcVar6") (= "=") (identifier "rl_filename_completion_function")) (; ";")) (} "}"))) (expression_statement "local_58 = 0;" (assignment_expression "local_58 = 0" (identifier "local_58") (= "=") (number_literal "0")) (; ";")) (if_statement "if (rl_point != 0) {\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" (if "if") (parenthesized_expression "(rl_point != 0)" (( "(") (binary_expression "rl_point != 0" (identifier "rl_point") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_2d = _rl_find_completion_word(&local_24,&local_28);\n    local_58 = rl_point;\n  }" ({ "{") (expression_statement "local_2d = _rl_find_completion_word(&local_24,&local_28);" (assignment_expression "local_2d = _rl_find_completion_word(&local_24,&local_28)" (identifier "local_2d") (= "=") (call_expression "_rl_find_completion_word(&local_24,&local_28)" (identifier "_rl_find_completion_word") (argument_list "(&local_24,&local_28)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (; ";")) (expression_statement "local_58 = rl_point;" (assignment_expression "local_58 = rl_point" (identifier "local_58") (= "=") (identifier "rl_point")) (; ";")) (} "}"))) (expression_statement "rl_point = iVar5;" (assignment_expression "rl_point = iVar5" (identifier "rl_point") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "pcVar3 = (char *)rl_copy_text(local_58,iVar5);" (assignment_expression "pcVar3 = (char *)rl_copy_text(local_58,iVar5)" (identifier "pcVar3") (= "=") (cast_expression "(char *)rl_copy_text(local_58,iVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "rl_copy_text(local_58,iVar5)" (identifier "rl_copy_text") (argument_list "(local_58,iVar5)" (( "(") (identifier "local_58") (, ",") (identifier "iVar5") () ")"))))) (; ";")) (expression_statement "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);" (assignment_expression "local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" (identifier "local_2c") (= "=") (cast_expression "(int *)FUN_000cf390(pcVar6,local_24,(int)local_2d)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000cf390(pcVar6,local_24,(int)local_2d)" (identifier "FUN_000cf390") (argument_list "(pcVar6,local_24,(int)local_2d)" (( "(") (identifier "pcVar6") (, ",") (identifier "local_24") (, ",") (cast_expression "(int)local_2d" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2d")) () ")"))))) (; ";")) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (if_statement "if (local_2c != (int *)0x0) {\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" (if "if") (parenthesized_expression "(local_2c != (int *)0x0)" (( "(") (binary_expression "local_2c != (int *)0x0" (identifier "local_2c") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar5 = strcmp(pcVar3,(char *)*local_2c);\n    bVar8 = iVar5 != 0;\n  }" ({ "{") (expression_statement "iVar5 = strcmp(pcVar3,(char *)*local_2c);" (assignment_expression "iVar5 = strcmp(pcVar3,(char *)*local_2c)" (identifier "iVar5") (= "=") (call_expression "strcmp(pcVar3,(char *)*local_2c)" (identifier "strcmp") (argument_list "(pcVar3,(char *)*local_2c)" (( "(") (identifier "pcVar3") (, ",") (cast_expression "(char *)*local_2c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_2c" (* "*") (identifier "local_2c"))) () ")")))) (; ";")) (expression_statement "bVar8 = iVar5 != 0;" (assignment_expression "bVar8 = iVar5 != 0" (identifier "bVar8") (= "=") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (if_statement "if (param_1 == 0x21 || param_1 == 0x40) {\n    local_40 = strlen(pcVar3);\n  }" (if "if") (parenthesized_expression "(param_1 == 0x21 || param_1 == 0x40)" (( "(") (binary_expression "param_1 == 0x21 || param_1 == 0x40" (binary_expression "param_1 == 0x21" (identifier "param_1") (== "==") (number_literal "0x21")) (|| "||") (binary_expression "param_1 == 0x40" (identifier "param_1") (== "==") (number_literal "0x40"))) () ")")) (compound_statement "{\n    local_40 = strlen(pcVar3);\n  }" ({ "{") (expression_statement "local_40 = strlen(pcVar3);" (assignment_expression "local_40 = strlen(pcVar3)" (identifier "local_40") (= "=") (call_expression "strlen(pcVar3)" (identifier "strlen") (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")")))) (; ";")) (} "}"))) (expression_statement "xfree(pcVar3);" (call_expression "xfree(pcVar3)" (identifier "xfree") (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")"))) (; ";")) (if_statement "if (local_2c == (int *)0x0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" (if "if") (parenthesized_expression "(local_2c == (int *)0x0)" (( "(") (binary_expression "local_2c == (int *)0x0" (identifier "local_2c") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    iVar5 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    goto LAB_000cf7a0;\n  }" ({ "{") (expression_statement "rl_ding();" (call_expression "rl_ding()" (identifier "rl_ding") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(pcVar4);\n    }" ({ "{") (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" (identifier "free") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" (identifier "DAT_00151e48") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (= "=") (binary_expression "rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (& "&") (number_literal "0xffffbfff"))) (; ";")) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" (identifier "rl_completion_found_quote") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" (identifier "rl_completion_quote_character") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cf7a0;" (goto "goto") (statement_identifier "LAB_000cf7a0") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_000cdd50();" (assignment_expression "iVar5 = FUN_000cdd50()" (identifier "iVar5") (= "=") (call_expression "FUN_000cdd50()" (identifier "FUN_000cdd50") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar7 = local_2c;" (assignment_expression "piVar7 = local_2c" (identifier "piVar7") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (iVar5 == 0) {\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    rl_ding();\n    if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }\n    DAT_00151e48 = 0;\n    rl_readline_state = rl_readline_state & 0xffffbfff;\n    rl_completion_found_quote = 0;\n    rl_completion_quote_character = 0;\n    iVar5 = 0;\n    goto LAB_000cf7a0;\n  }" ({ "{") (expression_statement "rl_ding();" (call_expression "rl_ding()" (identifier "rl_ding") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) {\n      free(pcVar4);\n    }" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(pcVar4);\n    }" ({ "{") (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" (identifier "free") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_00151e48 = 0;" (assignment_expression "DAT_00151e48 = 0" (identifier "DAT_00151e48") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (= "=") (binary_expression "rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (& "&") (number_literal "0xffffbfff"))) (; ";")) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" (identifier "rl_completion_found_quote") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" (identifier "rl_completion_quote_character") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cf7a0;" (goto "goto") (statement_identifier "LAB_000cf7a0") (; ";")) (} "}"))) (if_statement "if (param_1 == 0x2a) {\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }\n  else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0x2a)" (( "(") (binary_expression "param_1 == 0x2a" (identifier "param_1") (== "==") (number_literal "0x2a")) () ")")) (compound_statement "{\n    rl_begin_undo_group();\n    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }\n    rl_delete_text(local_58,rl_point);\n    rl_point = local_58;\n    if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }\n    rl_end_undo_group();\nLAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }\n  }" ({ "{") (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" (identifier "rl_begin_undo_group") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {\n      local_58 = local_58 + -1;\n    }" (if "if") (parenthesized_expression "(((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1]))" (( "(") (binary_expression "((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])" (parenthesized_expression "((local_2d != '\0') && (local_58 != 0))" (( "(") (binary_expression "(local_2d != '\0') && (local_58 != 0)" (parenthesized_expression "(local_2d != '\0')" (( "(") (binary_expression "local_2d != '\0'" (identifier "local_2d") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(local_58 != 0)" (( "(") (binary_expression "local_58 != 0" (identifier "local_58") (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(local_2d == rl_line_buffer[local_58 + -1])" (( "(") (binary_expression "local_2d == rl_line_buffer[local_58 + -1]" (identifier "local_2d") (== "==") (subscript_expression "rl_line_buffer[local_58 + -1]" (identifier "rl_line_buffer") ([ "[") (binary_expression "local_58 + -1" (identifier "local_58") (+ "+") (number_literal "-1")) (] "]"))) () ")"))) () ")")) (compound_statement "{\n      local_58 = local_58 + -1;\n    }" ({ "{") (expression_statement "local_58 = local_58 + -1;" (assignment_expression "local_58 = local_58 + -1" (identifier "local_58") (= "=") (binary_expression "local_58 + -1" (identifier "local_58") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "rl_delete_text(local_58,rl_point);" (call_expression "rl_delete_text(local_58,rl_point)" (identifier "rl_delete_text") (argument_list "(local_58,rl_point)" (( "(") (identifier "local_58") (, ",") (identifier "rl_point") () ")"))) (; ";")) (expression_statement "rl_point = local_58;" (assignment_expression "rl_point = local_58" (identifier "rl_point") (= "=") (identifier "local_58")) (; ";")) (if_statement "if (piVar7[1] == 0) {\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }\n    else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" (if "if") (parenthesized_expression "(piVar7[1] == 0)" (( "(") (binary_expression "piVar7[1] == 0" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = FUN_000ce0a0();\n      rl_insert_text(iVar5);\n      rl_insert_text(&DAT_000f08bf);\n      if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }\n    }" ({ "{") (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" (identifier "iVar5") (= "=") (call_expression "FUN_000ce0a0()" (identifier "FUN_000ce0a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" (identifier "rl_insert_text") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" (identifier "rl_insert_text") (argument_list "(&DAT_000f08bf)" (( "(") (pointer_expression "&DAT_000f08bf" (& "&") (identifier "DAT_000f08bf")) () ")"))) (; ";")) (if_statement "if (iVar5 != *piVar7) {\n        xfree(iVar5);\n      }" (if "if") (parenthesized_expression "(iVar5 != *piVar7)" (( "(") (binary_expression "iVar5 != *piVar7" (identifier "iVar5") (!= "!=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) () ")")) (compound_statement "{\n        xfree(iVar5);\n      }" ({ "{") (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" (identifier "xfree") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" (else "else") (compound_statement "{\n      piVar7 = piVar7 + 1;\n      do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);\n    }" ({ "{") (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      } while (*piVar7 != 0);" (do "do") (compound_statement "{\n        iVar5 = FUN_000ce0a0();\n        rl_insert_text(iVar5);\n        rl_insert_text(&DAT_000f08bf);\n        if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }\n        piVar7 = piVar7 + 1;\n      }" ({ "{") (expression_statement "iVar5 = FUN_000ce0a0();" (assignment_expression "iVar5 = FUN_000ce0a0()" (identifier "iVar5") (= "=") (call_expression "FUN_000ce0a0()" (identifier "FUN_000ce0a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "rl_insert_text(iVar5);" (call_expression "rl_insert_text(iVar5)" (identifier "rl_insert_text") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "rl_insert_text(&DAT_000f08bf);" (call_expression "rl_insert_text(&DAT_000f08bf)" (identifier "rl_insert_text") (argument_list "(&DAT_000f08bf)" (( "(") (pointer_expression "&DAT_000f08bf" (& "&") (identifier "DAT_000f08bf")) () ")"))) (; ";")) (if_statement "if (iVar5 != *piVar7) {\n          xfree(iVar5);\n        }" (if "if") (parenthesized_expression "(iVar5 != *piVar7)" (( "(") (binary_expression "iVar5 != *piVar7" (identifier "iVar5") (!= "!=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) () ")")) (compound_statement "{\n          xfree(iVar5);\n        }" ({ "{") (expression_statement "xfree(iVar5);" (call_expression "xfree(iVar5)" (identifier "xfree") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar7 != 0)" (( "(") (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" (identifier "rl_end_undo_group") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000cf6bf:\n    if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" (statement_identifier "LAB_000cf6bf") (: ":") (if_statement "if (local_2c != (int *)0x0) {\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" (if "if") (parenthesized_expression "(local_2c != (int *)0x0)" (( "(") (binary_expression "local_2c != (int *)0x0" (identifier "local_2c") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000cf6c3:\n      FUN_000ce3a0();\n    }" ({ "{") (labeled_statement "LAB_000cf6c3:\n      FUN_000ce3a0();" (statement_identifier "LAB_000cf6c3") (: ":") (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" (identifier "FUN_000ce3a0") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" (else "else") (compound_statement "{\n    if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }\n    if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }\n    if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }\n    FUN_000cf060();\n    if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }\n    local_2c = (int *)0x0;\n    DAT_00151e44 = 0;\n    if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }\n    _rl_sigcleanup = (code *)0x0;\n    _rl_sigcleanarg = (int *)0x0;\n  }" ({ "{") (if_statement "if (param_1 < 0x2b) {\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" (if "if") (parenthesized_expression "(param_1 < 0x2b)" (( "(") (binary_expression "param_1 < 0x2b" (identifier "param_1") (< "<") (number_literal "0x2b")) () ")")) (compound_statement "{\n      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;\nLAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;\n      iVar5 = local_2c[1];\n      if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }\n      goto LAB_000cf6c3;\n    }" ({ "{") (if_statement "if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;" (if "if") (parenthesized_expression "((param_1 != 9) && (param_1 != 0x21))" (( "(") (binary_expression "(param_1 != 9) && (param_1 != 0x21)" (parenthesized_expression "(param_1 != 9)" (( "(") (binary_expression "param_1 != 9" (identifier "param_1") (!= "!=") (number_literal "9")) () ")")) (&& "&&") (parenthesized_expression "(param_1 != 0x21)" (( "(") (binary_expression "param_1 != 0x21" (identifier "param_1") (!= "!=") (number_literal "0x21")) () ")"))) () ")")) (goto_statement "goto LAB_000cf741;" (goto "goto") (statement_identifier "LAB_000cf741") (; ";"))) (labeled_statement "LAB_000cf7ce:\n      cVar1 = *(char *)*local_2c;" (statement_identifier "LAB_000cf7ce") (: ":") (expression_statement "cVar1 = *(char *)*local_2c;" (assignment_expression "cVar1 = *(char *)*local_2c" (identifier "cVar1") (= "=") (pointer_expression "*(char *)*local_2c" (* "*") (cast_expression "(char *)*local_2c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_2c" (* "*") (identifier "local_2c"))))) (; ";"))) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" (identifier "iVar5") (= "=") (subscript_expression "local_2c[1]" (identifier "local_2c") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_1 == 9) {\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }\n      else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" (if "if") (parenthesized_expression "(param_1 == 9)" (( "(") (binary_expression "param_1 == 9" (identifier "param_1") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n        if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }\n        if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }\nLAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }\n      }" ({ "{") (if_statement "if (cVar1 != '\0') {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n        }" ({ "{") (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" (identifier "FUN_000ce160") (argument_list "(&local_2d)" (( "(") (pointer_expression "&local_2d" (& "&") (identifier "local_2d")) () ")"))) (; ";")) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" (identifier "iVar5") (= "=") (subscript_expression "local_2c[1]" (identifier "local_2c") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (if_statement "if (iVar5 == 0) {\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000cfa70:\n          FUN_000cc090(bVar8);\n          goto LAB_000cf6bf;\n        }" ({ "{") (labeled_statement "LAB_000cfa70:\n          FUN_000cc090(bVar8);" (statement_identifier "LAB_000cfa70") (: ":") (expression_statement "FUN_000cc090(bVar8);" (call_expression "FUN_000cc090(bVar8)" (identifier "FUN_000cc090") (argument_list "(bVar8)" (( "(") (identifier "bVar8") () ")"))) (; ";"))) (goto_statement "goto LAB_000cf6bf;" (goto "goto") (statement_identifier "LAB_000cf6bf") (; ";")) (} "}"))) (labeled_statement "LAB_000cfa21:\n        if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" (statement_identifier "LAB_000cfa21") (: ":") (if_statement "if (rl_editing_mode != 0) {\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" (if "if") (parenthesized_expression "(rl_editing_mode != 0)" (( "(") (binary_expression "rl_editing_mode != 0" (identifier "rl_editing_mode") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          rl_ding();\n          goto LAB_000cf6bf;\n        }" ({ "{") (expression_statement "rl_ding();" (call_expression "rl_ding()" (identifier "rl_ding") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_000cf6bf;" (goto "goto") (statement_identifier "LAB_000cf6bf") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" (else "else") (compound_statement "{\n        if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }\n        if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }\n        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;\n        if (bVar8 == false) goto LAB_000cf850;\n      }" ({ "{") (if_statement "if (cVar1 == '\0') {\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }\n        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;\n        }" ({ "{") (labeled_statement "LAB_000cf82c:\n          if (iVar5 == 0) goto LAB_000cfa70;" (statement_identifier "LAB_000cf82c") (: ":") (if_statement "if (iVar5 == 0) goto LAB_000cfa70;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000cfa70;" (goto "goto") (statement_identifier "LAB_000cfa70") (; ";")))) (} "}")) (else_clause "else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" (else "else") (if_statement "if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" (if "if") (parenthesized_expression "((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2))" (( "(") (binary_expression "(iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)" (( "(") (comma_expression "sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2" (assignment_expression "sVar2 = strlen((char *)*local_2c)" (identifier "sVar2") (= "=") (call_expression "strlen((char *)*local_2c)" (identifier "strlen") (argument_list "((char *)*local_2c)" (( "(") (cast_expression "(char *)*local_2c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_2c" (* "*") (identifier "local_2c"))) () ")")))) (, ",") (binary_expression "(int)local_40 <= (int)sVar2" (cast_expression "(int)local_40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_40")) (<= "<=") (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2")))) () ")"))) () ")")) (compound_statement "{\n          FUN_000ce160(&local_2d);\n          iVar5 = local_2c[1];\n          goto LAB_000cf82c;\n        }" ({ "{") (expression_statement "FUN_000ce160(&local_2d);" (call_expression "FUN_000ce160(&local_2d)" (identifier "FUN_000ce160") (argument_list "(&local_2d)" (( "(") (pointer_expression "&local_2d" (& "&") (identifier "local_2d")) () ")"))) (; ";")) (expression_statement "iVar5 = local_2c[1];" (assignment_expression "iVar5 = local_2c[1]" (identifier "iVar5") (= "=") (subscript_expression "local_2c[1]" (identifier "local_2c") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto LAB_000cf82c;" (goto "goto") (statement_identifier "LAB_000cf82c") (; ";")) (} "}"))))) (if_statement "if (param_1 == 0x21) {\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" (if "if") (parenthesized_expression "(param_1 == 0x21)" (( "(") (binary_expression "param_1 == 0x21" (identifier "param_1") (== "==") (number_literal "0x21")) () ")")) (compound_statement "{\nLAB_000cf850:\n          FUN_000cf060();\n          goto LAB_000cf6bf;\n        }" ({ "{") (labeled_statement "LAB_000cf850:\n          FUN_000cf060();" (statement_identifier "LAB_000cf850") (: ":") (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" (identifier "FUN_000cf060") (argument_list "()" (( "(") () ")"))) (; ";"))) (goto_statement "goto LAB_000cf6bf;" (goto "goto") (statement_identifier "LAB_000cf6bf") (; ";")) (} "}"))) (if_statement "if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;" (if "if") (parenthesized_expression "(param_1 != 0x21 && param_1 != 0x40)" (( "(") (binary_expression "param_1 != 0x21 && param_1 != 0x40" (binary_expression "param_1 != 0x21" (identifier "param_1") (!= "!=") (number_literal "0x21")) (&& "&&") (binary_expression "param_1 != 0x40" (identifier "param_1") (!= "!=") (number_literal "0x40"))) () ")")) (goto_statement "goto LAB_000cfa21;" (goto "goto") (statement_identifier "LAB_000cfa21") (; ";"))) (if_statement "if (bVar8 == false) goto LAB_000cf850;" (if "if") (parenthesized_expression "(bVar8 == false)" (( "(") (binary_expression "bVar8 == false" (identifier "bVar8") (== "==") (false "false")) () ")")) (goto_statement "goto LAB_000cf850;" (goto "goto") (statement_identifier "LAB_000cf850") (; ";"))) (} "}")))) (goto_statement "goto LAB_000cf6c3;" (goto "goto") (statement_identifier "LAB_000cf6c3") (; ";")) (} "}"))) (if_statement "if (param_1 != 0x3f) {\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" (if "if") (parenthesized_expression "(param_1 != 0x3f)" (( "(") (binary_expression "param_1 != 0x3f" (identifier "param_1") (!= "!=") (number_literal "0x3f")) () ")")) (compound_statement "{\n      if (param_1 == 0x40) goto LAB_000cf7ce;\nLAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);\n      rl_ding();\n      if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }\n      rl_readline_state = rl_readline_state & 0xffffbfff;\n      if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }\n      iVar5 = 1;\n      rl_completion_found_quote = 0;\n      rl_completion_quote_character = 0;\n      goto LAB_000cf7a0;\n    }" ({ "{") (if_statement "if (param_1 == 0x40) goto LAB_000cf7ce;" (if "if") (parenthesized_expression "(param_1 == 0x40)" (( "(") (binary_expression "param_1 == 0x40" (identifier "param_1") (== "==") (number_literal "0x40")) () ")")) (goto_statement "goto LAB_000cf7ce;" (goto "goto") (statement_identifier "LAB_000cf7ce") (; ";"))) (labeled_statement "LAB_000cf741:\n      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" (statement_identifier "LAB_000cf741") (: ":") (expression_statement "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);" (call_expression "_rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1)" (identifier "_rl_ttymsg") (argument_list "("bad value %d for what_to_do in rl_complete",param_1)" (( "(") (string_literal ""bad value %d for what_to_do in rl_complete"" (" """) (string_content "bad value %d for what_to_do in rl_complete") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";"))) (expression_statement "rl_ding();" (call_expression "rl_ding()" (identifier "rl_ding") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) {\n        free(pcVar4);\n      }" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        free(pcVar4);\n      }" ({ "{") (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" (identifier "free") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (= "=") (binary_expression "rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (& "&") (number_literal "0xffffbfff"))) (; ";")) (if_statement "if (local_2c != (int *)0x0) {\n        FUN_000ce3a0();\n      }" (if "if") (parenthesized_expression "(local_2c != (int *)0x0)" (( "(") (binary_expression "local_2c != (int *)0x0" (identifier "local_2c") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        FUN_000ce3a0();\n      }" ({ "{") (expression_statement "FUN_000ce3a0();" (call_expression "FUN_000ce3a0()" (identifier "FUN_000ce3a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" (identifier "rl_completion_found_quote") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" (identifier "rl_completion_quote_character") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cf7a0;" (goto "goto") (statement_identifier "LAB_000cf7a0") (; ";")) (} "}"))) (if_statement "if (rl_completion_display_matches_hook == 0) {\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" (if "if") (parenthesized_expression "(rl_completion_display_matches_hook == 0)" (( "(") (binary_expression "rl_completion_display_matches_hook == 0" (identifier "rl_completion_display_matches_hook") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00151e44 = 0;\n      _rl_sigcleanup = FUN_000ce3f0;\n      _rl_sigcleanarg = local_2c;\n    }" ({ "{") (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" (identifier "DAT_00151e44") (= "=") (number_literal "0")) (; ";")) (expression_statement "_rl_sigcleanup = FUN_000ce3f0;" (assignment_expression "_rl_sigcleanup = FUN_000ce3f0" (identifier "_rl_sigcleanup") (= "=") (identifier "FUN_000ce3f0")) (; ";")) (expression_statement "_rl_sigcleanarg = local_2c;" (assignment_expression "_rl_sigcleanarg = local_2c" (identifier "_rl_sigcleanarg") (= "=") (identifier "local_2c")) (; ";")) (} "}"))) (expression_statement "FUN_000cf060();" (call_expression "FUN_000cf060()" (identifier "FUN_000cf060") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_00151e44 == 0) {\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" (if "if") (parenthesized_expression "(DAT_00151e44 == 0)" (( "(") (binary_expression "DAT_00151e44 == 0" (identifier "DAT_00151e44") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;\n      _rl_sigcleanarg = (int *)0x0;\n      goto LAB_000cf6bf;\n    }" ({ "{") (labeled_statement "LAB_000cf6af:\n      _rl_sigcleanup = (code *)0x0;" (statement_identifier "LAB_000cf6af") (: ":") (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" (identifier "_rl_sigcleanup") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" (identifier "_rl_sigcleanarg") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000cf6bf;" (goto "goto") (statement_identifier "LAB_000cf6bf") (; ";")) (} "}"))) (expression_statement "local_2c = (int *)0x0;" (assignment_expression "local_2c = (int *)0x0" (identifier "local_2c") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "DAT_00151e44 = 0;" (assignment_expression "DAT_00151e44 = 0" (identifier "DAT_00151e44") (= "=") (number_literal "0")) (; ";")) (if_statement "if (rl_signal_event_hook != (code *)0x0) {\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" (if "if") (parenthesized_expression "(rl_signal_event_hook != (code *)0x0)" (( "(") (binary_expression "rl_signal_event_hook != (code *)0x0" (identifier "rl_signal_event_hook") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*rl_signal_event_hook)();\n      goto LAB_000cf6af;\n    }" ({ "{") (expression_statement "(*rl_signal_event_hook)();" (call_expression "(*rl_signal_event_hook)()" (parenthesized_expression "(*rl_signal_event_hook)" (( "(") (pointer_expression "*rl_signal_event_hook" (* "*") (identifier "rl_signal_event_hook")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_000cf6af;" (goto "goto") (statement_identifier "LAB_000cf6af") (; ";")) (} "}"))) (expression_statement "_rl_sigcleanup = (code *)0x0;" (assignment_expression "_rl_sigcleanup = (code *)0x0" (identifier "_rl_sigcleanup") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "_rl_sigcleanarg = (int *)0x0;" (assignment_expression "_rl_sigcleanarg = (int *)0x0" (identifier "_rl_sigcleanarg") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (if_statement "if (pcVar4 != (char *)0x0) {\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar5 = strcmp(rl_line_buffer,pcVar4);\n    DAT_00151e48 = (uint)(iVar5 != 0);\n    xfree(pcVar4);\n  }" ({ "{") (expression_statement "iVar5 = strcmp(rl_line_buffer,pcVar4);" (assignment_expression "iVar5 = strcmp(rl_line_buffer,pcVar4)" (identifier "iVar5") (= "=") (call_expression "strcmp(rl_line_buffer,pcVar4)" (identifier "strcmp") (argument_list "(rl_line_buffer,pcVar4)" (( "(") (identifier "rl_line_buffer") (, ",") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "DAT_00151e48 = (uint)(iVar5 != 0);" (assignment_expression "DAT_00151e48 = (uint)(iVar5 != 0)" (identifier "DAT_00151e48") (= "=") (call_expression "(uint)(iVar5 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "xfree(pcVar4);" (call_expression "xfree(pcVar4)" (identifier "xfree") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "rl_readline_state = rl_readline_state & 0xffffbfff;" (assignment_expression "rl_readline_state = rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (= "=") (binary_expression "rl_readline_state & 0xffffbfff" (identifier "rl_readline_state") (& "&") (number_literal "0xffffbfff"))) (; ";")) (expression_statement "rl_completion_found_quote = 0;" (assignment_expression "rl_completion_found_quote = 0" (identifier "rl_completion_found_quote") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_completion_quote_character = 0;" (assignment_expression "rl_completion_quote_character = 0" (identifier "rl_completion_quote_character") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = _rl_caught_signal;" (assignment_expression "iVar5 = _rl_caught_signal" (identifier "iVar5") (= "=") (identifier "_rl_caught_signal")) (; ";")) (if_statement "if (_rl_caught_signal != 0) {\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" (if "if") (parenthesized_expression "(_rl_caught_signal != 0)" (( "(") (binary_expression "_rl_caught_signal != 0" (identifier "_rl_caught_signal") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = 0;\n    _rl_signal_handler(_rl_caught_signal);\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "_rl_signal_handler(_rl_caught_signal);" (call_expression "_rl_signal_handler(_rl_caught_signal)" (identifier "_rl_signal_handler") (argument_list "(_rl_caught_signal)" (( "(") (identifier "_rl_caught_signal") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_000cf7a0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" (statement_identifier "LAB_000cf7a0") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\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_000ecc40();\n  }" ({ "{") (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" (identifier "FUN_000ecc40") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))

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

int function_1(int var_16)

{
  size_t var_6;
  char *var_26;
  char *var_19;
  int var_15;
  char **var_29;
  char *var_33;
  type_1 *our_func;
  int var_1;
  int var_24;
  type_2 var_37;
  size_t local_40;
  char var_23;
  char **var_13;
  int delimiter;
  int found_quote;
  int var_44;
  type_3 uStack_14;
  
  var_19 = var_3;
  uStack_14 = 0xcf499;
  var_44 = *(int *)(var_1 + 0x14);
  rl_filename_completion_desired = 0;
  rl_filename_quoting_desired = 1;
  var_2 = var_2 | 0x4000;
  rl_completion_type = var_16;
  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;
  rl_completion_suppress_quote = 0;
  rl_completion_suppress_append = 0;
  rl_completion_append_character = 0x20;
  var_40 = 0;
  if (var_3 != (char *)0x0) {
    var_6 = var_4(var_3);
    var_26 = (char *)var_5(var_6 + 1);
    var_19 = var_7(var_26,var_19);
  }
  var_15 = var_9;
  delimiter = 0;
  found_quote = 0;
  var_23 = '\0';
  our_func = var_8;
  if (var_8 == (type_1 *)0x0) {
    our_func = rl_filename_completion_function;
  }
  var_24 = 0;
  if (var_9 != 0) {
    var_23 = var_10(&found_quote,&delimiter);
    var_24 = var_9;
  }
  var_9 = var_15;
  var_26 = var_11(var_24,var_15);
  var_13 = var_12(var_26,var_24,var_15,our_func,found_quote,(int)var_23);
  var_37 = 0;
  if (var_13 != (char **)0x0) {
    var_15 = var_14(var_26,*var_13);
    var_37 = (type_2)(var_15 != 0);
  }
  if (var_16 == 0x21 || var_16 == 0x40) {
    local_40 = var_4(var_26);
  }
  var_17(var_26);
  if (var_13 == (char **)0x0) {
    var_18();
    if (var_19 != (char *)0x0) {
      var_20(var_19);
    }
    completion_changed_buffer = 0;
    var_15 = 0;
    var_2 = var_2 & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    goto LAB_000cf7a0;
  }
  var_15 = var_21(&var_13,rl_filename_completion_desired);
  var_29 = var_13;
  if (var_15 == 0) {
    var_18();
    if (var_19 != (char *)0x0) {
      var_20(var_19);
    }
    completion_changed_buffer = 0;
    var_2 = var_2 & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    var_15 = 0;
    goto LAB_000cf7a0;
  }
  if (var_16 == 0x2a) {
    var_22();
    if (((var_23 != '\0') && (var_24 != 0)) && (var_23 == var_3[var_24 + -1]))
    {
      var_24 = var_24 + -1;
    }
    var_25(var_24,var_9);
    var_26 = var_29[1];
    var_9 = var_24;
    if (var_26 == (char *)0x0) {
      var_26 = var_27(*var_29,1,&var_23);
      var_28(var_26);
      var_28(" ");
      if (var_26 != *var_29) {
        var_17(var_26);
      }
    }
    else {
      var_29 = var_29 + 1;
      do {
        var_26 = var_27(var_26,1,&var_23);
        var_28(var_26);
        var_28(" ");
        if (var_26 != *var_29) {
          var_17(var_26);
        }
        var_29 = var_29 + 1;
        var_26 = *var_29;
      } while (var_26 != (char *)0x0);
    }
    var_30();
LAB_000cf6bf:
    var_29 = var_13;
    if (var_13 != (char **)0x0) {
LAB_000cf6c3:
      var_31(var_29);
    }
  }
  else {
    if (var_16 < 0x2b) {
      if ((var_16 != 9) && (var_16 != 0x21)) goto LAB_000cf741;
LAB_000cf7ce:
      var_26 = *var_13;
      var_33 = var_13[1];
      if (var_16 == 9) {
        if (*var_26 != '\0') {
          var_32(var_26,var_24,(var_33 != (char *)0x0) + 1,&var_23);
          var_33 = var_13[1];
        }
        var_29 = var_13;
        if (var_33 == (char *)0x0) {
LAB_000cfa70:
          var_34(*var_13,delimiter,(int)var_23,var_37);
          goto LAB_000cf6bf;
        }
LAB_000cfa21:
        if (var_35 != 0) {
          var_18();
          goto LAB_000cf6bf;
        }
      }
      else {
        if (*var_26 == '\0') {
LAB_000cf82c:
          var_29 = var_13;
          if (var_33 == (char *)0x0) goto LAB_000cfa70;
        }
        else {
          if (var_33 == (char *)0x0) {
            var_15 = 1;
LAB_000cf815:
            var_32(var_26,var_24,var_15,&var_23);
            var_33 = var_13[1];
            goto LAB_000cf82c;
          }
          var_6 = var_4(var_26);
          if ((int)local_40 <= (int)var_6) {
            var_15 = 2;
            goto LAB_000cf815;
          }
        }
        if (var_16 == 0x21) {
LAB_000cf850:
          var_36(var_29);
          goto LAB_000cf6bf;
        }
        if (var_16 != 0x21 && var_16 != 0x40) goto LAB_000cfa21;
        if (var_37 == 0) goto LAB_000cf850;
      }
      goto LAB_000cf6c3;
    }
    if (var_16 != 0x3f) {
      if (var_16 == 0x40) goto LAB_000cf7ce;
LAB_000cf741:
      var_38("bad value %d for what_to_do in rl_complete",var_16);
      var_18();
      if (var_19 != (char *)0x0) {
        var_20(var_19);
      }
      var_2 = var_2 & 0xffffbfff;
      if (var_13 != (char **)0x0) {
        var_31(var_13);
      }
      var_15 = 1;
      rl_completion_found_quote = 0;
      rl_completion_quote_character = 0;
      goto LAB_000cf7a0;
    }
    if (var_39 == (type_4 *)0x0) {
      var_40 = 0;
      _rl_sigcleanup = _rl_complete_sigcleanup;
      _rl_sigcleanarg = var_13;
    }
    var_36(var_13);
    if (var_40 == 0) {
LAB_000cf6af:
      _rl_sigcleanup = (type_5 *)0x0;
      _rl_sigcleanarg = (void *)0x0;
      goto LAB_000cf6bf;
    }
    var_13 = (char **)0x0;
    var_40 = 0;
    if (var_41 != (type_6 *)0x0) {
      (*var_41)();
      goto LAB_000cf6af;
    }
    _rl_sigcleanup = (type_5 *)0x0;
    _rl_sigcleanarg = (void *)0x0;
  }
  if (var_19 != (char *)0x0) {
    var_15 = var_14(var_3,var_19);
    completion_changed_buffer = (int)(var_15 != 0);
    var_17(var_19);
  }
  var_2 = var_2 & 0xffffbfff;
  rl_completion_found_quote = 0;
  rl_completion_quote_character = 0;
  var_15 = var_42;
  if (var_42 != 0) {
    var_15 = 0;
    var_43(var_42);
  }
LAB_000cf7a0:
  if (var_44 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_45();
  }
  return var_15;
}


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

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

int MASKED(int param_1)

{
  char cVar1;
  size_t sVar2;
  char *pcVar3;
  char *pcVar4;
  int iVar5;
  code *pcVar6;
  int *piVar7;
  int in_GS_OFFSET;
  bool bVar8;
  int local_58;
  size_t local_40;
  char local_2d;
  int *local_2c;
  undefined4 local_28;
  undefined4 local_24;
  int local_20;
  undefined4 uStack_14;
  
  pcVar4 = rl_line_buffer;
  uStack_14 = 0xcf499;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  rl_filename_completion_desired = 0;
  rl_filename_quoting_desired = 1;
  rl_readline_state = rl_readline_state | 0x4000;
  rl_completion_type = param_1;
  rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs;
  rl_completion_suppress_quote = 0;
  rl_completion_suppress_append = 0;
  rl_completion_append_character = 0x20;
  DAT_00151e44 = 0;
  if (rl_line_buffer != (char *)0x0) {
    sVar2 = strlen(rl_line_buffer);
    pcVar3 = (char *)xmalloc(sVar2 + 1);
    pcVar4 = strcpy(pcVar3,pcVar4);
  }
  iVar5 = rl_point;
  local_28 = 0;
  local_24 = 0;
  local_2d = '\0';
  pcVar6 = rl_completion_entry_function;
  if (rl_completion_entry_function == (code *)0x0) {
    pcVar6 = rl_filename_completion_function;
  }
  local_58 = 0;
  if (rl_point != 0) {
    local_2d = _rl_find_completion_word(&local_24,&local_28);
    local_58 = rl_point;
  }
  rl_point = iVar5;
  pcVar3 = (char *)rl_copy_text(local_58,iVar5);
  local_2c = (int *)FUN_000cf390(pcVar6,local_24,(int)local_2d);
  bVar8 = false;
  if (local_2c != (int *)0x0) {
    iVar5 = strcmp(pcVar3,(char *)*local_2c);
    bVar8 = iVar5 != 0;
  }
  if (param_1 == 0x21 || param_1 == 0x40) {
    local_40 = strlen(pcVar3);
  }
  xfree(pcVar3);
  if (local_2c == (int *)0x0) {
    rl_ding();
    if (pcVar4 != (char *)0x0) {
      free(pcVar4);
    }
    DAT_00151e48 = 0;
    iVar5 = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    goto LAB_000cf7a0;
  }
  iVar5 = FUN_000cdd50();
  piVar7 = local_2c;
  if (iVar5 == 0) {
    rl_ding();
    if (pcVar4 != (char *)0x0) {
      free(pcVar4);
    }
    DAT_00151e48 = 0;
    rl_readline_state = rl_readline_state & 0xffffbfff;
    rl_completion_found_quote = 0;
    rl_completion_quote_character = 0;
    iVar5 = 0;
    goto LAB_000cf7a0;
  }
  if (param_1 == 0x2a) {
    rl_begin_undo_group();
    if (((local_2d != '\0') && (local_58 != 0)) && (local_2d == rl_line_buffer[local_58 + -1])) {
      local_58 = local_58 + -1;
    }
    rl_delete_text(local_58,rl_point);
    rl_point = local_58;
    if (piVar7[1] == 0) {
      iVar5 = FUN_000ce0a0();
      rl_insert_text(iVar5);
      rl_insert_text(&DAT_000f08bf);
      if (iVar5 != *piVar7) {
        xfree(iVar5);
      }
    }
    else {
      piVar7 = piVar7 + 1;
      do {
        iVar5 = FUN_000ce0a0();
        rl_insert_text(iVar5);
        rl_insert_text(&DAT_000f08bf);
        if (iVar5 != *piVar7) {
          xfree(iVar5);
        }
        piVar7 = piVar7 + 1;
      } while (*piVar7 != 0);
    }
    rl_end_undo_group();
LAB_000cf6bf:
    if (local_2c != (int *)0x0) {
LAB_000cf6c3:
      FUN_000ce3a0();
    }
  }
  else {
    if (param_1 < 0x2b) {
      if ((param_1 != 9) && (param_1 != 0x21)) goto LAB_000cf741;
LAB_000cf7ce:
      cVar1 = *(char *)*local_2c;
      iVar5 = local_2c[1];
      if (param_1 == 9) {
        if (cVar1 != '\0') {
          FUN_000ce160(&local_2d);
          iVar5 = local_2c[1];
        }
        if (iVar5 == 0) {
LAB_000cfa70:
          FUN_000cc090(bVar8);
          goto LAB_000cf6bf;
        }
LAB_000cfa21:
        if (rl_editing_mode != 0) {
          rl_ding();
          goto LAB_000cf6bf;
        }
      }
      else {
        if (cVar1 == '\0') {
LAB_000cf82c:
          if (iVar5 == 0) goto LAB_000cfa70;
        }
        else if ((iVar5 == 0) || (sVar2 = strlen((char *)*local_2c), (int)local_40 <= (int)sVar2)) {
          FUN_000ce160(&local_2d);
          iVar5 = local_2c[1];
          goto LAB_000cf82c;
        }
        if (param_1 == 0x21) {
LAB_000cf850:
          FUN_000cf060();
          goto LAB_000cf6bf;
        }
        if (param_1 != 0x21 && param_1 != 0x40) goto LAB_000cfa21;
        if (bVar8 == false) goto LAB_000cf850;
      }
      goto LAB_000cf6c3;
    }
    if (param_1 != 0x3f) {
      if (param_1 == 0x40) goto LAB_000cf7ce;
LAB_000cf741:
      _rl_ttymsg("bad value %d for what_to_do in rl_complete",param_1);
      rl_ding();
      if (pcVar4 != (char *)0x0) {
        free(pcVar4);
      }
      rl_readline_state = rl_readline_state & 0xffffbfff;
      if (local_2c != (int *)0x0) {
        FUN_000ce3a0();
      }
      iVar5 = 1;
      rl_completion_found_quote = 0;
      rl_completion_quote_character = 0;
      goto LAB_000cf7a0;
    }
    if (rl_completion_display_matches_hook == 0) {
      DAT_00151e44 = 0;
      _rl_sigcleanup = FUN_000ce3f0;
      _rl_sigcleanarg = local_2c;
    }
    FUN_000cf060();
    if (DAT_00151e44 == 0) {
LAB_000cf6af:
      _rl_sigcleanup = (code *)0x0;
      _rl_sigcleanarg = (int *)0x0;
      goto LAB_000cf6bf;
    }
    local_2c = (int *)0x0;
    DAT_00151e44 = 0;
    if (rl_signal_event_hook != (code *)0x0) {
      (*rl_signal_event_hook)();
      goto LAB_000cf6af;
    }
    _rl_sigcleanup = (code *)0x0;
    _rl_sigcleanarg = (int *)0x0;
  }
  if (pcVar4 != (char *)0x0) {
    iVar5 = strcmp(rl_line_buffer,pcVar4);
    DAT_00151e48 = (uint)(iVar5 != 0);
    xfree(pcVar4);
  }
  rl_readline_state = rl_readline_state & 0xffffbfff;
  rl_completion_found_quote = 0;
  rl_completion_quote_character = 0;
  iVar5 = _rl_caught_signal;
  if (_rl_caught_signal != 0) {
    iVar5 = 0;
    _rl_signal_handler(_rl_caught_signal);
  }
LAB_000cf7a0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return iVar5;
}

