// File: /workspace/github_c_makefile_star2_O3/tditlu[P]shadetabler/src/lodepng/lodepng.c
// Function: lodepng_decode
unsigned lodepng_decode(unsigned char** out, unsigned* w, unsigned* h,
                        LodePNGState* state,
                        const unsigned char* in, size_t insize) {
  *out = 0;
  decodeGeneric(out, w, h, state, in, insize);
  if(state->error) return state->error;
  if(!state->decoder.color_convert || lodepng_color_mode_equal(&state->info_raw, &state->info_png.color)) {
    /*same color type, no copying or converting of data needed*/
    /*store the info_png color settings on the info_raw so that the info_raw still reflects what colortype
    the raw image has to the end user*/
    if(!state->decoder.color_convert) {
      state->error = lodepng_color_mode_copy(&state->info_raw, &state->info_png.color);
      if(state->error) return state->error;
    }
  } else { /*color conversion needed*/
    unsigned char* data = *out;
    size_t outsize;

    /*TODO: check if this works according to the statement in the documentation: "The converter can convert
    from grayscale input color type, to 8-bit grayscale or grayscale with alpha"*/
    if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA)
       && !(state->info_raw.bitdepth == 8)) {
      return 56; /*unsupported color mode conversion*/
    }

    outsize = lodepng_get_raw_size(*w, *h, &state->info_raw);
    *out = (unsigned char*)lodepng_malloc(outsize);
    if(!(*out)) {
      state->error = 83; /*alloc fail*/
    }
    else state->error = lodepng_convert(*out, data, &state->info_raw,
                                        &state->info_png.color, *w, *h);
    lodepng_free(data);
  }
  return state->error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %r9, %r13
movq %r8, %rbp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
xorl %eax, %eax
movq %rax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq %rax, (%rdi)
movl %eax, (%rdx)
movl %eax, (%rsi)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
callq 0x8153
movl %eax, %ecx
movl %eax, 0x1f0(%r15)
testl %eax, %eax
jne 0x9643
movq %rbp, 0x20(%rsp)
movq %r13, 0x18(%rsp)
movq %rbx, 0x58(%rsp)
movl (%rbx), %r13d
movl (%r12), %ebx
movq %rbx, %rax
imulq %r13, %rax
shrq $0x3d, %rax
movl $0x5c, %ecx
jne 0x963a
movq %r12, 0x40(%rsp)
movq %r14, 0x48(%rsp)
movq %r15, %rax
movl 0x90(%r15), %r15d
movl 0x94(%rax), %r14d
movq %rax, (%rsp)
movq (%rsp), %rax
movl 0xcc(%rax), %ebp
movq (%rsp), %rax
movl 0xc8(%rax), %edi
callq 0x5b92
movl %eax, %r12d
imull %ebp, %r12d
movq (%rsp), %rbp
movl %r15d, %edi
callq 0x5b92
imull %r14d, %eax
cmpl %eax, %r12d
cmoval %r12d, %eax
movl %r13d, %ecx
andl $0x7, %ecx
imulq %rax, %rcx
addq $0x7, %rcx
shrq $0x3, %rcx
shrl $0x3, %r13d
imulq %rax, %r13
leaq (%rcx,%r13), %rax
addq $0x5, %rax
movl $0x5c, %ecx
mulq %rbx
jo 0x963d
movq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0x1140
testq %rax, %rax
je 0x9657
movq %rax, %r13
leaq 0xb8(%rbp), %rax
movq %rax, 0x10(%rsp)
leaq 0xc8(%rbp), %rax
movq %rax, 0x30(%rsp)
leaq 0x90(%rbp), %rax
movq %rax, 0x38(%rsp)
movq 0x20(%rsp), %rdi
leaq 0x21(%rdi), %r14
leaq 0x1c0(%rbp), %rax
movq %rax, 0x78(%rsp)
leaq 0x1d8(%rbp), %rax
movq %rax, 0x70(%rsp)
leaq (%rdi,%r12), %rax
movq %rax, 0x50(%rsp)
movl $0x1, %eax
movq %rax, 0x28(%rsp)
xorl %ebx, %ebx
movq %r14, %rax
subq %rdi, %rax
jb 0x965e
leaq 0xc(%rax), %rcx
cmpq %r12, %rcx
ja 0x965e
movzbl (%r14), %eax
shll $0x18, %eax
js 0x966d
movzbl 0x1(%r14), %edx
shll $0x10, %edx
movzbl 0x2(%r14), %esi
shll $0x8, %esi
movzbl 0x3(%r14), %r15d
orl %edx, %r15d
orl %esi, %r15d
orl %eax, %r15d
addq %r15, %rcx
movl $0x40, %eax
cmpq %r12, %rcx
ja 0x968a
leaq (%r14,%r15), %rcx
addq $0xc, %rcx
cmpq %rdi, %rcx
jb 0x968a
leaq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
leaq 0xac37(%rip), %rsi      # 0x13ea4
callq 0x55b2
testb %al, %al
je 0x92ba
movq %rbx, %rdi
movl $0x5f, %eax
addq %r15, %rbx
jb 0x9680
cmpq %r12, %rbx
ja 0x9680
movb $0x1, %r12b
movl $0x3, %eax
movq %rax, 0x28(%rsp)
testq %r15, %r15
je 0x92b2
addq %r13, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x1130
xorl %r15d, %r15d
jmp 0x937d
movq %r14, %rdi
leaq 0xabe5(%rip), %rsi      # 0x13ea9
callq 0x55b2
testb %al, %al
je 0x92d8
movb $0x1, %r15b
xorl %r12d, %r12d
jmp 0x937d
movq %r14, %rdi
leaq 0x99ab(%rip), %rsi      # 0x12c8d
callq 0x55b2
testb %al, %al
je 0x931d
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x8747
movl %eax, 0x1f0(%rbp)
xorl %r15d, %r15d
testl %eax, %eax
jne 0x9690
movb $0x1, %r12b
movl $0x2, %eax
movq %rax, 0x28(%rsp)
jmp 0x937d
movq %r14, %rdi
leaq 0x996b(%rip), %rsi      # 0x12c92
callq 0x55b2
testb %al, %al
je 0x9344
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x881f
jmp 0x9369
movq %r14, %rdi
leaq 0x9949(%rip), %rsi      # 0x12c97
callq 0x55b2
testb %al, %al
je 0x93c0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x88e0
movl %eax, 0x1f0(%rbp)
xorl %r15d, %r15d
testl %eax, %eax
jne 0x9690
movb $0x1, %r12b
cmpl $0x0, 0x20(%rbp)
jne 0x9393
movq %r14, %rdi
callq 0x561d
testl %eax, %eax
jne 0x9685
testb %r12b, %r12b
je 0x93a8
movq %r14, %rdi
movq 0x50(%rsp), %rsi
callq 0x574d
movq %rax, %r14
movq 0x20(%rsp), %rdi
testb %r15b, %r15b
movq 0x18(%rsp), %r12
je 0x91f4
jmp 0x967c
movq %r14, %rdi
leaq 0x98d2(%rip), %rsi      # 0x12c9c
callq 0x55b2
testb %al, %al
je 0x93f4
movb $0x1, %r12b
cmpl $0x0, 0x30(%rbp)
je 0x92b2
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x898c
jmp 0x9460
movq %r14, %rdi
leaq 0x98a3(%rip), %rsi      # 0x12ca1
callq 0x55b2
testb %al, %al
je 0x942b
movb $0x1, %r12b
cmpl $0x0, 0x30(%rbp)
je 0x92b2
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rcx
callq 0x8a84
jmp 0x9460
movq %r14, %rdi
leaq 0x9871(%rip), %rsi      # 0x12ca6
callq 0x55b2
testb %al, %al
je 0x947b
movb $0x1, %r12b
cmpl $0x0, 0x30(%rbp)
je 0x92b2
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rcx
callq 0x8ba6
movl %eax, 0x1f0(%rbp)
xorl %r15d, %r15d
movl $0x0, %ecx
testl %eax, %eax
je 0x937d
jmp 0x9692
movq %r14, %rdi
leaq 0x9826(%rip), %rsi      # 0x12cab
callq 0x55b2
testb %al, %al
je 0x94a5
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x8e1d
jmp 0x9369
movq %r14, %rdi
leaq 0x9801(%rip), %rsi      # 0x12cb0
callq 0x55b2
testb %al, %al
je 0x94eb
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x8e77
movq (%rsp), %rcx
movl %eax, 0x1f0(%rcx)
xorl %r15d, %r15d
testl %eax, %eax
jne 0x9e6b
movb $0x1, %r12b
movq (%rsp), %rbp
jmp 0x937d
movq %r14, %rdi
leaq 0x97c0(%rip), %rsi      # 0x12cb5
callq 0x55b2
testb %al, %al
je 0x9534
cmpl $0x4, %r15d
jne 0x9e76
movq (%rsp), %rbp
movl $0x1, 0x16c(%rbp)
movl 0x8(%r14), %eax
bswapl %eax
movl %eax, 0x170(%rbp)
movl $0x0, 0x1f0(%rbp)
movb $0x1, %r12b
jmp 0x92b2
movq %r14, %rdi
leaq 0x977c(%rip), %rsi      # 0x12cba
callq 0x55b2
testb %al, %al
je 0x955e
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x8eae
jmp 0x94ca
movq %r14, %rdi
leaq 0x9757(%rip), %rsi      # 0x12cbf
callq 0x55b2
testb %al, %al
je 0x9599
cmpl $0x1, %r15d
jne 0x9e84
movq (%rsp), %rbp
movl $0x1, 0x198(%rbp)
movq 0x8(%rsp), %rax
movzbl (%rax), %eax
movl %eax, 0x19c(%rbp)
jmp 0x9522
movq %r14, %rdi
leaq 0x9721(%rip), %rsi      # 0x12cc4
callq 0x55b2
testb %al, %al
je 0x95d2
movq 0x10(%rsp), %rdi
movq (%rsp), %r12
movq %r12, %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rcx
callq 0x8f1d
movl %eax, 0x1f0(%r12)
jmp 0x94d4
movq (%rsp), %rax
cmpl $0x0, 0x24(%rax)
jne 0x95e7
testb $0x20, 0x4(%r14)
je 0x9e8b
movq (%rsp), %rax
cmpl $0x0, 0x34(%rax)
je 0x962e
movq 0x28(%rsp), %rax
decl %eax
movq 0x78(%rsp), %rcx
leaq (%rcx,%rax,8), %rdi
movq 0x70(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movq %r14, %rdx
callq 0x58a4
movq (%rsp), %rbp
movl %eax, 0x1f0(%rbp)
xorl %r15d, %r15d
movl $0x0, %ecx
testl %eax, %eax
je 0x9398
jmp 0x9692
xorl %r15d, %r15d
movq (%rsp), %rbp
jmp 0x9398
movq %r15, %rbp
movl %ecx, 0x1f0(%rbp)
movl %ecx, %eax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x53, %ecx
jmp 0x963d
movb $0x1, %cl
cmpl $0x0, 0x28(%rbp)
jne 0x9692
movl $0x1e, %eax
jmp 0x968a
movb $0x1, %cl
cmpl $0x0, 0x28(%rbp)
jne 0x9692
movl $0x3f, %eax
jmp 0x968a
movb $0x1, %cl
jmp 0x9692
movq %rdi, %rbx
jmp 0x968a
movl $0x39, %eax
movl %eax, 0x1f0(%rbp)
xorl %ecx, %ecx
movq 0x30(%rsp), %rax
movl (%rax), %edi
cmpl $0x3, %edi
jne 0x96ac
cmpq $0x0, 0xd0(%rbp)
je 0x9852
testb %cl, %cl
movq 0x48(%rsp), %r12
je 0x98d2
movq %rbx, %r15
movl 0xc0(%rbp), %ebx
movl 0xcc(%rbp), %ebp
callq 0x5b92
imull %ebp, %eax
movq 0x58(%rsp), %rcx
movl (%rcx), %ecx
movl %eax, %edx
testl %ebx, %ebx
je 0x9863
leal 0x7(%rcx), %r8d
movl %r8d, %r9d
shrl $0x3, %r9d
movq 0x40(%rsp), %rsi
movl (%rsi), %esi
leal 0x7(%rsi), %edi
shrl $0x3, %edi
shrl $0x6, %r8d
imulq %rdx, %r8
andl $0x7, %r9d
imull %eax, %r9d
addl $0x7, %r9d
shrl $0x3, %r9d
addq %r9, %r8
incq %r8
leal 0x3(%rcx), %r9d
cmpl $0x5, %ecx
jb 0x974b
movl %r9d, %r10d
shrl $0x3, %r10d
movl %r9d, %r11d
shrl $0x6, %r11d
imulq %rdx, %r11
andl $0x7, %r10d
imull %eax, %r10d
addl $0x7, %r10d
shrl $0x3, %r10d
addq %r11, %r10
addq %r10, %r8
incq %r8
movq (%rsp), %rbx
imulq %rdi, %r8
movl %r9d, %r11d
shrl $0x2, %r11d
leal 0x3(%rsi), %r10d
movl %r10d, %edi
shrl $0x3, %edi
shrl $0x5, %r9d
imulq %rdx, %r9
andl $0x7, %r11d
imull %eax, %r11d
addl $0x7, %r11d
shrl $0x3, %r11d
addq %r11, %r9
incq %r9
imulq %r9, %rdi
addq %r8, %rdi
leal 0x1(%rcx), %r9d
cmpl $0x3, %ecx
jb 0x97c5
movl %r9d, %r8d
shrl $0x2, %r8d
shrl $0x2, %r10d
movl %r9d, %r11d
shrl $0x5, %r11d
imulq %rdx, %r11
andl $0x7, %r8d
imull %eax, %r8d
addl $0x7, %r8d
shrl $0x3, %r8d
addq %r11, %r8
incq %r8
imulq %r8, %r10
addq %r10, %rdi
movl %r9d, %r11d
shrl %r11d
leal 0x1(%rsi), %r10d
movl %r10d, %r8d
shrl $0x2, %r8d
shrl $0x4, %r9d
imulq %rdx, %r9
andl $0x7, %r11d
imull %eax, %r11d
addl $0x7, %r11d
shrl $0x3, %r11d
addq %r11, %r9
incq %r9
imulq %r9, %r8
addq %rdi, %r8
cmpl $0x2, %ecx
jb 0x982b
movl %ecx, %edi
shrl %edi
shrl %r10d
movl %ecx, %r9d
shrl $0x4, %r9d
imulq %rdx, %r9
andl $0x7, %edi
imull %eax, %edi
addl $0x7, %edi
shrl $0x3, %edi
addq %r9, %rdi
incq %rdi
imulq %rdi, %r10
addq %r10, %r8
shrl %esi
movl %ecx, %edi
shrl $0x3, %edi
imulq %rdx, %rdi
andl $0x7, %ecx
imull %eax, %ecx
addl $0x7, %ecx
shrl $0x3, %ecx
leaq (%rdi,%rcx), %r14
incq %r14
imulq %rsi, %r14
addq %r8, %r14
jmp 0x988e
movl $0x6a, 0x1f0(%rbp)
movq 0x48(%rsp), %r12
jmp 0x98d2
movq 0x40(%rsp), %rsi
movl (%rsi), %esi
movl %ecx, %edi
shrl $0x3, %edi
imulq %rdi, %rdx
andl $0x7, %ecx
imull %eax, %ecx
addl $0x7, %ecx
shrl $0x3, %ecx
leaq (%rdx,%rcx), %r14
incq %r14
imulq %rsi, %r14
movq (%rsp), %rbx
leaq 0x60(%rsp), %rdi
leaq 0x68(%rsp), %rsi
movq %r14, %rdx
movq %r13, %rcx
movq %r15, %r8
movq %rbx, %r9
callq 0xd38d
movl %eax, %ebp
movl %eax, 0x1f0(%rbx)
testl %eax, %eax
jne 0x99a5
cmpq %r14, 0x68(%rsp)
je 0x99a5
movq (%rsp), %rbp
movl $0x5b, 0x1f0(%rbp)
movq %r13, %rdi
callq 0x1030
movq 0x60(%rsp), %rdi
callq 0x1030
movl 0x1f0(%rbp), %ecx
testl %ecx, %ecx
jne 0x9643
cmpl $0x0, 0x2c(%rbp)
je 0x9c20
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x698e
xorl %ecx, %ecx
testl %eax, %eax
jne 0x9643
movq (%r12), %r15
movq 0x38(%rsp), %rax
movl (%rax), %edi
movl %edi, %eax
orl $0x4, %eax
cmpl $0x6, %eax
jne 0x9c3c
movq 0x58(%rsp), %rax
movl (%rax), %r14d
movq %r12, %r13
movq 0x40(%rsp), %rax
movl (%rax), %r12d
movl 0x94(%rbp), %ebx
callq 0x5b92
imull %eax, %ebx
movq %r12, %rdi
imulq %r14, %rdi
movq %rdi, %rax
shrq $0x3, %rax
imulq %rbx, %rax
andl $0x7, %edi
imulq %rbx, %rdi
addq $0x7, %rdi
shrq $0x3, %rdi
addq %rax, %rdi
callq 0x1140
movq %rax, (%r13)
testq %rax, %rax
je 0x9c62
movq %rax, %rdi
movq %r15, %rsi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movl %r14d, %r8d
movl %r12d, %r9d
callq 0x6410
jmp 0x9c67
movq %r13, %rdi
callq 0x1030
testl %ebp, %ebp
movq (%rsp), %rbp
jne 0x98da
movq 0x58(%rsp), %rax
movl (%rax), %r15d
movq 0x40(%rsp), %rax
movl (%rax), %r14d
movl 0xc8(%rbp), %edi
movl 0xcc(%rbp), %ebx
callq 0x5b92
movl %eax, %r13d
imull %ebx, %r13d
movq %r14, %rbx
imulq %r15, %r14
movq %r14, %rax
shrq $0x3, %rax
imulq %r13, %rax
andl $0x7, %r14d
imulq %r13, %r14
addq $0x7, %r14
shrq $0x3, %r14
addq %rax, %r14
movq %r14, %rdi
callq 0x1140
movq %rax, (%r12)
testq %rax, %rax
je 0x9c53
movq %rax, %rbp
testq %r14, %r14
je 0x9a30
movq %rbp, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x10e0
testl %r13d, %r13d
je 0x9c80
movq 0x60(%rsp), %r14
movq (%rsp), %rax
cmpl $0x0, 0xc0(%rax)
je 0x9c8a
leaq 0xe0(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x1c0(%rsp), %rdx
leaq 0x180(%rsp), %rcx
leaq 0x140(%rsp), %r8
movq %r15, 0x28(%rsp)
movl %r15d, %r9d
pushq %r13
movq %rbx, 0x28(%rsp)
pushq %rbx
callq 0xdda2
addq $0x10, %rsp
xorl %ebx, %ebx
movq 0x180(%rsp,%rbx,2), %r12
addq %r14, %r12
movq 0x1c0(%rsp,%rbx,2), %rsi
addq %r14, %rsi
movl 0xe0(%rsp,%rbx), %r15d
movl 0xc0(%rsp,%rbx), %ecx
movq %r12, %rdi
movl %r15d, %edx
movl %ecx, 0x18(%rsp)
movl %r13d, %r8d
callq 0xd44a
testl %eax, %eax
jne 0x9cc8
cmpl $0x7, %r13d
ja 0x9aff
movq 0x140(%rsp,%rbx,2), %rdi
addq %r14, %rdi
imull %r13d, %r15d
movl %r15d, %ecx
addl $0x7, %ecx
andl $-0x8, %ecx
movq %r12, %rsi
movq %r15, %rdx
movl 0x18(%rsp), %r8d
callq 0xdd01
addq $0x4, %rbx
cmpq $0x1c, %rbx
jne 0x9a92
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x240(%rsp), %rdx
leaq 0x200(%rsp), %rcx
leaq 0x100(%rsp), %r8
movq 0x28(%rsp), %rbx
movl %ebx, %r9d
pushq %r13
pushq 0x28(%rsp)
callq 0xdda2
addq $0x10, %rsp
cmpl $0x7, %r13d
jbe 0x9cd6
shrl $0x3, %r13d
xorl %eax, %eax
movl 0x80(%rsp,%rax,4), %ecx
movq %rcx, 0x18(%rsp)
testq %rcx, %rcx
je 0x9c0e
movl 0xa0(%rsp,%rax,4), %r9d
xorl %r10d, %r10d
xorl %r11d, %r11d
testq %r9, %r9
je 0x9bfd
leaq 0x8f09(%rip), %rcx      # 0x12a90
movl (%rcx,%rax,4), %ecx
leaq 0x8edf(%rip), %rdx      # 0x12a70
movl (%rdx,%rax,4), %r15d
leaq 0x8eb4(%rip), %rdx      # 0x12a50
movl (%rdx,%rax,4), %edx
leaq 0x8e8a(%rip), %rsi      # 0x12a30
movl (%rsi,%rax,4), %r12d
imulq %r11, %r15
addq %rcx, %r15
imulq 0x28(%rsp), %r15
addq %rdx, %r15
imulq %r13, %r15
addq %rbp, %r15
imulq %r13, %r12
movq 0x100(%rsp,%rax,8), %rbx
addq %r14, %rbx
movl %r10d, %ecx
xorl %edx, %edx
movl %ecx, %esi
imulq %r13, %rsi
addq %rbx, %rsi
xorl %edi, %edi
movb (%rsi,%rdi), %r8b
movb %r8b, (%r15,%rdi)
incq %rdi
cmpq %rdi, %r13
jne 0x9be0
incq %rdx
addq %r12, %r15
incl %ecx
cmpq %r9, %rdx
jne 0x9bd5
incq %r11
addl %r9d, %r10d
cmpq 0x18(%rsp), %r11
jne 0x9b7b
incq %rax
cmpq $0x7, %rax
jne 0x9b58
jmp 0x9e27
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x5a08
movl %eax, %ecx
movl %eax, 0x1f0(%rbp)
jmp 0x9643
movl $0x38, %ecx
cmpl $0x8, 0x94(%rbp)
jne 0x9643
jmp 0x992e
movl $0x53, 0x1f0(%rbp)
jmp 0x98da
movl $0x53, %eax
movl %eax, 0x1f0(%rbp)
movq %r15, %rdi
callq 0x1030
movl 0x1f0(%rbp), %ecx
jmp 0x9643
movl $0x1f, %eax
jmp 0x9e2e
movq %rbx, %rcx
movq %r15, %rdx
cmpl $0x7, %r13d
ja 0x9cad
movl %r13d, %ebx
imull %edx, %ebx
leal 0x7(%rbx), %r15d
andl $-0x8, %r15d
cmpl %r15d, %ebx
jne 0x9e3d
movq %rbp, %rdi
movq %r14, %rsi
movl %r13d, %r8d
callq 0xd44a
testl %eax, %eax
jne 0x9e2e
jmp 0x9e2c
movq (%rsp), %rbp
movq 0x48(%rsp), %r12
jmp 0x9e32
imull %r13d, %ebx
movq %rbx, 0x28(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movl 0x80(%rsp,%rax,4), %eax
movq %rax, 0x50(%rsp)
testq %rax, %rax
je 0x9e15
movq 0x10(%rsp), %rax
movl 0xa0(%rsp,%rax,4), %eax
movq %rax, 0x18(%rsp)
movq $0x0, 0x8(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x9dfd
movq 0x10(%rsp), %rcx
movq 0x100(%rsp,%rcx,8), %rax
shlq $0x3, %rax
movq %rax, 0x20(%rsp)
movq 0x8(%rsp), %rsi
movl %esi, %r12d
imull 0x18(%rsp), %r12d
leaq 0x8d44(%rip), %rax      # 0x12a90
movl (%rax,%rcx,4), %eax
leaq 0x8d1a(%rip), %rdx      # 0x12a70
movl (%rdx,%rcx,4), %edx
imulq %rsi, %rdx
addq %rax, %rdx
imulq 0x28(%rsp), %rdx
leaq 0x8ce3(%rip), %rax      # 0x12a50
movl (%rax,%rcx,4), %esi
leaq 0x8cb9(%rip), %rax      # 0x12a30
movl (%rax,%rcx,4), %edi
xorl %r9d, %r9d
movq %r9, %r8
imulq %rdi, %r8
addq %rsi, %r8
imulq %r13, %r8
addq %rdx, %r8
leal (%r12,%r9), %r10d
imull %r13d, %r10d
addq 0x20(%rsp), %r10
movl %r13d, %eax
movl %r10d, %r11d
notb %r11b
movl %r8d, %ecx
notb %cl
movq %r10, %rbx
shrq $0x3, %rbx
movzbl (%r14,%rbx), %ebx
movzbl %r11b, %r15d
andl $0x7, %r15d
andb $0x7, %cl
movb $0x1, %r11b
shlb %cl, %r11b
btl %r15d, %ebx
jae 0x9dda
movq %r8, %rcx
shrq $0x3, %rcx
orb %r11b, (%rbp,%rcx)
jmp 0x9de9
notb %r11b
movq %r8, %rcx
shrq $0x3, %rcx
andb %r11b, (%rbp,%rcx)
incq %r8
incq %r10
decl %eax
jne 0x9d9e
incq %r9
cmpq 0x18(%rsp), %r9
jne 0x9d7d
movq 0x8(%rsp), %rcx
incq %rcx
movq %rcx, 0x8(%rsp)
cmpq 0x50(%rsp), %rcx
jne 0x9d15
movq 0x10(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0x9ce1
movq 0x48(%rsp), %r12
xorl %eax, %eax
movq (%rsp), %rbp
movl %eax, 0x1f0(%rbp)
jmp 0x98da
movq %r14, %rdi
movq %r14, %rsi
movq %rcx, 0x20(%rsp)
movl %r13d, %r8d
callq 0xd44a
testl %eax, %eax
jne 0x9e2e
movl %ebx, %edx
movl %r15d, %ecx
movq %rbp, %rdi
movq %r14, %rsi
movq 0x20(%rsp), %r8
callq 0xdd01
jmp 0x9e2c
xorl %ecx, %ecx
movq (%rsp), %rbp
jmp 0x9692
movl $0x60, %eax
movq (%rsp), %rbp
jmp 0x968a
movl $0x62, %eax
jmp 0x9e7b
movl $0x45, %eax
jmp 0x9e7b