// File: /workspace/github_c_makefile_star2_O3/archer1357[P]Offline-Raytracer/stb_image.c
// Function: stbi_load_main
static unsigned char *stbi_load_main(stbi__context *s, int *x, int *y, int *comp, int req_comp)
{
   if (stbi__jpeg_test(s)) return stbi__jpeg_load(s,x,y,comp,req_comp);
   if (stbi__png_test(s))  return stbi__png_load(s,x,y,comp,req_comp);
   if (stbi__bmp_test(s))  return stbi__bmp_load(s,x,y,comp,req_comp);
   if (stbi__gif_test(s))  return stbi__gif_load(s,x,y,comp,req_comp);
   if (stbi__psd_test(s))  return stbi__psd_load(s,x,y,comp,req_comp);
   if (stbi__pic_test(s))  return stbi__pic_load(s,x,y,comp,req_comp);

   #ifndef STBI_NO_HDR
   if (stbi__hdr_test(s)) {
      float *hdr = stbi__hdr_load(s, x,y,comp,req_comp);
      return stbi__hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp);
   }
   #endif

   // test tga last because it's a crappy test!
   if (stbi__tga_test(s))
      return stbi__tga_load(s,x,y,comp,req_comp);
   return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x49d8, %rsp           # imm = 0x49D8
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r12
leaq 0x180(%rsp), %rdi
movq %r12, (%rdi)
movb $-0x1, 0x36c8(%rdi)
callq 0x40fd6a
cmpb $-0x28, %al
jne 0x40ae55
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, 0x180(%rsp)
movl $0x0, 0x8(%r12)
cmpl $0x5, %ebp
jae 0x40aeb9
movq %rbx, 0x38(%rsp)
movq %r13, 0x28(%rsp)
movq %r15, 0x48(%rsp)
leaq 0x180(%rsp), %rdi
movl $0x0, 0x36e4(%rdi)
xorl %esi, %esi
callq 0x40fc8f
testl %eax, %eax
je 0x40ba0a
leaq 0x180(%rsp), %rdi
callq 0x40fd6a
cmpb $-0x26, %al
jne 0x40ae34
movl %ebp, %r13d
movq 0x180(%rsp), %rbx
movq %rbx, %rdi
callq 0x410442
movl %eax, %ebp
movq %rbx, %rdi
callq 0x410442
movl %eax, %r14d
movq %rbx, %rdi
callq 0x410442
movzbl %al, %r15d
movl %r15d, 0x3850(%rsp)
leal -0x5(%r15), %eax
cmpb $-0x4, %al
jb 0x40b4d8
cmpl %r15d, 0x8(%rbx)
jl 0x40b4d8
movzbl %bpl, %eax
shll $0x8, %eax
movzbl %r14b, %ecx
orl %eax, %ecx
leal 0x6(,%r15,2), %eax
cmpl %eax, %ecx
jne 0x40b9fc
movl %r15d, %r14d
xorl %r12d, %r12d
movq %rbx, %rdi
callq 0x410442
movl %eax, %ebp
movq %rbx, %rdi
callq 0x410442
movslq 0x8(%rbx), %rdx
testq %rdx, %rdx
jle 0x40a8f9
movzbl %bpl, %esi
leaq 0x3720(%rsp), %rdi
xorl %ecx, %ecx
cmpl %esi, (%rdi)
je 0x40a8fb
incq %rcx
addq $0x48, %rdi
cmpq %rcx, %rdx
jne 0x40a8e4
jmp 0x40ba0a
xorl %ecx, %ecx
cmpl %edx, %ecx
je 0x40ba0a
movzbl %al, %eax
movl %eax, %esi
shrl $0x4, %esi
movl %ecx, %edx
leaq (%rdx,%rdx,8), %rdx
leaq 0x3720(%rsp), %rdi
movl %esi, 0x10(%rdi,%rdx,8)
cmpb $0x3f, %al
ja 0x40b4e4
leaq (%rdi,%rdx,8), %rdx
andl $0xf, %eax
movl %eax, 0x14(%rdx)
cmpl $0x3, %eax
ja 0x40b4f0
movl %ecx, 0x3854(%rsp,%r12,4)
incq %r12
cmpq %r14, %r12
jne 0x40a8bb
movq %rbx, %rdi
callq 0x410442
testb %al, %al
jne 0x40bd7e
movq %rbx, %rdi
callq 0x410442
movq %rbx, %rdi
callq 0x410442
testb %al, %al
jne 0x40bd7e
movq $0x0, 0x3840(%rsp)
xorl %r12d, %r12d
movl %r12d, 0x384c(%rsp)
movl %r12d, 0x37c8(%rsp)
movl %r12d, 0x3780(%rsp)
movl %r12d, 0x3738(%rsp)
movb $-0x1, 0x3848(%rsp)
movl 0x3864(%rsp), %eax
testl %eax, %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmovel %ecx, %eax
movl %eax, 0x3868(%rsp)
cmpl $0x1, %r15d
jne 0x40ab75
movslq 0x3854(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq (%rax,%rax,8), %rax
leaq 0x3720(%rsp), %rcx
movl 0x20(%rcx,%rax,8), %ecx
addl $0x7, %ecx
sarl $0x3, %ecx
movl %ecx, 0x20(%rsp)
testl %ecx, %ecx
jle 0x40ab6d
leaq 0x3720(%rsp), %rcx
leaq (%rcx,%rax,8), %r14
movl 0x1c(%r14), %eax
addl $0x7, %eax
sarl $0x3, %eax
leaq (,%rax,8), %rcx
movq %rcx, 0x8(%rsp)
xorl %ebp, %ebp
movl $0x0, 0x30(%rsp)
movq %rax, 0x40(%rsp)
testl %eax, %eax
jle 0x40ab51
xorl %r15d, %r15d
movslq 0x10(%r14), %rax
imulq $0x690, %rax, %rdx      # imm = 0x690
leaq 0x188(%rsp), %rax
addq %rax, %rdx
movslq 0x14(%r14), %rax
imulq $0x690, %rax, %rcx      # imm = 0x690
leaq 0x1bc8(%rsp), %rax
addq %rax, %rcx
leaq 0x180(%rsp), %rdi
leaq 0xc0(%rsp), %rbx
movq %rbx, %rsi
movq 0x18(%rsp), %r8
callq 0x410d8c
testl %eax, %eax
je 0x40ad9b
movl 0x24(%r14), %esi
movl %ebp, %eax
imull %esi, %eax
movslq %eax, %rdi
addq 0x30(%r14), %rdi
addq %r15, %rdi
movslq 0xc(%r14), %rcx
shlq $0x6, %rcx
leaq 0x3608(%rsp), %rax
addq %rax, %rcx
movq %rbx, %rdx
callq 0x410e80
movl 0x3868(%rsp), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x3868(%rsp)
cmpl $0x1, %eax
jg 0x40ab42
cmpl $0x17, 0x3844(%rsp)
jg 0x40aae5
leaq 0x180(%rsp), %rdi
callq 0x4112e5
movb 0x3848(%rsp), %al
andb $-0x8, %al
cmpb $-0x30, %al
jne 0x40ad9f
movq $0x0, 0x3840(%rsp)
movl %r12d, 0x384c(%rsp)
movl %r12d, 0x37c8(%rsp)
movl %r12d, 0x3780(%rsp)
movl %r12d, 0x3738(%rsp)
movb $-0x1, 0x3848(%rsp)
movl 0x3864(%rsp), %eax
testl %eax, %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmovel %ecx, %eax
movl %eax, 0x3868(%rsp)
addq $0x8, %r15
cmpq %r15, 0x8(%rsp)
jne 0x40aa39
movl 0x30(%rsp), %eax
incl %eax
addl $0x8, %ebp
movl %eax, 0x30(%rsp)
cmpl 0x20(%rsp), %eax
movq 0x40(%rsp), %rax
jne 0x40aa2e
movl %r13d, %ebp
jmp 0x40adc0
movl 0x3714(%rsp), %edx
testl %edx, %edx
movl %r13d, %ebp
jle 0x40adc0
movl $0x0, 0x8(%rsp)
movl 0x3710(%rsp), %ecx
testl %ecx, %ecx
jle 0x40ad87
movl $0x0, 0x30(%rsp)
movl 0x3850(%rsp), %ecx
testl %ecx, %ecx
jle 0x40ace2
xorl %edi, %edi
movslq 0x3854(%rsp,%rdi,4), %rax
movq %rax, 0x18(%rsp)
leaq (%rax,%rax,8), %rdx
leaq 0x3720(%rsp), %rsi
movl 0x8(%rsi,%rdx,8), %eax
testl %eax, %eax
jle 0x40accc
movq %rdi, 0x40(%rsp)
leaq (%rsi,%rdx,8), %r15
movl 0x4(%r15), %r14d
xorl %ebp, %ebp
testl %r14d, %r14d
jle 0x40acb3
movl $0x0, 0x20(%rsp)
xorl %r12d, %r12d
movl 0x8(%r15), %ebx
movslq 0x10(%r15), %rax
imulq $0x690, %rax, %rdx      # imm = 0x690
leaq 0x188(%rsp), %rax
addq %rax, %rdx
movslq 0x14(%r15), %rax
imulq $0x690, %rax, %rcx      # imm = 0x690
leaq 0x1bc8(%rsp), %rax
addq %rax, %rcx
leaq 0x180(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
movq 0x18(%rsp), %r8
callq 0x410d8c
testl %eax, %eax
je 0x40adb1
imull 0x8(%rsp), %ebx
addl %ebp, %ebx
imull 0x30(%rsp), %r14d
addl %r12d, %r14d
shll $0x3, %r14d
movl 0x24(%r15), %esi
imull %esi, %ebx
shll $0x3, %ebx
movslq %ebx, %rax
addq 0x30(%r15), %rax
movslq %r14d, %rdi
addq %rax, %rdi
movslq 0xc(%r15), %rcx
shlq $0x6, %rcx
leaq 0x3608(%rsp), %rax
addq %rax, %rcx
leaq 0xc0(%rsp), %rdx
callq 0x410e80
incl %r12d
movl 0x4(%r15), %r14d
cmpl %r14d, %r12d
jl 0x40abff
movl 0x8(%r15), %eax
xorl %r12d, %r12d
incl %ebp
cmpl %eax, %ebp
jl 0x40abeb
movl 0x3850(%rsp), %ecx
movl %r13d, %ebp
movq 0x40(%rsp), %rdi
incq %rdi
movslq %ecx, %rax
cmpq %rax, %rdi
jl 0x40abb7
movl 0x3868(%rsp), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x3868(%rsp)
cmpl $0x1, %eax
movl %ecx, %eax
jg 0x40ad67
cmpl $0x17, 0x3844(%rsp)
jg 0x40ad0a
leaq 0x180(%rsp), %rdi
callq 0x4112e5
movb 0x3848(%rsp), %al
andb $-0x8, %al
cmpb $-0x30, %al
jne 0x40ada9
movq $0x0, 0x3840(%rsp)
movl %r12d, 0x384c(%rsp)
movl %r12d, 0x37c8(%rsp)
movl %r12d, 0x3780(%rsp)
movl %r12d, 0x3738(%rsp)
movb $-0x1, 0x3848(%rsp)
movl 0x3864(%rsp), %eax
testl %eax, %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmovel %ecx, %eax
movl %eax, 0x3868(%rsp)
movl 0x30(%rsp), %edx
incl %edx
movl 0x3710(%rsp), %ecx
movl %edx, 0x30(%rsp)
cmpl %ecx, %edx
jl 0x40aba6
movl 0x3714(%rsp), %edx
movl 0x8(%rsp), %esi
incl %esi
movl %esi, 0x8(%rsp)
cmpl %edx, %esi
jl 0x40ab96
jmp 0x40adc0
xorl %eax, %eax
jmp 0x40ada4
movl $0x1, %eax
movl %r13d, %ebp
jmp 0x40adb8
movl $0x1, 0x20(%rsp)
movl %r13d, %ebp
movl 0x20(%rsp), %eax
testl %eax, %eax
je 0x40ba0a
cmpb $-0x1, 0x3848(%rsp)
jne 0x40a839
movq 0x180(%rsp), %rbx
cmpq $0x0, 0x10(%rbx)
je 0x40adf2
movq 0x28(%rbx), %rdi
callq *0x20(%rbx)
testl %eax, %eax
je 0x40ae06
cmpl $0x0, 0x30(%rbx)
je 0x40a839
movq 0xb8(%rbx), %rax
cmpq 0xc0(%rbx), %rax
jae 0x40a839
movq %rbx, %rdi
callq 0x410442
testb %al, %al
je 0x40add6
movzbl %al, %eax
cmpl $0xff, %eax
jne 0x40ba0a
movq %rbx, %rdi
callq 0x410442
movb %al, 0x3848(%rsp)
jmp 0x40a839
movzbl %al, %esi
cmpl $0xd9, %esi
je 0x40b572
leaq 0x180(%rsp), %rdi
callq 0x40fda0
jmp 0x40a831
movq %rbx, 0x38(%rsp)
leaq 0xcda7e(%rip), %rax     # 0x4d88df
movq %rax, 0x1116b8(%rip)    # 0x51c520
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
xorl %ebx, %ebx
leaq 0xcda37(%rip), %r14     # 0x4d88b8
movq %r12, %rdi
callq 0x410442
cmpb (%rbx,%r14), %al
jne 0x40aecc
incq %rbx
cmpq $0x8, %rbx
jne 0x40ae81
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, 0x180(%rsp)
cmpl $0x5, %ebp
jb 0x40b1ff
leaq 0xcdb18(%rip), %rax     # 0x4d89d8
movq %rax, 0x111659(%rip)    # 0x51c520
jmp 0x40ba17
leaq 0xcdc11(%rip), %rax     # 0x4d8ae4
movq %rax, 0x111646(%rip)    # 0x51c520
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x410442
cmpb $0x42, %al
jne 0x40b03e
movq %r12, %rdi
callq 0x410442
cmpb $0x4d, %al
jne 0x40b03e
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
cmpl $0x38, %eax
ja 0x40af59
movl %eax, %ecx
movabsq $0x100010000001000, %rdx # imm = 0x100010000001000
btq %rcx, %rdx
jb 0x40af62
cmpl $0x6c, %eax
jne 0x40b4ba
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x410442
cmpb $0x42, %al
jne 0x40b281
movq %r12, %rdi
callq 0x410442
cmpb $0x4d, %al
jne 0x40b281
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x412c38
movl %eax, %r14d
movq %r12, %rdi
callq 0x412c38
cmpl $0x38, %eax
ja 0x40afe4
movl %eax, %edx
movabsq $0x100010000001000, %rcx # imm = 0x100010000001000
btq %rdx, %rcx
jb 0x40aff2
cmpl $0x6c, %eax
je 0x40aff2
cmpl $0x7c, %eax
jne 0x40ba87
movl %eax, 0x18(%rsp)
movq %r12, %rdi
cmpl $0xc, %eax
jne 0x40b4fc
callq 0x410442
movzbl %al, %ebx
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebx, %eax
movl %eax, (%r12)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebx
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebx, %eax
jmp 0x40b50d
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x410442
cmpb $0x47, %al
jne 0x40b1a9
movq %r12, %rdi
callq 0x410442
cmpb $0x49, %al
jne 0x40b1a9
movq %r12, %rdi
callq 0x410442
cmpb $0x46, %al
jne 0x40b1a9
movq %r12, %rdi
callq 0x410442
cmpb $0x38, %al
jne 0x40b1a9
movq %r12, %rdi
callq 0x410442
cmpb $0x37, %al
je 0x40b0a6
movzbl %al, %eax
cmpl $0x39, %eax
jne 0x40b1a9
movq %r12, %rdi
callq 0x410442
movq 0xc8(%r12), %rcx
movq %rcx, 0xb8(%r12)
cmpb $0x61, %al
jne 0x40b1b9
leaq 0x180(%rsp), %r14
xorl %ebx, %ebx
movl $0x4858, %edx           # imm = 0x4858
movq %r14, %rdi
xorl %esi, %esi
callq 0x4010e0
movq %r12, %rdi
movq %r14, %rsi
movq 0x38(%rsp), %rdx
xorl %ecx, %ecx
callq 0x412d1b
testl %eax, %eax
je 0x40bd52
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movl 0x180(%rsp), %r13d
movl 0x184(%rsp), %ebx
movl %r13d, %ebp
imull %ebx, %ebp
shll $0x2, %ebp
movslq %ebp, %rdi
callq 0x4458c0
movq %rax, 0x188(%rsp)
testq %rax, %rax
je 0x40bab5
testl %ebp, %ebp
jle 0x40b3b1
movslq 0x194(%rsp), %rax
xorl %ecx, %ecx
movq 0x188(%rsp), %rdx
movb 0x1a6(%rsp,%rax,4), %sil
movb %sil, (%rdx,%rcx)
movb 0x1a5(%rsp,%rax,4), %sil
movb %sil, 0x1(%rdx,%rcx)
movb 0x1a4(%rsp,%rax,4), %sil
movb %sil, 0x2(%rdx,%rcx)
movb 0x1a7(%rsp,%rax,4), %sil
movb %sil, 0x3(%rdx,%rcx)
addq $0x4, %rcx
movl 0x180(%rsp), %r13d
movl 0x184(%rsp), %ebx
movl %r13d, %edx
imull %ebx, %edx
shll $0x2, %edx
movslq %edx, %rdx
cmpq %rdx, %rcx
jl 0x40b145
jmp 0x40b3b1
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x412356
movq 0xc8(%r12), %rcx
movq %rcx, 0xb8(%r12)
cmpl $0x38425053, %eax       # imm = 0x38425053
jne 0x40b243
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq 0x38(%rsp), %rcx
movl %ebp, %r8d
addq $0x49d8, %rsp           # imm = 0x49D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40e27f
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x4114f8
movq 0x18(%rbx), %rdi
testl %eax, %eax
je 0x40b279
movq 0x180(%rsp), %rbx
testl %ebp, %ebp
je 0x40b2d9
movl 0xc(%rbx), %esi
cmpl %ebp, %esi
movq 0x38(%rsp), %r14
jne 0x40b2e3
movq %rdi, %rax
jmp 0x40b2fc
movq %r12, %rdi
callq 0x40ef9c
testl %eax, %eax
movq 0x38(%rsp), %rbx
je 0x40b28d
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %rbx, %rcx
movl %ebp, %r8d
addq $0x49d8, %rsp           # imm = 0x49D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40f020
xorl %r12d, %r12d
jmp 0x40b318
leaq 0xcdb14(%rip), %rax     # 0x4d8d9c
jmp 0x40aec0
movq %r12, %rdi
callq 0x40cb2d
testl %eax, %eax
je 0x40b485
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x40cb89
movl (%r13), %esi
movl (%r15), %edx
testl %ebp, %ebp
jne 0x40b2be
movl (%rbx), %ebp
movq %rax, %rdi
movl %ebp, %ecx
addq $0x49d8, %rsp           # imm = 0x49D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40f546
movq %rdi, %rax
movq 0x38(%rsp), %r14
jmp 0x40b2fc
movl (%rbx), %ecx
movl 0x4(%rbx), %r8d
movl %ebp, %edx
callq 0x411f22
movl %ebp, 0xc(%rbx)
testq %rax, %rax
je 0x40ba17
movq %rax, %r12
movl (%rbx), %eax
movl %eax, (%r13)
movl 0x4(%rbx), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x40b316
movl 0xc(%rbx), %eax
movl %eax, (%r14)
xorl %edi, %edi
callq 0x445c00
movq 0x190(%rsp), %rdi
callq 0x445c00
movq 0x188(%rsp), %rdi
callq 0x445c00
movq %r12, %rax
jmp 0x40ba19
movq %r12, %rdi
callq 0x410442
cmpb $-0x7, %al
jne 0x40b398
movq %r12, %rdi
callq 0x410442
cmpb $0x4, %al
jne 0x40b3a6
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
movl %eax, 0x1a0(%rsp)
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
movl %eax, 0x19c(%rsp)
jmp 0x40b398
movzbl %al, %esi
movq %r12, %rdi
callq 0x41060e
movq %r12, %rdi
callq 0x410442
testb %al, %al
jne 0x40b38d
jmp 0x40b3b1
movzbl %al, %esi
movq %r12, %rdi
callq 0x41060e
movq %r12, %rdi
callq 0x410442
cmpb $0x21, %al
je 0x40b33f
movzbl %al, %eax
cmpl $0x3b, %eax
je 0x40bd38
cmpl $0x2c, %eax
jne 0x40bd3d
movq %r15, 0x48(%rsp)
movq %r12, %rdi
callq 0x410442
movzbl %al, %r14d
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
shll $0x8, %ebp
orl %r14d, %ebp
movq %r12, %rdi
callq 0x410442
movb %al, 0x38(%rsp)
movq %r12, %rdi
callq 0x410442
movb %al, 0x18(%rsp)
movq %r12, %rdi
callq 0x410442
movzbl %al, %r15d
movq %r12, %rdi
callq 0x410442
movzbl %al, %r14d
shll $0x8, %r14d
addl %r15d, %r14d
movq %r12, %rdi
callq 0x410442
movl %eax, %r15d
movq %r12, %rdi
callq 0x410442
addl %ebp, %r14d
cmpl %r13d, %r14d
jg 0x40b46b
movzbl 0x38(%rsp), %edx
movzbl 0x18(%rsp), %ecx
shll $0x8, %ecx
orl %edx, %ecx
movzbl %al, %edx
shll $0x8, %edx
movzbl %r15b, %eax
addl %edx, %eax
addl %ecx, %eax
cmpl %ebx, %eax
jle 0x40c459
leaq 0xcd9c7(%rip), %rax     # 0x4d8e39
movq %rax, 0x1110a7(%rip)    # 0x51c520
xorl %ebx, %ebx
movq 0x48(%rsp), %r15
jmp 0x40bd4d
movq %r12, %rdi
callq 0x40f6d2
testl %eax, %eax
je 0x40b566
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %rbx, %rcx
movl %ebp, %r8d
addq $0x49d8, %rsp           # imm = 0x49D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x40f7b3
movq 0xc8(%r12), %rcx
movq %rcx, 0xb8(%r12)
cmpl $0x7c, %eax
je 0x40af72
jmp 0x40b04e
leaq 0xcd506(%rip), %rax     # 0x4d89e5
jmp 0x40ba03
leaq 0xcd52a(%rip), %rax     # 0x4d8a15
jmp 0x40ba03
leaq 0xcd52a(%rip), %rax     # 0x4d8a21
jmp 0x40ba03
callq 0x412c38
movl %eax, (%r12)
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x4(%r12)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebx
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebx, %eax
cmpl $0x1, %eax
jne 0x40c527
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebx
movq %r12, %rdi
callq 0x410442
movzbl %al, %ecx
shll $0x8, %ecx
orl %ebx, %ecx
cmpl $0x1, %ecx
jne 0x40ba2b
leaq 0xcd857(%rip), %rax     # 0x4d8db8
jmp 0x40aec0
leaq 0xcd35f(%rip), %rax     # 0x4d88cc
jmp 0x40aec0
testl %ebp, %ebp
movq 0x180(%rsp), %rcx
movl 0x8(%rcx), %eax
cmovel %eax, %ebp
movl %ebp, 0x20(%rsp)
cmpl $0x3, %ebp
movl $0x1, %edx
cmovgel %eax, %edx
cmpl $0x3, %eax
cmovnel %eax, %edx
movq %rcx, 0x60(%rsp)
movl (%rcx), %ebx
movl %edx, 0x14(%rsp)
testl %edx, %edx
jle 0x40b6bc
leal 0x3(%rbx), %eax
movq %rax, 0x18(%rsp)
leal -0x1(%rbx), %eax
movq %rax, 0x8(%rsp)
movl 0x14(%rsp), %eax
movl 0x3708(%rsp), %ebp
movl 0x370c(%rsp), %r15d
shlq $0x3, %rax
leaq (%rax,%rax,8), %r13
leaq 0xe8(%rsp), %r12
xorl %r14d, %r14d
movq 0x18(%rsp), %rdi
callq 0x4458c0
movq %rax, 0x3760(%rsp,%r14)
testq %rax, %rax
je 0x40ba75
movl %ebp, %eax
cltd
idivl 0x3724(%rsp,%r14)
movl %eax, %esi
movl %eax, -0x10(%r12)
movl %r15d, %eax
cltd
idivl 0x3728(%rsp,%r14)
movl %eax, %ecx
movl %eax, -0xc(%r12)
sarl %eax
movl %eax, -0x4(%r12)
movq 0x8(%rsp), %rax
addl %esi, %eax
xorl %edx, %edx
divl %esi
movl %eax, -0x8(%r12)
movl $0x0, (%r12)
movq 0x3750(%rsp,%r14), %rax
movq %rax, -0x18(%r12)
movq %rax, -0x20(%r12)
cmpl $0x2, %esi
je 0x40b683
leaq 0x51dc(%rip), %rax      # 0x410839
cmpl $0x1, %esi
jne 0x40b6a6
cmpl $0x2, %ecx
leaq 0x51cd(%rip), %rax      # 0x410839
leaq 0x5047(%rip), %rdx      # 0x4106ba
cmoveq %rdx, %rax
cmpl $0x1, %ecx
leaq 0x5035(%rip), %rcx      # 0x4106b6
jmp 0x40b6a2
cmpl $0x2, %ecx
leaq 0x51ac(%rip), %rax      # 0x410839
leaq 0x50ff(%rip), %rdx      # 0x410793
cmoveq %rdx, %rax
cmpl $0x1, %ecx
leaq 0x5049(%rip), %rcx      # 0x4106eb
cmoveq %rcx, %rax
movq %rax, -0x28(%r12)
addq $0x48, %r14
addq $0x30, %r12
cmpq %r14, %r13
jne 0x40b5e0
movl %ebx, %edi
imull 0x20(%rsp), %edi
movq 0x60(%rsp), %r13
movl 0x4(%r13), %ebp
imull %ebp, %edi
incl %edi
callq 0x4458c0
testq %rax, %rax
je 0x40ba75
testl %ebp, %ebp
movq 0x28(%rsp), %r12
movl 0x20(%rsp), %ebp
movq %rax, 0x8(%rsp)
je 0x40b9c3
movl %ebp, %esi
movl 0x14(%rsp), %ecx
movq %rcx, 0x18(%rsp)
leaq 0x3(%rax), %rcx
movq %rcx, 0x50(%rsp)
xorl %edi, %edi
xorl %r8d, %r8d
movq %rsi, 0x30(%rsp)
cmpl $0x0, 0x14(%rsp)
jle 0x40b7f5
movl %r8d, 0x40(%rsp)
movq %rdi, 0x58(%rsp)
leaq 0xe8(%rsp), %r14
leaq 0x3740(%rsp), %r15
xorl %r13d, %r13d
movl -0x4(%r14), %ebp
movl -0x10(%r14), %r8d
movl -0xc(%r14), %r12d
movl %r12d, %eax
sarl %eax
xorl %ecx, %ecx
xorl %edx, %edx
cmpl %eax, %ebp
setl %cl
setge %dl
movq 0x20(%r15), %rdi
shll $0x3, %edx
orq $-0x20, %rdx
movq (%r14,%rdx), %rsi
shll $0x3, %ecx
orq $-0x20, %rcx
movq (%r14,%rcx), %rdx
movl -0x8(%r14), %ecx
callq *-0x28(%r14)
movq %rax, 0xa0(%rsp,%r13,8)
incl %ebp
movl %ebp, -0x4(%r14)
cmpl %r12d, %ebp
jl 0x40b7b5
movl $0x0, -0x4(%r14)
movq -0x18(%r14), %rax
movq %rax, -0x20(%r14)
movl (%r14), %ecx
incl %ecx
movl %ecx, (%r14)
cmpl (%r15), %ecx
jge 0x40b7b5
movslq 0x4(%r15), %rcx
addq %rcx, %rax
movq %rax, -0x18(%r14)
incq %r13
addq $0x48, %r15
addq $0x30, %r14
cmpq %r13, 0x18(%rsp)
jne 0x40b73b
movq 0xa0(%rsp), %r14
movq 0x28(%rsp), %r12
movl 0x20(%rsp), %ebp
movq 0x8(%rsp), %rax
movq 0x60(%rsp), %r13
movq 0x30(%rsp), %rsi
movq 0x58(%rsp), %rdi
movl 0x40(%rsp), %r8d
cmpl $0x3, %ebp
jl 0x40b914
cmpl $0x3, 0x8(%r13)
jne 0x40b95b
movslq (%r13), %r15
testq %r15, %r15
jle 0x40b9b1
movl %r8d, 0x40(%rsp)
movq 0xa8(%rsp), %rax
movq 0xb0(%rsp), %rcx
movq %rdi, %r12
imull %edi, %ebx
addq 0x50(%rsp), %rbx
xorl %edx, %edx
movzbl (%r14,%rdx), %r8d
shll $0x10, %r8d
movzbl (%rcx,%rdx), %r10d
addl $-0x80, %r10d
imull $0x166e9, %r10d, %esi   # imm = 0x166E9
leal (%rsi,%r8), %edi
addl $0x8000, %edi           # imm = 0x8000
sarl $0x10, %edi
xorl %esi, %esi
testl %edi, %edi
cmovlel %esi, %edi
movl $0xff, %r9d
cmpl %r9d, %edi
jl 0x40b875
movl $0xff, %edi
movzbl (%rax,%rdx), %r11d
addl $-0x80, %r11d
imull $0xffff492e, %r10d, %r10d # imm = 0xFFFF492E
leal (%r10,%r8), %ebp
addl $0x8000, %ebp           # imm = 0x8000
imull $0xffffa7e6, %r11d, %r10d # imm = 0xFFFFA7E6
addl %ebp, %r10d
sarl $0x10, %r10d
testl %r10d, %r10d
jg 0x40b8a5
xorl %r10d, %r10d
cmpl %r9d, %r10d
jl 0x40b8b0
movl $0xff, %r10d
imull $0x1c5a2, %r11d, %r11d  # imm = 0x1C5A2
addl %r11d, %r8d
addl $0x8000, %r8d           # imm = 0x8000
sarl $0x10, %r8d
testl %r8d, %r8d
cmovgl %r8d, %esi
cmpl %r9d, %esi
movl 0x20(%rsp), %ebp
jl 0x40b8da
movl $0xff, %esi
movb %dil, -0x3(%rbx)
movb %r10b, -0x2(%rbx)
movb %sil, -0x1(%rbx)
movb $-0x1, (%rbx)
incq %rdx
movq 0x30(%rsp), %rsi
addq %rsi, %rbx
cmpq %rdx, %r15
jne 0x40b838
movq 0x8(%rsp), %rax
movq %r12, %rdi
movl 0x40(%rsp), %r8d
movq 0x28(%rsp), %r12
jmp 0x40b9b1
movl (%r13), %r15d
cmpl $0x1, %ebp
jne 0x40b98b
testl %r15d, %r15d
je 0x40b9ae
imull %ebp, %ebx
imull %r8d, %ebx
addq %rax, %rbx
movq %rdi, %r12
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %r8d, %ebx
callq 0x401058
movl %ebx, %r8d
movq %r12, %rdi
movq 0x28(%rsp), %r12
movq 0x30(%rsp), %rsi
movq 0x8(%rsp), %rax
jmp 0x40b9b1
movl (%r13), %r15d
testq %r15, %r15
je 0x40b9ae
imull %edi, %ebx
addq 0x50(%rsp), %rbx
xorl %edx, %edx
movb (%r14,%rdx), %cl
movb %cl, -0x1(%rbx)
movb %cl, -0x2(%rbx)
movb %cl, -0x3(%rbx)
movb $-0x1, (%rbx)
incq %rdx
addq %rsi, %rbx
cmpq %rdx, %r15
jne 0x40b96e
jmp 0x40b9b1
testl %r15d, %r15d
je 0x40b9ae
imull %edi, %ebx
addq %rax, %rbx
xorl %edx, %edx
movb (%r14,%rdx), %cl
movb %cl, (%rbx,%rdx,2)
movb $-0x1, 0x1(%rbx,%rdx,2)
incq %rdx
cmpq %rdx, %r15
jne 0x40b998
jmp 0x40b9b1
xorl %r15d, %r15d
incl %r8d
addl %ebp, %edi
movl %r15d, %ebx
cmpl 0x4(%r13), %r8d
jb 0x40b713
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
callq 0x410658
movq (%rbx), %rax
movl (%rax), %ecx
movl %ecx, (%r12)
movl 0x4(%rax), %ecx
movq 0x48(%rsp), %rdx
movl %ecx, (%rdx)
movq 0x38(%rsp), %rcx
testq %rcx, %rcx
je 0x40b9f5
movl 0x8(%rax), %eax
movl %eax, (%rcx)
movq 0x8(%rsp), %rax
jmp 0x40ba19
leaq 0xcd000(%rip), %rax     # 0x4d8a03
movq %rax, 0x110b16(%rip)    # 0x51c520
leaq 0x180(%rsp), %rdi
callq 0x410658
xorl %eax, %eax
addq $0x49d8, %rsp           # imm = 0x49D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, 0x20(%rsp)
movl 0x4(%r12), %r14d
movl %r14d, %eax
negl %eax
cmovsl %r14d, %eax
movl %eax, 0x4(%r12)
cmpl $0xc, 0x18(%rsp)
movl %ecx, 0x40(%rsp)
jne 0x40ba93
xorl %edx, %edx
cmpl $0x17, %ecx
ja 0x40bac1
movq 0x20(%rsp), %rax
addl $-0x26, %eax
cltq
imulq $0x55555556, %rax, %rbx # imm = 0x55555556
movq %rbx, %rax
shrq $0x3f, %rax
shrq $0x20, %rbx
addl %eax, %ebx
jmp 0x40bac3
leaq 0x180(%rsp), %rdi
callq 0x410658
jmp 0x40bb4a
leaq 0xcd316(%rip), %rax     # 0x4d8da4
jmp 0x40aec0
movq %r12, %rdi
callq 0x412c38
movl %eax, %ebx
leal -0x1(%rbx), %eax
cmpl $0x1, %eax
ja 0x40bb56
leaq 0xcd313(%rip), %rax     # 0x4d8dc3
jmp 0x40aec0
leaq 0xccf13(%rip), %rax     # 0x4d89cf
jmp 0x40bd44
xorl %ebx, %ebx
movl $0x0, 0x14(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x58(%rsp)
movl %edx, 0x60(%rsp)
cmpl $0x1, %edx
movl $0x4, %eax
sbbl $0x0, %eax
movl %eax, 0x8(%r12)
cmpl $0x3, %ebp
cmovgel %ebp, %eax
movl (%r12), %edi
movl %eax, 0x30(%rsp)
imull %eax, %edi
imull 0x4(%r12), %edi
callq 0x4458c0
testq %rax, %rax
je 0x40bb4a
movq %rax, %rdi
cmpl $0xf, 0x40(%rsp)
movq %rax, 0x8(%rsp)
ja 0x40bc3a
testl %ebx, %ebx
sete %al
cmpl $0x101, %ebx            # imm = 0x101
setge %cl
orb %al, %cl
je 0x40bd8a
callq 0x445c00
leaq 0xdbf0b(%rip), %rax     # 0x4e7a50
jmp 0x40aec0
leaq 0xcce7e(%rip), %rax     # 0x4d89cf
jmp 0x40aec0
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movl 0x18(%rsp), %ecx
cmpl $0x28, %ecx
je 0x40bbb4
cmpl $0x38, %ecx
jne 0x40be38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movl 0x18(%rsp), %ecx
movl 0x40(%rsp), %eax
cmpl $0x20, %eax
je 0x40bbe0
xorl %edx, %edx
movl $0x0, 0x14(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x58(%rsp)
cmpl $0x10, %eax
jne 0x40bec4
cmpl $0x3, %ebx
je 0x40c4f5
testl %ebx, %ebx
jne 0x40c527
xorl %edx, %edx
cmpl $0x20, %eax
movl $0xff, %eax
movl $0x1f, %ecx
cmovel %eax, %ecx
movl %ecx, 0x14(%rsp)
movl $0xff00, %eax           # imm = 0xFF00
movl $0x3e0, %ecx            # imm = 0x3E0
cmovel %eax, %ecx
movl %ecx, 0x50(%rsp)
movl $0xff0000, %eax         # imm = 0xFF0000
movl $0x7c00, %ecx           # imm = 0x7C00
cmovel %eax, %ecx
movl %ecx, 0x58(%rsp)
setne %dl
shll $0x18, %edx
addl $0xff000000, %edx       # imm = 0xFF000000
jmp 0x40bedb
movq 0x20(%rsp), %rsi
subl 0x18(%rsp), %esi
addl $-0xe, %esi
movq %r12, %rdi
callq 0x41060e
movl 0x40(%rsp), %eax
cmpl $0x20, %eax
je 0x40bf23
cmpl $0x18, %eax
movl 0x58(%rsp), %ebx
movl 0x14(%rsp), %edx
je 0x40bef8
movl $0x0, 0x6c(%rsp)
cmpl $0x10, %eax
jne 0x40bc86
movl (%r12), %eax
addl %eax, %eax
andl $0x2, %eax
movl %eax, 0x6c(%rsp)
testl %ebx, %ebx
setne %al
movl 0x50(%rsp), %esi
testl %esi, %esi
setne %cl
andb %al, %cl
testl %edx, %edx
setne %al
testb %al, %cl
je 0x40bee2
movl %r14d, 0x68(%rsp)
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movq %r15, 0x48(%rsp)
movl %esi, %r14d
movl %ebx, %edi
movl %edx, %ebp
callq 0x412c82
addl $-0x7, %eax
movl %eax, 0x7c(%rsp)
movl %ebx, %edi
callq 0x412cde
movl %eax, %ebx
movl %r14d, %edi
callq 0x412c82
addl $-0x7, %eax
movl %eax, 0x78(%rsp)
movl %r14d, %edi
callq 0x412cde
movl %eax, %r14d
movl %ebp, %edi
callq 0x412c82
addl $-0x7, %eax
movl %eax, 0x74(%rsp)
movl %ebp, %edi
callq 0x412cde
movl %eax, %r15d
movl 0x60(%rsp), %ebp
movl %ebp, %edi
callq 0x412c82
addl $-0x7, %eax
movl %eax, 0x70(%rsp)
movl %ebp, %edi
callq 0x412cde
movl %eax, %ecx
movb $0x1, %al
movl %eax, 0x80(%rsp)
movl $0x0, 0x84(%rsp)
jmp 0x40bfb8
movq %r12, %rbx
jmp 0x40bd4d
leaq 0xcd11e(%rip), %rax     # 0x4d8e62
movq %rax, 0x1107d5(%rip)    # 0x51c520
xorl %ebx, %ebx
movq 0x28(%rsp), %r13
xorl %eax, %eax
cmpq %r12, %rbx
cmovneq %rbx, %rax
testq %rax, %rax
je 0x40ba19
movl 0x180(%rsp), %ecx
movl %ecx, (%r13)
movl 0x184(%rsp), %ecx
movl %ecx, (%r15)
jmp 0x40ba19
leaq 0xccca8(%rip), %rax     # 0x4d8a2d
jmp 0x40ba03
movl %r14d, 0x68(%rsp)
movq %r15, 0x48(%rsp)
testl %ebx, %ebx
jle 0x40bdee
movl %ebx, %r14d
xorl %r15d, %r15d
movq %r12, %rdi
callq 0x410442
movb %al, 0x182(%rsp,%r15,4)
movq %r12, %rdi
callq 0x410442
movb %al, 0x181(%rsp,%r15,4)
movq %r12, %rdi
callq 0x410442
movb %al, 0x180(%rsp,%r15,4)
cmpl $0xc, 0x18(%rsp)
je 0x40bddd
movq %r12, %rdi
callq 0x410442
movb $-0x1, 0x183(%rsp,%r15,4)
incq %r15
cmpq %r15, %r14
jne 0x40bd9e
xorl %eax, %eax
movl 0x18(%rsp), %edx
cmpl $0xc, %edx
sete %al
movq 0x20(%rsp), %rcx
subl %edx, %ecx
orl $-0x4, %eax
imull %eax, %ebx
leal (%rcx,%rbx), %esi
addl $-0xe, %esi
movq %r12, %rdi
callq 0x41060e
movl 0x40(%rsp), %eax
cmpl $0x4, %eax
jne 0x40c243
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movl (%r12), %eax
incl %eax
shrl %eax
jmp 0x40c259
movl %ecx, %eax
orl $0x10, %eax
cmpl $0x7c, %eax
jne 0x40c83c
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x58(%rsp)
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x50(%rsp)
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x14(%rsp)
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x60(%rsp)
movq %r12, %rdi
callq 0x412c38
movl $0xc, %ebx
movq %r12, %rdi
callq 0x412c38
decl %ebx
jne 0x40be83
movl 0x18(%rsp), %ecx
cmpl $0x7c, %ecx
jne 0x40bebc
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movq %r12, %rdi
callq 0x412c38
movl 0x18(%rsp), %ecx
movl 0x40(%rsp), %eax
movl 0x60(%rsp), %edx
cmpl $0xf, %eax
ja 0x40bedb
movq 0x20(%rsp), %rbx
subl %ecx, %ebx
addl $-0xe, %ebx
sarl $0x2, %ebx
jmp 0x40badb
xorl %ebx, %ebx
jmp 0x40badb
movq 0x8(%rsp), %rdi
callq 0x445c00
leaq 0xccf3c(%rip), %rax     # 0x4d8e2f
jmp 0x40aec0
movl %r14d, 0x68(%rsp)
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movq %r15, 0x48(%rsp)
movl (%r12), %eax
andl $0x3, %eax
movl %eax, 0x6c(%rsp)
movl $0x0, 0x84(%rsp)
jmp 0x40bf83
movl $0x0, 0x6c(%rsp)
movl 0x14(%rsp), %edx
cmpl $0xff, %edx
movl 0x58(%rsp), %ebx
jne 0x40bc86
cmpl $0xff00, 0x50(%rsp)     # imm = 0xFF00
jne 0x40bc86
cmpl $0xff0000, %ebx         # imm = 0xFF0000
jne 0x40bc86
movl %r14d, 0x68(%rsp)
movq %r15, 0x48(%rsp)
cmpl $0xff000000, 0x60(%rsp) # imm = 0xFF000000
jne 0x40c7a0
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movb $0x1, %al
movl %eax, 0x84(%rsp)
movl $0x0, 0x80(%rsp)
movl $0x0, 0x7c(%rsp)
movl $0x0, 0x78(%rsp)
movl $0x0, 0x74(%rsp)
movl $0x0, 0x70(%rsp)
xorl %ebx, %ebx
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %ecx, %ecx
movl 0x4(%r12), %r8d
testl %r8d, %r8d
jle 0x40c37a
movl 0x7c(%rsp), %eax
negl %eax
movl %eax, 0x9c(%rsp)
movl 0x78(%rsp), %eax
negl %eax
movl %eax, 0x98(%rsp)
movl 0x74(%rsp), %eax
negl %eax
movl %eax, 0x94(%rsp)
movl 0x70(%rsp), %eax
negl %eax
movl %eax, 0x8c(%rsp)
xorl %edx, %edx
xorl %eax, %eax
movl %ecx, 0x90(%rsp)
movl %eax, 0x88(%rsp)
movl (%r12), %eax
cmpb $0x0, 0x80(%rsp)
je 0x40c198
testl %eax, %eax
jle 0x40c217
xorl %r13d, %r13d
movl %edx, 0x18(%rsp)
cmpl $0x10, 0x40(%rsp)
jne 0x40c051
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebp, %eax
jmp 0x40c059
movq %r12, %rdi
callq 0x412c38
movl 0x50(%rsp), %r10d
movl %eax, %edx
andl 0x58(%rsp), %edx
movl %edx, %esi
movl 0x9c(%rsp), %ecx
shll %cl, %esi
movl 0x7c(%rsp), %ecx
sarl %cl, %edx
testl %ecx, %ecx
cmovsl %esi, %edx
cmpl $0x7, %ebx
movq 0x8(%rsp), %r8
ja 0x40c09c
movl %ebx, %ecx
movl %edx, %esi
movl 0x30(%rsp), %r9d
movl %edx, %edi
sarl %cl, %edi
addl %edi, %esi
addl %ebx, %ecx
cmpl $0x8, %ecx
jb 0x40c08d
jmp 0x40c0a3
movl %edx, %esi
movl 0x30(%rsp), %r9d
movl %eax, %edx
andl %r10d, %edx
movl %edx, %edi
movl 0x98(%rsp), %ecx
shll %cl, %edi
movl 0x78(%rsp), %ecx
sarl %cl, %edx
testl %ecx, %ecx
cmovsl %edi, %edx
movl 0x18(%rsp), %r10d
movslq %r10d, %rbp
movb %sil, (%r8,%rbp)
cmpl $0x7, %r14d
ja 0x40c0e5
movl %r14d, %ecx
movl %edx, %esi
movl %edx, %edi
sarl %cl, %edi
addl %edi, %esi
addl %r14d, %ecx
cmpl $0x8, %ecx
jb 0x40c0d5
jmp 0x40c0e7
movl %edx, %esi
movl %eax, %edx
andl 0x14(%rsp), %edx
movl %edx, %edi
movl 0x94(%rsp), %ecx
shll %cl, %edi
movl 0x74(%rsp), %ecx
sarl %cl, %edx
testl %ecx, %ecx
cmovsl %edi, %edx
movb %sil, 0x1(%r8,%rbp)
cmpl $0x7, %r15d
ja 0x40c123
movl %r15d, %ecx
movl %edx, %esi
movl %edx, %edi
sarl %cl, %edi
addl %edi, %esi
addl %r15d, %ecx
cmpl $0x8, %ecx
jb 0x40c113
jmp 0x40c125
movl %edx, %esi
movb %sil, 0x2(%r8,%rbp)
movl 0x60(%rsp), %ecx
testl %ecx, %ecx
je 0x40c169
andl %ecx, %eax
movl %eax, %edx
movl 0x8c(%rsp), %ecx
shll %cl, %edx
movl 0x70(%rsp), %ecx
sarl %cl, %eax
testl %ecx, %ecx
cmovsl %edx, %eax
movl 0x90(%rsp), %edi
cmpl $0x7, %edi
ja 0x40c16d
movl %edi, %ecx
movl %eax, %edx
movl %eax, %esi
sarl %cl, %esi
addl %esi, %edx
addl %edi, %ecx
cmpl $0x8, %ecx
jb 0x40c15a
jmp 0x40c16f
movb $-0x1, %dl
jmp 0x40c16f
movl %eax, %edx
addq $0x3, %rbp
cmpl $0x4, %r9d
jne 0x40c184
addl $0x4, %r10d
movb %dl, (%r8,%rbp)
movl %r10d, %ebp
incl %r13d
movl %ebp, %edx
cmpl (%r12), %r13d
jl 0x40c029
jmp 0x40c219
testl %eax, %eax
jle 0x40c217
xorl %r13d, %r13d
movq %r12, %rdi
movl %edx, %ebp
callq 0x410442
movl %ebp, 0x18(%rsp)
movslq %ebp, %rbp
movq 0x8(%rsp), %rcx
movb %al, 0x2(%rcx,%rbp)
movq %r12, %rdi
callq 0x410442
movq 0x8(%rsp), %rcx
movb %al, 0x1(%rcx,%rbp)
movq %r12, %rdi
callq 0x410442
movq 0x8(%rsp), %rcx
movb %al, (%rcx,%rbp)
movb $-0x1, %al
cmpb $0x0, 0x84(%rsp)
je 0x40c1f3
movq %r12, %rdi
callq 0x410442
movq 0x8(%rsp), %rcx
addq $0x3, %rbp
cmpl $0x4, 0x30(%rsp)
jne 0x40c20a
movl 0x18(%rsp), %edx
addl $0x4, %edx
movb %al, (%rcx,%rbp)
movl %edx, %ebp
incl %r13d
movl %ebp, %edx
cmpl (%r12), %r13d
jl 0x40c19f
jmp 0x40c219
movl %edx, %ebp
movq %r12, %rdi
movl 0x6c(%rsp), %esi
callq 0x41060e
movl 0x88(%rsp), %eax
incl %eax
movl 0x4(%r12), %r8d
movl %ebp, %edx
cmpl %r8d, %eax
jl 0x40c005
jmp 0x40c37a
cmpl $0x8, %eax
jne 0x40c533
movl %ebp, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movl (%r12), %eax
movl 0x4(%r12), %r8d
testl %r8d, %r8d
jle 0x40c37a
negl %eax
andl $0x3, %eax
movl %eax, 0x18(%rsp)
xorl %ebp, %ebp
xorl %ebx, %ebx
xorl %r14d, %r14d
cmpl $0x0, (%r12)
jle 0x40c35d
xorl %r13d, %r13d
movq %r12, %rdi
callq 0x410442
movzbl %al, %ecx
movl %ecx, %eax
andl $0xf, %eax
movl %ecx, %edx
shrl $0x4, %edx
movl 0x40(%rsp), %r8d
cmpl $0x4, %r8d
cmovnel %ecx, %edx
cmovnel %ebp, %eax
movslq %ebx, %rcx
leaq 0x3(%rcx), %r15
movb 0x180(%rsp,%rdx,4), %sil
movq 0x8(%rsp), %rdi
movb %sil, (%rdi,%rcx)
movb 0x181(%rsp,%rdx,4), %sil
movb %sil, 0x1(%rdi,%rcx)
movb 0x182(%rsp,%rdx,4), %dl
movb %dl, 0x2(%rdi,%rcx)
movl 0x30(%rsp), %esi
cmpl $0x4, %esi
jne 0x40c2ed
addl $0x4, %ebx
movb $-0x1, (%rdi,%r15)
movl %ebx, %r15d
leal 0x1(%r13), %ecx
cmpl (%r12), %ecx
je 0x40c35a
cmpl $0x8, %r8d
jne 0x40c311
movq %r12, %rdi
callq 0x410442
movl 0x30(%rsp), %esi
movq 0x8(%rsp), %rdi
movzbl %al, %eax
movslq %r15d, %rcx
leaq 0x3(%rcx), %rbx
movl %eax, %eax
movb 0x180(%rsp,%rax,4), %dl
movb %dl, (%rdi,%rcx)
movb 0x181(%rsp,%rax,4), %dl
movb %dl, 0x1(%rdi,%rcx)
movb 0x182(%rsp,%rax,4), %al
movb %al, 0x2(%rdi,%rcx)
cmpl $0x4, %esi
jne 0x40c34a
addl $0x4, %r15d
movb $-0x1, (%rdi,%rbx)
movl %r15d, %ebx
addl $0x2, %r13d
cmpl (%r12), %r13d
jl 0x40c285
jmp 0x40c35d
movl %r15d, %ebx
movq %r12, %rdi
movl 0x18(%rsp), %esi
callq 0x41060e
incl %r14d
movl 0x4(%r12), %r8d
cmpl %r8d, %r14d
jl 0x40c277
cmpl $0x0, 0x68(%rsp)
jle 0x40c3ec
movl %r8d, %edx
sarl %edx
movl (%r12), %ecx
testl %edx, %edx
movq 0x48(%rsp), %r15
movq 0x28(%rsp), %r13
movl 0x30(%rsp), %esi
jle 0x40c409
movl %ecx, %eax
imull %esi, %eax
movl %edx, %edx
leal -0x1(%r8), %esi
imull %eax, %esi
xorl %edi, %edi
xorl %r9d, %r9d
testl %eax, %eax
jle 0x40c3de
movl %esi, %r10d
movq 0x8(%rsp), %rbx
addq %rbx, %r10
movl %edi, %r11d
addq %rbx, %r11
xorl %ebx, %ebx
movb (%r11,%rbx), %bpl
movb (%r10,%rbx), %r14b
movb %r14b, (%r11,%rbx)
movb %bpl, (%r10,%rbx)
incq %rbx
cmpq %rbx, %rax
jne 0x40c3c6
incq %r9
subl %eax, %esi
addl %eax, %edi
cmpq %rdx, %r9
jne 0x40c3af
jmp 0x40c3fa
movl (%r12), %ecx
movq 0x48(%rsp), %r15
movq 0x28(%rsp), %r13
movl 0x20(%rsp), %edx
movq 0x38(%rsp), %rbx
movl 0x30(%rsp), %esi
jmp 0x40c412
movl 0x20(%rsp), %edx
movq 0x38(%rsp), %rbx
testl %edx, %edx
je 0x40c433
cmpl %edx, %esi
je 0x40c433
movq 0x8(%rsp), %rdi
callq 0x411f22
testq %rax, %rax
je 0x40ba17
movl (%r12), %ecx
jmp 0x40c438
movq 0x8(%rsp), %rax
movl %ecx, (%r13)
movl 0x4(%r12), %ecx
movl %ecx, (%r15)
testq %rbx, %rbx
je 0x40ba19
movl 0x8(%r12), %ecx
movl %ecx, (%rbx)
jmp 0x40ba19
leal (,%r13,4), %ebx
movl %ebx, 0x49d4(%rsp)
shll $0x2, %ebp
movl %ebp, 0x49bc(%rsp)
imull %ebx, %ecx
movl %ecx, 0x49c0(%rsp)
shll $0x2, %r14d
movl %r14d, 0x49c4(%rsp)
imull %ebx, %eax
movl %eax, 0x49c8(%rsp)
movl %ebp, 0x49cc(%rsp)
movl %ecx, 0x49d0(%rsp)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ecx
movl %ecx, 0x49b8(%rsp)
movl %ecx, %edx
shll $0x19, %edx
sarl $0x1f, %edx
shll $0x5, %r13d
testb $0x40, %cl
cmovel %ebx, %r13d
andl $0x3, %edx
movl %r13d, 0x49b4(%rsp)
movl %edx, 0x49b0(%rsp)
testb %cl, %cl
js 0x40c552
testb $-0x80, 0x190(%rsp)
jne 0x40c588
leaq 0xcc95e(%rip), %rax     # 0x4d8e4e
jmp 0x40b472
movq %r12, %rdi
callq 0x412c38
movl %eax, 0x58(%rsp)
movq %r12, %rdi
callq 0x412c38
movl %eax, %ebx
movq %r12, %rdi
callq 0x412c38
movl 0x58(%rsp), %edx
xorl %ebx, %edx
movl %ebx, 0x50(%rsp)
movl %eax, 0x14(%rsp)
xorl %eax, %ebx
orl %edx, %ebx
jne 0x40c549
leaq 0xcc882(%rip), %rax     # 0x4d8db0
jmp 0x40aec0
movq 0x8(%rsp), %rdi
callq 0x445c00
leaq 0xcc8e3(%rip), %rax     # 0x4d8e27
jmp 0x40aec0
xorl %ebx, %ebx
xorl %edx, %edx
jmp 0x40badb
leaq 0x5a4(%rsp), %rbx
andb $0x7, %al
movl $0x2, %edx
movl %eax, %ecx
shll %cl, %edx
movl -0x404(%rbx), %eax
andl $0x1, %eax
xorl %ecx, %ecx
cmpl $0x1, %eax
sbbl %ecx, %ecx
orl -0x408(%rbx), %ecx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x412e6b
jmp 0x40c5c4
xorl %eax, %eax
movb $-0x1, 0x1a7(%rsp,%rax,4)
incq %rax
cmpq $0x100, %rax            # imm = 0x100
jne 0x40c58a
movslq 0x19c(%rsp), %rax
testq %rax, %rax
js 0x40c5bc
testb $0x1, 0x1a0(%rsp)
je 0x40c5bc
movb $0x0, 0x1a7(%rsp,%rax,4)
leaq 0x1a4(%rsp), %rbx
movq %rbx, 0x49a8(%rsp)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ecx
movl $0x1, %eax
shll %cl, %eax
movq %rax, 0x30(%rsp)
movl $0x1, %eax
movl $0x2, %esi
shll %cl, %esi
movl %ecx, %edx
cmpb $0x1f, %cl
je 0x40c623
movq 0x30(%rsp), %rcx
cmpl $0x2, %ecx
cmovgel %ecx, %eax
xorl %ecx, %ecx
movw $0xffff, 0x9a4(%rsp,%rcx,4) # imm = 0xFFFF
movb %cl, 0x9a6(%rsp,%rcx,4)
movb %cl, 0x9a7(%rsp,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x40c603
movl %edx, %ecx
incl %ecx
decl %esi
movq 0x30(%rsp), %rax
leal 0x2(%rax), %edi
incl %eax
movl %eax, 0x50(%rsp)
xorl %r8d, %r8d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %ecx, 0x58(%rsp)
movl %esi, 0x14(%rsp)
movl %esi, %eax
movl %edi, 0x60(%rsp)
movl %edi, %esi
xorl %r14d, %r14d
xorl %ebx, %ebx
xorl %ebp, %ebp
movl %edx, 0x8(%rsp)
movl %esi, 0x38(%rsp)
movl %eax, 0x18(%rsp)
movl %ecx, %r15d
movb %r8b, 0x40(%rsp)
movl %ebx, %r13d
subl %r15d, %ebx
jge 0x40c6a7
testl %ebp, %ebp
jne 0x40c689
movq %r12, %rdi
callq 0x410442
testb %al, %al
je 0x40c7dd
movzbl %al, %ebp
decl %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
movl %r13d, %ecx
shll %cl, %eax
orl %eax, %r14d
addl $0x8, %r13d
movl %r13d, %ebx
jmp 0x40c66d
movl %r14d, %r13d
movl %r15d, %ecx
sarl %cl, %r14d
andl 0x18(%rsp), %r13d
movb $0x1, %r8b
movl 0x58(%rsp), %ecx
movl 0x14(%rsp), %eax
movl 0x60(%rsp), %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpl 0x30(%rsp), %r13d
je 0x40c656
cmpl 0x50(%rsp), %r13d
je 0x40c7bf
cmpl 0x38(%rsp), %r13d
jg 0x40c7b3
testb $0x1, 0x40(%rsp)
je 0x40c824
cmpl $0x0, 0x8(%rsp)
js 0x40c747
cmpl $0x1000, 0x38(%rsp)     # imm = 0x1000
jge 0x40c830
movl 0x38(%rsp), %edx
movslq %edx, %rax
incl %edx
movl 0x8(%rsp), %ecx
movw %cx, 0x9a4(%rsp,%rax,4)
movl %ecx, %ecx
movb 0x9a6(%rsp,%rcx,4), %cl
movb %cl, 0x9a6(%rsp,%rax,4)
movl %edx, 0x38(%rsp)
cmpl %edx, %r13d
je 0x40c73e
movslq %r13d, %rcx
movb 0x9a6(%rsp,%rcx,4), %cl
movb %cl, 0x9a7(%rsp,%rax,4)
jmp 0x40c74e
cmpl 0x38(%rsp), %r13d
je 0x40c7b3
movzwl %r13w, %esi
leaq 0x180(%rsp), %rdi
callq 0x412ec9
movl 0x38(%rsp), %edi
movl 0x18(%rsp), %r8d
testl %r8d, %edi
sete %dl
cmpl $0x1000, %edi           # imm = 0x1000
setl %sil
leal 0x1(%r15), %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
notl %eax
testb %dl, %sil
cmovnel %ecx, %r15d
cmovel %r8d, %eax
movl %r15d, %ecx
movl %edi, %esi
movl %r13d, %edx
movb $0x1, %r8b
jmp 0x40c656
movq 0x48(%rsp), %r15
movl 0x68(%rsp), %r14d
movl 0x58(%rsp), %ebx
jmp 0x40bc86
leaq 0xcc6da(%rip), %rax     # 0x4d8e94
jmp 0x40b472
movq %r12, %rdi
movl %ebp, %esi
callq 0x41060e
movq %r12, %rdi
callq 0x410442
testb %al, %al
je 0x40c7dd
movzbl %al, %esi
movq %r12, %rdi
jmp 0x40c7c4
movq 0x188(%rsp), %rbx
testq %rbx, %rbx
je 0x40b479
testl $0xfffffffb, 0x20(%rsp) # imm = 0xFFFFFFFB
je 0x40b47b
movl 0x180(%rsp), %ecx
movl 0x184(%rsp), %r8d
movq %rbx, %rdi
movl $0x4, %esi
movl 0x20(%rsp), %edx
callq 0x411f22
movq %rax, %rbx
jmp 0x40b47b
leaq 0xcc64c(%rip), %rax     # 0x4d8e77
jmp 0x40b472
leaq 0xcc64e(%rip), %rax     # 0x4d8e85
jmp 0x40b472
leaq 0xcc588(%rip), %rdi     # 0x4d8dcb
leaq 0xcc254(%rip), %rsi     # 0x4d8a9e
leaq 0xcc593(%rip), %rcx     # 0x4d8de4
movl $0xaa3, %edx            # imm = 0xAA3
callq 0x4209d0