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

void print_sdiff_hunk(change *hunk)

{
  lin lVar1;
  int iVar2;
  lin lVar3;
  int in_GS_OFFSET;
  changes local_40;
  lin first0;
  lin last0;
  lin first1;
  lin last1;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1b599;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1);
  lVar1 = next0;
  if (local_40 != UNCHANGED) {
    print_sdiff_common_lines(first0,first1);
    if (sdiff_merge_assist != false) {
      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);
    }
    if (local_40 == CHANGED) {
      lVar1 = first1;
      lVar3 = first0;
      if (last0 < first0) {
LAB_0001b6fd:
        local_40 = (uint)(lVar3 <= last0);
        first0 = lVar3;
        first1 = lVar1;
        next1 = lVar1;
        next0 = lVar3;
        if (lVar1 <= last1) {
          local_40 = (lVar3 <= last0) + NEW;
        }
      }
      else {
        if (first1 <= last1) {
          do {
            lVar1 = first1 + 1;
            lVar3 = first0 + 1;
            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);
            if (last0 < lVar3) goto LAB_0001b6fd;
            first1 = lVar1;
            first0 = lVar3;
          } while (lVar1 <= last1);
        }
        local_40 = (changes)(lVar3 <= last0);
        first0 = lVar3;
        first1 = lVar1;
        next1 = lVar1;
        next0 = lVar3;
      }
    }
    lVar1 = next1;
    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {
      do {
        lVar1 = iVar2 + 1;
        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);
        iVar2 = lVar1;
      } while (lVar1 <= last1);
    }
    next1 = lVar1;
    lVar1 = next0;
    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {
      do {
        lVar1 = iVar2 + 1;
        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);
        iVar2 = lVar1;
      } while (lVar1 <= last0);
    }
  }
  next0 = lVar1;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



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

void FUN_0001b590(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int in_GS_OFFSET;
  uint local_40;
  int local_30;
  int local_2c;
  int local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1b599;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);
  iVar1 = DAT_0004d3a0;
  if (local_40 != 0) {
    FUN_0001b410();
    if (DAT_0004d63e != '\0') {
      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)
      ;
    }
    if (local_40 == 3) {
      iVar1 = local_28;
      iVar2 = local_30;
      if (local_2c < local_30) {
LAB_0001b6fd:
        local_40 = (uint)(iVar2 <= local_2c);
        local_30 = iVar2;
        local_28 = iVar1;
        DAT_0004d39c = iVar1;
        DAT_0004d3a0 = iVar2;
        if (iVar1 <= local_24) {
          local_40 = (iVar2 <= local_2c) + 2;
        }
      }
      else {
        if (local_28 <= local_24) {
          do {
            iVar1 = local_28 + 1;
            iVar2 = local_30 + 1;
            FUN_0001b1d0();
            if (local_2c < iVar2) goto LAB_0001b6fd;
            local_28 = iVar1;
            local_30 = iVar2;
          } while (iVar1 <= local_24);
        }
        local_40 = (uint)(iVar2 <= local_2c);
        local_30 = iVar2;
        local_28 = iVar1;
        DAT_0004d39c = iVar1;
        DAT_0004d3a0 = iVar2;
      }
    }
    iVar1 = DAT_0004d39c;
    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {
      do {
        iVar1 = iVar1 + 1;
        FUN_0001b1d0();
      } while (iVar1 <= local_24);
    }
    DAT_0004d39c = iVar1;
    iVar1 = DAT_0004d3a0;
    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {
      do {
        iVar1 = iVar1 + 1;
        FUN_0001b1d0();
      } while (iVar1 <= local_2c);
    }
  }
  DAT_0004d3a0 = iVar1;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0003b430();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013b20
ADD EBX,0x31a67
SUB ESP,0x48
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x38],EAX
XOR EAX,EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x34]
PUSH EAX
PUSH dword ptr [ESP + 0x6c]
CALL 0x0001d510
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x0001b5f0
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0001b77a
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x24]
CALL 0x0001b410
LEA EAX,[EBX + 0x63e]
CMP byte ptr [EAX],0x0
JNZ 0x0001b730
CMP dword ptr [ESP + 0xc],0x3
JZ 0x0001b6a0
TEST byte ptr [ESP + 0xc],0x2
JZ 0x0001b654
MOV EDI,dword ptr [ESP + 0x24]
CMP EDI,dword ptr [ESP + 0x28]
JG 0x0001b64e
LEA ESI,[EBX + 0x700]
NOP
MOV EAX,dword ptr [ESI + 0x124]
MOV EDX,0x3e
LEA ECX,[EAX + EDI*0x4]
XOR EAX,EAX
ADD EDI,0x1
CALL 0x0001b1d0
CMP dword ptr [ESP + 0x28],EDI
JGE 0x0001b630
MOV dword ptr [EBX + 0x39c],EDI
TEST byte ptr [ESP + 0xc],0x1
JZ 0x0001b5d6
MOV EDI,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0x20],EDI
JL 0x0001b68b
LEA ESI,[EBX + 0x700]
NOP
MOV EAX,dword ptr [ESI + 0x74]
XOR ECX,ECX
MOV EDX,0x3c
LEA EAX,[EAX + EDI*0x4]
ADD EDI,0x1
CALL 0x0001b1d0
CMP dword ptr [ESP + 0x20],EDI
JGE 0x0001b670
MOV dword ptr [EBX + 0x3a0],EDI
JMP 0x0001b5d6
MOV EDI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0x28]
CMP EDI,EAX
JG 0x0001b6fd
CMP EBP,EDX
JG 0x0001b770
LEA ESI,[EBX + 0x700]
JMP 0x0001b6d2
CMP dword ptr [ESP + 0x28],EBP
JL 0x0001b770
MOV EAX,dword ptr [ESI + 0x124]
MOV EDX,0x7c
LEA ECX,[EAX + EBP*0x4]
MOV EAX,dword ptr [ESI + 0x74]
ADD EBP,0x1
LEA EAX,[EAX + EDI*0x4]
ADD EDI,0x1
CALL 0x0001b1d0
MOV EAX,dword ptr [ESP + 0x20]
CMP EAX,EDI
JGE 0x0001b6c8
MOV EDX,dword ptr [ESP + 0x28]
CMP EDI,EAX
SETLE AL
CMP EBP,EDX
MOVZX EAX,AL
LEA ECX,[EAX + 0x2]
CMOVLE EAX,ECX
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x1c],EDI
MOV dword ptr [EBX + 0x3a0],EDI
MOV dword ptr [ESP + 0x24],EBP
MOV dword ptr [EBX + 0x39c],EBP
JMP 0x0001b617
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x34]
SUB EAX,dword ptr [ESP + 0x30]
ADD EAX,0x1
PUSH EAX
MOV EAX,dword ptr [ESP + 0x30]
SUB EAX,dword ptr [ESP + 0x2c]
ADD EAX,0x1
PUSH EAX
LEA EAX,[EBX + 0xffff13ae]
PUSH EAX
LEA EAX,[EBX + 0x624]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012610
ADD ESP,0x20
JMP 0x0001b60c
CMP EDI,EAX
SETLE AL
MOVZX EAX,AL
JMP 0x0001b70d
CALL 0x0003b430
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001b590(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0003b430();\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001b590(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0003b430();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001b590(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0003b430();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1b599;" (assignment_expression "uStack_14 = 0x1b599" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);" (assignment_expression "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" identifier = (call_expression "FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" identifier (argument_list "(param_1,&local_30,&local_2c,&local_28,&local_24)" ( identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" identifier = identifier) ;) (if_statement "if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" if (parenthesized_expression "(local_40 != 0)" ( (binary_expression "local_40 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" { (expression_statement "FUN_0001b410();" (call_expression "FUN_0001b410()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" if (parenthesized_expression "(DAT_0004d63e != '\0')" ( (binary_expression "DAT_0004d63e != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" { (expression_statement "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;" (call_expression "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" identifier (argument_list "(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" ( identifier , number_literal , (string_literal ""c%ld,%ld\n"" " string_content escape_sequence ") , (binary_expression "(local_2c - local_30) + 1" (parenthesized_expression "(local_2c - local_30)" ( (binary_expression "local_2c - local_30" identifier - identifier) )) + number_literal) , (binary_expression "(local_24 - local_28) + 1" (parenthesized_expression "(local_24 - local_28)" ( (binary_expression "local_24 - local_28" identifier - identifier) )) + number_literal) ))) ;) })) (if_statement "if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" if (parenthesized_expression "(local_40 == 3)" ( (binary_expression "local_40 == 3" identifier == number_literal) )) (compound_statement "{\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" { (expression_statement "iVar1 = local_28;" (assignment_expression "iVar1 = local_28" identifier = identifier) ;) (expression_statement "iVar2 = local_30;" (assignment_expression "iVar2 = local_30" identifier = identifier) ;) (if_statement "if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" if (parenthesized_expression "(local_2c < local_30)" ( (binary_expression "local_2c < local_30" identifier < identifier) )) (compound_statement "{\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }" { (labeled_statement "LAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);" statement_identifier : (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" identifier = (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )))) ;)) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" identifier = identifier) ;) (if_statement "if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" if (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) (compound_statement "{\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" { (expression_statement "local_40 = (iVar2 <= local_2c) + 2;" (assignment_expression "local_40 = (iVar2 <= local_2c) + 2" identifier = (binary_expression "(iVar2 <= local_2c) + 2" (parenthesized_expression "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )) + number_literal)) ;) })) }) (else_clause "else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" else (compound_statement "{\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" { (if_statement "if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" if (parenthesized_expression "(local_28 <= local_24)" ( (binary_expression "local_28 <= local_24" identifier <= identifier) )) (compound_statement "{\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" { (do_statement "do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);" do (compound_statement "{\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          }" { (expression_statement "iVar1 = local_28 + 1;" (assignment_expression "iVar1 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = local_30 + 1;" (assignment_expression "iVar2 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_2c < iVar2) goto LAB_0001b6fd;" if (parenthesized_expression "(local_2c < iVar2)" ( (binary_expression "local_2c < iVar2" identifier < identifier) )) (goto_statement "goto LAB_0001b6fd;" goto statement_identifier ;)) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) ;) })) (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" identifier = (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )))) ;) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" identifier = identifier) ;) }))) })) (expression_statement "iVar1 = DAT_0004d39c;" (assignment_expression "iVar1 = DAT_0004d39c" identifier = identifier) ;) (if_statement "if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" if (parenthesized_expression "(((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24))" ( (binary_expression "((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)" (parenthesized_expression "((local_40 & 2) != 0)" ( (binary_expression "(local_40 & 2) != 0" (parenthesized_expression "(local_40 & 2)" ( (binary_expression "local_40 & 2" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar1 = local_28, local_28 <= local_24)" ( (comma_expression "iVar1 = local_28, local_28 <= local_24" (assignment_expression "iVar1 = local_28" identifier = identifier) , (binary_expression "local_28 <= local_24" identifier <= identifier)) ))) )) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" { (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) ;) })) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" identifier = identifier) ;) (if_statement "if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" if (parenthesized_expression "(((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c))" ( (binary_expression "((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)" (parenthesized_expression "((local_40 & 1) != 0)" ( (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" ( (binary_expression "local_40 & 1" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar1 = local_30, local_30 <= local_2c)" ( (comma_expression "iVar1 = local_30, local_30 <= local_2c" (assignment_expression "iVar1 = local_30" identifier = identifier) , (binary_expression "local_30 <= local_2c" identifier <= identifier)) ))) )) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" { (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 <= local_2c)" ( (binary_expression "iVar1 <= local_2c" identifier <= identifier) )) ;) })) })) (expression_statement "DAT_0004d3a0 = iVar1;" (assignment_expression "DAT_0004d3a0 = iVar1" identifier = identifier) ;) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0003b430();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0003b430();\n  }" { comment (expression_statement "FUN_0003b430();" (call_expression "FUN_0003b430()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid print_sdiff_hunk(change *hunk)\n\n{\n  lin lVar1;\n  int iVar2;\n  lin lVar3;\n  int in_GS_OFFSET;\n  changes local_40;\n  lin first0;\n  lin last0;\n  lin first1;\n  lin last1;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1);\n  lVar1 = next0;\n  if (local_40 != UNCHANGED) {\n    print_sdiff_common_lines(first0,first1);\n    if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }\n    if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }\n    lVar1 = next1;\n    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }\n    next1 = lVar1;\n    lVar1 = next0;\n    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }\n  }\n  next0 = lVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment comment (function_definition "void print_sdiff_hunk(change *hunk)\n\n{\n  lin lVar1;\n  int iVar2;\n  lin lVar3;\n  int in_GS_OFFSET;\n  changes local_40;\n  lin first0;\n  lin last0;\n  lin first1;\n  lin last1;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1);\n  lVar1 = next0;\n  if (local_40 != UNCHANGED) {\n    print_sdiff_common_lines(first0,first1);\n    if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }\n    if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }\n    lVar1 = next1;\n    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }\n    next1 = lVar1;\n    lVar1 = next0;\n    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }\n  }\n  next0 = lVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (function_declarator "print_sdiff_hunk(change *hunk)" identifier (parameter_list "(change *hunk)" ( (parameter_declaration "change *hunk" type_identifier (pointer_declarator "*hunk" * identifier)) ))) (compound_statement "{\n  lin lVar1;\n  int iVar2;\n  lin lVar3;\n  int in_GS_OFFSET;\n  changes local_40;\n  lin first0;\n  lin last0;\n  lin first1;\n  lin last1;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1);\n  lVar1 = next0;\n  if (local_40 != UNCHANGED) {\n    print_sdiff_common_lines(first0,first1);\n    if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }\n    if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }\n    lVar1 = next1;\n    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }\n    next1 = lVar1;\n    lVar1 = next0;\n    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }\n  }\n  next0 = lVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "lin lVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "lin lVar3;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "changes local_40;" type_identifier identifier ;) (declaration "lin first0;" type_identifier identifier ;) (declaration "lin last0;" type_identifier identifier ;) (declaration "lin first1;" type_identifier identifier ;) (declaration "lin last1;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1b599;" (assignment_expression "uStack_14 = 0x1b599" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1);" (assignment_expression "local_40 = analyze_hunk(hunk,&first0,&last0,&first1,&last1)" identifier = (call_expression "analyze_hunk(hunk,&first0,&last0,&first1,&last1)" identifier (argument_list "(hunk,&first0,&last0,&first1,&last1)" ( identifier , (pointer_expression "&first0" & identifier) , (pointer_expression "&last0" & identifier) , (pointer_expression "&first1" & identifier) , (pointer_expression "&last1" & identifier) )))) ;) (expression_statement "lVar1 = next0;" (assignment_expression "lVar1 = next0" identifier = identifier) ;) (if_statement "if (local_40 != UNCHANGED) {\n    print_sdiff_common_lines(first0,first1);\n    if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }\n    if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }\n    lVar1 = next1;\n    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }\n    next1 = lVar1;\n    lVar1 = next0;\n    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }\n  }" if (parenthesized_expression "(local_40 != UNCHANGED)" ( (binary_expression "local_40 != UNCHANGED" identifier != identifier) )) (compound_statement "{\n    print_sdiff_common_lines(first0,first1);\n    if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }\n    if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }\n    lVar1 = next1;\n    if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }\n    next1 = lVar1;\n    lVar1 = next0;\n    if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }\n  }" { (expression_statement "print_sdiff_common_lines(first0,first1);" (call_expression "print_sdiff_common_lines(first0,first1)" identifier (argument_list "(first0,first1)" ( identifier , identifier ))) ;) (if_statement "if (sdiff_merge_assist != false) {\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }" if (parenthesized_expression "(sdiff_merge_assist != false)" ( (binary_expression "sdiff_merge_assist != false" identifier != false) )) (compound_statement "{\n      __fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);\n    }" { (expression_statement "__fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1);" (call_expression "__fprintf_chk(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1)" identifier (argument_list "(outfile,1,"c%ld,%ld\n",(last0 - first0) + 1,(last1 - first1) + 1)" ( identifier , number_literal , (string_literal ""c%ld,%ld\n"" " string_content escape_sequence ") , (binary_expression "(last0 - first0) + 1" (parenthesized_expression "(last0 - first0)" ( (binary_expression "last0 - first0" identifier - identifier) )) + number_literal) , (binary_expression "(last1 - first1) + 1" (parenthesized_expression "(last1 - first1)" ( (binary_expression "last1 - first1" identifier - identifier) )) + number_literal) ))) ;) })) (if_statement "if (local_40 == CHANGED) {\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }" if (parenthesized_expression "(local_40 == CHANGED)" ( (binary_expression "local_40 == CHANGED" identifier == identifier) )) (compound_statement "{\n      lVar1 = first1;\n      lVar3 = first0;\n      if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }\n    }" { (expression_statement "lVar1 = first1;" (assignment_expression "lVar1 = first1" identifier = identifier) ;) (expression_statement "lVar3 = first0;" (assignment_expression "lVar3 = first0" identifier = identifier) ;) (if_statement "if (last0 < first0) {\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }\n      else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }" if (parenthesized_expression "(last0 < first0)" ( (binary_expression "last0 < first0" identifier < identifier) )) (compound_statement "{\nLAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n        if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }\n      }" { (labeled_statement "LAB_0001b6fd:\n        local_40 = (uint)(lVar3 <= last0);" statement_identifier : (expression_statement "local_40 = (uint)(lVar3 <= last0);" (assignment_expression "local_40 = (uint)(lVar3 <= last0)" identifier = (call_expression "(uint)(lVar3 <= last0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar3 <= last0)" ( (binary_expression "lVar3 <= last0" identifier <= identifier) )))) ;)) (expression_statement "first0 = lVar3;" (assignment_expression "first0 = lVar3" identifier = identifier) ;) (expression_statement "first1 = lVar1;" (assignment_expression "first1 = lVar1" identifier = identifier) ;) (expression_statement "next1 = lVar1;" (assignment_expression "next1 = lVar1" identifier = identifier) ;) (expression_statement "next0 = lVar3;" (assignment_expression "next0 = lVar3" identifier = identifier) ;) (if_statement "if (lVar1 <= last1) {\n          local_40 = (lVar3 <= last0) + NEW;\n        }" if (parenthesized_expression "(lVar1 <= last1)" ( (binary_expression "lVar1 <= last1" identifier <= identifier) )) (compound_statement "{\n          local_40 = (lVar3 <= last0) + NEW;\n        }" { (expression_statement "local_40 = (lVar3 <= last0) + NEW;" (assignment_expression "local_40 = (lVar3 <= last0) + NEW" identifier = (binary_expression "(lVar3 <= last0) + NEW" (parenthesized_expression "(lVar3 <= last0)" ( (binary_expression "lVar3 <= last0" identifier <= identifier) )) + identifier)) ;) })) }) (else_clause "else {\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }" else (compound_statement "{\n        if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }\n        local_40 = (changes)(lVar3 <= last0);\n        first0 = lVar3;\n        first1 = lVar1;\n        next1 = lVar1;\n        next0 = lVar3;\n      }" { (if_statement "if (first1 <= last1) {\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }" if (parenthesized_expression "(first1 <= last1)" ( (binary_expression "first1 <= last1" identifier <= identifier) )) (compound_statement "{\n          do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);\n        }" { (do_statement "do {\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          } while (lVar1 <= last1);" do (compound_statement "{\n            lVar1 = first1 + 1;\n            lVar3 = first0 + 1;\n            print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);\n            if (last0 < lVar3) goto LAB_0001b6fd;\n            first1 = lVar1;\n            first0 = lVar3;\n          }" { (expression_statement "lVar1 = first1 + 1;" (assignment_expression "lVar1 = first1 + 1" identifier = (binary_expression "first1 + 1" identifier + number_literal)) ;) (expression_statement "lVar3 = first0 + 1;" (assignment_expression "lVar3 = first0 + 1" identifier = (binary_expression "first0 + 1" identifier + number_literal)) ;) (expression_statement "print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1);" (call_expression "print_1sdiff_line(files[0].linbuf + first0,'|',files[1].linbuf + first1)" identifier (argument_list "(files[0].linbuf + first0,'|',files[1].linbuf + first1)" ( (binary_expression "files[0].linbuf + first0" (field_expression "files[0].linbuf" (subscript_expression "files[0]" identifier [ number_literal ]) . field_identifier) + identifier) , (char_literal "'|'" ' character ') , (binary_expression "files[1].linbuf + first1" (field_expression "files[1].linbuf" (subscript_expression "files[1]" identifier [ number_literal ]) . field_identifier) + identifier) ))) ;) (if_statement "if (last0 < lVar3) goto LAB_0001b6fd;" if (parenthesized_expression "(last0 < lVar3)" ( (binary_expression "last0 < lVar3" identifier < identifier) )) (goto_statement "goto LAB_0001b6fd;" goto statement_identifier ;)) (expression_statement "first1 = lVar1;" (assignment_expression "first1 = lVar1" identifier = identifier) ;) (expression_statement "first0 = lVar3;" (assignment_expression "first0 = lVar3" identifier = identifier) ;) }) while (parenthesized_expression "(lVar1 <= last1)" ( (binary_expression "lVar1 <= last1" identifier <= identifier) )) ;) })) (expression_statement "local_40 = (changes)(lVar3 <= last0);" (assignment_expression "local_40 = (changes)(lVar3 <= last0)" identifier = (call_expression "(changes)(lVar3 <= last0)" (parenthesized_expression "(changes)" ( identifier )) (argument_list "(lVar3 <= last0)" ( (binary_expression "lVar3 <= last0" identifier <= identifier) )))) ;) (expression_statement "first0 = lVar3;" (assignment_expression "first0 = lVar3" identifier = identifier) ;) (expression_statement "first1 = lVar1;" (assignment_expression "first1 = lVar1" identifier = identifier) ;) (expression_statement "next1 = lVar1;" (assignment_expression "next1 = lVar1" identifier = identifier) ;) (expression_statement "next0 = lVar3;" (assignment_expression "next0 = lVar3" identifier = identifier) ;) }))) })) (expression_statement "lVar1 = next1;" (assignment_expression "lVar1 = next1" identifier = identifier) ;) (if_statement "if (((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }" if (parenthesized_expression "(((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1))" ( (binary_expression "((local_40 & NEW) != UNCHANGED) && (iVar2 = first1, lVar1 = first1, first1 <= last1)" (parenthesized_expression "((local_40 & NEW) != UNCHANGED)" ( (binary_expression "(local_40 & NEW) != UNCHANGED" (parenthesized_expression "(local_40 & NEW)" ( (binary_expression "local_40 & NEW" identifier & identifier) )) != identifier) )) && (parenthesized_expression "(iVar2 = first1, lVar1 = first1, first1 <= last1)" ( (comma_expression "iVar2 = first1, lVar1 = first1, first1 <= last1" (assignment_expression "iVar2 = first1" identifier = identifier) , (comma_expression "lVar1 = first1, first1 <= last1" (assignment_expression "lVar1 = first1" identifier = identifier) , (binary_expression "first1 <= last1" identifier <= identifier))) ))) )) (compound_statement "{\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);\n    }" { (do_statement "do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      } while (lVar1 <= last1);" do (compound_statement "{\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);\n        iVar2 = lVar1;\n      }" { (expression_statement "lVar1 = iVar2 + 1;" (assignment_expression "lVar1 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2);" (call_expression "print_1sdiff_line((char **)0x0,'>',files[1].linbuf + iVar2)" identifier (argument_list "((char **)0x0,'>',files[1].linbuf + iVar2)" ( (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (char_literal "'>'" ' character ') , (binary_expression "files[1].linbuf + iVar2" (field_expression "files[1].linbuf" (subscript_expression "files[1]" identifier [ number_literal ]) . field_identifier) + identifier) ))) ;) (expression_statement "iVar2 = lVar1;" (assignment_expression "iVar2 = lVar1" identifier = identifier) ;) }) while (parenthesized_expression "(lVar1 <= last1)" ( (binary_expression "lVar1 <= last1" identifier <= identifier) )) ;) })) (expression_statement "next1 = lVar1;" (assignment_expression "next1 = lVar1" identifier = identifier) ;) (expression_statement "lVar1 = next0;" (assignment_expression "lVar1 = next0" identifier = identifier) ;) (if_statement "if (((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)) {\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }" if (parenthesized_expression "(((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0))" ( (binary_expression "((local_40 & OLD) != UNCHANGED) && (iVar2 = first0, lVar1 = first0, first0 <= last0)" (parenthesized_expression "((local_40 & OLD) != UNCHANGED)" ( (binary_expression "(local_40 & OLD) != UNCHANGED" (parenthesized_expression "(local_40 & OLD)" ( (binary_expression "local_40 & OLD" identifier & identifier) )) != identifier) )) && (parenthesized_expression "(iVar2 = first0, lVar1 = first0, first0 <= last0)" ( (comma_expression "iVar2 = first0, lVar1 = first0, first0 <= last0" (assignment_expression "iVar2 = first0" identifier = identifier) , (comma_expression "lVar1 = first0, first0 <= last0" (assignment_expression "lVar1 = first0" identifier = identifier) , (binary_expression "first0 <= last0" identifier <= identifier))) ))) )) (compound_statement "{\n      do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);\n    }" { (do_statement "do {\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      } while (lVar1 <= last0);" do (compound_statement "{\n        lVar1 = iVar2 + 1;\n        print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);\n        iVar2 = lVar1;\n      }" { (expression_statement "lVar1 = iVar2 + 1;" (assignment_expression "lVar1 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0);" (call_expression "print_1sdiff_line(files[0].linbuf + iVar2,'<',(char **)0x0)" identifier (argument_list "(files[0].linbuf + iVar2,'<',(char **)0x0)" ( (binary_expression "files[0].linbuf + iVar2" (field_expression "files[0].linbuf" (subscript_expression "files[0]" identifier [ number_literal ]) . field_identifier) + identifier) , (char_literal "'<'" ' character ') , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) ))) ;) (expression_statement "iVar2 = lVar1;" (assignment_expression "iVar2 = lVar1" identifier = identifier) ;) }) while (parenthesized_expression "(lVar1 <= last0)" ( (binary_expression "lVar1 <= last0" identifier <= identifier) )) ;) })) })) (expression_statement "next0 = lVar1;" (assignment_expression "next0 = lVar1" identifier = identifier) ;) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001b590(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001b590(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001b590(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1b599;" (assignment_expression "uStack_14 = 0x1b599" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);" (assignment_expression "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" identifier = (call_expression "FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" identifier (argument_list "(param_1,&local_30,&local_2c,&local_28,&local_24)" ( identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" identifier = identifier) ;) (if_statement "if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" if (parenthesized_expression "(local_40 != 0)" ( (binary_expression "local_40 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" { (expression_statement "FUN_0001b410();" (call_expression "FUN_0001b410()" identifier (argument_list "()" ( ))) ;) (if_statement "if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" if (parenthesized_expression "(DAT_0004d63e != '\0')" ( (binary_expression "DAT_0004d63e != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" { (expression_statement "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;" (call_expression "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" identifier (argument_list "(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" ( identifier , number_literal , (string_literal ""c%ld,%ld\n"" " string_content escape_sequence ") , (binary_expression "(local_2c - local_30) + 1" (parenthesized_expression "(local_2c - local_30)" ( (binary_expression "local_2c - local_30" identifier - identifier) )) + number_literal) , (binary_expression "(local_24 - local_28) + 1" (parenthesized_expression "(local_24 - local_28)" ( (binary_expression "local_24 - local_28" identifier - identifier) )) + number_literal) ))) ;) })) (if_statement "if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" if (parenthesized_expression "(local_40 == 3)" ( (binary_expression "local_40 == 3" identifier == number_literal) )) (compound_statement "{\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" { (expression_statement "iVar1 = local_28;" (assignment_expression "iVar1 = local_28" identifier = identifier) ;) (expression_statement "iVar2 = local_30;" (assignment_expression "iVar2 = local_30" identifier = identifier) ;) (if_statement "if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" if (parenthesized_expression "(local_2c < local_30)" ( (binary_expression "local_2c < local_30" identifier < identifier) )) (compound_statement "{\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }" { (labeled_statement "LAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);" statement_identifier : (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" identifier = (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )))) ;)) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" identifier = identifier) ;) (if_statement "if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" if (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) (compound_statement "{\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" { (expression_statement "local_40 = (iVar2 <= local_2c) + 2;" (assignment_expression "local_40 = (iVar2 <= local_2c) + 2" identifier = (binary_expression "(iVar2 <= local_2c) + 2" (parenthesized_expression "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )) + number_literal)) ;) })) }) (else_clause "else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" else (compound_statement "{\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" { (if_statement "if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" if (parenthesized_expression "(local_28 <= local_24)" ( (binary_expression "local_28 <= local_24" identifier <= identifier) )) (compound_statement "{\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" { (do_statement "do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);" do (compound_statement "{\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          }" { (expression_statement "iVar1 = local_28 + 1;" (assignment_expression "iVar1 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = local_30 + 1;" (assignment_expression "iVar2 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_2c < iVar2) goto LAB_0001b6fd;" if (parenthesized_expression "(local_2c < iVar2)" ( (binary_expression "local_2c < iVar2" identifier < identifier) )) (goto_statement "goto LAB_0001b6fd;" goto statement_identifier ;)) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) ;) })) (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" identifier = (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 <= local_2c)" ( (binary_expression "iVar2 <= local_2c" identifier <= identifier) )))) ;) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" identifier = identifier) ;) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" identifier = identifier) ;) }))) })) (expression_statement "iVar1 = DAT_0004d39c;" (assignment_expression "iVar1 = DAT_0004d39c" identifier = identifier) ;) (if_statement "if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" if (parenthesized_expression "(((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24))" ( (binary_expression "((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)" (parenthesized_expression "((local_40 & 2) != 0)" ( (binary_expression "(local_40 & 2) != 0" (parenthesized_expression "(local_40 & 2)" ( (binary_expression "local_40 & 2" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar1 = local_28, local_28 <= local_24)" ( (comma_expression "iVar1 = local_28, local_28 <= local_24" (assignment_expression "iVar1 = local_28" identifier = identifier) , (binary_expression "local_28 <= local_24" identifier <= identifier)) ))) )) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" { (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 <= local_24)" ( (binary_expression "iVar1 <= local_24" identifier <= identifier) )) ;) })) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" identifier = identifier) ;) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" identifier = identifier) ;) (if_statement "if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" if (parenthesized_expression "(((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c))" ( (binary_expression "((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)" (parenthesized_expression "((local_40 & 1) != 0)" ( (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" ( (binary_expression "local_40 & 1" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar1 = local_30, local_30 <= local_2c)" ( (comma_expression "iVar1 = local_30, local_30 <= local_2c" (assignment_expression "iVar1 = local_30" identifier = identifier) , (binary_expression "local_30 <= local_2c" identifier <= identifier)) ))) )) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" { (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar1 <= local_2c)" ( (binary_expression "iVar1 <= local_2c" identifier <= identifier) )) ;) })) })) (expression_statement "DAT_0004d3a0 = iVar1;" (assignment_expression "DAT_0004d3a0 = iVar1" identifier = identifier) ;) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0003b430();\n  }" { (expression_statement "FUN_0003b430();" (call_expression "FUN_0003b430()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content escape_sequence ") , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT <= IDENT) )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) + LIT)) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= 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 (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT <= IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001b590(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001b590(undefined4 param_1)" (identifier "FUN_0001b590") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uint local_40;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1b599;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);\n  iVar1 = DAT_0004d3a0;\n  if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }\n  DAT_0004d3a0 = iVar1;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1b599;" (assignment_expression "uStack_14 = 0x1b599" (identifier "uStack_14") (= "=") (number_literal "0x1b599")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);" (assignment_expression "local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" (identifier "local_40") (= "=") (call_expression "FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24)" (identifier "FUN_0001d510") (argument_list "(param_1,&local_30,&local_2c,&local_28,&local_24)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" (identifier "iVar1") (= "=") (identifier "DAT_0004d3a0")) (; ";")) (if_statement "if (local_40 != 0) {\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" (if "if") (parenthesized_expression "(local_40 != 0)" (( "(") (binary_expression "local_40 != 0" (identifier "local_40") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0001b410();\n    if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }\n    if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }\n    iVar1 = DAT_0004d39c;\n    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }\n    DAT_0004d39c = iVar1;\n    iVar1 = DAT_0004d3a0;\n    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }\n  }" ({ "{") (expression_statement "FUN_0001b410();" (call_expression "FUN_0001b410()" (identifier "FUN_0001b410") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (DAT_0004d63e != '\0') {\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" (if "if") (parenthesized_expression "(DAT_0004d63e != '\0')" (( "(") (binary_expression "DAT_0004d63e != '\0'" (identifier "DAT_0004d63e") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;\n    }" ({ "{") (expression_statement "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)\n      ;" (call_expression "__fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" (identifier "__fprintf_chk") (argument_list "(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)" (( "(") (identifier "DAT_0004d624") (, ",") (number_literal "1") (, ",") (string_literal ""c%ld,%ld\n"" (" """) (string_content "c%ld,%ld") (escape_sequence "\n") (" """)) (, ",") (binary_expression "(local_2c - local_30) + 1" (parenthesized_expression "(local_2c - local_30)" (( "(") (binary_expression "local_2c - local_30" (identifier "local_2c") (- "-") (identifier "local_30")) () ")")) (+ "+") (number_literal "1")) (, ",") (binary_expression "(local_24 - local_28) + 1" (parenthesized_expression "(local_24 - local_28)" (( "(") (binary_expression "local_24 - local_28" (identifier "local_24") (- "-") (identifier "local_28")) () ")")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (if_statement "if (local_40 == 3) {\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" (if "if") (parenthesized_expression "(local_40 == 3)" (( "(") (binary_expression "local_40 == 3" (identifier "local_40") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      iVar1 = local_28;\n      iVar2 = local_30;\n      if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }\n    }" ({ "{") (expression_statement "iVar1 = local_28;" (assignment_expression "iVar1 = local_28" (identifier "iVar1") (= "=") (identifier "local_28")) (; ";")) (expression_statement "iVar2 = local_30;" (assignment_expression "iVar2 = local_30" (identifier "iVar2") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_2c < local_30) {\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }\n      else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" (if "if") (parenthesized_expression "(local_2c < local_30)" (( "(") (binary_expression "local_2c < local_30" (identifier "local_2c") (< "<") (identifier "local_30")) () ")")) (compound_statement "{\nLAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n        if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }\n      }" ({ "{") (labeled_statement "LAB_0001b6fd:\n        local_40 = (uint)(iVar2 <= local_2c);" (statement_identifier "LAB_0001b6fd") (: ":") (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" (identifier "local_40") (= "=") (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 <= local_2c)" (( "(") (binary_expression "iVar2 <= local_2c" (identifier "iVar2") (<= "<=") (identifier "local_2c")) () ")")))) (; ";"))) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" (identifier "local_30") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" (identifier "local_28") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" (identifier "DAT_0004d39c") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" (identifier "DAT_0004d3a0") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar1 <= local_24) {\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" (if "if") (parenthesized_expression "(iVar1 <= local_24)" (( "(") (binary_expression "iVar1 <= local_24" (identifier "iVar1") (<= "<=") (identifier "local_24")) () ")")) (compound_statement "{\n          local_40 = (iVar2 <= local_2c) + 2;\n        }" ({ "{") (expression_statement "local_40 = (iVar2 <= local_2c) + 2;" (assignment_expression "local_40 = (iVar2 <= local_2c) + 2" (identifier "local_40") (= "=") (binary_expression "(iVar2 <= local_2c) + 2" (parenthesized_expression "(iVar2 <= local_2c)" (( "(") (binary_expression "iVar2 <= local_2c" (identifier "iVar2") (<= "<=") (identifier "local_2c")) () ")")) (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" (else "else") (compound_statement "{\n        if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }\n        local_40 = (uint)(iVar2 <= local_2c);\n        local_30 = iVar2;\n        local_28 = iVar1;\n        DAT_0004d39c = iVar1;\n        DAT_0004d3a0 = iVar2;\n      }" ({ "{") (if_statement "if (local_28 <= local_24) {\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" (if "if") (parenthesized_expression "(local_28 <= local_24)" (( "(") (binary_expression "local_28 <= local_24" (identifier "local_28") (<= "<=") (identifier "local_24")) () ")")) (compound_statement "{\n          do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);\n        }" ({ "{") (do_statement "do {\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          } while (iVar1 <= local_24);" (do "do") (compound_statement "{\n            iVar1 = local_28 + 1;\n            iVar2 = local_30 + 1;\n            FUN_0001b1d0();\n            if (local_2c < iVar2) goto LAB_0001b6fd;\n            local_28 = iVar1;\n            local_30 = iVar2;\n          }" ({ "{") (expression_statement "iVar1 = local_28 + 1;" (assignment_expression "iVar1 = local_28 + 1" (identifier "iVar1") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = local_30 + 1;" (assignment_expression "iVar2 = local_30 + 1" (identifier "iVar2") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" (identifier "FUN_0001b1d0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_2c < iVar2) goto LAB_0001b6fd;" (if "if") (parenthesized_expression "(local_2c < iVar2)" (( "(") (binary_expression "local_2c < iVar2" (identifier "local_2c") (< "<") (identifier "iVar2")) () ")")) (goto_statement "goto LAB_0001b6fd;" (goto "goto") (statement_identifier "LAB_0001b6fd") (; ";"))) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" (identifier "local_28") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" (identifier "local_30") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 <= local_24)" (( "(") (binary_expression "iVar1 <= local_24" (identifier "iVar1") (<= "<=") (identifier "local_24")) () ")")) (; ";")) (} "}"))) (expression_statement "local_40 = (uint)(iVar2 <= local_2c);" (assignment_expression "local_40 = (uint)(iVar2 <= local_2c)" (identifier "local_40") (= "=") (call_expression "(uint)(iVar2 <= local_2c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 <= local_2c)" (( "(") (binary_expression "iVar2 <= local_2c" (identifier "iVar2") (<= "<=") (identifier "local_2c")) () ")")))) (; ";")) (expression_statement "local_30 = iVar2;" (assignment_expression "local_30 = iVar2" (identifier "local_30") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "local_28 = iVar1;" (assignment_expression "local_28 = iVar1" (identifier "local_28") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" (identifier "DAT_0004d39c") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "DAT_0004d3a0 = iVar2;" (assignment_expression "DAT_0004d3a0 = iVar2" (identifier "DAT_0004d3a0") (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar1 = DAT_0004d39c;" (assignment_expression "iVar1 = DAT_0004d39c" (identifier "iVar1") (= "=") (identifier "DAT_0004d39c")) (; ";")) (if_statement "if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" (if "if") (parenthesized_expression "(((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24))" (( "(") (binary_expression "((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)" (parenthesized_expression "((local_40 & 2) != 0)" (( "(") (binary_expression "(local_40 & 2) != 0" (parenthesized_expression "(local_40 & 2)" (( "(") (binary_expression "local_40 & 2" (identifier "local_40") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = local_28, local_28 <= local_24)" (( "(") (comma_expression "iVar1 = local_28, local_28 <= local_24" (assignment_expression "iVar1 = local_28" (identifier "iVar1") (= "=") (identifier "local_28")) (, ",") (binary_expression "local_28 <= local_24" (identifier "local_28") (<= "<=") (identifier "local_24"))) () ")"))) () ")")) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);\n    }" ({ "{") (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_24);" (do "do") (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" (identifier "FUN_0001b1d0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 <= local_24)" (( "(") (binary_expression "iVar1 <= local_24" (identifier "iVar1") (<= "<=") (identifier "local_24")) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_0004d39c = iVar1;" (assignment_expression "DAT_0004d39c = iVar1" (identifier "DAT_0004d39c") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = DAT_0004d3a0;" (assignment_expression "iVar1 = DAT_0004d3a0" (identifier "iVar1") (= "=") (identifier "DAT_0004d3a0")) (; ";")) (if_statement "if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" (if "if") (parenthesized_expression "(((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c))" (( "(") (binary_expression "((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)" (parenthesized_expression "((local_40 & 1) != 0)" (( "(") (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" (( "(") (binary_expression "local_40 & 1" (identifier "local_40") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = local_30, local_30 <= local_2c)" (( "(") (comma_expression "iVar1 = local_30, local_30 <= local_2c" (assignment_expression "iVar1 = local_30" (identifier "iVar1") (= "=") (identifier "local_30")) (, ",") (binary_expression "local_30 <= local_2c" (identifier "local_30") (<= "<=") (identifier "local_2c"))) () ")"))) () ")")) (compound_statement "{\n      do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);\n    }" ({ "{") (do_statement "do {\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      } while (iVar1 <= local_2c);" (do "do") (compound_statement "{\n        iVar1 = iVar1 + 1;\n        FUN_0001b1d0();\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001b1d0();" (call_expression "FUN_0001b1d0()" (identifier "FUN_0001b1d0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 <= local_2c)" (( "(") (binary_expression "iVar1 <= local_2c" (identifier "iVar1") (<= "<=") (identifier "local_2c")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "DAT_0004d3a0 = iVar1;" (assignment_expression "DAT_0004d3a0 = iVar1" (identifier "DAT_0004d3a0") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0003b430();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0003b430();\n  }" ({ "{") (expression_statement "FUN_0003b430();" (call_expression "FUN_0003b430()" (identifier "FUN_0003b430") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *hunk)

{
  type_2 var_14;
  int var_17;
  type_2 var_13;
  int var_1;
  type_3 var_3;
  type_2 var_9;
  type_2 var_8;
  type_2 var_11;
  type_2 var_10;
  int var_19;
  type_4 uStack_14;
  
  uStack_14 = 0x1b599;
  var_19 = *(int *)(var_1 + 0x14);
  var_3 = var_2(hunk,&var_9,&var_8,&var_11,&var_10);
  var_14 = next0;
  if (var_3 != var_4) {
    var_5(var_9,var_11);
    if (var_6 != false) {
      var_7(outfile,1,"c%ld,%ld\n",(var_8 - var_9) + 1,(var_10 - var_11) + 1);
    }
    if (var_3 == var_12) {
      var_14 = var_11;
      var_13 = var_9;
      if (var_8 < var_9) {
LAB_0001b6fd:
        var_3 = (uint)(var_13 <= var_8);
        var_9 = var_13;
        var_11 = var_14;
        next1 = var_14;
        next0 = var_13;
        if (var_14 <= var_10) {
          var_3 = (var_13 <= var_8) + var_15;
        }
      }
      else {
        if (var_11 <= var_10) {
          do {
            var_14 = var_11 + 1;
            var_13 = var_9 + 1;
            var_16(files[0].linbuf + var_9,'|',files[1].linbuf + var_11);
            if (var_8 < var_13) goto LAB_0001b6fd;
            var_11 = var_14;
            var_9 = var_13;
          } while (var_14 <= var_10);
        }
        var_3 = (type_3)(var_13 <= var_8);
        var_9 = var_13;
        var_11 = var_14;
        next1 = var_14;
        next0 = var_13;
      }
    }
    var_14 = next1;
    if (((var_3 & var_15) != var_4) && (var_17 = var_11, var_14 = var_11, var_11 <= var_10)) {
      do {
        var_14 = var_17 + 1;
        var_16((char **)0x0,'>',files[1].linbuf + var_17);
        var_17 = var_14;
      } while (var_14 <= var_10);
    }
    next1 = var_14;
    var_14 = next0;
    if (((var_3 & var_18) != var_4) && (var_17 = var_9, var_14 = var_9, var_9 <= var_8)) {
      do {
        var_14 = var_17 + 1;
        var_16(files[0].linbuf + var_17,'<',(char **)0x0);
        var_17 = var_14;
      } while (var_14 <= var_8);
    }
  }
  next0 = var_14;
  if (var_19 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_20();
  }
  return;
}


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

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

void MASKED(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int in_GS_OFFSET;
  uint local_40;
  int local_30;
  int local_2c;
  int local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1b599;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_40 = FUN_0001d510(param_1,&local_30,&local_2c,&local_28,&local_24);
  iVar1 = DAT_0004d3a0;
  if (local_40 != 0) {
    FUN_0001b410();
    if (DAT_0004d63e != '\0') {
      __fprintf_chk(DAT_0004d624,1,"c%ld,%ld\n",(local_2c - local_30) + 1,(local_24 - local_28) + 1)
      ;
    }
    if (local_40 == 3) {
      iVar1 = local_28;
      iVar2 = local_30;
      if (local_2c < local_30) {
LAB_0001b6fd:
        local_40 = (uint)(iVar2 <= local_2c);
        local_30 = iVar2;
        local_28 = iVar1;
        DAT_0004d39c = iVar1;
        DAT_0004d3a0 = iVar2;
        if (iVar1 <= local_24) {
          local_40 = (iVar2 <= local_2c) + 2;
        }
      }
      else {
        if (local_28 <= local_24) {
          do {
            iVar1 = local_28 + 1;
            iVar2 = local_30 + 1;
            FUN_0001b1d0();
            if (local_2c < iVar2) goto LAB_0001b6fd;
            local_28 = iVar1;
            local_30 = iVar2;
          } while (iVar1 <= local_24);
        }
        local_40 = (uint)(iVar2 <= local_2c);
        local_30 = iVar2;
        local_28 = iVar1;
        DAT_0004d39c = iVar1;
        DAT_0004d3a0 = iVar2;
      }
    }
    iVar1 = DAT_0004d39c;
    if (((local_40 & 2) != 0) && (iVar1 = local_28, local_28 <= local_24)) {
      do {
        iVar1 = iVar1 + 1;
        FUN_0001b1d0();
      } while (iVar1 <= local_24);
    }
    DAT_0004d39c = iVar1;
    iVar1 = DAT_0004d3a0;
    if (((local_40 & 1) != 0) && (iVar1 = local_30, local_30 <= local_2c)) {
      do {
        iVar1 = iVar1 + 1;
        FUN_0001b1d0();
      } while (iVar1 <= local_2c);
    }
  }
  DAT_0004d3a0 = iVar1;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0003b430();
  }
  return;
}

