
void insert_match(char *match,int start,int mtype,char *qc)

{
  char cVar1;
  char cVar2;
  char *text;
  int iVar3;
  int iVar4;
  int iVar5;
  char *text_00;
  
  if (qc == (char *)0x0) {
    text = make_quoted_replacement(match,mtype,(char *)0x0);
    if (text == (char *)0x0) {
      return;
    }
    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;
  }
  else {
    cVar1 = *qc;
    text = make_quoted_replacement(match,mtype,qc);
    if (text == (char *)0x0) {
      return;
    }
    iVar3 = (*(code *)PTR_strlen_00158444)(text);
    cVar2 = *qc;
    if (cVar2 == '\0') {
      if (cVar1 == '\0') {
        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;
      }
      else {
LAB_000fa5a0:
        if (start != 0) {
LAB_000fa710:
          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&
             (*text != cVar1)) {
            start = start + -1;
          }
        }
LAB_000fa5ac:
        iVar4 = *(int *)PTR_rl_point_001575f0;
        iVar5 = iVar4 + -1;
        if (cVar2 != '\0') goto LAB_000fa5b8;
      }
    }
    else {
      if (start == 0) {
        if (cVar2 != cVar1) goto LAB_000fa5a0;
        iVar4 = *(int *)PTR_rl_point_001575f0;
        iVar5 = iVar4 + -1;
      }
      else {
        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||
           (*text != cVar2)) {
          if (cVar2 != cVar1) goto LAB_000fa710;
          goto LAB_000fa5ac;
        }
        start = start + -1;
        iVar4 = *(int *)PTR_rl_point_001575f0;
        iVar5 = iVar4 + -1;
      }
LAB_000fa5b8:
      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&
         (text[iVar3 + -1] == cVar2)) {
        iVar5 = iVar4;
      }
    }
  }
  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {
    _rl_replace_text(text,start,iVar5);
    goto LAB_000fa6b4;
  }
  iVar4 = *(int *)PTR_rl_end_001575ec;
  text_00 = text;
  iVar3 = start;
  if (start < iVar4) {
    if (*text == '\0') {
LAB_000fa7a4:
      if (iVar5 < start) goto LAB_000fa69c;
    }
    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {
      do {
        start = start + 1;
        text_00 = text_00 + 1;
        iVar3 = iVar4;
        if (start == iVar4) goto LAB_000fa758;
        if (*text_00 == '\0') goto LAB_000fa7a4;
      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);
    }
LAB_000fa680:
    _rl_replace_text(text_00,start,iVar5);
  }
  else {
LAB_000fa758:
    start = iVar3;
    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;
  }
LAB_000fa69c:
  iVar5 = (*(code *)PTR_strlen_00158444)(text_00);
  *(int *)PTR_rl_point_001575f0 = start + iVar5;
LAB_000fa6b4:
  if (match != text) {
    (*(code *)PTR_xfree_00156bb4)(text);
  }
  return;
}



void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)

{
  char cVar1;
  char cVar2;
  char *pcVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  char *pcVar7;
  
  if (param_4 == (char *)0x0) {
    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);
    if (pcVar3 == (char *)0x0) {
      return;
    }
    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;
  }
  else {
    cVar1 = *param_4;
    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);
    if (pcVar3 == (char *)0x0) {
      return;
    }
    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);
    cVar2 = *param_4;
    if (cVar2 == '\0') {
      if (cVar1 == '\0') {
        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;
      }
      else {
LAB_000fa5a0:
        if (param_2 != 0) {
LAB_000fa710:
          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&
             (*pcVar3 != cVar1)) {
            param_2 = param_2 + -1;
          }
        }
LAB_000fa5ac:
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
        if (cVar2 != '\0') goto LAB_000fa5b8;
      }
    }
    else {
      if (param_2 == 0) {
        if (cVar2 != cVar1) goto LAB_000fa5a0;
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
      }
      else {
        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||
           (*pcVar3 != cVar2)) {
          if (cVar2 != cVar1) goto LAB_000fa710;
          goto LAB_000fa5ac;
        }
        param_2 = param_2 + -1;
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
      }
LAB_000fa5b8:
      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&
         (pcVar3[iVar4 + -1] == cVar2)) {
        iVar6 = iVar5;
      }
    }
  }
  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {
    _rl_replace_text(pcVar3,param_2);
    goto LAB_000fa6b4;
  }
  iVar5 = *(int *)PTR_rl_end_001575ec;
  pcVar7 = pcVar3;
  iVar4 = param_2;
  if (param_2 < iVar5) {
    if (*pcVar3 == '\0') {
LAB_000fa7a4:
      if (iVar6 < param_2) goto LAB_000fa69c;
    }
    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {
      do {
        param_2 = param_2 + 1;
        pcVar7 = pcVar7 + 1;
        iVar4 = iVar5;
        if (param_2 == iVar5) goto LAB_000fa758;
        if (*pcVar7 == '\0') goto LAB_000fa7a4;
      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);
    }
LAB_000fa680:
    _rl_replace_text(pcVar7,param_2);
  }
  else {
LAB_000fa758:
    param_2 = iVar4;
    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;
  }
LAB_000fa69c:
  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);
  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;
LAB_000fa6b4:
  if (param_1 != pcVar3) {
    (*(code *)PTR_xfree_00156bb4)(pcVar3);
  }
  return;
}


lui gp,0x6
addiu gp,gp,0x402c
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s4,a0,zero
or s0,a1,zero
beq a3,zero,0x000fa5e4
_or a1,a2,zero
or s1,a3,zero
lb s2,0x0(a3)
or a2,a3,zero
lw t9,-0x6624(gp)
addiu t9,t9,-0x5be4
bal 0x000fa41c
_nop
lw gp,0x10(sp)
beq v0,zero,0x000fa6cc
_or s3,v0,zero
or a0,v0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x10(sp)
lb v1,0x0(s1)
bne v1,zero,0x000fa6ec
_nop
beq v1,s2,0x000fa7b8
_nop
bne s0,zero,0x000fa710
_lw a0,-0x6f58(gp)
lw a0,-0x6f50(gp)
lw a0,0x0(a0)
beq v1,zero,0x000fa610
_addiu a2,a0,-0x1
beq a2,zero,0x000fa610
_lw a1,-0x6f58(gp)
lw a1,0x0(a1)
addu a1,a1,a0
lb a1,0x0(a1)
bne a1,v1,0x000fa610
_addu v0,s3,v0
lb v0,-0x1(v0)
xor v1,v0,v1
b 0x000fa610
_movz a2,a0,v1
or a2,zero,zero
lw t9,-0x6624(gp)
addiu t9,t9,-0x5be4
bal 0x000fa41c
_nop
lw gp,0x10(sp)
beq v0,zero,0x000fa6cc
_or s3,v0,zero
lw v0,-0x6f50(gp)
lw a2,0x0(v0)
addiu a2,a2,-0x1
lw v0,-0x65c4(gp)
lw v0,0x0(v0)
beq v0,zero,0x000fa780
_lw v0,-0x6f54(gp)
lw s2,0x0(v0)
slt v0,s0,s2
beq v0,zero,0x000fa754
_or s1,s3,zero
lb v0,0x0(s3)
beq v0,zero,0x000fa7a4
_lw v1,-0x6f58(gp)
lw a0,0x0(v1)
addu v1,a0,s0
lb v1,0x0(v1)
bne v1,v0,0x000fa678
_nop
addiu s0,s0,0x1
beq s0,s2,0x000fa758
_addiu s1,s1,0x1
lb v0,0x0(s1)
beq v0,zero,0x000fa7a4
_addu v1,a0,s0
lb v1,0x0(v1)
beq v1,v0,0x000fa654
_addiu s0,s0,0x1
addiu s0,s0,-0x1
or s2,s0,zero
or a1,s2,zero
or a0,s1,zero
lw t9,-0x6710(gp)
bal 0x00116154
_nop
lw gp,0x10(sp)
or a0,s1,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x10(sp)
addu v0,s2,v0
lw v1,-0x6f50(gp)
sw v0,0x0(v1)
beq s4,s3,0x000fa6cc
_or a0,s3,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
beq s0,zero,0x000fa7c8
_lw a0,-0x6f58(gp)
lw a0,0x0(a0)
addu a0,a0,s0
lb a0,-0x1(a0)
beq a0,v1,0x000fa738
_nop
beq v1,s2,0x000fa5a8
_lw a0,-0x6f58(gp)
lw a0,0x0(a0)
addu a0,a0,s0
lb a0,-0x1(a0)
bne a0,s2,0x000fa5ac
_lw a0,-0x6f50(gp)
lb a0,0x0(s3)
beq a0,s2,0x000fa5ac
_lw a0,-0x6f50(gp)
b 0x000fa5ac
_addiu s0,s0,-0x1
lb a0,0x0(s3)
bne a0,v1,0x000fa708
_lw a0,-0x6f50(gp)
addiu s0,s0,-0x1
lw a0,0x0(a0)
b 0x000fa5b8
_addiu a2,a0,-0x1
or s2,s0,zero
slt v0,a2,s2
beq v0,zero,0x000fa680
_or a1,s2,zero
lb v0,0x0(s1)
bne v0,zero,0x000fa680
_or a0,s1,zero
b 0x000fa69c
_lw t9,-0x60fc(gp)
b 0x000fa67c
_or s2,s0,zero
or a1,s0,zero
or a0,s3,zero
lw t9,-0x6710(gp)
bal 0x00116154
_nop
lw gp,0x10(sp)
b 0x000fa6b4
_nop
slt v0,a2,s0
beq v0,zero,0x000fa778
_nop
b 0x000fa694
_or s2,s0,zero
lw v0,-0x6f50(gp)
lw a2,0x0(v0)
b 0x000fa610
_addiu a2,a2,-0x1
bne v1,s2,0x000fa5a0
_lw a0,-0x6f50(gp)
lw a0,0x0(a0)
b 0x000fa5b8
_addiu a2,a0,-0x1
(translation_unit "void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)\n\n{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)\n\n{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)" identifier (parameter_list "(char *param_1,int param_2,undefined4 param_3,char *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (if_statement "if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" if (parenthesized_expression "(param_4 == (char *)0x0)" ( (binary_expression "param_4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }" { (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0)" identifier = (cast_expression "(char *)FUN_000fa41c(param_1,param_3,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000fa41c(param_1,param_3,0)" identifier (argument_list "(param_1,param_3,0)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\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      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" else (compound_statement "{\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" { (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4)" identifier = (cast_expression "(char *)FUN_000fa41c(param_1,param_3,param_4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000fa41c(param_1,param_3,param_4)" identifier (argument_list "(param_1,param_3,param_4)" ( identifier , identifier , identifier ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\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      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "cVar2 = *param_4;" (assignment_expression "cVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }" { (if_statement "if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }" { (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" else (compound_statement "{\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" { (labeled_statement "LAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" statement_identifier : (if_statement "if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" { (labeled_statement "LAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" statement_identifier : (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) == identifier) )) && (parenthesized_expression "(*pcVar3 != cVar1)" ( (binary_expression "*pcVar3 != cVar1" (pointer_expression "*pcVar3" * identifier) != identifier) ))) )) (compound_statement "{\n            param_2 = param_2 + -1;\n          }" { (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) }))) }))) (labeled_statement "LAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;" statement_identifier : (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (cVar2 != '\0') goto LAB_000fa5b8;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa5b8;" goto statement_identifier ;)) }))) }) (else_clause "else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" { (if_statement "if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa5a0;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa5a0;" goto statement_identifier ;)) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" else (compound_statement "{\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" { (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) != identifier) )) || (parenthesized_expression "(*pcVar3 != cVar2)" ( (binary_expression "*pcVar3 != cVar2" (pointer_expression "*pcVar3" * identifier) != identifier) ))) )) (compound_statement "{\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa710;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa710;" goto statement_identifier ;)) (goto_statement "goto LAB_000fa5ac;" goto statement_identifier ;) })) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" statement_identifier : (if_statement "if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" if (parenthesized_expression "(((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2))" ( (binary_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)" (parenthesized_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2))" ( (binary_expression "(iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + iVar5" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == identifier) ))) )) && (parenthesized_expression "(pcVar3[iVar4 + -1] == cVar2)" ( (binary_expression "pcVar3[iVar4 + -1] == cVar2" (subscript_expression "pcVar3[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) == identifier) ))) )) (compound_statement "{\n        iVar6 = iVar5;\n      }" { (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }))) }))) }))) (if_statement "if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_skip_completed_text_00157f7c == 0)" ( (binary_expression "*(int *)PTR__rl_skip_completed_text_00157f7c == 0" (pointer_expression "*(int *)PTR__rl_skip_completed_text_00157f7c" * (cast_expression "(int *)PTR__rl_skip_completed_text_00157f7c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" { (expression_statement "_rl_replace_text(pcVar3,param_2);" (call_expression "_rl_replace_text(pcVar3,param_2)" identifier (argument_list "(pcVar3,param_2)" ( identifier , identifier ))) ;) (goto_statement "goto LAB_000fa6b4;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)PTR_rl_end_001575ec;" (assignment_expression "iVar5 = *(int *)PTR_rl_end_001575ec" identifier = (pointer_expression "*(int *)PTR_rl_end_001575ec" * (cast_expression "(int *)PTR_rl_end_001575ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar7 = pcVar3;" (assignment_expression "pcVar7 = pcVar3" identifier = identifier) ;) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" if (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) (compound_statement "{\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }" { (if_statement "if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" if (parenthesized_expression "(*pcVar3 == '\0')" ( (binary_expression "*pcVar3 == '\0'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }" { (labeled_statement "LAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;" statement_identifier : (if_statement "if (iVar6 < param_2) goto LAB_000fa69c;" if (parenthesized_expression "(iVar6 < param_2)" ( (binary_expression "iVar6 < param_2" identifier < identifier) )) (goto_statement "goto LAB_000fa69c;" goto statement_identifier ;))) }) (else_clause "else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" else (if_statement "if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" if (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*pcVar3" * identifier)) )) (compound_statement "{\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" { (do_statement "do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);" do (compound_statement "{\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (if_statement "if (param_2 == iVar5) goto LAB_000fa758;" if (parenthesized_expression "(param_2 == iVar5)" ( (binary_expression "param_2 == iVar5" identifier == identifier) )) (goto_statement "goto LAB_000fa758;" goto statement_identifier ;)) (if_statement "if (*pcVar7 == '\0') goto LAB_000fa7a4;" if (parenthesized_expression "(*pcVar7 == '\0')" ( (binary_expression "*pcVar7 == '\0'" (pointer_expression "*pcVar7" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa7a4;" goto statement_identifier ;)) }) while (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*pcVar7" * identifier)) )) ;) })))) (labeled_statement "LAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);" statement_identifier : (expression_statement "_rl_replace_text(pcVar7,param_2);" (call_expression "_rl_replace_text(pcVar7,param_2)" identifier (argument_list "(pcVar7,param_2)" ( identifier , identifier ))) ;)) }) (else_clause "else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" else (compound_statement "{\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" { (labeled_statement "LAB_000fa758:\n    param_2 = iVar4;" statement_identifier : (expression_statement "param_2 = iVar4;" (assignment_expression "param_2 = iVar4" identifier = identifier) ;)) (if_statement "if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;" if (parenthesized_expression "((param_2 <= iVar6) || (*pcVar7 != '\0'))" ( (binary_expression "(param_2 <= iVar6) || (*pcVar7 != '\0')" (parenthesized_expression "(param_2 <= iVar6)" ( (binary_expression "param_2 <= iVar6" identifier <= identifier) )) || (parenthesized_expression "(*pcVar7 != '\0')" ( (binary_expression "*pcVar7 != '\0'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_000fa680;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;)) (expression_statement "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6;" (assignment_expression "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (labeled_statement "LAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" statement_identifier : (if_statement "if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" if (parenthesized_expression "(param_1 != pcVar3)" ( (binary_expression "param_1 != pcVar3" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar3);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar3)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void insert_match(char *match,int start,int mtype,char *qc)\n\n{\n  char cVar1;\n  char cVar2;\n  char *text;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  char *text_00;\n  \n  if (qc == (char *)0x0) {\n    text = make_quoted_replacement(match,mtype,(char *)0x0);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(text,start,iVar5);\n    goto LAB_000fa6b4;\n  }\n  iVar4 = *(int *)PTR_rl_end_001575ec;\n  text_00 = text;\n  iVar3 = start;\n  if (start < iVar4) {\n    if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }\nLAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);\n  }\n  else {\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar5 = (*(code *)PTR_strlen_00158444)(text_00);\n  *(int *)PTR_rl_point_001575f0 = start + iVar5;\nLAB_000fa6b4:\n  if (match != text) {\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }\n  return;\n}\n\n" (function_definition "void insert_match(char *match,int start,int mtype,char *qc)\n\n{\n  char cVar1;\n  char cVar2;\n  char *text;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  char *text_00;\n  \n  if (qc == (char *)0x0) {\n    text = make_quoted_replacement(match,mtype,(char *)0x0);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(text,start,iVar5);\n    goto LAB_000fa6b4;\n  }\n  iVar4 = *(int *)PTR_rl_end_001575ec;\n  text_00 = text;\n  iVar3 = start;\n  if (start < iVar4) {\n    if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }\nLAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);\n  }\n  else {\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar5 = (*(code *)PTR_strlen_00158444)(text_00);\n  *(int *)PTR_rl_point_001575f0 = start + iVar5;\nLAB_000fa6b4:\n  if (match != text) {\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }\n  return;\n}" primitive_type (function_declarator "insert_match(char *match,int start,int mtype,char *qc)" identifier (parameter_list "(char *match,int start,int mtype,char *qc)" ( (parameter_declaration "char *match" primitive_type (pointer_declarator "*match" * identifier)) , (parameter_declaration "int start" primitive_type identifier) , (parameter_declaration "int mtype" primitive_type identifier) , (parameter_declaration "char *qc" primitive_type (pointer_declarator "*qc" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  char *text;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  char *text_00;\n  \n  if (qc == (char *)0x0) {\n    text = make_quoted_replacement(match,mtype,(char *)0x0);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(text,start,iVar5);\n    goto LAB_000fa6b4;\n  }\n  iVar4 = *(int *)PTR_rl_end_001575ec;\n  text_00 = text;\n  iVar3 = start;\n  if (start < iVar4) {\n    if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }\nLAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);\n  }\n  else {\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar5 = (*(code *)PTR_strlen_00158444)(text_00);\n  *(int *)PTR_rl_point_001575f0 = start + iVar5;\nLAB_000fa6b4:\n  if (match != text) {\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char *text;" primitive_type (pointer_declarator "*text" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *text_00;" primitive_type (pointer_declarator "*text_00" * identifier) ;) (if_statement "if (qc == (char *)0x0) {\n    text = make_quoted_replacement(match,mtype,(char *)0x0);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }" if (parenthesized_expression "(qc == (char *)0x0)" ( (binary_expression "qc == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    text = make_quoted_replacement(match,mtype,(char *)0x0);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n  }" { (expression_statement "text = make_quoted_replacement(match,mtype,(char *)0x0);" (assignment_expression "text = make_quoted_replacement(match,mtype,(char *)0x0)" identifier = (call_expression "make_quoted_replacement(match,mtype,(char *)0x0)" identifier (argument_list "(match,mtype,(char *)0x0)" ( identifier , identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (text == (char *)0x0) {\n      return;\n    }" if (parenthesized_expression "(text == (char *)0x0)" ( (binary_expression "text == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }" else (compound_statement "{\n    cVar1 = *qc;\n    text = make_quoted_replacement(match,mtype,qc);\n    if (text == (char *)0x0) {\n      return;\n    }\n    iVar3 = (*(code *)PTR_strlen_00158444)(text);\n    cVar2 = *qc;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }\n  }" { (expression_statement "cVar1 = *qc;" (assignment_expression "cVar1 = *qc" identifier = (pointer_expression "*qc" * identifier)) ;) (expression_statement "text = make_quoted_replacement(match,mtype,qc);" (assignment_expression "text = make_quoted_replacement(match,mtype,qc)" identifier = (call_expression "make_quoted_replacement(match,mtype,qc)" identifier (argument_list "(match,mtype,qc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (text == (char *)0x0) {\n      return;\n    }" if (parenthesized_expression "(text == (char *)0x0)" ( (binary_expression "text == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar3 = (*(code *)PTR_strlen_00158444)(text);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00158444)(text)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(text)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(text)" ( identifier )))) ;) (expression_statement "cVar2 = *qc;" (assignment_expression "cVar2 = *qc" identifier = (pointer_expression "*qc" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }" { (if_statement "if (cVar1 == '\0') {\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar5 = *(int *)PTR_rl_point_001575f0 + -1;\n      }" { (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" else (compound_statement "{\nLAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" { (labeled_statement "LAB_000fa5a0:\n        if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }" statement_identifier : (if_statement "if (start != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }" if (parenthesized_expression "(start != 0)" ( (binary_expression "start != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }\n        }" { (labeled_statement "LAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }" statement_identifier : (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)) {\n            start = start + -1;\n          }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1) &&\n             (*text != cVar1)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) == cVar1" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) == identifier) )) && (parenthesized_expression "(*text != cVar1)" ( (binary_expression "*text != cVar1" (pointer_expression "*text" * identifier) != identifier) ))) )) (compound_statement "{\n            start = start + -1;\n          }" { (expression_statement "start = start + -1;" (assignment_expression "start = start + -1" identifier = (binary_expression "start + -1" identifier + number_literal)) ;) }))) }))) (labeled_statement "LAB_000fa5ac:\n        iVar4 = *(int *)PTR_rl_point_001575f0;" statement_identifier : (expression_statement "iVar4 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar4 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "iVar5 = iVar4 + -1;" (assignment_expression "iVar5 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (cVar2 != '\0') goto LAB_000fa5b8;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa5b8;" goto statement_identifier ;)) }))) }) (else_clause "else {\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }" else (compound_statement "{\n      if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }\n    }" { (if_statement "if (start == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }" if (parenthesized_expression "(start == 0)" ( (binary_expression "start == 0" identifier == number_literal) )) (compound_statement "{\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa5a0;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa5a0;" goto statement_identifier ;)) (expression_statement "iVar4 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar4 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar5 = iVar4 + -1;" (assignment_expression "iVar5 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }" else (compound_statement "{\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        start = start + -1;\n        iVar4 = *(int *)PTR_rl_point_001575f0;\n        iVar5 = iVar4 + -1;\n      }" { (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2) ||\n           (*text != cVar2)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1) != cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + start + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) != identifier) )) || (parenthesized_expression "(*text != cVar2)" ( (binary_expression "*text != cVar2" (pointer_expression "*text" * identifier) != identifier) ))) )) (compound_statement "{\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa710;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa710;" goto statement_identifier ;)) (goto_statement "goto LAB_000fa5ac;" goto statement_identifier ;) })) (expression_statement "start = start + -1;" (assignment_expression "start = start + -1" identifier = (binary_expression "start + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar4 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar5 = iVar4 + -1;" (assignment_expression "iVar5 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_000fa5b8:\n      if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }" statement_identifier : (if_statement "if (((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)) {\n        iVar5 = iVar4;\n      }" if (parenthesized_expression "(((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2))" ( (binary_expression "((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)) &&\n         (text[iVar3 + -1] == cVar2)" (parenthesized_expression "((iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2))" ( (binary_expression "(iVar5 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4) == cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + iVar4)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + iVar4" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == identifier) ))) )) && (parenthesized_expression "(text[iVar3 + -1] == cVar2)" ( (binary_expression "text[iVar3 + -1] == cVar2" (subscript_expression "text[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) == identifier) ))) )) (compound_statement "{\n        iVar5 = iVar4;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) }))) }))) }))) (if_statement "if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(text,start,iVar5);\n    goto LAB_000fa6b4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_skip_completed_text_00157f7c == 0)" ( (binary_expression "*(int *)PTR__rl_skip_completed_text_00157f7c == 0" (pointer_expression "*(int *)PTR__rl_skip_completed_text_00157f7c" * (cast_expression "(int *)PTR__rl_skip_completed_text_00157f7c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    _rl_replace_text(text,start,iVar5);\n    goto LAB_000fa6b4;\n  }" { (expression_statement "_rl_replace_text(text,start,iVar5);" (call_expression "_rl_replace_text(text,start,iVar5)" identifier (argument_list "(text,start,iVar5)" ( identifier , identifier , identifier ))) ;) (goto_statement "goto LAB_000fa6b4;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)PTR_rl_end_001575ec;" (assignment_expression "iVar4 = *(int *)PTR_rl_end_001575ec" identifier = (pointer_expression "*(int *)PTR_rl_end_001575ec" * (cast_expression "(int *)PTR_rl_end_001575ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "text_00 = text;" (assignment_expression "text_00 = text" identifier = identifier) ;) (expression_statement "iVar3 = start;" (assignment_expression "iVar3 = start" identifier = identifier) ;) (if_statement "if (start < iVar4) {\n    if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }\nLAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);\n  }\n  else {\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }" if (parenthesized_expression "(start < iVar4)" ( (binary_expression "start < iVar4" identifier < identifier) )) (compound_statement "{\n    if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }\nLAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);\n  }" { (if_statement "if (*text == '\0') {\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }" if (parenthesized_expression "(*text == '\0')" ( (binary_expression "*text == '\0'" (pointer_expression "*text" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;\n    }" { (labeled_statement "LAB_000fa7a4:\n      if (iVar5 < start) goto LAB_000fa69c;" statement_identifier : (if_statement "if (iVar5 < start) goto LAB_000fa69c;" if (parenthesized_expression "(iVar5 < start)" ( (binary_expression "iVar5 < start" identifier < identifier) )) (goto_statement "goto LAB_000fa69c;" goto statement_identifier ;))) }) (else_clause "else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }" else (if_statement "if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text) {\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }" if (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + start)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*text" * identifier)) )) (compound_statement "{\n      do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);\n    }" { (do_statement "do {\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00);" do (compound_statement "{\n        start = start + 1;\n        text_00 = text_00 + 1;\n        iVar3 = iVar4;\n        if (start == iVar4) goto LAB_000fa758;\n        if (*text_00 == '\0') goto LAB_000fa7a4;\n      }" { (expression_statement "start = start + 1;" (assignment_expression "start = start + 1" identifier = (binary_expression "start + 1" identifier + number_literal)) ;) (expression_statement "text_00 = text_00 + 1;" (assignment_expression "text_00 = text_00 + 1" identifier = (binary_expression "text_00 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (start == iVar4) goto LAB_000fa758;" if (parenthesized_expression "(start == iVar4)" ( (binary_expression "start == iVar4" identifier == identifier) )) (goto_statement "goto LAB_000fa758;" goto statement_identifier ;)) (if_statement "if (*text_00 == '\0') goto LAB_000fa7a4;" if (parenthesized_expression "(*text_00 == '\0')" ( (binary_expression "*text_00 == '\0'" (pointer_expression "*text_00" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa7a4;" goto statement_identifier ;)) }) while (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start) == *text_00" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + start)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + start)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + start" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*text_00" * identifier)) )) ;) })))) (labeled_statement "LAB_000fa680:\n    _rl_replace_text(text_00,start,iVar5);" statement_identifier : (expression_statement "_rl_replace_text(text_00,start,iVar5);" (call_expression "_rl_replace_text(text_00,start,iVar5)" identifier (argument_list "(text_00,start,iVar5)" ( identifier , identifier , identifier ))) ;)) }) (else_clause "else {\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }" else (compound_statement "{\nLAB_000fa758:\n    start = iVar3;\n    if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;\n  }" { (labeled_statement "LAB_000fa758:\n    start = iVar3;" statement_identifier : (expression_statement "start = iVar3;" (assignment_expression "start = iVar3" identifier = identifier) ;)) (if_statement "if ((start <= iVar5) || (*text_00 != '\0')) goto LAB_000fa680;" if (parenthesized_expression "((start <= iVar5) || (*text_00 != '\0'))" ( (binary_expression "(start <= iVar5) || (*text_00 != '\0')" (parenthesized_expression "(start <= iVar5)" ( (binary_expression "start <= iVar5" identifier <= identifier) )) || (parenthesized_expression "(*text_00 != '\0')" ( (binary_expression "*text_00 != '\0'" (pointer_expression "*text_00" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_000fa680;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000fa69c:\n  iVar5 = (*(code *)PTR_strlen_00158444)(text_00);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_strlen_00158444)(text_00);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00158444)(text_00)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(text_00)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(text_00)" ( identifier )))) ;)) (expression_statement "*(int *)PTR_rl_point_001575f0 = start + iVar5;" (assignment_expression "*(int *)PTR_rl_point_001575f0 = start + iVar5" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "start + iVar5" identifier + identifier)) ;) (labeled_statement "LAB_000fa6b4:\n  if (match != text) {\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }" statement_identifier : (if_statement "if (match != text) {\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }" if (parenthesized_expression "(match != text)" ( (binary_expression "match != text" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(text);\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(text);" (call_expression "(*(code *)PTR_xfree_00156bb4)(text)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(text)" ( identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)\n\n{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)\n\n{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)" identifier (parameter_list "(char *param_1,int param_2,undefined4 param_3,char *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (if_statement "if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" if (parenthesized_expression "(param_4 == (char *)0x0)" ( (binary_expression "param_4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }" { (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0)" identifier = (cast_expression "(char *)FUN_000fa41c(param_1,param_3,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000fa41c(param_1,param_3,0)" identifier (argument_list "(param_1,param_3,0)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\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      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" else (compound_statement "{\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" { (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4)" identifier = (cast_expression "(char *)FUN_000fa41c(param_1,param_3,param_4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000fa41c(param_1,param_3,param_4)" identifier (argument_list "(param_1,param_3,param_4)" ( identifier , identifier , identifier ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\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      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "cVar2 = *param_4;" (assignment_expression "cVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }" { (if_statement "if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }" { (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" identifier = (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) }) (else_clause "else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" else (compound_statement "{\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" { (labeled_statement "LAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" statement_identifier : (if_statement "if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" { (labeled_statement "LAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" statement_identifier : (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) == identifier) )) && (parenthesized_expression "(*pcVar3 != cVar1)" ( (binary_expression "*pcVar3 != cVar1" (pointer_expression "*pcVar3" * identifier) != identifier) ))) )) (compound_statement "{\n            param_2 = param_2 + -1;\n          }" { (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) }))) }))) (labeled_statement "LAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;" statement_identifier : (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (cVar2 != '\0') goto LAB_000fa5b8;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa5b8;" goto statement_identifier ;)) }))) }) (else_clause "else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" else (compound_statement "{\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" { (if_statement "if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa5a0;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa5a0;" goto statement_identifier ;)) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" else (compound_statement "{\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" { (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" if (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2))" ( (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) + number_literal) )))) != identifier) )) || (parenthesized_expression "(*pcVar3 != cVar2)" ( (binary_expression "*pcVar3 != cVar2" (pointer_expression "*pcVar3" * identifier) != identifier) ))) )) (compound_statement "{\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" { (if_statement "if (cVar2 != cVar1) goto LAB_000fa710;" if (parenthesized_expression "(cVar2 != cVar1)" ( (binary_expression "cVar2 != cVar1" identifier != identifier) )) (goto_statement "goto LAB_000fa710;" goto statement_identifier ;)) (goto_statement "goto LAB_000fa5ac;" goto statement_identifier ;) })) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" identifier = (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" statement_identifier : (if_statement "if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" if (parenthesized_expression "(((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2))" ( (binary_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)" (parenthesized_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2))" ( (binary_expression "(iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + iVar5" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == identifier) ))) )) && (parenthesized_expression "(pcVar3[iVar4 + -1] == cVar2)" ( (binary_expression "pcVar3[iVar4 + -1] == cVar2" (subscript_expression "pcVar3[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) == identifier) ))) )) (compound_statement "{\n        iVar6 = iVar5;\n      }" { (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }))) }))) }))) (if_statement "if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_skip_completed_text_00157f7c == 0)" ( (binary_expression "*(int *)PTR__rl_skip_completed_text_00157f7c == 0" (pointer_expression "*(int *)PTR__rl_skip_completed_text_00157f7c" * (cast_expression "(int *)PTR__rl_skip_completed_text_00157f7c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" { (expression_statement "_rl_replace_text(pcVar3,param_2);" (call_expression "_rl_replace_text(pcVar3,param_2)" identifier (argument_list "(pcVar3,param_2)" ( identifier , identifier ))) ;) (goto_statement "goto LAB_000fa6b4;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)PTR_rl_end_001575ec;" (assignment_expression "iVar5 = *(int *)PTR_rl_end_001575ec" identifier = (pointer_expression "*(int *)PTR_rl_end_001575ec" * (cast_expression "(int *)PTR_rl_end_001575ec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar7 = pcVar3;" (assignment_expression "pcVar7 = pcVar3" identifier = identifier) ;) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" if (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) (compound_statement "{\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }" { (if_statement "if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" if (parenthesized_expression "(*pcVar3 == '\0')" ( (binary_expression "*pcVar3 == '\0'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }" { (labeled_statement "LAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;" statement_identifier : (if_statement "if (iVar6 < param_2) goto LAB_000fa69c;" if (parenthesized_expression "(iVar6 < param_2)" ( (binary_expression "iVar6 < param_2" identifier < identifier) )) (goto_statement "goto LAB_000fa69c;" goto statement_identifier ;))) }) (else_clause "else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" else (if_statement "if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" if (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*pcVar3" * identifier)) )) (compound_statement "{\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" { (do_statement "do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);" do (compound_statement "{\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) (if_statement "if (param_2 == iVar5) goto LAB_000fa758;" if (parenthesized_expression "(param_2 == iVar5)" ( (binary_expression "param_2 == iVar5" identifier == identifier) )) (goto_statement "goto LAB_000fa758;" goto statement_identifier ;)) (if_statement "if (*pcVar7 == '\0') goto LAB_000fa7a4;" if (parenthesized_expression "(*pcVar7 == '\0')" ( (binary_expression "*pcVar7 == '\0'" (pointer_expression "*pcVar7" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000fa7a4;" goto statement_identifier ;)) }) while (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7)" ( (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" * (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" ( (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" * (cast_expression "(int *)PTR_rl_line_buffer_001575e8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (pointer_expression "*pcVar7" * identifier)) )) ;) })))) (labeled_statement "LAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);" statement_identifier : (expression_statement "_rl_replace_text(pcVar7,param_2);" (call_expression "_rl_replace_text(pcVar7,param_2)" identifier (argument_list "(pcVar7,param_2)" ( identifier , identifier ))) ;)) }) (else_clause "else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" else (compound_statement "{\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" { (labeled_statement "LAB_000fa758:\n    param_2 = iVar4;" statement_identifier : (expression_statement "param_2 = iVar4;" (assignment_expression "param_2 = iVar4" identifier = identifier) ;)) (if_statement "if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;" if (parenthesized_expression "((param_2 <= iVar6) || (*pcVar7 != '\0'))" ( (binary_expression "(param_2 <= iVar6) || (*pcVar7 != '\0')" (parenthesized_expression "(param_2 <= iVar6)" ( (binary_expression "param_2 <= iVar6" identifier <= identifier) )) || (parenthesized_expression "(*pcVar7 != '\0')" ( (binary_expression "*pcVar7 != '\0'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_000fa680;" goto statement_identifier ;)) }))) (labeled_statement "LAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;)) (expression_statement "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6;" (assignment_expression "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6" (pointer_expression "*(int *)PTR_rl_point_001575f0" * (cast_expression "(int *)PTR_rl_point_001575f0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (labeled_statement "LAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" statement_identifier : (if_statement "if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" if (parenthesized_expression "(param_1 != pcVar3)" ( (binary_expression "param_1 != pcVar3" identifier != identifier) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar3);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar3)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) + LIT) )))) == IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) + LIT) )))) != IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) == IDENT) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) == (pointer_expression * IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) == (pointer_expression * IDENT)) )) ;) })))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression IDENT + IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)\n\n{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000fa514(char *param_1,int param_2,undefined4 param_3,char *param_4)" (identifier "FUN_000fa514") (parameter_list "(char *param_1,int param_2,undefined4 param_3,char *param_4)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  char cVar2;\n  char *pcVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }\n  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }\n  iVar5 = *(int *)PTR_rl_end_001575ec;\n  pcVar7 = pcVar3;\n  iVar4 = param_2;\n  if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }\nLAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);\n  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;\nLAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (if_statement "if (param_4 == (char *)0x0) {\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }\n  else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_4 == (char *)0x0)" (( "(") (binary_expression "param_4 == (char *)0x0" (identifier "param_4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n  }" ({ "{") (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0)" (identifier "pcVar3") (= "=") (cast_expression "(char *)FUN_000fa41c(param_1,param_3,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000fa41c(param_1,param_3,0)" (identifier "FUN_000fa41c") (argument_list "(param_1,param_3,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(pcVar3 == (char *)0x0)" (( "(") (binary_expression "pcVar3 == (char *)0x0" (identifier "pcVar3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" (identifier "iVar6") (= "=") (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0"))) (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    cVar1 = *param_4;\n    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);\n    if (pcVar3 == (char *)0x0) {\n      return;\n    }\n    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);\n    cVar2 = *param_4;\n    if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }\n  }" ({ "{") (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" (identifier "cVar1") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);" (assignment_expression "pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4)" (identifier "pcVar3") (= "=") (cast_expression "(char *)FUN_000fa41c(param_1,param_3,param_4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000fa41c(param_1,param_3,param_4)" (identifier "FUN_000fa41c") (argument_list "(param_1,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))))) (; ";")) (if_statement "if (pcVar3 == (char *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(pcVar3 == (char *)0x0)" (( "(") (binary_expression "pcVar3 == (char *)0x0" (identifier "pcVar3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "cVar2 = *param_4;" (assignment_expression "cVar2 = *param_4" (identifier "cVar2") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (if_statement "if (cVar2 == '\0') {\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }\n    else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }\n    }" ({ "{") (if_statement "if (cVar1 == '\0') {\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }\n      else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;\n      }" ({ "{") (expression_statement "iVar6 = *(int *)PTR_rl_point_001575f0 + -1;" (assignment_expression "iVar6 = *(int *)PTR_rl_point_001575f0 + -1" (identifier "iVar6") (= "=") (binary_expression "*(int *)PTR_rl_point_001575f0 + -1" (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0"))) (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" (else "else") (compound_statement "{\nLAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }\nLAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n        if (cVar2 != '\0') goto LAB_000fa5b8;\n      }" ({ "{") (labeled_statement "LAB_000fa5a0:\n        if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" (statement_identifier "LAB_000fa5a0") (: ":") (if_statement "if (param_2 != 0) {\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }\n        }" ({ "{") (labeled_statement "LAB_000fa710:\n          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" (statement_identifier "LAB_000fa710") (: ":") (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)) {\n            param_2 = param_2 + -1;\n          }" (if "if") (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1))" (( "(") (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&\n             (*pcVar3 != cVar1)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1)" (( "(") (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (* "*") (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (( "(") (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" (* "*") (cast_expression "(int *)PTR_rl_line_buffer_001575e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_line_buffer_001575e8"))) (+ "+") (identifier "param_2")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (identifier "cVar1")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar3 != cVar1)" (( "(") (binary_expression "*pcVar3 != cVar1" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (identifier "cVar1")) () ")"))) () ")")) (compound_statement "{\n            param_2 = param_2 + -1;\n          }" ({ "{") (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_000fa5ac:\n        iVar5 = *(int *)PTR_rl_point_001575f0;" (statement_identifier "LAB_000fa5ac") (: ":") (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0")))) (; ";"))) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (cVar2 != '\0') goto LAB_000fa5b8;" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000fa5b8;" (goto "goto") (statement_identifier "LAB_000fa5b8") (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" (else "else") (compound_statement "{\n      if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\nLAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }\n    }" ({ "{") (if_statement "if (param_2 == 0) {\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }\n      else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (cVar2 != cVar1) goto LAB_000fa5a0;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" ({ "{") (if_statement "if (cVar2 != cVar1) goto LAB_000fa5a0;" (if "if") (parenthesized_expression "(cVar2 != cVar1)" (( "(") (binary_expression "cVar2 != cVar1" (identifier "cVar2") (!= "!=") (identifier "cVar1")) () ")")) (goto_statement "goto LAB_000fa5a0;" (goto "goto") (statement_identifier "LAB_000fa5a0") (; ";"))) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0")))) (; ";")) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" (else "else") (compound_statement "{\n        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }\n        param_2 = param_2 + -1;\n        iVar5 = *(int *)PTR_rl_point_001575f0;\n        iVar6 = iVar5 + -1;\n      }" ({ "{") (if_statement "if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)) {\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" (if "if") (parenthesized_expression "((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2))" (( "(") (binary_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||\n           (*pcVar3 != cVar2)" (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2)" (( "(") (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (* "*") (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1)" (( "(") (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1" (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" (* "*") (cast_expression "(int *)PTR_rl_line_buffer_001575e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_line_buffer_001575e8"))) (+ "+") (identifier "param_2")) (+ "+") (number_literal "-1")) () ")")))) (!= "!=") (identifier "cVar2")) () ")")) (|| "||") (parenthesized_expression "(*pcVar3 != cVar2)" (( "(") (binary_expression "*pcVar3 != cVar2" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (identifier "cVar2")) () ")"))) () ")")) (compound_statement "{\n          if (cVar2 != cVar1) goto LAB_000fa710;\n          goto LAB_000fa5ac;\n        }" ({ "{") (if_statement "if (cVar2 != cVar1) goto LAB_000fa710;" (if "if") (parenthesized_expression "(cVar2 != cVar1)" (( "(") (binary_expression "cVar2 != cVar1" (identifier "cVar2") (!= "!=") (identifier "cVar1")) () ")")) (goto_statement "goto LAB_000fa710;" (goto "goto") (statement_identifier "LAB_000fa710") (; ";"))) (goto_statement "goto LAB_000fa5ac;" (goto "goto") (statement_identifier "LAB_000fa5ac") (; ";")) (} "}"))) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar5 = *(int *)PTR_rl_point_001575f0;" (assignment_expression "iVar5 = *(int *)PTR_rl_point_001575f0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0")))) (; ";")) (expression_statement "iVar6 = iVar5 + -1;" (assignment_expression "iVar6 = iVar5 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (labeled_statement "LAB_000fa5b8:\n      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" (statement_identifier "LAB_000fa5b8") (: ":") (if_statement "if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)) {\n        iVar6 = iVar5;\n      }" (if "if") (parenthesized_expression "(((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2))" (( "(") (binary_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&\n         (pcVar3[iVar4 + -1] == cVar2)" (parenthesized_expression "((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2))" (( "(") (binary_expression "(iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)" (( "(") (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" (* "*") (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + iVar5)" (( "(") (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + iVar5" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" (* "*") (cast_expression "(int *)PTR_rl_line_buffer_001575e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_line_buffer_001575e8"))) (+ "+") (identifier "iVar5")) () ")")))) (== "==") (identifier "cVar2")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3[iVar4 + -1] == cVar2)" (( "(") (binary_expression "pcVar3[iVar4 + -1] == cVar2" (subscript_expression "pcVar3[iVar4 + -1]" (identifier "pcVar3") ([ "[") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1")) (] "]")) (== "==") (identifier "cVar2")) () ")"))) () ")")) (compound_statement "{\n        iVar6 = iVar5;\n      }" ({ "{") (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (} "}")))) (} "}")))) (} "}")))) (if_statement "if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR__rl_skip_completed_text_00157f7c == 0)" (( "(") (binary_expression "*(int *)PTR__rl_skip_completed_text_00157f7c == 0" (pointer_expression "*(int *)PTR__rl_skip_completed_text_00157f7c" (* "*") (cast_expression "(int *)PTR__rl_skip_completed_text_00157f7c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_skip_completed_text_00157f7c"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    _rl_replace_text(pcVar3,param_2);\n    goto LAB_000fa6b4;\n  }" ({ "{") (expression_statement "_rl_replace_text(pcVar3,param_2);" (call_expression "_rl_replace_text(pcVar3,param_2)" (identifier "_rl_replace_text") (argument_list "(pcVar3,param_2)" (( "(") (identifier "pcVar3") (, ",") (identifier "param_2") () ")"))) (; ";")) (goto_statement "goto LAB_000fa6b4;" (goto "goto") (statement_identifier "LAB_000fa6b4") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)PTR_rl_end_001575ec;" (assignment_expression "iVar5 = *(int *)PTR_rl_end_001575ec" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_rl_end_001575ec" (* "*") (cast_expression "(int *)PTR_rl_end_001575ec" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_end_001575ec")))) (; ";")) (expression_statement "pcVar7 = pcVar3;" (assignment_expression "pcVar7 = pcVar3" (identifier "pcVar7") (= "=") (identifier "pcVar3")) (; ";")) (expression_statement "iVar4 = param_2;" (assignment_expression "iVar4 = param_2" (identifier "iVar4") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 < iVar5) {\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }\n  else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" (if "if") (parenthesized_expression "(param_2 < iVar5)" (( "(") (binary_expression "param_2 < iVar5" (identifier "param_2") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n    if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }\nLAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);\n  }" ({ "{") (if_statement "if (*pcVar3 == '\0') {\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }\n    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" (if "if") (parenthesized_expression "(*pcVar3 == '\0')" (( "(") (binary_expression "*pcVar3 == '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;\n    }" ({ "{") (labeled_statement "LAB_000fa7a4:\n      if (iVar6 < param_2) goto LAB_000fa69c;" (statement_identifier "LAB_000fa7a4") (: ":") (if_statement "if (iVar6 < param_2) goto LAB_000fa69c;" (if "if") (parenthesized_expression "(iVar6 < param_2)" (( "(") (binary_expression "iVar6 < param_2" (identifier "iVar6") (< "<") (identifier "param_2")) () ")")) (goto_statement "goto LAB_000fa69c;" (goto "goto") (statement_identifier "LAB_000fa69c") (; ";")))) (} "}")) (else_clause "else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" (else "else") (if_statement "if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" (if "if") (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3)" (( "(") (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (* "*") (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (( "(") (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" (* "*") (cast_expression "(int *)PTR_rl_line_buffer_001575e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_line_buffer_001575e8"))) (+ "+") (identifier "param_2")) () ")")))) (== "==") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) () ")")) (compound_statement "{\n      do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);\n    }" ({ "{") (do_statement "do {\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);" (do "do") (compound_statement "{\n        param_2 = param_2 + 1;\n        pcVar7 = pcVar7 + 1;\n        iVar4 = iVar5;\n        if (param_2 == iVar5) goto LAB_000fa758;\n        if (*pcVar7 == '\0') goto LAB_000fa7a4;\n      }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" (identifier "iVar4") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (param_2 == iVar5) goto LAB_000fa758;" (if "if") (parenthesized_expression "(param_2 == iVar5)" (( "(") (binary_expression "param_2 == iVar5" (identifier "param_2") (== "==") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_000fa758;" (goto "goto") (statement_identifier "LAB_000fa758") (; ";"))) (if_statement "if (*pcVar7 == '\0') goto LAB_000fa7a4;" (if "if") (parenthesized_expression "(*pcVar7 == '\0')" (( "(") (binary_expression "*pcVar7 == '\0'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000fa7a4;" (goto "goto") (statement_identifier "LAB_000fa7a4") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7)" (( "(") (binary_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7" (pointer_expression "*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (* "*") (cast_expression "(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_rl_line_buffer_001575e8 + param_2)" (( "(") (binary_expression "*(int *)PTR_rl_line_buffer_001575e8 + param_2" (pointer_expression "*(int *)PTR_rl_line_buffer_001575e8" (* "*") (cast_expression "(int *)PTR_rl_line_buffer_001575e8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_line_buffer_001575e8"))) (+ "+") (identifier "param_2")) () ")")))) (== "==") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7"))) () ")")) (; ";")) (} "}"))))) (labeled_statement "LAB_000fa680:\n    _rl_replace_text(pcVar7,param_2);" (statement_identifier "LAB_000fa680") (: ":") (expression_statement "_rl_replace_text(pcVar7,param_2);" (call_expression "_rl_replace_text(pcVar7,param_2)" (identifier "_rl_replace_text") (argument_list "(pcVar7,param_2)" (( "(") (identifier "pcVar7") (, ",") (identifier "param_2") () ")"))) (; ";"))) (} "}")) (else_clause "else {\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" (else "else") (compound_statement "{\nLAB_000fa758:\n    param_2 = iVar4;\n    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;\n  }" ({ "{") (labeled_statement "LAB_000fa758:\n    param_2 = iVar4;" (statement_identifier "LAB_000fa758") (: ":") (expression_statement "param_2 = iVar4;" (assignment_expression "param_2 = iVar4" (identifier "param_2") (= "=") (identifier "iVar4")) (; ";"))) (if_statement "if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;" (if "if") (parenthesized_expression "((param_2 <= iVar6) || (*pcVar7 != '\0'))" (( "(") (binary_expression "(param_2 <= iVar6) || (*pcVar7 != '\0')" (parenthesized_expression "(param_2 <= iVar6)" (( "(") (binary_expression "param_2 <= iVar6" (identifier "param_2") (<= "<=") (identifier "iVar6")) () ")")) (|| "||") (parenthesized_expression "(*pcVar7 != '\0')" (( "(") (binary_expression "*pcVar7 != '\0'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_000fa680;" (goto "goto") (statement_identifier "LAB_000fa680") (; ";"))) (} "}")))) (labeled_statement "LAB_000fa69c:\n  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" (statement_identifier "LAB_000fa69c") (: ":") (expression_statement "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";"))) (expression_statement "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6;" (assignment_expression "*(int *)PTR_rl_point_001575f0 = param_2 + iVar6" (pointer_expression "*(int *)PTR_rl_point_001575f0" (* "*") (cast_expression "(int *)PTR_rl_point_001575f0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_001575f0"))) (= "=") (binary_expression "param_2 + iVar6" (identifier "param_2") (+ "+") (identifier "iVar6"))) (; ";")) (labeled_statement "LAB_000fa6b4:\n  if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" (statement_identifier "LAB_000fa6b4") (: ":") (if_statement "if (param_1 != pcVar3) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" (if "if") (parenthesized_expression "(param_1 != pcVar3)" (( "(") (binary_expression "param_1 != pcVar3" (identifier "param_1") (!= "!=") (identifier "pcVar3")) () ")")) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(pcVar3);\n  }" ({ "{") (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar3);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar3)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_12,int var_6,int mtype,char *var_1)

{
  char var_5;
  char var_4;
  char *var_3;
  int var_9;
  int var_7;
  int var_8;
  char *var_11;
  
  if (var_1 == (char *)0x0) {
    var_3 = var_2(var_12,mtype,(char *)0x0);
    if (var_3 == (char *)0x0) {
      return;
    }
    var_8 = *(int *)PTR_rl_point_001575f0 + -1;
  }
  else {
    var_5 = *var_1;
    var_3 = var_2(var_12,mtype,var_1);
    if (var_3 == (char *)0x0) {
      return;
    }
    var_9 = (*(type_1 *)PTR_strlen_00158444)(var_3);
    var_4 = *var_1;
    if (var_4 == '\0') {
      if (var_5 == '\0') {
        var_8 = *(int *)PTR_rl_point_001575f0 + -1;
      }
      else {
LAB_000fa5a0:
        if (var_6 != 0) {
LAB_000fa710:
          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + var_6 + -1) == var_5) &&
             (*var_3 != var_5)) {
            var_6 = var_6 + -1;
          }
        }
LAB_000fa5ac:
        var_7 = *(int *)PTR_rl_point_001575f0;
        var_8 = var_7 + -1;
        if (var_4 != '\0') goto LAB_000fa5b8;
      }
    }
    else {
      if (var_6 == 0) {
        if (var_4 != var_5) goto LAB_000fa5a0;
        var_7 = *(int *)PTR_rl_point_001575f0;
        var_8 = var_7 + -1;
      }
      else {
        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + var_6 + -1) != var_4) ||
           (*var_3 != var_4)) {
          if (var_4 != var_5) goto LAB_000fa710;
          goto LAB_000fa5ac;
        }
        var_6 = var_6 + -1;
        var_7 = *(int *)PTR_rl_point_001575f0;
        var_8 = var_7 + -1;
      }
LAB_000fa5b8:
      if (((var_8 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + var_7) == var_4)) &&
         (var_3[var_9 + -1] == var_4)) {
        var_8 = var_7;
      }
    }
  }
  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {
    var_10(var_3,var_6,var_8);
    goto LAB_000fa6b4;
  }
  var_7 = *(int *)PTR_rl_end_001575ec;
  var_11 = var_3;
  var_9 = var_6;
  if (var_6 < var_7) {
    if (*var_3 == '\0') {
LAB_000fa7a4:
      if (var_8 < var_6) goto LAB_000fa69c;
    }
    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + var_6) == *var_3) {
      do {
        var_6 = var_6 + 1;
        var_11 = var_11 + 1;
        var_9 = var_7;
        if (var_6 == var_7) goto LAB_000fa758;
        if (*var_11 == '\0') goto LAB_000fa7a4;
      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + var_6) == *var_11);
    }
LAB_000fa680:
    var_10(var_11,var_6,var_8);
  }
  else {
LAB_000fa758:
    var_6 = var_9;
    if ((var_6 <= var_8) || (*var_11 != '\0')) goto LAB_000fa680;
  }
LAB_000fa69c:
  var_8 = (*(type_1 *)PTR_strlen_00158444)(var_11);
  *(int *)PTR_rl_point_001575f0 = var_6 + var_8;
LAB_000fa6b4:
  if (var_12 != var_3) {
    (*(type_1 *)PTR_xfree_00156bb4)(var_3);
  }
  return;
}


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

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

{
  char cVar1;
  char cVar2;
  char *pcVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  char *pcVar7;
  
  if (param_4 == (char *)0x0) {
    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,0);
    if (pcVar3 == (char *)0x0) {
      return;
    }
    iVar6 = *(int *)PTR_rl_point_001575f0 + -1;
  }
  else {
    cVar1 = *param_4;
    pcVar3 = (char *)FUN_000fa41c(param_1,param_3,param_4);
    if (pcVar3 == (char *)0x0) {
      return;
    }
    iVar4 = (*(code *)PTR_strlen_00158444)(pcVar3);
    cVar2 = *param_4;
    if (cVar2 == '\0') {
      if (cVar1 == '\0') {
        iVar6 = *(int *)PTR_rl_point_001575f0 + -1;
      }
      else {
LAB_000fa5a0:
        if (param_2 != 0) {
LAB_000fa710:
          if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) == cVar1) &&
             (*pcVar3 != cVar1)) {
            param_2 = param_2 + -1;
          }
        }
LAB_000fa5ac:
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
        if (cVar2 != '\0') goto LAB_000fa5b8;
      }
    }
    else {
      if (param_2 == 0) {
        if (cVar2 != cVar1) goto LAB_000fa5a0;
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
      }
      else {
        if ((*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2 + -1) != cVar2) ||
           (*pcVar3 != cVar2)) {
          if (cVar2 != cVar1) goto LAB_000fa710;
          goto LAB_000fa5ac;
        }
        param_2 = param_2 + -1;
        iVar5 = *(int *)PTR_rl_point_001575f0;
        iVar6 = iVar5 + -1;
      }
LAB_000fa5b8:
      if (((iVar6 != 0) && (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + iVar5) == cVar2)) &&
         (pcVar3[iVar4 + -1] == cVar2)) {
        iVar6 = iVar5;
      }
    }
  }
  if (*(int *)PTR__rl_skip_completed_text_00157f7c == 0) {
    _rl_replace_text(pcVar3,param_2);
    goto LAB_000fa6b4;
  }
  iVar5 = *(int *)PTR_rl_end_001575ec;
  pcVar7 = pcVar3;
  iVar4 = param_2;
  if (param_2 < iVar5) {
    if (*pcVar3 == '\0') {
LAB_000fa7a4:
      if (iVar6 < param_2) goto LAB_000fa69c;
    }
    else if (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar3) {
      do {
        param_2 = param_2 + 1;
        pcVar7 = pcVar7 + 1;
        iVar4 = iVar5;
        if (param_2 == iVar5) goto LAB_000fa758;
        if (*pcVar7 == '\0') goto LAB_000fa7a4;
      } while (*(char *)(*(int *)PTR_rl_line_buffer_001575e8 + param_2) == *pcVar7);
    }
LAB_000fa680:
    _rl_replace_text(pcVar7,param_2);
  }
  else {
LAB_000fa758:
    param_2 = iVar4;
    if ((param_2 <= iVar6) || (*pcVar7 != '\0')) goto LAB_000fa680;
  }
LAB_000fa69c:
  iVar6 = (*(code *)PTR_strlen_00158444)(pcVar7);
  *(int *)PTR_rl_point_001575f0 = param_2 + iVar6;
LAB_000fa6b4:
  if (param_1 != pcVar3) {
    (*(code *)PTR_xfree_00156bb4)(pcVar3);
  }
  return;
}

