
void print_short(size_t fields,size_t blank,void *block,char *fmt_string,int width,int pad)

{
  long lVar1;
  ulong uVar2;
  ushort uVar3;
  long lVar4;
  ulong uVar5;
  ulong uVar6;
  long in_FS_OFFSET;
  
  uVar6 = (ulong)(uint)pad;
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (blank < fields) {
    uVar5 = (fields - 1) * (long)pad;
    lVar4 = 0;
    do {
      uVar2 = uVar5 / fields;
      if (input_swap == false) {
        uVar3 = *(ushort *)((long)block + lVar4 * 2);
      }
      else {
        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),
                         *(undefined1 *)((long)block + lVar4 * 2 + 1));
      }
      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);
      lVar4 = lVar4 + 1;
      uVar5 = uVar5 - (long)pad;
      uVar6 = uVar2 & 0xffffffff;
    } while (fields - blank != lVar4);
  }
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,
                 ulong param_6)

{
  long lVar1;
  ulong uVar2;
  undefined2 uVar3;
  long lVar4;
  ulong uVar5;
  int iVar6;
  long in_FS_OFFSET;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_2 < param_1) {
    iVar6 = (int)param_6;
    uVar5 = (param_1 - 1) * (long)iVar6;
    lVar4 = 0;
    do {
      uVar2 = uVar5 / param_1;
      if (DAT_001132a1 == '\0') {
        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);
      }
      else {
        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),
                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));
      }
      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);
      lVar4 = lVar4 + 1;
      uVar5 = uVar5 - (long)iVar6;
      param_6 = uVar2 & 0xffffffff;
    } while (param_1 - param_2 != lVar4);
  }
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RSP],RCX
MOV dword ptr [RSP + 0xc],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x28],RAX
XOR EAX,EAX
CMP RDI,RSI
JBE 0x00102bb0
MOV R13,RDI
MOV R14,RDX
MOVSXD RAX,R9D
MOV qword ptr [RSP + 0x18],RAX
LEA RBP,[RDI + -0x1]
IMUL RBP,RAX
MOV RAX,RDI
SUB RAX,RSI
MOV qword ptr [RSP + 0x10],RAX
MOV EBX,0x0
JMP 0x00102b78
MOVZX EDX,word ptr [R14 + RBX*0x2]
MOVZX EDX,DX
MOV RDI,qword ptr [RSP]
MOV EAX,0x0
CALL 0x001086b6
ADD RBX,0x1
SUB RBP,qword ptr [RSP + 0x18]
MOV R9D,R12D
CMP qword ptr [RSP + 0x10],RBX
JZ 0x00102bb0
MOV RAX,RBP
MOV EDX,0x0
DIV R13
MOV R12,RAX
SUB R9D,EAX
MOV EAX,dword ptr [RSP + 0xc]
LEA ESI,[R9 + RAX*0x1]
CMP byte ptr [0x001132a1],0x0
JZ 0x00102b4f
MOV R15B,byte ptr [R14 + RBX*0x2 + 0x1]
MOVZX EAX,byte ptr [R14 + RBX*0x2]
MOV ECX,R15D
MOV CH,AL
MOV R15D,ECX
MOV EDX,ECX
JMP 0x00102b54
MOV RAX,qword ptr [RSP + 0x28]
XOR RAX,qword ptr FS:[0x28]
JNZ 0x00102bcf
ADD RSP,0x38
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
CALL 0x00102140
(translation_unit "void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)\n\n{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)\n\n{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" identifier (parameter_list "(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "ulong param_6" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined2 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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 (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" if (parenthesized_expression "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )) (compound_statement "{\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" { (expression_statement "iVar6 = (int)param_6;" (assignment_expression "iVar6 = (int)param_6" identifier = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar5 = (param_1 - 1) * (long)iVar6;" (assignment_expression "uVar5 = (param_1 - 1) * (long)iVar6" identifier = (binary_expression "(param_1 - 1) * (long)iVar6" (parenthesized_expression "(param_1 - 1)" ( (binary_expression "param_1 - 1" identifier - number_literal) )) * (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);" do (compound_statement "{\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    }" { (expression_statement "uVar2 = uVar5 / param_1;" (assignment_expression "uVar2 = uVar5 / param_1" identifier = (binary_expression "uVar5 / param_1" identifier / identifier)) ;) (if_statement "if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" if (parenthesized_expression "(DAT_001132a1 == '\0')" ( (binary_expression "DAT_001132a1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }" { (expression_statement "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);" (assignment_expression "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2)" identifier = (pointer_expression "*(undefined2 *)(param_3 + lVar4 * 2)" * (cast_expression "(undefined2 *)(param_3 + lVar4 * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + lVar4 * 2)" ( (binary_expression "param_3 + lVar4 * 2" identifier + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" else (compound_statement "{\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" { (expression_statement "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));" (assignment_expression "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" identifier = (call_expression "CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" identifier (argument_list "(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" ( (pointer_expression "*(undefined1 *)(param_3 + lVar4 * 2)" * (cast_expression "(undefined1 *)(param_3 + lVar4 * 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + lVar4 * 2)" ( (binary_expression "param_3 + lVar4 * 2" identifier + (binary_expression "lVar4 * 2" identifier * number_literal)) )))) , (pointer_expression "*(undefined1 *)(param_3 + 1 + lVar4 * 2)" * (cast_expression "(undefined1 *)(param_3 + 1 + lVar4 * 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1 + lVar4 * 2)" ( (binary_expression "param_3 + 1 + lVar4 * 2" (binary_expression "param_3 + 1" identifier + number_literal) + (binary_expression "lVar4 * 2" identifier * number_literal)) )))) )))) ;) }))) (expression_statement "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);" (call_expression "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" identifier (argument_list "(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" ( identifier , (binary_expression "((int)param_6 - (int)uVar2) + param_5" (parenthesized_expression "((int)param_6 - (int)uVar2)" ( (binary_expression "(int)param_6 - (int)uVar2" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) + identifier) , identifier ))) ;) (expression_statement "lVar4 = lVar4 + 1;" (assignment_expression "lVar4 = lVar4 + 1" identifier = (binary_expression "lVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 - (long)iVar6;" (assignment_expression "uVar5 = uVar5 - (long)iVar6" identifier = (binary_expression "uVar5 - (long)iVar6" identifier - (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_6 = uVar2 & 0xffffffff;" (assignment_expression "param_6 = uVar2 & 0xffffffff" identifier = (binary_expression "uVar2 & 0xffffffff" identifier & number_literal)) ;) }) while (parenthesized_expression "(param_1 - param_2 != lVar4)" ( (binary_expression "param_1 - param_2 != lVar4" (binary_expression "param_1 - param_2" identifier - identifier) != identifier) )) ;) })) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(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    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void print_short(size_t fields,size_t blank,void *block,char *fmt_string,int width,int pad)\n\n{\n  long lVar1;\n  ulong uVar2;\n  ushort uVar3;\n  long lVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long in_FS_OFFSET;\n  \n  uVar6 = (ulong)(uint)pad;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (blank < fields) {\n    uVar5 = (fields - 1) * (long)pad;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void print_short(size_t fields,size_t blank,void *block,char *fmt_string,int width,int pad)\n\n{\n  long lVar1;\n  ulong uVar2;\n  ushort uVar3;\n  long lVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long in_FS_OFFSET;\n  \n  uVar6 = (ulong)(uint)pad;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (blank < fields) {\n    uVar5 = (fields - 1) * (long)pad;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "print_short(size_t fields,size_t blank,void *block,char *fmt_string,int width,int pad)" identifier (parameter_list "(size_t fields,size_t blank,void *block,char *fmt_string,int width,int pad)" ( (parameter_declaration "size_t fields" primitive_type identifier) , (parameter_declaration "size_t blank" primitive_type identifier) , (parameter_declaration "void *block" primitive_type (pointer_declarator "*block" * identifier)) , (parameter_declaration "char *fmt_string" primitive_type (pointer_declarator "*fmt_string" * identifier)) , (parameter_declaration "int width" primitive_type identifier) , (parameter_declaration "int pad" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  ushort uVar3;\n  long lVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long in_FS_OFFSET;\n  \n  uVar6 = (ulong)(uint)pad;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (blank < fields) {\n    uVar5 = (fields - 1) * (long)pad;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (expression_statement "uVar6 = (ulong)(uint)pad;" (assignment_expression "uVar6 = (ulong)(uint)pad" identifier = (cast_expression "(ulong)(uint)pad" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)pad" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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 (blank < fields) {\n    uVar5 = (fields - 1) * (long)pad;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);\n  }" if (parenthesized_expression "(blank < fields)" ( (binary_expression "blank < fields" identifier < identifier) )) (compound_statement "{\n    uVar5 = (fields - 1) * (long)pad;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);\n  }" { (expression_statement "uVar5 = (fields - 1) * (long)pad;" (assignment_expression "uVar5 = (fields - 1) * (long)pad" identifier = (binary_expression "(fields - 1) * (long)pad" (parenthesized_expression "(fields - 1)" ( (binary_expression "fields - 1" identifier - number_literal) )) * (cast_expression "(long)pad" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    } while (fields - blank != lVar4);" do (compound_statement "{\n      uVar2 = uVar5 / fields;\n      if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }\n      xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)pad;\n      uVar6 = uVar2 & 0xffffffff;\n    }" { (expression_statement "uVar2 = uVar5 / fields;" (assignment_expression "uVar2 = uVar5 / fields" identifier = (binary_expression "uVar5 / fields" identifier / identifier)) ;) (if_statement "if (input_swap == false) {\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }" if (parenthesized_expression "(input_swap == false)" ( (binary_expression "input_swap == false" identifier == false) )) (compound_statement "{\n        uVar3 = *(ushort *)((long)block + lVar4 * 2);\n      }" { (expression_statement "uVar3 = *(ushort *)((long)block + lVar4 * 2);" (assignment_expression "uVar3 = *(ushort *)((long)block + lVar4 * 2)" identifier = (pointer_expression "*(ushort *)((long)block + lVar4 * 2)" * (cast_expression "(ushort *)((long)block + lVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)block + lVar4 * 2)" ( (binary_expression "(long)block + lVar4 * 2" (cast_expression "(long)block" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }" else (compound_statement "{\n        uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));\n      }" { (expression_statement "uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1));" (assignment_expression "uVar3 = CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1))" identifier = (call_expression "CONCAT11(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1))" identifier (argument_list "(*(undefined1 *)((long)block + lVar4 * 2),\n                         *(undefined1 *)((long)block + lVar4 * 2 + 1))" ( (pointer_expression "*(undefined1 *)((long)block + lVar4 * 2)" * (cast_expression "(undefined1 *)((long)block + lVar4 * 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)block + lVar4 * 2)" ( (binary_expression "(long)block + lVar4 * 2" (cast_expression "(long)block" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) )))) , (pointer_expression "*(undefined1 *)((long)block + lVar4 * 2 + 1)" * (cast_expression "(undefined1 *)((long)block + lVar4 * 2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)block + lVar4 * 2 + 1)" ( (binary_expression "(long)block + lVar4 * 2 + 1" (binary_expression "(long)block + lVar4 * 2" (cast_expression "(long)block" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) + number_literal) )))) )))) ;) }))) (expression_statement "xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3);" (call_expression "xprintf(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3)" identifier (argument_list "(fmt_string,(ulong)(uint)(((int)uVar6 - (int)uVar2) + width),(ulong)uVar3)" ( identifier , (call_expression "(ulong)(uint)(((int)uVar6 - (int)uVar2) + width)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(((int)uVar6 - (int)uVar2) + width)" ( (binary_expression "((int)uVar6 - (int)uVar2) + width" (parenthesized_expression "((int)uVar6 - (int)uVar2)" ( (binary_expression "(int)uVar6 - (int)uVar2" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) + identifier) ))) , (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (expression_statement "lVar4 = lVar4 + 1;" (assignment_expression "lVar4 = lVar4 + 1" identifier = (binary_expression "lVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 - (long)pad;" (assignment_expression "uVar5 = uVar5 - (long)pad" identifier = (binary_expression "uVar5 - (long)pad" identifier - (cast_expression "(long)pad" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar6 = uVar2 & 0xffffffff;" (assignment_expression "uVar6 = uVar2 & 0xffffffff" identifier = (binary_expression "uVar2 & 0xffffffff" identifier & number_literal)) ;) }) while (parenthesized_expression "(fields - blank != lVar4)" ( (binary_expression "fields - blank != lVar4" (binary_expression "fields - blank" identifier - identifier) != identifier) )) ;) })) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(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    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)\n\n{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)\n\n{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" identifier (parameter_list "(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "ulong param_6" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined2 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(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 (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" if (parenthesized_expression "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )) (compound_statement "{\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" { (expression_statement "iVar6 = (int)param_6;" (assignment_expression "iVar6 = (int)param_6" identifier = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar5 = (param_1 - 1) * (long)iVar6;" (assignment_expression "uVar5 = (param_1 - 1) * (long)iVar6" identifier = (binary_expression "(param_1 - 1) * (long)iVar6" (parenthesized_expression "(param_1 - 1)" ( (binary_expression "param_1 - 1" identifier - number_literal) )) * (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);" do (compound_statement "{\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    }" { (expression_statement "uVar2 = uVar5 / param_1;" (assignment_expression "uVar2 = uVar5 / param_1" identifier = (binary_expression "uVar5 / param_1" identifier / identifier)) ;) (if_statement "if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" if (parenthesized_expression "(DAT_001132a1 == '\0')" ( (binary_expression "DAT_001132a1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }" { (expression_statement "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);" (assignment_expression "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2)" identifier = (pointer_expression "*(undefined2 *)(param_3 + lVar4 * 2)" * (cast_expression "(undefined2 *)(param_3 + lVar4 * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + lVar4 * 2)" ( (binary_expression "param_3 + lVar4 * 2" identifier + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" else (compound_statement "{\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" { (expression_statement "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));" (assignment_expression "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" identifier = (call_expression "CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" identifier (argument_list "(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" ( (pointer_expression "*(undefined1 *)(param_3 + lVar4 * 2)" * (cast_expression "(undefined1 *)(param_3 + lVar4 * 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + lVar4 * 2)" ( (binary_expression "param_3 + lVar4 * 2" identifier + (binary_expression "lVar4 * 2" identifier * number_literal)) )))) , (pointer_expression "*(undefined1 *)(param_3 + 1 + lVar4 * 2)" * (cast_expression "(undefined1 *)(param_3 + 1 + lVar4 * 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1 + lVar4 * 2)" ( (binary_expression "param_3 + 1 + lVar4 * 2" (binary_expression "param_3 + 1" identifier + number_literal) + (binary_expression "lVar4 * 2" identifier * number_literal)) )))) )))) ;) }))) (expression_statement "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);" (call_expression "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" identifier (argument_list "(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" ( identifier , (binary_expression "((int)param_6 - (int)uVar2) + param_5" (parenthesized_expression "((int)param_6 - (int)uVar2)" ( (binary_expression "(int)param_6 - (int)uVar2" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) + identifier) , identifier ))) ;) (expression_statement "lVar4 = lVar4 + 1;" (assignment_expression "lVar4 = lVar4 + 1" identifier = (binary_expression "lVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 - (long)iVar6;" (assignment_expression "uVar5 = uVar5 - (long)iVar6" identifier = (binary_expression "uVar5 - (long)iVar6" identifier - (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_6 = uVar2 & 0xffffffff;" (assignment_expression "param_6 = uVar2 & 0xffffffff" identifier = (binary_expression "uVar2 & 0xffffffff" identifier & number_literal)) ;) }) while (parenthesized_expression "(param_1 - param_2 != lVar4)" ( (binary_expression "param_1 - param_2 != lVar4" (binary_expression "param_1 - param_2" identifier - identifier) != identifier) )) ;) })) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(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    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE 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 IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) * (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT - 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 { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)\n\n{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "void") (function_declarator "FUN_00102af7(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" (identifier "FUN_00102af7") (parameter_list "(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,\n                 ulong param_6)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "ulong param_6" (type_identifier "ulong") (identifier "param_6")) () ")"))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  undefined2 uVar3;\n  long lVar4;\n  ulong uVar5;\n  int iVar6;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "undefined2 uVar3;" (type_identifier "undefined2") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (= "=") (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 (param_2 < param_1) {\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" (if "if") (parenthesized_expression "(param_2 < param_1)" (( "(") (binary_expression "param_2 < param_1" (identifier "param_2") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    iVar6 = (int)param_6;\n    uVar5 = (param_1 - 1) * (long)iVar6;\n    lVar4 = 0;\n    do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);\n  }" ({ "{") (expression_statement "iVar6 = (int)param_6;" (assignment_expression "iVar6 = (int)param_6" (identifier "iVar6") (= "=") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6"))) (; ";")) (expression_statement "uVar5 = (param_1 - 1) * (long)iVar6;" (assignment_expression "uVar5 = (param_1 - 1) * (long)iVar6" (identifier "uVar5") (= "=") (binary_expression "(param_1 - 1) * (long)iVar6" (parenthesized_expression "(param_1 - 1)" (( "(") (binary_expression "param_1 - 1" (identifier "param_1") (- "-") (number_literal "1")) () ")")) (* "*") (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")))) (; ";")) (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" (identifier "lVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    } while (param_1 - param_2 != lVar4);" (do "do") (compound_statement "{\n      uVar2 = uVar5 / param_1;\n      if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }\n      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);\n      lVar4 = lVar4 + 1;\n      uVar5 = uVar5 - (long)iVar6;\n      param_6 = uVar2 & 0xffffffff;\n    }" ({ "{") (expression_statement "uVar2 = uVar5 / param_1;" (assignment_expression "uVar2 = uVar5 / param_1" (identifier "uVar2") (= "=") (binary_expression "uVar5 / param_1" (identifier "uVar5") (/ "/") (identifier "param_1"))) (; ";")) (if_statement "if (DAT_001132a1 == '\0') {\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }\n      else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" (if "if") (parenthesized_expression "(DAT_001132a1 == '\0')" (( "(") (binary_expression "DAT_001132a1 == '\0'" (identifier "DAT_001132a1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);\n      }" ({ "{") (expression_statement "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);" (assignment_expression "uVar3 = *(undefined2 *)(param_3 + lVar4 * 2)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined2 *)(param_3 + lVar4 * 2)" (* "*") (cast_expression "(undefined2 *)(param_3 + lVar4 * 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + lVar4 * 2)" (( "(") (binary_expression "param_3 + lVar4 * 2" (identifier "param_3") (+ "+") (binary_expression "lVar4 * 2" (identifier "lVar4") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" (else "else") (compound_statement "{\n        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));\n      }" ({ "{") (expression_statement "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));" (assignment_expression "uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" (identifier "uVar3") (= "=") (call_expression "CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(param_3 + lVar4 * 2),\n                         *(undefined1 *)(param_3 + 1 + lVar4 * 2))" (( "(") (pointer_expression "*(undefined1 *)(param_3 + lVar4 * 2)" (* "*") (cast_expression "(undefined1 *)(param_3 + lVar4 * 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + lVar4 * 2)" (( "(") (binary_expression "param_3 + lVar4 * 2" (identifier "param_3") (+ "+") (binary_expression "lVar4 * 2" (identifier "lVar4") (* "*") (number_literal "2"))) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(param_3 + 1 + lVar4 * 2)" (* "*") (cast_expression "(undefined1 *)(param_3 + 1 + lVar4 * 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1 + lVar4 * 2)" (( "(") (binary_expression "param_3 + 1 + lVar4 * 2" (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) (+ "+") (binary_expression "lVar4 * 2" (identifier "lVar4") (* "*") (number_literal "2"))) () ")")))) () ")")))) (; ";")) (} "}")))) (expression_statement "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);" (call_expression "FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" (identifier "FUN_001086b6") (argument_list "(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3)" (( "(") (identifier "param_4") (, ",") (binary_expression "((int)param_6 - (int)uVar2) + param_5" (parenthesized_expression "((int)param_6 - (int)uVar2)" (( "(") (binary_expression "(int)param_6 - (int)uVar2" (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (- "-") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) () ")")) (+ "+") (identifier "param_5")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "lVar4 = lVar4 + 1;" (assignment_expression "lVar4 = lVar4 + 1" (identifier "lVar4") (= "=") (binary_expression "lVar4 + 1" (identifier "lVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 - (long)iVar6;" (assignment_expression "uVar5 = uVar5 - (long)iVar6" (identifier "uVar5") (= "=") (binary_expression "uVar5 - (long)iVar6" (identifier "uVar5") (- "-") (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")))) (; ";")) (expression_statement "param_6 = uVar2 & 0xffffffff;" (assignment_expression "param_6 = uVar2 & 0xffffffff" (identifier "param_6") (= "=") (binary_expression "uVar2 & 0xffffffff" (identifier "uVar2") (& "&") (number_literal "0xffffffff"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 - param_2 != lVar4)" (( "(") (binary_expression "param_1 - param_2 != lVar4" (binary_expression "param_1 - param_2" (identifier "param_1") (- "-") (identifier "param_2")) (!= "!=") (identifier "lVar4")) () ")")) (; ";")) (} "}"))) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (== "==") (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    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void function_1(size_t var_3,size_t var_2,void *block,char *fmt_string,int var_9,int pad)

{
  long var_11;
  type_1 var_10;
  type_2 uVar3;
  long var_6;
  type_1 var_4;
  type_1 uVar6;
  long var_1;
  
  uVar6 = (type_1)(type_3)pad;
  var_11 = *(long *)(var_1 + 0x28);
  if (var_2 < var_3) {
    var_4 = (var_3 - 1) * (long)pad;
    var_6 = 0;
    do {
      var_10 = var_4 / var_3;
      if (var_5 == false) {
        uVar3 = *(type_2 *)((long)block + var_6 * 2);
      }
      else {
        uVar3 = var_7(*(type_4 *)((long)block + var_6 * 2),
                         *(type_4 *)((long)block + var_6 * 2 + 1));
      }
      var_8(fmt_string,(type_1)(type_3)(((int)uVar6 - (int)var_10) + var_9),(type_1)uVar3);
      var_6 = var_6 + 1;
      var_4 = var_4 - (long)pad;
      uVar6 = var_10 & 0xffffffff;
    } while (var_3 - var_2 != var_6);
  }
  if (var_11 == *(long *)(var_1 + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_12();
}


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

void MASKED(ulong param_1,ulong param_2,long param_3,undefined8 param_4,int param_5,
                 ulong param_6)

{
  long lVar1;
  ulong uVar2;
  undefined2 uVar3;
  long lVar4;
  ulong uVar5;
  int iVar6;
  long in_FS_OFFSET;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_2 < param_1) {
    iVar6 = (int)param_6;
    uVar5 = (param_1 - 1) * (long)iVar6;
    lVar4 = 0;
    do {
      uVar2 = uVar5 / param_1;
      if (DAT_001132a1 == '\0') {
        uVar3 = *(undefined2 *)(param_3 + lVar4 * 2);
      }
      else {
        uVar3 = CONCAT11(*(undefined1 *)(param_3 + lVar4 * 2),
                         *(undefined1 *)(param_3 + 1 + lVar4 * 2));
      }
      FUN_001086b6(param_4,((int)param_6 - (int)uVar2) + param_5,uVar3);
      lVar4 = lVar4 + 1;
      uVar5 = uVar5 - (long)iVar6;
      param_6 = uVar2 & 0xffffffff;
    } while (param_1 - param_2 != lVar4);
  }
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

