
_Bool less_than_a_screenful(size_t was_lineno,size_t was_leftedge)

{
  filestruct *line_00;
  wchar_t wVar1;
  size_t column;
  long in_FS_OFFSET;
  bool bVar2;
  filestruct *line;
  size_t leftedge;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (((byte)flags[1] & 2) == 0) {
    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;
  }
  else {
    line_00 = openfile->current;
    line = line_00;
    column = xplustabs();
    leftedge = leftedge_for(column,line_00);
    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);
    bVar2 = true;
    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&
       (bVar2 = false, line->lineno == was_lineno)) {
      bVar2 = leftedge <= was_leftedge;
    }
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return bVar2;
}



ulong FUN_00128bcd(ulong param_1,ulong param_2)

{
  long lVar1;
  int iVar2;
  undefined8 uVar3;
  ulong uVar4;
  long in_FS_OFFSET;
  long local_30;
  ulong local_28;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (((byte)DAT_0013bc54 & 2) == 0) {
    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;
    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);
  }
  else {
    lVar1 = *(long *)(DAT_0013bc10 + 0x20);
    local_30 = lVar1;
    uVar3 = FUN_00125003();
    local_28 = FUN_00128a90(uVar3,lVar1);
    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);
    uVar4 = 1;
    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&
       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {
      uVar4 = (ulong)(local_28 <= param_2);
    }
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return uVar4;
}


PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x20
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x18],RAX
XOR EAX,EAX
TEST byte ptr [0x0013bc54],0x2
JNZ 0x00128c29
MOV RAX,qword ptr [0x0013bc10]
MOV RAX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RAX + 0x8]
SUB RAX,RDI
MOVSXD RDX,dword ptr [0x0013bc34]
CMP RAX,RDX
SETC AL
MOV RCX,qword ptr [RSP + 0x18]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x00128c9b
ADD RSP,0x20
POP RBX
POP RBP
POP R12
RET
MOV RBP,RSI
MOV RAX,qword ptr [0x0013bc10]
MOV R12,qword ptr [RAX + 0x20]
MOV qword ptr [RSP + 0x8],R12
CALL 0x00125003
MOV RSI,R12
MOV RDI,RAX
CALL 0x00128a90
MOV qword ptr [RSP + 0x10],RAX
LEA RDX,[RSP + 0x10]
LEA RSI,[RSP + 0x8]
MOV EAX,dword ptr [0x0013bc34]
LEA EDI,[RAX + -0x1]
CALL 0x00128ad5
MOV EDX,0x1
TEST EAX,EAX
JLE 0x00128c79
MOV EAX,EDX
AND EAX,0x1
JMP 0x00128c10
MOV RAX,qword ptr [RSP + 0x8]
MOV RAX,qword ptr [RAX + 0x8]
CMP RAX,RBX
JC 0x00128c72
MOV EDX,0x0
JNZ 0x00128c72
CMP qword ptr [RSP + 0x10],RBP
SETBE DL
MOVZX EDX,DL
JMP 0x00128c72
CALL 0x00105340
(translation_unit "ulong FUN_00128bcd(ulong param_1,ulong param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return uVar4;\n}\n\n" (function_definition "ulong FUN_00128bcd(ulong param_1,ulong param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00128bcd(ulong param_1,ulong param_2)" identifier (parameter_list "(ulong param_1,ulong param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return uVar4;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_28;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" if (parenthesized_expression "(((byte)DAT_0013bc54 & 2) == 0)" ( (binary_expression "((byte)DAT_0013bc54 & 2) == 0" (parenthesized_expression "((byte)DAT_0013bc54 & 2)" ( (binary_expression "(byte)DAT_0013bc54 & 2" (cast_expression "(byte)DAT_0013bc54" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }" { (expression_statement "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;" (assignment_expression "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" identifier = (binary_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" (pointer_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" * (cast_expression "(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x20) + 8)" ( (binary_expression "*(long *)(DAT_0013bc10 + 0x20) + 8" (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" * (cast_expression "(long *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) )))) + number_literal) )))) - identifier)) ;) (expression_statement "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);" (assignment_expression "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" identifier = (call_expression "CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" identifier (argument_list "((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" ( (call_expression "(int7)(param_1 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(param_1 >> 8)" ( (binary_expression "param_1 >> 8" identifier >> number_literal) ))) , (binary_expression "param_1 < (ulong)(long)DAT_0013bc34" identifier < (cast_expression "(ulong)(long)DAT_0013bc34" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(long)DAT_0013bc34" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) )))) ;) }) (else_clause "else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" else (compound_statement "{\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" { (expression_statement "lVar1 = *(long *)(DAT_0013bc10 + 0x20);" (assignment_expression "lVar1 = *(long *)(DAT_0013bc10 + 0x20)" identifier = (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" * (cast_expression "(long *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "local_30 = lVar1;" (assignment_expression "local_30 = lVar1" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00125003();" (assignment_expression "uVar3 = FUN_00125003()" identifier = (call_expression "FUN_00125003()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_28 = FUN_00128a90(uVar3,lVar1);" (assignment_expression "local_28 = FUN_00128a90(uVar3,lVar1)" identifier = (call_expression "FUN_00128a90(uVar3,lVar1)" identifier (argument_list "(uVar3,lVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);" (assignment_expression "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" identifier = (call_expression "FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" identifier (argument_list "(DAT_0013bc34 + -1,&local_30,&local_28)" ( (binary_expression "DAT_0013bc34 + -1" identifier + number_literal) , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (if_statement "if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" if (parenthesized_expression "(((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1))" ( (binary_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" (parenthesized_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8)))" ( (binary_expression "(iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))" (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) && (parenthesized_expression "(param_1 <= *(ulong *)(local_30 + 8))" ( (binary_expression "param_1 <= *(ulong *)(local_30 + 8)" identifier <= (pointer_expression "*(ulong *)(local_30 + 8)" * (cast_expression "(ulong *)(local_30 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 8)" ( (binary_expression "local_30 + 8" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" ( (comma_expression "uVar4 = 0, *(ulong *)(local_30 + 8) == param_1" (assignment_expression "uVar4 = 0" identifier = number_literal) , (binary_expression "*(ulong *)(local_30 + 8) == param_1" (pointer_expression "*(ulong *)(local_30 + 8)" * (cast_expression "(ulong *)(local_30 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 8)" ( (binary_expression "local_30 + 8" identifier + number_literal) )))) == identifier)) ))) )) (compound_statement "{\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" { (expression_statement "uVar4 = (ulong)(local_28 <= param_2);" (assignment_expression "uVar4 = (ulong)(local_28 <= param_2)" identifier = (call_expression "(ulong)(local_28 <= param_2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(local_28 <= param_2)" ( (binary_expression "local_28 <= param_2" identifier <= identifier) )))) ;) })) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "_Bool less_than_a_screenful(size_t was_lineno,size_t was_leftedge)\n\n{\n  filestruct *line_00;\n  wchar_t wVar1;\n  size_t column;\n  long in_FS_OFFSET;\n  bool bVar2;\n  filestruct *line;\n  size_t leftedge;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)flags[1] & 2) == 0) {\n    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;\n  }\n  else {\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return bVar2;\n}\n\n" (function_definition "_Bool less_than_a_screenful(size_t was_lineno,size_t was_leftedge)\n\n{\n  filestruct *line_00;\n  wchar_t wVar1;\n  size_t column;\n  long in_FS_OFFSET;\n  bool bVar2;\n  filestruct *line;\n  size_t leftedge;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)flags[1] & 2) == 0) {\n    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;\n  }\n  else {\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return bVar2;\n}" type_identifier (function_declarator "less_than_a_screenful(size_t was_lineno,size_t was_leftedge)" identifier (parameter_list "(size_t was_lineno,size_t was_leftedge)" ( (parameter_declaration "size_t was_lineno" primitive_type identifier) , (parameter_declaration "size_t was_leftedge" primitive_type identifier) ))) (compound_statement "{\n  filestruct *line_00;\n  wchar_t wVar1;\n  size_t column;\n  long in_FS_OFFSET;\n  bool bVar2;\n  filestruct *line;\n  size_t leftedge;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)flags[1] & 2) == 0) {\n    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;\n  }\n  else {\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return bVar2;\n}" { (declaration "filestruct *line_00;" type_identifier (pointer_declarator "*line_00" * identifier) ;) (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "size_t column;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "filestruct *line;" type_identifier (pointer_declarator "*line" * identifier) ;) (declaration "size_t leftedge;" primitive_type identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (((byte)flags[1] & 2) == 0) {\n    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;\n  }\n  else {\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }" if (parenthesized_expression "(((byte)flags[1] & 2) == 0)" ( (binary_expression "((byte)flags[1] & 2) == 0" (parenthesized_expression "((byte)flags[1] & 2)" ( (binary_expression "(byte)flags[1] & 2" (cast_expression "(byte)flags[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "flags[1]" identifier [ number_literal ])) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;\n  }" { (expression_statement "bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows;" (assignment_expression "bVar2 = openfile->current->lineno - was_lineno < (ulong)(long)editwinrows" identifier = (binary_expression "openfile->current->lineno - was_lineno < (ulong)(long)editwinrows" (binary_expression "openfile->current->lineno - was_lineno" (field_expression "openfile->current->lineno" (field_expression "openfile->current" identifier -> field_identifier) -> field_identifier) - identifier) < (cast_expression "(ulong)(long)editwinrows" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(long)editwinrows" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)))) ;) }) (else_clause "else {\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }" else (compound_statement "{\n    line_00 = openfile->current;\n    line = line_00;\n    column = xplustabs();\n    leftedge = leftedge_for(column,line_00);\n    wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);\n    bVar2 = true;\n    if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }\n  }" { (expression_statement "line_00 = openfile->current;" (assignment_expression "line_00 = openfile->current" identifier = (field_expression "openfile->current" identifier -> field_identifier)) ;) (expression_statement "line = line_00;" (assignment_expression "line = line_00" identifier = identifier) ;) (expression_statement "column = xplustabs();" (assignment_expression "column = xplustabs()" identifier = (call_expression "xplustabs()" identifier (argument_list "()" ( )))) ;) (expression_statement "leftedge = leftedge_for(column,line_00);" (assignment_expression "leftedge = leftedge_for(column,line_00)" identifier = (call_expression "leftedge_for(column,line_00)" identifier (argument_list "(column,line_00)" ( identifier , identifier )))) ;) (expression_statement "wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge);" (assignment_expression "wVar1 = go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge)" identifier = (call_expression "go_back_chunks(editwinrows + L'\xffffffff',&line,&leftedge)" identifier (argument_list "(editwinrows + L'\xffffffff',&line,&leftedge)" ( (binary_expression "editwinrows + L'\xffffffff'" identifier + (char_literal "L'\xffffffff'" L' escape_sequence character character character character ')) , (pointer_expression "&line" & identifier) , (pointer_expression "&leftedge" & identifier) )))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)) {\n      bVar2 = leftedge <= was_leftedge;\n    }" if (parenthesized_expression "(((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno))" ( (binary_expression "((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)) &&\n       (bVar2 = false, line->lineno == was_lineno)" (parenthesized_expression "((wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno))" ( (binary_expression "(wVar1 < L'\x01') && (was_lineno <= (ulong)line->lineno)" (parenthesized_expression "(wVar1 < L'\x01')" ( (binary_expression "wVar1 < L'\x01'" identifier < (char_literal "L'\x01'" L' escape_sequence ')) )) && (parenthesized_expression "(was_lineno <= (ulong)line->lineno)" ( (binary_expression "was_lineno <= (ulong)line->lineno" identifier <= (cast_expression "(ulong)line->lineno" ( (type_descriptor "ulong" type_identifier) ) (field_expression "line->lineno" identifier -> field_identifier))) ))) )) && (parenthesized_expression "(bVar2 = false, line->lineno == was_lineno)" ( (comma_expression "bVar2 = false, line->lineno == was_lineno" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "line->lineno == was_lineno" (field_expression "line->lineno" identifier -> field_identifier) == identifier)) ))) )) (compound_statement "{\n      bVar2 = leftedge <= was_leftedge;\n    }" { (expression_statement "bVar2 = leftedge <= was_leftedge;" (assignment_expression "bVar2 = leftedge <= was_leftedge" identifier = (binary_expression "leftedge <= was_leftedge" identifier <= identifier)) ;) })) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "ulong FUN_00128bcd(ulong param_1,ulong param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return uVar4;\n}\n\n" (function_definition "ulong FUN_00128bcd(ulong param_1,ulong param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00128bcd(ulong param_1,ulong param_2)" identifier (parameter_list "(ulong param_1,ulong param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return uVar4;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong local_28;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" if (parenthesized_expression "(((byte)DAT_0013bc54 & 2) == 0)" ( (binary_expression "((byte)DAT_0013bc54 & 2) == 0" (parenthesized_expression "((byte)DAT_0013bc54 & 2)" ( (binary_expression "(byte)DAT_0013bc54 & 2" (cast_expression "(byte)DAT_0013bc54" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }" { (expression_statement "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;" (assignment_expression "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" identifier = (binary_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" (pointer_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" * (cast_expression "(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x20) + 8)" ( (binary_expression "*(long *)(DAT_0013bc10 + 0x20) + 8" (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" * (cast_expression "(long *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) )))) + number_literal) )))) - identifier)) ;) (expression_statement "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);" (assignment_expression "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" identifier = (call_expression "CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" identifier (argument_list "((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" ( (call_expression "(int7)(param_1 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "(param_1 >> 8)" ( (binary_expression "param_1 >> 8" identifier >> number_literal) ))) , (binary_expression "param_1 < (ulong)(long)DAT_0013bc34" identifier < (cast_expression "(ulong)(long)DAT_0013bc34" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(long)DAT_0013bc34" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) )))) ;) }) (else_clause "else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" else (compound_statement "{\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" { (expression_statement "lVar1 = *(long *)(DAT_0013bc10 + 0x20);" (assignment_expression "lVar1 = *(long *)(DAT_0013bc10 + 0x20)" identifier = (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" * (cast_expression "(long *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "local_30 = lVar1;" (assignment_expression "local_30 = lVar1" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00125003();" (assignment_expression "uVar3 = FUN_00125003()" identifier = (call_expression "FUN_00125003()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_28 = FUN_00128a90(uVar3,lVar1);" (assignment_expression "local_28 = FUN_00128a90(uVar3,lVar1)" identifier = (call_expression "FUN_00128a90(uVar3,lVar1)" identifier (argument_list "(uVar3,lVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);" (assignment_expression "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" identifier = (call_expression "FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" identifier (argument_list "(DAT_0013bc34 + -1,&local_30,&local_28)" ( (binary_expression "DAT_0013bc34 + -1" identifier + number_literal) , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (if_statement "if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" if (parenthesized_expression "(((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1))" ( (binary_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" (parenthesized_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8)))" ( (binary_expression "(iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))" (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) && (parenthesized_expression "(param_1 <= *(ulong *)(local_30 + 8))" ( (binary_expression "param_1 <= *(ulong *)(local_30 + 8)" identifier <= (pointer_expression "*(ulong *)(local_30 + 8)" * (cast_expression "(ulong *)(local_30 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 8)" ( (binary_expression "local_30 + 8" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" ( (comma_expression "uVar4 = 0, *(ulong *)(local_30 + 8) == param_1" (assignment_expression "uVar4 = 0" identifier = number_literal) , (binary_expression "*(ulong *)(local_30 + 8) == param_1" (pointer_expression "*(ulong *)(local_30 + 8)" * (cast_expression "(ulong *)(local_30 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 8)" ( (binary_expression "local_30 + 8" identifier + number_literal) )))) == identifier)) ))) )) (compound_statement "{\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" { (expression_statement "uVar4 = (ulong)(local_28 <= param_2);" (assignment_expression "uVar4 = (ulong)(local_28 <= param_2)" identifier = (call_expression "(ulong)(local_28 <= param_2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(local_28 <= param_2)" ( (binary_expression "local_28 <= param_2" identifier <= identifier) )))) ;) })) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) ))) , (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT <= IDENT) )))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_00128bcd(ulong param_1,ulong param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return uVar4;\n}" (type_identifier "ulong") (function_declarator "FUN_00128bcd(ulong param_1,ulong param_2)" (identifier "FUN_00128bcd") (parameter_list "(ulong param_1,ulong param_2)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  long in_FS_OFFSET;\n  long local_30;\n  ulong local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return uVar4;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "long local_30;" (sized_type_specifier "long" (long "long")) (identifier "local_30") (; ";")) (declaration "ulong local_28;" (type_identifier "ulong") (identifier "local_28") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (((byte)DAT_0013bc54 & 2) == 0) {\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }\n  else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" (if "if") (parenthesized_expression "(((byte)DAT_0013bc54 & 2) == 0)" (( "(") (binary_expression "((byte)DAT_0013bc54 & 2) == 0" (parenthesized_expression "((byte)DAT_0013bc54 & 2)" (( "(") (binary_expression "(byte)DAT_0013bc54 & 2" (cast_expression "(byte)DAT_0013bc54" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0013bc54")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;\n    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);\n  }" ({ "{") (expression_statement "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;" (assignment_expression "param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" (identifier "param_1") (= "=") (binary_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1" (pointer_expression "*(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" (* "*") (cast_expression "(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x20) + 8)" (( "(") (binary_expression "*(long *)(DAT_0013bc10 + 0x20) + 8" (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" (* "*") (cast_expression "(long *)(DAT_0013bc10 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x20)" (( "(") (binary_expression "DAT_0013bc10 + 0x20" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (- "-") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);" (assignment_expression "uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" (identifier "uVar4") (= "=") (call_expression "CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" (identifier "CONCAT71") (argument_list "((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34)" (( "(") (call_expression "(int7)(param_1 >> 8)" (parenthesized_expression "(int7)" (( "(") (identifier "int7") () ")")) (argument_list "(param_1 >> 8)" (( "(") (binary_expression "param_1 >> 8" (identifier "param_1") (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "param_1 < (ulong)(long)DAT_0013bc34" (identifier "param_1") (< "<") (cast_expression "(ulong)(long)DAT_0013bc34" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (cast_expression "(long)DAT_0013bc34" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "DAT_0013bc34")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" (else "else") (compound_statement "{\n    lVar1 = *(long *)(DAT_0013bc10 + 0x20);\n    local_30 = lVar1;\n    uVar3 = FUN_00125003();\n    local_28 = FUN_00128a90(uVar3,lVar1);\n    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);\n    uVar4 = 1;\n    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }\n  }" ({ "{") (expression_statement "lVar1 = *(long *)(DAT_0013bc10 + 0x20);" (assignment_expression "lVar1 = *(long *)(DAT_0013bc10 + 0x20)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(DAT_0013bc10 + 0x20)" (* "*") (cast_expression "(long *)(DAT_0013bc10 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x20)" (( "(") (binary_expression "DAT_0013bc10 + 0x20" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "local_30 = lVar1;" (assignment_expression "local_30 = lVar1" (identifier "local_30") (= "=") (identifier "lVar1")) (; ";")) (expression_statement "uVar3 = FUN_00125003();" (assignment_expression "uVar3 = FUN_00125003()" (identifier "uVar3") (= "=") (call_expression "FUN_00125003()" (identifier "FUN_00125003") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_28 = FUN_00128a90(uVar3,lVar1);" (assignment_expression "local_28 = FUN_00128a90(uVar3,lVar1)" (identifier "local_28") (= "=") (call_expression "FUN_00128a90(uVar3,lVar1)" (identifier "FUN_00128a90") (argument_list "(uVar3,lVar1)" (( "(") (identifier "uVar3") (, ",") (identifier "lVar1") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);" (assignment_expression "iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" (identifier "iVar2") (= "=") (call_expression "FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28)" (identifier "FUN_00128ad5") (argument_list "(DAT_0013bc34 + -1,&local_30,&local_28)" (( "(") (binary_expression "DAT_0013bc34 + -1" (identifier "DAT_0013bc34") (+ "+") (number_literal "-1")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (if_statement "if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" (if "if") (parenthesized_expression "(((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1))" (( "(") (binary_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&\n       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" (parenthesized_expression "((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8)))" (( "(") (binary_expression "(iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))" (parenthesized_expression "(iVar2 < 1)" (( "(") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(param_1 <= *(ulong *)(local_30 + 8))" (( "(") (binary_expression "param_1 <= *(ulong *)(local_30 + 8)" (identifier "param_1") (<= "<=") (pointer_expression "*(ulong *)(local_30 + 8)" (* "*") (cast_expression "(ulong *)(local_30 + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30 + 8)" (( "(") (binary_expression "local_30 + 8" (identifier "local_30") (+ "+") (number_literal "8")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)" (( "(") (comma_expression "uVar4 = 0, *(ulong *)(local_30 + 8) == param_1" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (, ",") (binary_expression "*(ulong *)(local_30 + 8) == param_1" (pointer_expression "*(ulong *)(local_30 + 8)" (* "*") (cast_expression "(ulong *)(local_30 + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30 + 8)" (( "(") (binary_expression "local_30 + 8" (identifier "local_30") (+ "+") (number_literal "8")) () ")")))) (== "==") (identifier "param_1"))) () ")"))) () ")")) (compound_statement "{\n      uVar4 = (ulong)(local_28 <= param_2);\n    }" ({ "{") (expression_statement "uVar4 = (ulong)(local_28 <= param_2);" (assignment_expression "uVar4 = (ulong)(local_28 <= param_2)" (identifier "uVar4") (= "=") (call_expression "(ulong)(local_28 <= param_2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(local_28 <= param_2)" (( "(") (binary_expression "local_28 <= param_2" (identifier "local_28") (<= "<=") (identifier "param_2")) () ")")))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

type_1 function_1(size_t var_2,size_t var_9)

{
  type_2 *line_00;
  type_3 var_7;
  size_t column;
  long var_1;
  bool bVar2;
  type_2 *line;
  size_t var_8;
  long var_10;
  
  var_10 = *(long *)(var_1 + 0x28);
  if (((type_4)flags[1] & 2) == 0) {
    bVar2 = openfile->current->lineno - var_2 < (type_5)(long)var_6;
  }
  else {
    line_00 = openfile->current;
    line = line_00;
    column = var_3();
    var_8 = var_4(column,line_00);
    var_7 = var_5(var_6 + L'\xffffffff',&line,&var_8);
    bVar2 = true;
    if (((var_7 < L'\x01') && (var_2 <= (type_5)line->lineno)) &&
       (bVar2 = false, line->lineno == var_2)) {
      bVar2 = var_8 <= var_9;
    }
  }
  if (var_10 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_11();
  }
  return bVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier)))))

ulong MASKED(ulong param_1,ulong param_2)

{
  long lVar1;
  int iVar2;
  undefined8 uVar3;
  ulong uVar4;
  long in_FS_OFFSET;
  long local_30;
  ulong local_28;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (((byte)DAT_0013bc54 & 2) == 0) {
    param_1 = *(long *)(*(long *)(DAT_0013bc10 + 0x20) + 8) - param_1;
    uVar4 = CONCAT71((int7)(param_1 >> 8),param_1 < (ulong)(long)DAT_0013bc34);
  }
  else {
    lVar1 = *(long *)(DAT_0013bc10 + 0x20);
    local_30 = lVar1;
    uVar3 = FUN_00125003();
    local_28 = FUN_00128a90(uVar3,lVar1);
    iVar2 = FUN_00128ad5(DAT_0013bc34 + -1,&local_30,&local_28);
    uVar4 = 1;
    if (((iVar2 < 1) && (param_1 <= *(ulong *)(local_30 + 8))) &&
       (uVar4 = 0, *(ulong *)(local_30 + 8) == param_1)) {
      uVar4 = (ulong)(local_28 <= param_2);
    }
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return uVar4;
}

