// File: /workspace/github_c_makefile_star2_O2/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 $0x2a8, %rsp            # imm = 0x2A8
movq %r8, %rbp
andq $0x0, 0x70(%rsp)
movq %rcx, %rbx
andq $0x0, 0x90(%rsp)
movq %rdi, %r13
andq $0x0, (%rdi)
movq %rdx, %r15
andl $0x0, (%rdx)
movq %rsi, %r12
andl $0x0, (%rsi)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, 0x18(%rsp)
movq %r9, %r8
callq 0x6d82
movl %eax, %r14d
movl %eax, 0x1f0(%rbx)
testl %eax, %eax
jne 0x8065
movq %rbp, 0x20(%rsp)
movq %rbx, (%rsp)
movq %r12, 0x58(%rsp)
movl (%r12), %r12d
movq %r15, 0x8(%rsp)
movl (%r15), %r15d
movq %r15, %rax
imulq %r12, %rax
shrq $0x3d, %rax
pushq $0x5c
popq %r14
jne 0x805a
movq %r13, 0x78(%rsp)
movq (%rsp), %r13
leaq 0xc8(%r13), %rdi
leaq 0x90(%r13), %rbp
movq %rdi, 0x38(%rsp)
callq 0x4b2b
movl %eax, %ebx
movq %rbp, 0x50(%rsp)
movq %rbp, %rdi
callq 0x4b2b
cmpl %eax, %ebx
cmoval %ebx, %eax
movl %r12d, %ecx
andl $0x7, %ecx
imulq %rax, %rcx
addq $0x7, %rcx
shrq $0x3, %rcx
shrl $0x3, %r12d
imulq %rax, %r12
leaq (%r12,%rcx), %rax
addq $0x5, %rax
mulq %r15
jo 0x805e
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x1130
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x807a
leaq 0xb8(%r13), %rax
movq %rax, 0x30(%rsp)
movq 0x20(%rsp), %rcx
leaq 0x21(%rcx), %rdi
leaq 0x1c0(%r13), %rax
movq %rax, 0x88(%rsp)
leaq 0x1d8(%r13), %rax
movq %rax, 0x80(%rsp)
leaq (%rcx,%rbx), %rax
movq %rax, 0x60(%rsp)
pushq $0x1
popq %rax
movq %rax, 0x40(%rsp)
movq $0x0, 0x28(%rsp)
xorl %r15d, %r15d
movq %rdi, %rax
subq %rcx, %rax
leaq 0xc(%rax), %rcx
setb %al
movq %rcx, 0x68(%rsp)
cmpq %rbx, %rcx
seta %bl
orb %al, %bl
leaq 0x8(%rdi), %rax
movq %rax, 0x10(%rsp)
testb %r15b, %r15b
setne %r12b
jne 0x80a8
testb %bl, %bl
jne 0x8080
movq %rdi, %r13
callq 0x460b
testl %eax, %eax
js 0x809b
movl %eax, %r14d
movl %eax, %r15d
movq 0x68(%rsp), %rax
addq %r15, %rax
cmpq 0x18(%rsp), %rax
ja 0x80af
movq %r13, %rbp
movq %r13, %rdi
leaq 0x90f7(%rip), %rsi      # 0x10db4
callq 0x4629
testb %al, %al
je 0x7d0e
movq 0x28(%rsp), %r12
addq %r15, %r12
jb 0x80bd
cmpq 0x18(%rsp), %r12
ja 0x80bd
movq 0x28(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x4a33
movb $0x1, %r14b
xorl %r15d, %r15d
pushq $0x3
popq %rax
movq %rax, 0x40(%rsp)
movq %r12, 0x28(%rsp)
jmp 0x7dd7
movq %rbp, %rdi
leaq 0x90a1(%rip), %rsi      # 0x10db9
callq 0x4629
testb %al, %al
je 0x7d2c
movb $0x1, %r15b
xorl %r14d, %r14d
jmp 0x7dd7
movq %rbp, %rdi
leaq 0x7e67(%rip), %rsi      # 0xfb9d
callq 0x4629
testb %al, %al
je 0x7d73
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x7295
movq (%rsp), %rcx
movl %eax, 0x1f0(%rcx)
testl %eax, %eax
jne 0x80a8
movb $0x1, %r14b
xorl %r15d, %r15d
pushq $0x2
popq %rax
movq %rax, 0x40(%rsp)
jmp 0x7dd7
movq %rbp, %rdi
leaq 0x7e25(%rip), %rsi      # 0xfba2
callq 0x4629
testb %al, %al
je 0x7d9a
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x734e
jmp 0x7dbf
movq %rbp, %rdi
leaq 0x7e03(%rip), %rsi      # 0xfba7
callq 0x4629
testb %al, %al
je 0x7e04
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x73f8
movq (%rsp), %rcx
movl %eax, 0x1f0(%rcx)
testl %eax, %eax
jne 0x80a8
movb $0x1, %r14b
xorl %r15d, %r15d
movq (%rsp), %r12
cmpl $0x0, 0x20(%r12)
jne 0x7df3
movq %r13, %rdi
callq 0x46b5
testl %eax, %eax
jne 0x80ca
testb %r14b, %r14b
movq %r13, %rdi
je 0x7c72
jmp 0x803e
movq %rbp, %rdi
leaq 0x7d9e(%rip), %rsi      # 0xfbac
callq 0x4629
testb %al, %al
je 0x7e38
movb $0x1, %r14b
movq (%rsp), %rbp
cmpl $0x0, 0x30(%rbp)
je 0x7dd4
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x7499
jmp 0x7eac
movq %rbp, %rdi
leaq 0x7d6f(%rip), %rsi      # 0xfbb1
callq 0x4629
testb %al, %al
je 0x7e73
movb $0x1, %r14b
movq (%rsp), %rbp
cmpl $0x0, 0x30(%rbp)
je 0x7dd4
movq 0x30(%rsp), %rdi
movq %rbp, %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rcx
callq 0x757d
jmp 0x7eac
movq %r13, %rdi
leaq 0x7d39(%rip), %rsi      # 0xfbb6
callq 0x4629
testb %al, %al
je 0x7ebf
movb $0x1, %r14b
movq (%rsp), %rbp
cmpl $0x0, 0x30(%rbp)
je 0x7dd4
movq 0x30(%rsp), %rdi
movq %rbp, %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rcx
callq 0x7695
movl %eax, 0x1f0(%rbp)
testl %eax, %eax
je 0x7dd4
jmp 0x80a8
movq %r13, %rdi
leaq 0x7cf2(%rip), %rsi      # 0xfbbb
callq 0x4629
testb %al, %al
je 0x7ee9
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x78bf
jmp 0x7dbf
movq %r13, %rdi
leaq 0x7ccd(%rip), %rsi      # 0xfbc0
callq 0x4629
testb %al, %al
je 0x7f13
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x7918
jmp 0x7dbf
movq %r13, %rdi
leaq 0x7ca8(%rip), %rsi      # 0xfbc5
callq 0x4629
testb %al, %al
je 0x7f3d
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x794e
jmp 0x7dbf
movq %r13, %rdi
leaq 0x7c83(%rip), %rsi      # 0xfbca
callq 0x4629
testb %al, %al
je 0x7f67
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x796f
jmp 0x7dbf
movq %r13, %rdi
leaq 0x7c5e(%rip), %rsi      # 0xfbcf
callq 0x4629
testb %al, %al
je 0x7fac
cmpl $0x1, %r14d
jne 0x8834
movq (%rsp), %rcx
movl $0x1, 0x198(%rcx)
movq 0x10(%rsp), %rax
movzbl (%rax), %eax
movl %eax, 0x19c(%rcx)
andl $0x0, 0x1f0(%rcx)
jmp 0x7dd1
movq %r13, %rdi
leaq 0x7c1e(%rip), %rsi      # 0xfbd4
callq 0x4629
testb %al, %al
je 0x7fe4
movq 0x30(%rsp), %rdi
movq (%rsp), %r14
movq %r14, %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rcx
callq 0x79dd
movl %eax, 0x1f0(%r14)
jmp 0x7dc9
movq (%rsp), %rax
cmpl $0x0, 0x24(%rax)
jne 0x7ff9
testb $0x20, 0x4(%r13)
je 0x883b
movq (%rsp), %rax
cmpl $0x0, 0x34(%rax)
je 0x8038
movq 0x40(%rsp), %rax
decl %eax
movq 0x88(%rsp), %rcx
leaq (%rcx,%rax,8), %rdi
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movq %r13, %rdx
callq 0x4890
movq (%rsp), %rcx
movl %eax, 0x1f0(%rcx)
testl %eax, %eax
jne 0x80a8
xorl %r15d, %r15d
movq %r13, %rdi
movq 0x60(%rsp), %rsi
callq 0x4786
movq %rax, %rdi
movq 0x18(%rsp), %rbx
movq 0x20(%rsp), %rcx
jmp 0x7c4f
movq (%rsp), %r13
movl %r14d, 0x1f0(%r13)
movl %r14d, %eax
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x53
popq %r14
jmp 0x805e
movb $0x1, %r12b
movq (%rsp), %rax
cmpl $0x0, 0x28(%rax)
movq 0x8(%rsp), %r15
jne 0x80dd
pushq $0x1e
popq %rax
movq (%rsp), %r12
jmp 0x80d2
movb $0x1, %r12b
movq (%rsp), %rax
cmpl $0x0, 0x28(%rax)
je 0x80c1
movq 0x8(%rsp), %r15
jmp 0x80dd
movq (%rsp), %r12
movq 0x8(%rsp), %r15
pushq $0x40
popq %rax
jmp 0x80d2
pushq $0x5f
jmp 0x80c3
pushq $0x3f
popq %rax
movq (%rsp), %r12
jmp 0x80cd
pushq $0x39
popq %rax
movq 0x8(%rsp), %r15
movl %eax, 0x1f0(%r12)
xorl %r12d, %r12d
movq 0x38(%rsp), %rax
cmpl $0x3, (%rax)
jne 0x80f9
movq (%rsp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x8292
testb %r12b, %r12b
movq (%rsp), %r12
je 0x82a2
movl 0xc0(%r12), %ebx
movq 0x38(%rsp), %rdi
callq 0x4b2b
movq 0x58(%rsp), %rcx
movl (%rcx), %ecx
movl %eax, %edx
testl %ebx, %ebx
je 0x82b1
leal 0x7(%rcx), %r8d
movl %r8d, %r9d
shrl $0x3, %r9d
movl (%r15), %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 0x818f
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
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 0x8205
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 0x826b
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), %rbx
incq %rbx
imulq %rsi, %rbx
addq %r8, %rbx
jmp 0x82d4
movq (%rsp), %r12
movl $0x6a, 0x1f0(%r12)
movq 0x48(%rsp), %rdi
callq 0x1030
jmp 0x870d
movl (%r15), %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), %rbx
incq %rbx
imulq %rsi, %rbx
leaq 0x70(%rsp), %rdi
leaq 0x90(%rsp), %r14
movq %r14, %rsi
movq %rbx, %rdx
movq 0x48(%rsp), %r13
movq %r13, %rcx
movq 0x28(%rsp), %r8
movq %r12, %r9
callq 0xb7c0
cmpq %rbx, (%r14)
pushq $0x5b
popq %rcx
cmovel %eax, %ecx
sete %dl
testl %eax, %eax
cmovnel %eax, %ecx
movl %ecx, 0x1f0(%r12)
sete %bl
andb %dl, %bl
movq %r13, %rdi
callq 0x1030
cmpb $0x1, %bl
jne 0x870d
movq 0x58(%rsp), %rax
movl (%rax), %r14d
movl (%r15), %r15d
movl %r14d, %edi
movl %r15d, %esi
movq 0x38(%rsp), %rdx
callq 0x4bc5
movq %rax, %rbx
movq %rax, %rdi
callq 0x1130
movq %rax, %r13
movq 0x78(%rsp), %rax
movq %r13, (%rax)
testq %r13, %r13
je 0x8463
xorl %eax, %eax
cmpq %rax, %rbx
je 0x8377
movb $0x0, (%r13,%rax)
incq %rax
jmp 0x8367
movq %r15, 0x20(%rsp)
movq %r14, 0x18(%rsp)
movq 0x70(%rsp), %rbp
movq 0x38(%rsp), %rdi
callq 0x4b2b
testl %eax, %eax
je 0x8467
movl %eax, %r15d
cmpl $0x0, 0xc0(%r12)
je 0x846f
leaq 0x100(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
leaq 0x1e0(%rsp), %rdx
leaq 0x1a0(%rsp), %rcx
leaq 0x160(%rsp), %r8
movq 0x18(%rsp), %r9
pushq %r15
pushq 0x28(%rsp)
callq 0xbeb8
popq %rax
popq %rcx
xorl %r14d, %r14d
cmpq $0x1c, %r14
je 0x84b3
movq 0x1a0(%rsp,%r14,2), %r12
addq %rbp, %r12
movq 0x1e0(%rsp,%r14,2), %rsi
addq %rbp, %rsi
movl 0x100(%rsp,%r14), %ebx
movl 0xe0(%rsp,%r14), %ecx
movq %r12, %rdi
movl %ebx, %edx
movl %ecx, 0x28(%rsp)
movl %r15d, %r8d
callq 0xb866
testl %eax, %eax
jne 0x85c2
cmpl $0x7, %r15d
ja 0x845d
movq 0x160(%rsp,%r14,2), %rdi
addq %rbp, %rdi
imull %r15d, %ebx
movl %ebx, %ecx
addl $0x7, %ecx
andl $-0x8, %ecx
movq %r12, %rsi
movq %rbx, %rdx
movl 0x28(%rsp), %r8d
callq 0xbe1a
addq $0x4, %r14
jmp 0x83e7
pushq $0x53
jmp 0x8469
pushq $0x1f
popq %rax
jmp 0x8705
cmpl $0x7, %r15d
ja 0x848e
movl %r15d, %ebx
imull 0x18(%rsp), %ebx
leal 0x7(%rbx), %r14d
andl $-0x8, %r14d
cmpl %r14d, %ebx
jne 0x87fa
movq %r13, %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movl %r15d, %r8d
callq 0xb866
testl %eax, %eax
jne 0x8705
jmp 0x8703
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x260(%rsp), %rdx
leaq 0x220(%rsp), %rcx
leaq 0x120(%rsp), %r8
movq 0x18(%rsp), %rbx
movl %ebx, %r9d
pushq %r15
pushq 0x28(%rsp)
callq 0xbeb8
popq %rax
popq %rcx
cmpl $0x7, %r15d
jbe 0x85cb
shrl $0x3, %r15d
xorl %eax, %eax
leaq 0x7479(%rip), %rdx      # 0xf980
leaq 0x7452(%rip), %rsi      # 0xf960
leaq 0x742b(%rip), %rdi      # 0xf940
cmpq $0x7, %rax
je 0x86ff
movl 0xa0(%rsp,%rax,4), %ecx
movq %rcx, 0x28(%rsp)
xorl %r9d, %r9d
cmpq 0x28(%rsp), %r9
je 0x85ba
movl 0xc0(%rsp,%rax,4), %r10d
movl %r10d, %r11d
imull %r9d, %r11d
xorl %ebx, %ebx
cmpq %r10, %rbx
je 0x85b2
leaq 0x744a(%rip), %rcx      # 0xf9a0
movl (%rcx,%rax,4), %r8d
movl (%rsi,%rax,4), %r14d
movl (%rdi,%rax,4), %ecx
imulq %rbx, %rcx
addq %r14, %rcx
movl (%rdx,%rax,4), %r14d
imulq %r9, %r14
addq %r8, %r14
movl %r11d, %r12d
imulq %r15, %r12
imulq 0x18(%rsp), %r14
addq %rcx, %r14
imulq %r15, %r14
addq %r13, %r14
addq 0x120(%rsp,%rax,8), %r12
addq %rbp, %r12
xorl %r8d, %r8d
cmpq %r8, %r15
je 0x85aa
movb (%r12,%r8), %cl
movb %cl, (%r14,%r8)
incq %r8
jmp 0x8598
incq %rbx
incl %r11d
jmp 0x854a
incq %r9
jmp 0x852e
incq %rax
jmp 0x8515
movq (%rsp), %r12
jmp 0x8705
imull %r15d, %ebx
movq %rbx, 0x18(%rsp)
movl %r15d, %eax
movq %rax, 0x40(%rsp)
xorl %edx, %edx
leaq 0x98(%rsp), %r12
cmpq $0x7, %rdx
je 0x86ff
movl 0xc0(%rsp,%rdx,4), %eax
movq %rax, 0x20(%rsp)
movl 0xa0(%rsp,%rdx,4), %eax
movq %rax, 0x60(%rsp)
xorl %esi, %esi
movq %rdx, 0x10(%rsp)
cmpq 0x60(%rsp), %rsi
je 0x86f7
movl %esi, %eax
imull 0x20(%rsp), %eax
movq %rax, 0x48(%rsp)
xorl %edi, %edi
movq %rsi, 0x68(%rsp)
cmpq 0x20(%rsp), %rdi
je 0x86ef
movq 0x120(%rsp,%rdx,8), %rax
movq 0x48(%rsp), %rcx
addl %edi, %ecx
imull %r15d, %ecx
leaq (%rcx,%rax,8), %r14
leaq 0x734a(%rip), %rax      # 0xf9a0
movl (%rax,%rdx,4), %eax
leaq 0x7320(%rip), %rcx      # 0xf980
movl (%rcx,%rdx,4), %ecx
imulq %rsi, %rcx
addq %rax, %rcx
imulq 0x18(%rsp), %rcx
leaq 0x72e9(%rip), %rax      # 0xf960
movl (%rax,%rdx,4), %eax
leaq 0x72bf(%rip), %rsi      # 0xf940
movl (%rsi,%rdx,4), %edx
movq %rdi, 0x28(%rsp)
imulq %rdi, %rdx
addq %rax, %rdx
imulq 0x40(%rsp), %rdx
addq %rcx, %rdx
movq %rdx, 0x98(%rsp)
movl %r15d, %ebx
subl $0x1, %ebx
jb 0x86d8
movq %r14, %rax
shrq $0x3, %rax
movl %r14d, %ecx
notb %cl
movzbl (%rbp,%rax), %eax
movzbl %cl, %ecx
andl $0x7, %ecx
xorl %edx, %edx
btl %ecx, %eax
setb %dl
incq %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0xc01f
jmp 0x86a4
movq 0x28(%rsp), %rdi
incq %rdi
movq 0x10(%rsp), %rdx
movq 0x68(%rsp), %rsi
jmp 0x862d
incq %rsi
jmp 0x860f
incq %rdx
jmp 0x85e6
movq (%rsp), %r12
xorl %eax, %eax
movl %eax, 0x1f0(%r12)
movq 0x70(%rsp), %rdi
callq 0x1030
movl 0x1f0(%r12), %r14d
testl %r14d, %r14d
jne 0x8065
cmpl $0x0, 0x2c(%r12)
je 0x87a7
movq 0x50(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x5dcc
xorl %r14d, %r14d
testl %eax, %eax
jne 0x8065
movq 0x78(%rsp), %r15
movq (%r15), %r13
movq 0x50(%rsp), %r14
movl (%r14), %eax
orl $0x4, %eax
cmpl $0x6, %eax
jne 0x87c6
movq 0x58(%rsp), %rax
movl (%rax), %ebx
movq 0x8(%rsp), %rax
movl (%rax), %ebp
movl %ebx, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x4bc5
movq %rax, %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0x87da
movq %rax, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq 0x38(%rsp), %rcx
movl %ebx, %r8d
movl %ebp, %r9d
callq 0x52bb
jmp 0x87dd
movq 0x50(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x49cf
movl %eax, %r14d
movl %eax, 0x1f0(%r12)
jmp 0x8065
cmpl $0x8, 0x94(%r12)
je 0x8762
pushq $0x38
popq %r14
jmp 0x8065
pushq $0x53
popq %rax
movl %eax, 0x1f0(%r12)
movq %r13, %rdi
callq 0x1030
movl 0x1f0(%r12), %r14d
jmp 0x8065
movq %rbp, %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movl %r15d, %r8d
callq 0xb866
testl %eax, %eax
jne 0x8705
movl %ebx, %edx
movl %r14d, %ecx
movq %r13, %rdi
movq %rbp, %rsi
movq 0x20(%rsp), %r8
callq 0xbe1a
jmp 0x8703
pushq $0x62
jmp 0x80c3
pushq $0x45
jmp 0x80c3