
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void record_macro(void)

{
  int *piVar1;
  byte bVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  char *pcVar6;
  int iVar7;
  undefined *puVar8;
  
  bVar2 = PTR_DAT_0007754c[-0x79e0];
  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;
  puVar3 = PTR_dcgettext_000780cc;
  puVar8 = PTR_DAT_0007754c;
  if ((bVar2 ^ 1) != 0) {
    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;
    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;
    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);
    statusline(HUSH,pcVar6);
    return;
  }
  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);
  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;
  if (iVar4 + -1 != 0) {
    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {
      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;
      iVar4 = iVar4 + -2;
      do {
        iVar5 = iVar4;
        if (iVar5 == 0) {
          *(undefined4 *)(puVar8 + -0x79e8) = 0;
          goto LAB_000465dc;
        }
        piVar1 = (int *)(iVar7 + -0xc);
        iVar7 = iVar7 + -4;
        iVar4 = iVar5 + -1;
      } while (*piVar1 == 0x1b);
      *(int *)(puVar8 + -0x79e8) = iVar5;
    }
  }
LAB_000465dc:
  pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);
  statusline(HUSH,pcVar6);
  return;
}



void record_macro(void)

{
  int *piVar1;
  byte bVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined *puVar8;
  
  bVar2 = PTR_DAT_0007754c[-0x79e0];
  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;
  puVar3 = PTR_dcgettext_000780cc;
  puVar8 = PTR_DAT_0007754c;
  if ((bVar2 ^ 1) != 0) {
    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;
    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;
    uVar6 = (*(code *)puVar3)(0,puVar8,5);
    statusline(0,uVar6);
    return;
  }
  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);
  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;
  if (iVar4 + -1 != 0) {
    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {
      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;
      iVar4 = iVar4 + -2;
      do {
        iVar5 = iVar4;
        if (iVar5 == 0) {
          *(undefined4 *)(puVar8 + -0x79e8) = 0;
          goto LAB_000465dc;
        }
        piVar1 = (int *)(iVar7 + -0xc);
        iVar7 = iVar7 + -4;
        iVar4 = iVar5 + -1;
      } while (*piVar1 == 0x1b);
      *(int *)(puVar8 + -0x79e8) = iVar5;
    }
  }
LAB_000465dc:
  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);
  statusline(0,uVar6);
  return;
}


lui gp,0x4
addiu gp,gp,-0x7028
addu gp,gp,t9
lw v1,-0x7fd4(gp)
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw ra,0x1c(sp)
lbu v0,-0x79e0(v1)
xori v0,v0,0x1
bne v0,zero,0x00046610
_sb v0,-0x79e0(v1)
lw a3,-0x7fd4(gp)
lw v0,-0x79e8(a3)
addiu v1,v0,-0x1
beq v1,zero,0x000465dc
_sw v1,-0x79e8(a3)
lw v1,-0x7fd4(gp)
sll a0,v0,0x2
li a1,0x1b
addiu a0,a0,-0x8
lw v1,-0x79e4(v1)
addu a2,v1,a0
lw a2,0x0(a2)
bne a2,a1,0x000465dc
_addiu a0,a0,0x8
addiu v0,v0,-0x2
addu v1,v1,a0
b 0x000465d0
_li a2,0x1b
lw a0,-0xc(v1)
addiu a1,v0,-0x1
bne a0,a2,0x0004664c
_addiu v1,v1,-0x4
or v0,a1,zero
bne v0,zero,0x000465bc
_nop
sw zero,-0x79e8(a3)
lw a1,-0x7fc4(gp)
or a0,zero,zero
lw t9,-0x7454(gp)
li a2,0x5
jalr t9
_addiu a1,a1,0x5228
or a0,zero,zero
lw gp,0x10(sp)
or a1,v0,zero
lw ra,0x1c(sp)
lw t9,-0x7fa4(gp)
b 0x00045ad8
_addiu sp,sp,0x20
lw a1,-0x7fc4(gp)
or a0,zero,zero
lw v0,-0x7fd4(gp)
li a2,0x5
lw t9,-0x7454(gp)
addiu a1,a1,0x5210
jalr t9
_sw zero,-0x79e8(v0)
or a0,zero,zero
lw gp,0x10(sp)
or a1,v0,zero
lw ra,0x1c(sp)
lw t9,-0x7fa4(gp)
b 0x00045ad8
_addiu sp,sp,0x20
b 0x000465dc
_sw v0,-0x79e8(a3)
(translation_unit "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}\n\n" (function_definition "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" primitive_type (function_declarator "record_macro(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "bVar2 = PTR_DAT_0007754c[-0x79e0];" (assignment_expression "bVar2 = PTR_DAT_0007754c[-0x79e0]" identifier = (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ])) ;) (expression_statement "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;" (assignment_expression "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1" (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ]) = (binary_expression "bVar2 ^ 1" identifier ^ number_literal)) ;) (expression_statement "puVar3 = PTR_dcgettext_000780cc;" (assignment_expression "puVar3 = PTR_dcgettext_000780cc" identifier = identifier) ;) (expression_statement "puVar8 = PTR_DAT_0007754c;" (assignment_expression "puVar8 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" if (parenthesized_expression "((bVar2 ^ 1) != 0)" ( (binary_expression "(bVar2 ^ 1) != 0" (parenthesized_expression "(bVar2 ^ 1)" ( (binary_expression "bVar2 ^ 1" identifier ^ number_literal) )) != number_literal) )) (compound_statement "{\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" { (expression_statement "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;" (assignment_expression "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210" identifier = (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5210" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = (*(code *)puVar3)(0,puVar8,5);" (assignment_expression "uVar6 = (*(code *)puVar3)(0,puVar8,5)" identifier = (call_expression "(*(code *)puVar3)(0,puVar8,5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;" (assignment_expression "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" if (parenthesized_expression "(iVar4 + -1 != 0)" ( (binary_expression "iVar4 + -1 != 0" (binary_expression "iVar4 + -1" identifier + number_literal) != number_literal) )) (compound_statement "{\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" { (if_statement "if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" if (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b)" ( (binary_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" * (cast_expression "(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8" (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" { (expression_statement "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" identifier = (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal))) ;) (expression_statement "iVar4 = iVar4 + -2;" (assignment_expression "iVar4 = iVar4 + -2" identifier = (binary_expression "iVar4 + -2" identifier + number_literal)) ;) (do_statement "do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);" do (compound_statement "{\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" { (expression_statement "*(undefined4 *)(puVar8 + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + -0x79e8)" * (cast_expression "(undefined4 *)(puVar8 + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000465dc;" goto statement_identifier ;) })) (expression_statement "piVar1 = (int *)(iVar7 + -0xc);" (assignment_expression "piVar1 = (int *)(iVar7 + -0xc)" identifier = (cast_expression "(int *)(iVar7 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -0xc)" ( (binary_expression "iVar7 + -0xc" identifier + number_literal) )))) ;) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5 + -1;" (assignment_expression "iVar4 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar1 == 0x1b)" ( (binary_expression "*piVar1 == 0x1b" (pointer_expression "*piVar1" * identifier) == number_literal) )) ;) (expression_statement "*(int *)(puVar8 + -0x79e8) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x79e8) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x79e8)" * (cast_expression "(int *)(puVar8 + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = identifier) ;) })) })) (labeled_statement "LAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" statement_identifier : (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5228" identifier + number_literal) , number_literal )))) ;)) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);\n    statusline(HUSH,pcVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(HUSH,pcVar6);\n  return;\n}\n\n" comment (function_definition "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);\n    statusline(HUSH,pcVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(HUSH,pcVar6);\n  return;\n}" primitive_type (function_declarator "record_macro(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);\n    statusline(HUSH,pcVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(HUSH,pcVar6);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "bVar2 = PTR_DAT_0007754c[-0x79e0];" (assignment_expression "bVar2 = PTR_DAT_0007754c[-0x79e0]" identifier = (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ])) ;) (expression_statement "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;" (assignment_expression "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1" (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ]) = (binary_expression "bVar2 ^ 1" identifier ^ number_literal)) ;) (expression_statement "puVar3 = PTR_dcgettext_000780cc;" (assignment_expression "puVar3 = PTR_dcgettext_000780cc" identifier = identifier) ;) (expression_statement "puVar8 = PTR_DAT_0007754c;" (assignment_expression "puVar8 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);\n    statusline(HUSH,pcVar6);\n    return;\n  }" if (parenthesized_expression "((bVar2 ^ 1) != 0)" ( (binary_expression "(bVar2 ^ 1) != 0" (parenthesized_expression "(bVar2 ^ 1)" ( (binary_expression "bVar2 ^ 1" identifier ^ number_literal) )) != number_literal) )) (compound_statement "{\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);\n    statusline(HUSH,pcVar6);\n    return;\n  }" { (expression_statement "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;" (assignment_expression "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210" identifier = (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5210" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5);" (assignment_expression "pcVar6 = (char *)(*(code *)puVar3)(0,puVar8,5)" identifier = (cast_expression "(char *)(*(code *)puVar3)(0,puVar8,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(0,puVar8,5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "statusline(HUSH,pcVar6);" (call_expression "statusline(HUSH,pcVar6)" identifier (argument_list "(HUSH,pcVar6)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;" (assignment_expression "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" if (parenthesized_expression "(iVar4 + -1 != 0)" ( (binary_expression "iVar4 + -1 != 0" (binary_expression "iVar4 + -1" identifier + number_literal) != number_literal) )) (compound_statement "{\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" { (if_statement "if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" if (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b)" ( (binary_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" * (cast_expression "(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8" (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" { (expression_statement "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" identifier = (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal))) ;) (expression_statement "iVar4 = iVar4 + -2;" (assignment_expression "iVar4 = iVar4 + -2" identifier = (binary_expression "iVar4 + -2" identifier + number_literal)) ;) (do_statement "do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);" do (compound_statement "{\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" { (expression_statement "*(undefined4 *)(puVar8 + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + -0x79e8)" * (cast_expression "(undefined4 *)(puVar8 + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000465dc;" goto statement_identifier ;) })) (expression_statement "piVar1 = (int *)(iVar7 + -0xc);" (assignment_expression "piVar1 = (int *)(iVar7 + -0xc)" identifier = (cast_expression "(int *)(iVar7 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -0xc)" ( (binary_expression "iVar7 + -0xc" identifier + number_literal) )))) ;) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5 + -1;" (assignment_expression "iVar4 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar1 == 0x1b)" ( (binary_expression "*piVar1 == 0x1b" (pointer_expression "*piVar1" * identifier) == number_literal) )) ;) (expression_statement "*(int *)(puVar8 + -0x79e8) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x79e8) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x79e8)" * (cast_expression "(int *)(puVar8 + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = identifier) ;) })) })) (labeled_statement "LAB_000465dc:\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" statement_identifier : (expression_statement "pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5228" identifier + number_literal) , number_literal ))))) ;)) (expression_statement "statusline(HUSH,pcVar6);" (call_expression "statusline(HUSH,pcVar6)" identifier (argument_list "(HUSH,pcVar6)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}\n\n" (function_definition "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" primitive_type (function_declarator "record_macro(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "bVar2 = PTR_DAT_0007754c[-0x79e0];" (assignment_expression "bVar2 = PTR_DAT_0007754c[-0x79e0]" identifier = (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ])) ;) (expression_statement "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;" (assignment_expression "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1" (subscript_expression "PTR_DAT_0007754c[-0x79e0]" identifier [ number_literal ]) = (binary_expression "bVar2 ^ 1" identifier ^ number_literal)) ;) (expression_statement "puVar3 = PTR_dcgettext_000780cc;" (assignment_expression "puVar3 = PTR_dcgettext_000780cc" identifier = identifier) ;) (expression_statement "puVar8 = PTR_DAT_0007754c;" (assignment_expression "puVar8 = PTR_DAT_0007754c" identifier = identifier) ;) (if_statement "if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" if (parenthesized_expression "((bVar2 ^ 1) != 0)" ( (binary_expression "(bVar2 ^ 1) != 0" (parenthesized_expression "(bVar2 ^ 1)" ( (binary_expression "bVar2 ^ 1" identifier ^ number_literal) )) != number_literal) )) (compound_statement "{\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" { (expression_statement "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;" (assignment_expression "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210" identifier = (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5210" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = (*(code *)puVar3)(0,puVar8,5);" (assignment_expression "uVar6 = (*(code *)puVar3)(0,puVar8,5)" identifier = (call_expression "(*(code *)puVar3)(0,puVar8,5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;" (assignment_expression "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" ( (binary_expression "PTR_DAT_0007754c + -0x79e8" identifier + number_literal) )))) = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" if (parenthesized_expression "(iVar4 + -1 != 0)" ( (binary_expression "iVar4 + -1 != 0" (binary_expression "iVar4 + -1" identifier + number_literal) != number_literal) )) (compound_statement "{\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" { (if_statement "if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" if (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b)" ( (binary_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" * (cast_expression "(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" ( (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8" (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal)) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" { (expression_statement "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" identifier = (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" ( (binary_expression "PTR_DAT_0007754c + -0x79e4" identifier + number_literal) )))) + (binary_expression "iVar4 * 4" identifier * number_literal))) ;) (expression_statement "iVar4 = iVar4 + -2;" (assignment_expression "iVar4 = iVar4 + -2" identifier = (binary_expression "iVar4 + -2" identifier + number_literal)) ;) (do_statement "do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);" do (compound_statement "{\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" { (expression_statement "*(undefined4 *)(puVar8 + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + -0x79e8)" * (cast_expression "(undefined4 *)(puVar8 + -0x79e8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000465dc;" goto statement_identifier ;) })) (expression_statement "piVar1 = (int *)(iVar7 + -0xc);" (assignment_expression "piVar1 = (int *)(iVar7 + -0xc)" identifier = (cast_expression "(int *)(iVar7 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -0xc)" ( (binary_expression "iVar7 + -0xc" identifier + number_literal) )))) ;) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5 + -1;" (assignment_expression "iVar4 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar1 == 0x1b)" ( (binary_expression "*piVar1 == 0x1b" (pointer_expression "*piVar1" * identifier) == number_literal) )) ;) (expression_statement "*(int *)(puVar8 + -0x79e8) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x79e8) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x79e8)" * (cast_expression "(int *)(puVar8 + -0x79e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x79e8)" ( (binary_expression "puVar8 + -0x79e8" identifier + number_literal) )))) = identifier) ;) })) })) (labeled_statement "LAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" statement_identifier : (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5228" identifier + number_literal) , number_literal )))) ;)) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != LIT) )) (compound_statement { (if_statement if (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) })) (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 ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void record_macro(void)\n\n{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" (primitive_type "void") (function_declarator "record_macro(void)" (identifier "record_macro") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  byte bVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  bVar2 = PTR_DAT_0007754c[-0x79e0];\n  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;\n  puVar3 = PTR_dcgettext_000780cc;\n  puVar8 = PTR_DAT_0007754c;\n  if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }\n  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);\n  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;\n  if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }\nLAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);\n  statusline(0,uVar6);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (expression_statement "bVar2 = PTR_DAT_0007754c[-0x79e0];" (assignment_expression "bVar2 = PTR_DAT_0007754c[-0x79e0]" (identifier "bVar2") (= "=") (subscript_expression "PTR_DAT_0007754c[-0x79e0]" (identifier "PTR_DAT_0007754c") ([ "[") (number_literal "-0x79e0") (] "]"))) (; ";")) (expression_statement "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;" (assignment_expression "PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1" (subscript_expression "PTR_DAT_0007754c[-0x79e0]" (identifier "PTR_DAT_0007754c") ([ "[") (number_literal "-0x79e0") (] "]")) (= "=") (binary_expression "bVar2 ^ 1" (identifier "bVar2") (^ "^") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = PTR_dcgettext_000780cc;" (assignment_expression "puVar3 = PTR_dcgettext_000780cc" (identifier "puVar3") (= "=") (identifier "PTR_dcgettext_000780cc")) (; ";")) (expression_statement "puVar8 = PTR_DAT_0007754c;" (assignment_expression "puVar8 = PTR_DAT_0007754c" (identifier "puVar8") (= "=") (identifier "PTR_DAT_0007754c")) (; ";")) (if_statement "if ((bVar2 ^ 1) != 0) {\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" (if "if") (parenthesized_expression "((bVar2 ^ 1) != 0)" (( "(") (binary_expression "(bVar2 ^ 1) != 0" (parenthesized_expression "(bVar2 ^ 1)" (( "(") (binary_expression "bVar2 ^ 1" (identifier "bVar2") (^ "^") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;\n    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;\n    uVar6 = (*(code *)puVar3)(0,puVar8,5);\n    statusline(0,uVar6);\n    return;\n  }" ({ "{") (expression_statement "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;" (assignment_expression "puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210" (identifier "puVar8") (= "=") (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5210" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "0x5210"))) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0007754c + -0x79e8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x79e8" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x79e8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = (*(code *)puVar3)(0,puVar8,5);" (assignment_expression "uVar6 = (*(code *)puVar3)(0,puVar8,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)puVar3)(0,puVar8,5)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(0,puVar8,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar8") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" (identifier "statusline") (argument_list "(0,uVar6)" (( "(") (number_literal "0") (, ",") (identifier "uVar6") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x79e8" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x79e8")) () ")"))))) (; ";")) (expression_statement "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;" (assignment_expression "*(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e8)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x79e8)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x79e8" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x79e8")) () ")")))) (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar4 + -1 != 0) {\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 + -1 != 0)" (( "(") (binary_expression "iVar4 + -1 != 0" (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b)" (( "(") (binary_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" (* "*") (cast_expression "(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8)" (( "(") (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8" (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x79e4" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x79e4")) () ")")))) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (+ "+") (number_literal "-8")) () ")")))) (== "==") (number_literal "0x1b")) () ")")) (compound_statement "{\n      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;\n      iVar4 = iVar4 + -2;\n      do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);\n      *(int *)(puVar8 + -0x79e8) = iVar5;\n    }" ({ "{") (expression_statement "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (identifier "iVar7") (= "=") (binary_expression "*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4" (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x79e4)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x79e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x79e4)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x79e4" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x79e4")) () ")")))) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4")))) (; ";")) (expression_statement "iVar4 = iVar4 + -2;" (assignment_expression "iVar4 = iVar4 + -2" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -2" (identifier "iVar4") (+ "+") (number_literal "-2"))) (; ";")) (do_statement "do {\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      } while (*piVar1 == 0x1b);" (do "do") (compound_statement "{\n        iVar5 = iVar4;\n        if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }\n        piVar1 = (int *)(iVar7 + -0xc);\n        iVar7 = iVar7 + -4;\n        iVar4 = iVar5 + -1;\n      }" ({ "{") (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar5 == 0) {\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(puVar8 + -0x79e8) = 0;\n          goto LAB_000465dc;\n        }" ({ "{") (expression_statement "*(undefined4 *)(puVar8 + -0x79e8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + -0x79e8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + -0x79e8)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x79e8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x79e8)" (( "(") (binary_expression "puVar8 + -0x79e8" (identifier "puVar8") (+ "+") (number_literal "-0x79e8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000465dc;" (goto "goto") (statement_identifier "LAB_000465dc") (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)(iVar7 + -0xc);" (assignment_expression "piVar1 = (int *)(iVar7 + -0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar7 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + -0xc)" (( "(") (binary_expression "iVar7 + -0xc" (identifier "iVar7") (+ "+") (number_literal "-0xc")) () ")")))) (; ";")) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -4" (identifier "iVar7") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "iVar4 = iVar5 + -1;" (assignment_expression "iVar4 = iVar5 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar1 == 0x1b)" (( "(") (binary_expression "*piVar1 == 0x1b" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0x1b")) () ")")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x79e8) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x79e8) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x79e8)" (* "*") (cast_expression "(int *)(puVar8 + -0x79e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x79e8)" (( "(") (binary_expression "puVar8 + -0x79e8" (identifier "puVar8") (+ "+") (number_literal "-0x79e8")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_000465dc:\n  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" (statement_identifier "LAB_000465dc") (: ":") (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000780cc" (* "*") (cast_expression "(code *)PTR_dcgettext_000780cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000780cc"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x5228,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + 0x5228" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "0x5228")) (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "statusline(0,uVar6);" (call_expression "statusline(0,uVar6)" (identifier "statusline") (argument_list "(0,uVar6)" (( "(") (number_literal "0") (, ",") (identifier "uVar6") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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 (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (number_literal))) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (return_statement))))

void MASKED(void)

{
  int *piVar1;
  byte bVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined *puVar8;
  
  bVar2 = PTR_DAT_0007754c[-0x79e0];
  PTR_DAT_0007754c[-0x79e0] = bVar2 ^ 1;
  puVar3 = PTR_dcgettext_000780cc;
  puVar8 = PTR_DAT_0007754c;
  if ((bVar2 ^ 1) != 0) {
    puVar8 = PTR_s_d_of_current_line_0007755c + 0x5210;
    *(undefined4 *)(PTR_DAT_0007754c + -0x79e8) = 0;
    uVar6 = (*(code *)puVar3)(0,puVar8,5);
    statusline(0,uVar6);
    return;
  }
  iVar4 = *(int *)(PTR_DAT_0007754c + -0x79e8);
  *(int *)(PTR_DAT_0007754c + -0x79e8) = iVar4 + -1;
  if (iVar4 + -1 != 0) {
    if (*(int *)(*(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4 + -8) == 0x1b) {
      iVar7 = *(int *)(PTR_DAT_0007754c + -0x79e4) + iVar4 * 4;
      iVar4 = iVar4 + -2;
      do {
        iVar5 = iVar4;
        if (iVar5 == 0) {
          *(undefined4 *)(puVar8 + -0x79e8) = 0;
          goto LAB_000465dc;
        }
        piVar1 = (int *)(iVar7 + -0xc);
        iVar7 = iVar7 + -4;
        iVar4 = iVar5 + -1;
      } while (*piVar1 == 0x1b);
      *(int *)(puVar8 + -0x79e8) = iVar5;
    }
  }
LAB_000465dc:
  uVar6 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x5228,5);
  statusline(0,uVar6);
  return;
}

