// File: /workspace/github_c_makefile_star2_O1/kobolt[P]curses-collection/sudoku/sudoku.c
// Function: main
int main(int argc, char *argv[])
{
  int done;
  char *current_status;

  if (argc == 2)
    read_from_file(argv[1]);

  initscr();
  noecho();
  keypad(stdscr, TRUE);

  current_status = NULL;
  done = 0;
  while (! done) {
    display_update(current_status);

    switch (getch()) {
    case KEY_LEFT:
      current_x--;
      if (current_x < 0)
        current_x = 0;
      break;

    case KEY_RIGHT:
      current_x++;
      if (current_x >= 9)
        current_x = 8;
      break;

    case KEY_UP:
      current_y--;
      if (current_y < 0)
        current_y = 0;
      break;

    case KEY_DOWN:
      current_y++;
      if (current_y >= 9)
        current_y = 8;
      break;

    case '1':
      sudoku[current_y][current_x] = 1;
      break;

    case '2':
      sudoku[current_y][current_x] = 2;
      break;

    case '3':
      sudoku[current_y][current_x] = 3;
      break;

    case '4':
      sudoku[current_y][current_x] = 4;
      break;

    case '5':
      sudoku[current_y][current_x] = 5;
      break;

    case '6':
      sudoku[current_y][current_x] = 6;
      break;

    case '7':
      sudoku[current_y][current_x] = 7;
      break;

    case '8':
      sudoku[current_y][current_x] = 8;
      break;

    case '9':
      sudoku[current_y][current_x] = 9;
      break;

    case '0':
    case ' ':
      sudoku[current_y][current_x] = 0;
      break;

    case KEY_ENTER:
    case '\n':
      if (solve_sudoku())
        current_status = "Unable to solve, enter more numbers.";
      else
        current_status = "Solved!";
      break;

    case 'q':
    case 'Q':
    case '\e':
      done = 1;
      break;

    default:
      break;
    }
  }

  endwin();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
cmpl $0x2, %edi
jne 0x1349
movq 0x8(%rsi), %rdi
leaq 0xe4f(%rip), %rsi       # 0x20bd
callq 0x10e0
testq %rax, %rax
je 0x1349
movq %rax, %r14
leaq 0x50(%rsp), %rdi
movl $0x20, %esi
movq %rax, %rdx
callq 0x10a0
testq %rax, %rax
je 0x1341
leaq 0x2e3f(%rip), %r12      # 0x40e0
leaq 0x50(%rsp), %rdi
movq %r14, 0x8(%rsp)
movslq %ebp, %rax
leaq (%rax,%rax,8), %rax
leaq (%r12,%rax,4), %rdx
leaq (%r12,%rax,4), %rcx
addq $0x4, %rcx
leaq 0x8(%r12,%rax,4), %r8
leaq 0xc(%r12,%rax,4), %r9
leaq 0x10(%r12,%rax,4), %r10
leaq 0x14(%r12,%rax,4), %r11
leaq (%r12,%rax,4), %r13
addq $0x18, %r13
leaq (%r12,%rax,4), %r14
addq $0x1c, %r14
leaq (%r12,%rax,4), %r15
addq $0x20, %r15
subq $0x8, %rsp
movq %rdi, %rbx
leaq 0xdc7(%rip), %rsi       # 0x20bf
xorl %eax, %eax
pushq %r15
pushq %r14
pushq %r13
pushq %r11
pushq %r10
callq 0x10d0
addq $0x30, %rsp
cmpl $0x9, %eax
jne 0x1320
incl %ebp
cmpl $0x9, %ebp
movq 0x8(%rsp), %r14
jne 0x1325
jmp 0x1341
movq 0x8(%rsp), %r14
movq %rbx, %rdi
movl $0x20, %esi
movq %r14, %rdx
callq 0x10a0
movq %rbx, %rdi
testq %rax, %rax
jne 0x12ab
movq %r14, %rdi
callq 0x1050
callq 0x1070
callq 0x1060
movq 0x2c86(%rip), %rax      # 0x3fe0
movq (%rax), %rdi
movl $0x1, %esi
callq 0x1090
xorl %ebx, %ebx
leaq 0x2d70(%rip), %r15      # 0x40e0
movl $0x0, 0x18(%rsp)
movq %rbx, %rdi
callq 0x1d1d
movq 0x2c59(%rip), %rax      # 0x3fe0
movq (%rax), %rdi
callq 0x1040
cmpl $0x50, %eax
jg 0x13ce
leal -0x20(%rax), %ecx
cmpl $0x19, %ecx
ja 0x1408
leaq 0xc61(%rip), %rdx       # 0x2004
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movslq 0x2d21(%rip), %rax      # 0x40d4
movslq 0x2d16(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x0, (%rax,%rcx,4)
jmp 0x1cfc
cmpl $0x101, %eax            # imm = 0x101
jle 0x1417
leal -0x102(%rax), %ecx
cmpl $0x3, %ecx
ja 0x1432
leaq 0xc85(%rip), %rdx       # 0x206c
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movl 0x2cde(%rip), %eax      # 0x40d4
cmpl $0x7, %eax
movl $0x7, %ecx
cmovgel %ecx, %eax
incl %eax
jmp 0x1cc9
cmpl $0xa, %eax
je 0x143d
cmpl $0x1b, %eax
je 0x1425
jmp 0x1cfc
cmpl $0x51, %eax
je 0x1425
cmpl $0x71, %eax
jne 0x1cfc
movl $0x1, 0x18(%rsp)
jmp 0x1cfc
cmpl $0x157, %eax            # imm = 0x157
jne 0x1cfc
xorl %eax, %eax
movl %eax, 0x2ddf(%rip)      # 0x4224
movl %eax, 0x2ddd(%rip)      # 0x4228
movl $0x0, 0x14(%rsp)
movl %eax, 0x2dd3(%rip)      # 0x422c
xorl %edx, %edx
cmpl $0x4, %edx
ja 0x1cd1
movl %edx, %eax
leaq 0xc0f(%rip), %rcx       # 0x207c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %edx, 0x8(%rsp)
xorl %r14d, %r14d
leaq 0x50(%rsp), %r11
movl %r14d, %eax
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
imulq %rcx, %rax
shrq $0x21, %rax
leal (%rax,%rax,2), %edx
movl %r14d, %ecx
movl %edx, 0x20(%rsp)
subl %edx, %ecx
leal (%rax,%rax,2), %eax
addl $0x3, %eax
movl %ecx, %edx
negl %edx
movslq %edx, %rdx
addq %r14, %rdx
movq %rdx, 0x30(%rsp)
movslq %eax, %r13
leaq (,%r14,4), %rax
leaq (%rax,%rax,8), %r12
shlq $0x2, %rcx
leaq (%rcx,%rcx,8), %rax
movq %r12, %rcx
subq %rax, %rcx
addq %r15, %rcx
movq %rcx, 0x28(%rsp)
movq %r15, %rbx
xorl %ebp, %ebp
leaq (%r14,%r14,8), %rax
leaq (%r15,%rax,4), %rax
movl (%rax,%rbp,4), %ecx
testl %ecx, %ecx
jg 0x160b
movabsq $0x101010101010101, %rcx # imm = 0x101010101010101
movq %rcx, 0x50(%rsp)
movb $0x1, 0x58(%rsp)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jne 0x15e2
xorl %ecx, %ecx
leaq (%r12,%rcx,4), %rdx
movslq (%r15,%rdx), %rdx
testq %rdx, %rdx
je 0x1524
movb $0x0, -0x1(%rdx,%r11)
incq %rcx
cmpq $0x9, %rcx
jne 0x1511
xorl %ecx, %ecx
movslq (%rbx,%rcx), %rdx
testq %rdx, %rdx
je 0x153e
movb $0x0, -0x1(%rdx,%r11)
addq $0x24, %rcx
cmpq $0x144, %rcx            # imm = 0x144
jne 0x152f
cmpl $0x7ffffffc, 0x20(%rsp) # imm = 0x7FFFFFFC
jg 0x15b2
movl %ebp, %edx
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
imulq %rcx, %rdx
shrq $0x21, %rdx
leal (%rdx,%rdx,2), %ecx
leal (%rdx,%rdx,2), %esi
addl $0x3, %esi
movl %ecx, %edx
subl %ebp, %edx
movslq %edx, %rdx
addq %rbp, %rdx
movslq %esi, %rsi
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %r8
cmpl $0x7ffffffc, %ecx       # imm = 0x7FFFFFFC
jg 0x15a6
movq %rdx, %r9
movslq (%rdi,%r9,4), %r10
testq %r10, %r10
je 0x159e
movb $0x0, -0x1(%r10,%r11)
incq %r9
cmpq %rsi, %r9
jl 0x158f
incq %r8
addq $0x24, %rdi
cmpq %r13, %r8
jl 0x1584
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %edx, %edx
leaq 0x1(%rdx), %rsi
movl %esi, %edi
cmpl $-0x1, %ecx
je 0x15c6
xorl %edi, %edi
cmpb $0x0, 0x50(%rsp,%rdx)
cmovnel %edi, %ecx
movq %rsi, %rdx
cmpq $0x9, %rsi
jne 0x15b9
cmpl $-0x2, %ecx
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
cmovael %edx, %ecx
testl %ecx, %ecx
jle 0x160b
leaq (%rax,%rbp,4), %rax
movl %ecx, (%rax)
leaq 0xbaa(%rip), %rdi       # 0x219d
callq 0x1d1d
movl $0x2710, %edi           # imm = 0x2710
callq 0x1140
leaq 0x50(%rsp), %r11
incl 0x8(%rsp)
incq %rbp
addq $0x4, %rbx
cmpq $0x9, %rbp
jne 0x14dd
incq %r14
cmpq $0x9, %r14
jne 0x1482
movq %r15, %rax
xorl %ecx, %ecx
xorl %esi, %esi
movl (%rax,%rsi,4), %edx
testl %edx, %edx
je 0x164d
incq %rsi
cmpq $0x9, %rsi
jne 0x1630
incq %rcx
addq $0x24, %rax
cmpq $0x9, %rcx
jne 0x162e
testl %edx, %edx
jne 0x1667
xorl %r14d, %r14d
cmpl $0x0, 0x8(%rsp)
movl $0x0, 0x8(%rsp)
jg 0x1482
movq %r15, %rax
xorl %ecx, %ecx
xorl %edx, %edx
cmpl $0x0, (%rax,%rdx,4)
je 0x1af2
incq %rdx
cmpq $0x9, %rdx
jne 0x166e
incq %rcx
addq $0x24, %rax
movl $0x4, %edx
cmpq $0x9, %rcx
jne 0x166c
jmp 0x145b
movl $0x144, %edx            # imm = 0x144
movq %r15, %rdi
leaq 0x2b89(%rip), %rsi      # 0x4230
callq 0x10b0
movl 0x2b72(%rip), %eax      # 0x4224
testl %eax, %eax
jne 0x1706
movslq 0x2b6f(%rip), %rcx      # 0x422c
movslq 0x2b64(%rip), %rdx      # 0x4228
leaq (%rcx,%rcx,8), %rsi
leaq (%r15,%rsi,4), %rsi
cmpl $0x0, (%rsi,%rdx,4)
jle 0x1706
incl %edx
cmpl $0x9, %edx
jne 0x16ec
incl %ecx
movl %ecx, 0x2b4b(%rip)      # 0x422c
xorl %edx, %edx
cmpl $0x9, %ecx
je 0x1b10
movslq %ecx, %rsi
movslq %edx, %rdi
leaq (%rsi,%rsi,8), %rsi
leaq (%r15,%rsi,4), %rsi
cmpl $0x0, (%rsi,%rdi,4)
jg 0x16d2
movl %edx, 0x2b22(%rip)      # 0x4228
movl 0x2b1c(%rip), %edx      # 0x4228
movl 0x2b1a(%rip), %ecx      # 0x422c
incl %eax
cmpl $0xa, %eax
jne 0x1757
incl %edx
cmpl $0x9, %edx
jne 0x172a
incl %ecx
movl %ecx, 0x2b04(%rip)      # 0x422c
xorl %edx, %edx
cmpl $0x8, %ecx
jg 0x1743
movslq %ecx, %rax
movslq %edx, %rsi
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
cmpl $0x0, (%rax,%rsi,4)
jg 0x1719
movl %edx, 0x2adf(%rip)      # 0x4228
movl $0x1, %eax
cmpl $0x9, %ecx
je 0x1afc
movslq %ecx, %rsi
imulq $0x55555556, %rsi, %rdi # imm = 0x55555556
movq %rdi, %r8
shrq $0x3f, %r8
shrq $0x20, %rdi
addl %r8d, %edi
leal (%rdi,%rdi,2), %r11d
cmpl $0x7ffffffc, %r11d      # imm = 0x7FFFFFFC
jg 0x1828
movl %esi, %r10d
subl %r11d, %r10d
addl $0x3, %r11d
movslq %edx, %rbx
imulq $0x55555556, %rbx, %r8  # imm = 0x55555556
movq %r8, %rdi
shrq $0x3f, %rdi
shrq $0x20, %r8
addl %edi, %r8d
leal (%r8,%r8,2), %edi
movl %edx, %r9d
subl %edi, %r9d
leal (%r8,%r8,2), %ebp
addl $0x3, %ebp
movslq %r9d, %r14
negl %r9d
movslq %r9d, %r8
addq %rbx, %r8
movslq %ebp, %r9
movslq %r10d, %r15
negl %r10d
movslq %r10d, %r10
addq %rsi, %r10
movslq %r11d, %r11
leaq (%rsi,%rsi,8), %r12
shlq $0x2, %rbx
leaq (%rbx,%r12,4), %rbx
shlq $0x2, %r14
subq %r14, %rbx
shlq $0x2, %r15
leaq (%r15,%r15,8), %r14
leaq 0x28ed(%rip), %r15      # 0x40e0
subq %r14, %rbx
addq %r15, %rbx
movq %rbx, %r14
movq %r8, %r12
cmpl $0x7ffffffc, %edi       # imm = 0x7FFFFFFC
jg 0x181c
cmpl %eax, (%r14)
je 0x1712
incq %r12
addq $0x4, %r14
cmpq %r9, %r12
jl 0x1807
incq %r10
addq $0x24, %rbx
cmpq %r11, %r10
jl 0x17f9
leaq (,%rsi,4), %rdi
leaq (%rdi,%rdi,8), %rdi
xorl %r8d, %r8d
leaq (%rdi,%r8,4), %r9
cmpl %eax, (%r15,%r9)
je 0x1712
incq %r8
cmpq $0x9, %r8
jne 0x1837
movslq %edx, %rdi
shlq $0x2, %rdi
xorl %r8d, %r8d
leaq (%rdi,%r8), %r9
cmpl %eax, (%r15,%r9)
je 0x1712
addq $0x24, %r8
cmpq $0x144, %r8             # imm = 0x144
jne 0x1858
jmp 0x1b24
movl $0x144, %edx            # imm = 0x144
leaq 0x29ac(%rip), %rdi      # 0x4230
movq %r15, %rsi
callq 0x10b0
movl $0x2, %edx
movl $0x1, 0x14(%rsp)
jmp 0x145b
xorl %ebp, %ebp
movq %r15, %rsi
movl $0x0, 0x1c(%rsp)
movl %ebp, %eax
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
imulq %rcx, %rax
shrq $0x21, %rax
leal (%rax,%rax,2), %edx
movl %ebp, %ecx
movl %edx, 0x28(%rsp)
subl %edx, %ecx
leaq (,%rcx,4), %rdx
leaq (%rdx,%rdx,8), %rdx
movq %rsi, 0x40(%rsp)
subq %rdx, %rsi
movq %rsi, 0x8(%rsp)
leal (%rax,%rax,2), %eax
addl $0x3, %eax
negl %ecx
movslq %ecx, %rcx
addq %rbp, %rcx
movq %rcx, 0x20(%rsp)
movslq %eax, %r14
movq %r15, %rsi
xorl %r13d, %r13d
leaq (,%rbp,8), %rax
addq %rbp, %rax
leaq (%r15,%rax,4), %rax
cmpl $0x0, (%rax,%r13,4)
jg 0x1aa6
movl $0x1, %edx
cmpl $0x7ffffffc, 0x28(%rsp) # imm = 0x7FFFFFFC
jg 0x1a80
movq %rax, 0x48(%rsp)
movl %r13d, %eax
movl $0xaaaaaaab, %edx       # imm = 0xAAAAAAAB
imulq %rdx, %rax
shrq $0x21, %rax
leal (%rax,%rax,2), %eax
movl %r13d, %ecx
subl %eax, %ecx
shll $0x2, %ecx
movq %rsi, 0x38(%rsp)
subq %rcx, %rsi
movq %rsi, 0x30(%rsp)
movl %r13d, %ecx
imulq %rdx, %rcx
shrq $0x21, %rcx
leal (%rcx,%rcx,2), %esi
movl %esi, %eax
subl %r13d, %eax
cltq
addq %r13, %rax
leal (%rcx,%rcx,2), %ecx
addl $0x3, %ecx
movslq %ecx, %r8
movl $0x1, %edx
movq 0x8(%rsp), %rcx
movq 0x20(%rsp), %rdi
movq %rax, %r9
cmpl $0x7ffffffc, %esi       # imm = 0x7FFFFFFC
jg 0x19a1
cmpl %edx, (%rcx,%r9,4)
je 0x1a64
incq %r9
cmpq %r8, %r9
jl 0x198f
incq %rdi
addq $0x24, %rcx
cmpq %r14, %rdi
jl 0x1984
xorl %r9d, %r9d
movq 0x8(%rsp), %r10
movq 0x20(%rsp), %r11
cmpl $0x7ffffffc, %esi       # imm = 0x7FFFFFFC
jg 0x1a4e
movq 0x30(%rsp), %rcx
movq %rax, %rdi
leaq (%r11,%r11,8), %rbx
leaq (%r15,%rbx,4), %rbx
cmpl $0x0, (%rbx,%rdi,4)
jg 0x19e6
cmpq %rbp, %r11
jne 0x19f7
cmpq %r13, %rdi
jne 0x19f7
incl %r9d
incq %rdi
addq $0x4, %rcx
cmpq %r8, %rdi
jl 0x19ce
jmp 0x1a4e
cmpq %rbp, %r11
je 0x1a20
xorl %ebx, %ebx
movl (%r10,%rbx,4), %r15d
cmpl %edx, %r15d
je 0x1a14
leaq 0x1(%rbx), %r12
cmpq $0x8, %rbx
movq %r12, %rbx
jne 0x19fe
cmpl %edx, %r15d
leaq 0x26c2(%rip), %r15      # 0x40e0
je 0x19e9
cmpq %r13, %rdi
je 0x1a64
xorl %ebx, %ebx
movl (%rcx,%rbx), %r15d
cmpl %edx, %r15d
je 0x1a40
leaq 0x24(%rbx), %r12
cmpq $0x120, %rbx            # imm = 0x120
movq %r12, %rbx
jne 0x1a27
cmpl %edx, %r15d
leaq 0x2696(%rip), %r15      # 0x40e0
je 0x19e9
jmp 0x1a64
incq %r11
addq $0x24, %r10
cmpq %r14, %r11
jl 0x19ba
cmpl $0x9, %r9d
jne 0x1a76
incl %edx
cmpl $0xa, %edx
jne 0x197a
movq 0x38(%rsp), %rsi
jmp 0x1aa6
movq 0x38(%rsp), %rsi
movq 0x48(%rsp), %rax
leaq (%rax,%r13,4), %rax
movl %edx, (%rax)
leaq 0x710(%rip), %rdi       # 0x219d
movq %rsi, %rbx
callq 0x1d1d
movl $0x2710, %edi           # imm = 0x2710
callq 0x1140
movq %rbx, %rsi
incl 0x1c(%rsp)
incq %r13
addq $0x4, %rsi
cmpq $0x9, %r13
jne 0x18fa
incq %rbp
movq 0x40(%rsp), %rsi
addq $0x24, %rsi
cmpq $0x9, %rbp
jne 0x18ab
xorl %edx, %edx
cmpl $0x0, 0x1c(%rsp)
jg 0x145b
xorl %eax, %eax
cmpl $0x0, 0x14(%rsp)
setne %al
movl %eax, 0x14(%rsp)
movl %eax, %edx
xorl $0x3, %edx
jmp 0x145b
movl $0x1, %edx
jmp 0x145b
movl $0x1, 0x271e(%rip)      # 0x4224
movl $0x5, %edx
jmp 0x145b
movl $0x0, 0x270e(%rip)      # 0x4228
movl $0x5, %edx
jmp 0x145b
movl %eax, 0x26fa(%rip)      # 0x4224
movslq 0x26f7(%rip), %rcx      # 0x4228
leaq (%rsi,%rsi,8), %rdx
leaq (%r15,%rdx,4), %rdx
movl %eax, (%rdx,%rcx,4)
leaq 0x665(%rip), %rdi       # 0x21a8
callq 0x1d1d
movl $0x2710, %edi           # imm = 0x2710
callq 0x1140
jmp 0x1459
movslq 0x2576(%rip), %rax      # 0x40d4
movslq 0x256b(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x2, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x2554(%rip), %rax      # 0x40d4
movslq 0x2549(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x9, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x2532(%rip), %rax      # 0x40d4
movslq 0x2527(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x1, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x2510(%rip), %rax      # 0x40d4
movslq 0x2505(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x3, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x24ee(%rip), %rax      # 0x40d4
movslq 0x24e3(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x4, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x24cc(%rip), %rax      # 0x40d4
movslq 0x24c1(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x5, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x24aa(%rip), %rax      # 0x40d4
movslq 0x249f(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x8, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x2488(%rip), %rax      # 0x40d4
movslq 0x247d(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x6, (%rax,%rcx,4)
jmp 0x1cfc
movslq 0x2466(%rip), %rax      # 0x40d4
movslq 0x245b(%rip), %rcx      # 0x40d0
leaq (%rax,%rax,8), %rax
leaq (%r15,%rax,4), %rax
movl $0x7, (%rax,%rcx,4)
jmp 0x1cfc
movl 0x2444(%rip), %eax      # 0x40d0
cmpl $0x2, %eax
movl $0x1, %ecx
cmovll %ecx, %eax
decl %eax
jmp 0x1cae
movl 0x242f(%rip), %eax      # 0x40d0
cmpl $0x7, %eax
movl $0x7, %ecx
cmovgel %ecx, %eax
incl %eax
movl %eax, 0x241c(%rip)      # 0x40d0
jmp 0x1cfc
movl 0x2418(%rip), %eax      # 0x40d4
cmpl $0x2, %eax
movl $0x1, %ecx
cmovll %ecx, %eax
decl %eax
movl %eax, 0x2405(%rip)      # 0x40d4
jmp 0x1cfc
cmpl $0x0, 0x14(%rsp)
je 0x1cec
movl $0x144, %edx            # imm = 0x144
movq %r15, %rdi
leaq 0x2549(%rip), %rsi      # 0x4230
callq 0x10b0
leaq 0x39d(%rip), %rbx       # 0x2090
jmp 0x1cfc
leaq 0x3b9(%rip), %rbx       # 0x20b5
cmpl $0x0, 0x18(%rsp)
je 0x1378
callq 0x1120
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq