// File: /workspace/github_cpp_makefile_star2_O1/phillip-h[P]fractal-gen/lodepng.cpp
// Function: lodepng_decode(unsigned char**, unsigned int*, unsigned int*, LodePNGState*, unsigned char const*, unsigned long)
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; sort of copy of the data*/
    unsigned char* data = *out;
    size_t outsize;

    /*TODO: check if this works according to the statement in the documentation: "The converter can convert
    from greyscale input color type, to 8-bit greyscale or greyscale 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 %r9, %r13
movq %r8, %r15
movq %rcx, %rbp
movq %rdi, %r12
xorl %eax, %eax
movq %rax, (%rdi)
movq %rax, (%rdi)
movq %rsi, 0x48(%rsp)
movq %rsi, %rdi
movq %rdx, 0x38(%rsp)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
callq 0x991d
movl %eax, 0x1a0(%rbp)
testl %eax, %eax
jne 0xa82e
movq 0x38(%rsp), %rax
movl (%rax), %ecx
movl %ecx, %eax
movq 0x48(%rsp), %rdx
mull (%rdx)
seto %dl
testl %ecx, %ecx
je 0x9c25
testb %dl, %dl
jne 0x9c2c
cmpl $0x10000000, %eax       # imm = 0x10000000
jb 0x9c3b
movl $0x5c, 0x1a0(%rbp)
jmp 0xa82e
movq %r12, 0x40(%rsp)
leaq 0x21(%r15), %r12
leaq 0xc8(%rbp), %rax
movq %rax, 0x58(%rsp)
leaq 0xb8(%rbp), %rax
movq %rax, 0x28(%rsp)
leaq 0x8(%rbp), %rax
movq %rax, 0x50(%rsp)
leaq 0x170(%rbp), %rax
movq %rax, 0x98(%rsp)
leaq 0x188(%rbp), %rax
movq %rax, 0x90(%rsp)
movl $0x1, %eax
movq %rax, 0x80(%rsp)
movq $0x0, 0x18(%rsp)
xorl %edi, %edi
movq $0x0, 0x20(%rsp)
movl $0x0, 0x30(%rsp)
xorl %ebx, %ebx
movq %rbp, 0x10(%rsp)
testb %bl, %bl
jne 0xa18d
cmpl $0x0, 0x1a0(%rbp)
jne 0xa18d
movq %r12, %rax
subq %r15, %rax
leaq 0xc(%rax), %rax
setb %cl
cmpq %r13, %rax
seta %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x9cf1
movl $0x1e, 0x1a0(%rbp)
jmp 0x9dd0
movzbl (%r12), %ecx
shll $0x18, %ecx
js 0x9db5
movzbl 0x1(%r12), %edx
shll $0x10, %edx
movzbl 0x2(%r12), %esi
shll $0x8, %esi
movzbl 0x3(%r12), %ebp
orl %edx, %ebp
orl %esi, %ebp
orl %ecx, %ebp
addq %rbp, %rax
cmpq %r13, %rax
ja 0x9dc1
leaq 0xc(%r12,%rbp), %rax
cmpq %r15, %rax
jb 0x9dc1
movq %rdi, 0x8(%rsp)
leaq 0x8(%r12), %r14
movq %r12, %rdi
leaq 0x94a8(%rip), %rsi      # 0x131f3
callq 0x72c9
testb %al, %al
je 0x9de4
movq 0x8(%rsp), %rdi
leaq (%rdi,%rbp), %r8
movq 0x20(%rsp), %rbx
cmpq %r8, %rbx
jae 0x9e0a
leaq (%rbx,%rbx), %rax
movq %rbx, 0x20(%rsp)
leaq (%r8,%r8,2), %rbx
shrq %rbx
cmpq %r8, %rax
movq %r8, 0x88(%rsp)
cmovbq %r8, %rbx
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0x2260
testq %rax, %rax
je 0x9e64
xorl %edx, %edx
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %rdi
jmp 0x9e70
movl $0x3f, 0x1a0(%rbp)
jmp 0x9dd0
movq 0x10(%rsp), %rbp
movl $0x40, 0x1a0(%rbp)
movl $0x3, %ecx
xorl %ebx, %ebx
testl %ecx, %ecx
je 0x9cb3
jmp 0xa18d
movq %r12, %rdi
leaq 0x940a(%rip), %rsi      # 0x131f8
callq 0x72c9
testb %al, %al
je 0x9e0e
movb $0x1, %bl
xorl %esi, %esi
movq 0x8(%rsp), %r8
movq 0x10(%rsp), %rbp
jmp 0x9ed4
xorl %edx, %edx
jmp 0x9e78
movq %r12, %rdi
leaq 0x93e5(%rip), %rsi      # 0x131fd
callq 0x72c9
testb %al, %al
je 0x9f39
movq 0x58(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xebc1
movq 0x10(%rsp), %rbp
movl %eax, 0x1a0(%rbp)
movl $0x3, %ecx
xorl %ebx, %ebx
testl %eax, %eax
jne 0x9f97
movb $0x1, %sil
movl $0x2, %eax
movq %rax, 0x80(%rsp)
jmp 0x9fa4
movb $0x1, %dl
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %rbx
movq 0x88(%rsp), %r8
testb %dl, %dl
cmovneq %rdi, %r8
movq %rbx, 0x20(%rsp)
je 0x9e9b
movq 0x10(%rsp), %rbp
movl $0x53, 0x1a0(%rbp)
movl $0x3, %ecx
jmp 0x9ecb
xorl %ecx, %ecx
movl $0x3, %eax
movq %rax, 0x80(%rsp)
testq %rbp, %rbp
je 0x9ec6
addq 0x18(%rsp), %rdi
xorl %eax, %eax
movb (%r14,%rax), %sil
movb %sil, (%rdi,%rax)
incq %rax
cmpq %rax, %rbp
jne 0x9eb6
movq 0x10(%rsp), %rbp
movb $0x1, %sil
xorl %ebx, %ebx
testb %dl, %dl
jne 0x9f31
movl 0x28(%rbp), %eax
orl 0x30(%rsp), %eax
jne 0x9f1e
movq %r12, %rdi
movq %r8, %r14
movq %r15, 0x8(%rsp)
movq %r13, %r15
movl %esi, %r13d
callq 0x7346
movl %r13d, %esi
movq %r15, %r13
movq 0x8(%rsp), %r15
movq %r14, %r8
testl %eax, %eax
je 0x9f1e
movl $0x39, 0x1a0(%rbp)
movl $0x3, %ecx
movl $0x0, 0x30(%rsp)
jmp 0x9f31
xorl %ecx, %ecx
testb %sil, %sil
je 0x9f31
movbel (%r12), %eax
addl $0xc, %eax
addq %rax, %r12
movq %r8, %rdi
jmp 0x9dd7
movq %r12, %rdi
leaq 0x92bf(%rip), %rsi      # 0x13202
callq 0x72c9
testb %al, %al
je 0x9f5e
movq 0x58(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xeca4
jmp 0x9f81
movq %r12, %rdi
leaq 0x929f(%rip), %rsi      # 0x13207
callq 0x72c9
testb %al, %al
je 0x9fae
movq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xed5d
movq 0x10(%rsp), %rbp
movl %eax, 0x1a0(%rbp)
movl $0x3, %ecx
xorl %ebx, %ebx
testl %eax, %eax
je 0x9fa1
movq 0x8(%rsp), %rdi
jmp 0x9dd7
movb $0x1, %sil
movq 0x8(%rsp), %r8
jmp 0x9ed4
movq %r12, %rdi
leaq 0x9254(%rip), %rsi      # 0x1320c
callq 0x72c9
testb %al, %al
je 0x9fe4
movq 0x10(%rsp), %rax
cmpl $0x0, 0x30(%rax)
je 0xa01c
movq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %rax, %rbp
callq 0xedf7
jmp 0xa06a
movq %r12, %rdi
leaq 0x9223(%rip), %rsi      # 0x13211
callq 0x72c9
testb %al, %al
je 0xa02e
movq 0x10(%rsp), %rax
cmpl $0x0, 0x30(%rax)
je 0xa01c
movq 0x28(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq %r14, %rdx
movq %rbp, %rcx
movq %rax, %rbp
callq 0xeee8
jmp 0xa06a
xorl %ebx, %ebx
movq 0x8(%rsp), %r8
movq %rax, %rbp
movb $0x1, %sil
jmp 0x9ed4
movq %r12, %rdi
leaq 0x91de(%rip), %rsi      # 0x13216
callq 0x72c9
testb %al, %al
je 0xa08f
movq 0x10(%rsp), %rax
cmpl $0x0, 0x30(%rax)
je 0xa17c
movq 0x28(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xf05a
movq 0x10(%rsp), %rbp
movl %eax, 0x1a0(%rbp)
movl $0x3, %ecx
xorl %ebx, %ebx
movq 0x8(%rsp), %rdi
movq %rdi, %r8
testl %eax, %eax
movb $0x1, %sil
jne 0x9dd7
jmp 0x9ed4
movq %r12, %rdi
leaq 0x9182(%rip), %rsi      # 0x1321b
callq 0x72c9
testb %al, %al
je 0xa0b4
movq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xf376
jmp 0xa0d7
movq %r12, %rdi
leaq 0x9162(%rip), %rsi      # 0x13220
callq 0x72c9
testb %al, %al
je 0xa0ff
movq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xf3ce
movq 0x10(%rsp), %rcx
movl %eax, 0x1a0(%rcx)
movl $0x3, %ecx
xorl %ebx, %ebx
testl %eax, %eax
je 0xa0f7
movq 0x10(%rsp), %rbp
jmp 0x9f97
movb $0x1, %sil
jmp 0x9dfb
testb $0x20, 0x4(%r12)
jne 0xa122
movq 0x10(%rsp), %rbp
movl $0x45, 0x1a0(%rbp)
movl $0x3, %ecx
xorl %ebx, %ebx
jmp 0x9f97
movq 0x10(%rsp), %rax
cmpl $0x0, 0x34(%rax)
je 0xa174
movq 0x80(%rsp), %rax
decl %eax
movq 0x98(%rsp), %rcx
leaq (%rcx,%rax,8), %rdi
movq 0x90(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movq %r12, %rdx
callq 0x740c
movq 0x10(%rsp), %rbp
movl %eax, 0x1a0(%rbp)
movl $0x3, %ecx
movl $0x1, 0x30(%rsp)
jmp 0xa075
movl $0x1, 0x30(%rsp)
xorl %ebx, %ebx
movq 0x8(%rsp), %r8
movq 0x10(%rsp), %rbp
jmp 0xa026
movq %rdi, 0x8(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
cmpl $0x0, 0xc0(%rbp)
movq 0x48(%rsp), %rax
movl (%rax), %r14d
je 0xa2bf
leal 0x7(%r14), %edi
shrl $0x3, %edi
movq 0x38(%rsp), %rax
movl (%rax), %eax
movq %rax, 0x20(%rsp)
leal 0x7(%rax), %ebx
shrl $0x3, %ebx
movl %ebx, %esi
movq 0x58(%rsp), %r15
movq %r15, %rdx
callq 0xf405
movq %rax, %r12
addq %rbx, %r12
cmpl $0x5, %r14d
jb 0xa205
leal 0x3(%r14), %edi
shrl $0x3, %edi
movl %ebx, %esi
movq %r15, %rdx
callq 0xf405
addq %rbx, %r12
addq %rax, %r12
leal 0x3(%r14), %edi
shrl $0x2, %edi
movq 0x20(%rsp), %rax
leal 0x3(%rax), %r13d
movl %r13d, %ebx
shrl $0x3, %ebx
movl %ebx, %esi
movq %r15, %rdx
callq 0xf405
addq %rax, %rbx
addq %r12, %rbx
cmpl $0x3, %r14d
jb 0xa24d
leal 0x1(%r14), %edi
shrl $0x2, %edi
shrl $0x2, %r13d
movl %r13d, %esi
movq %r15, %rdx
callq 0xf405
addq %rax, %r13
addq %r13, %rbx
leal 0x1(%r14), %edi
shrl %edi
movq 0x20(%rsp), %rax
leal 0x1(%rax), %r13d
movl %r13d, %r12d
shrl $0x2, %r12d
movl %r12d, %esi
movq %r15, %rdx
callq 0xf405
addq %rax, %r12
addq %rbx, %r12
cmpl $0x2, %r14d
jb 0xa293
movl %r14d, %edi
shrl %edi
shrl %r13d
movl %r13d, %esi
movq %r15, %rdx
callq 0xf405
addq %rax, %r13
addq %r13, %r12
movq 0x18(%rsp), %r13
movq %r15, %rbx
movq 0x20(%rsp), %r15
shrl %r15d
movl %r14d, %edi
movl %r15d, %esi
movq %rbx, %rdx
callq 0xf405
movq %rax, %r14
addq %r15, %r14
addq %r12, %r14
movq %rbx, %r15
jmp 0xa2e3
movq 0x38(%rsp), %rax
movl (%rax), %ebx
movl %r14d, %edi
movl %ebx, %esi
movq 0x58(%rsp), %r15
movq %r15, %rdx
callq 0xf405
movq %rax, %r14
addq %rbx, %r14
movq 0x18(%rsp), %r13
cmpl $0x0, 0x1a0(%rbp)
movq 0x40(%rsp), %r12
jne 0xa334
movq 0x70(%rsp), %rax
cmpq %r14, %rax
jae 0xa334
addq %rax, %rax
leaq (%r14,%r14,2), %rbx
shrq %rbx
cmpq %r14, %rax
cmovbq %r14, %rbx
movq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0x2260
testq %rax, %rax
je 0xa32a
movq %rbx, 0x70(%rsp)
movq %rax, 0x60(%rsp)
jmp 0xa334
movl $0x53, 0x1a0(%rbp)
cmpl $0x0, 0x1a0(%rbp)
jne 0xa38e
leaq 0x68(%rsp), %rsi
movq 0x10(%rbp), %rax
leaq 0x60(%rsp), %rdi
movq %r13, %rdx
testq %rax, %rax
je 0xa361
movq 0x8(%rsp), %rcx
movq 0x50(%rsp), %r8
callq *%rax
jmp 0xa370
movq 0x8(%rsp), %rcx
movq 0x50(%rsp), %r8
callq 0x6e3b
movl %eax, 0x1a0(%rbp)
cmpq %r14, 0x68(%rsp)
movl $0x5b, %ecx
cmovel %eax, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
movl %ecx, 0x1a0(%rbp)
movq %r13, %rdi
callq 0x21b0
cmpl $0x0, 0x1a0(%rbp)
je 0xa3a3
xorl %ebx, %ebx
jmp 0xa3d7
movq 0x48(%rsp), %rax
movl (%rax), %edi
movq 0x38(%rsp), %rax
movl (%rax), %esi
movq %r15, %rdx
callq 0x77ae
movq %rax, %rbx
movq %rax, %rdi
callq 0x21e0
movq %rax, (%r12)
testq %rax, %rax
jne 0xa3d7
movl $0x53, 0x1a0(%rbp)
cmpl $0x0, 0x1a0(%rbp)
jne 0xa811
testq %rbx, %rbx
je 0xa3fb
xorl %eax, %eax
movq (%r12), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %rbx
jne 0xa3eb
movl 0xc8(%rbp), %ecx
movl 0xcc(%rbp), %eax
xorl %r15d, %r15d
cmpq $0x6, %rcx
ja 0xa41b
leaq 0x7d6d(%rip), %rdx      # 0x12184
movl (%rdx,%rcx,4), %r15d
imull %eax, %r15d
testl %r15d, %r15d
je 0xa56b
movq (%r12), %r13
movq 0x60(%rsp), %r12
movq 0x48(%rsp), %rax
movl (%rax), %r9d
movq 0x38(%rsp), %rax
movl (%rax), %eax
cmpl $0x0, 0xc0(%rbp)
je 0xa575
leaq 0x100(%rsp), %r14
leaq 0xa0(%rsp), %rsi
leaq 0x1e0(%rsp), %rbx
leaq 0x1a0(%rsp), %rbp
leaq 0x160(%rsp), %r8
movq %r14, %rdi
movq %rbx, %rdx
movq %rbp, %rcx
movl %r9d, 0x8(%rsp)
pushq %r15
pushq %rax
movq %rax, 0x40(%rsp)
callq 0xf883
addq $0x10, %rsp
movq (%rbp), %rbp
addq %r12, %rbp
movq (%rbx), %rsi
addq %r12, %rsi
movl (%r14), %ebx
leaq 0xa0(%rsp), %rax
movl (%rax), %r14d
movq %rbp, %rdi
movl %ebx, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq 0xf443
movl %eax, 0x20(%rsp)
testl %eax, %eax
jne 0xa558
movl %r14d, 0x18(%rsp)
xorl %r14d, %r14d
cmpl $0x7, %r15d
ja 0xa500
movq 0x160(%rsp,%r14,2), %rdi
addq %r12, %rdi
imull %r15d, %ebx
movl %ebx, %ecx
addl $0x7, %ecx
andl $-0x8, %ecx
movq %rbp, %rsi
movq %rbx, %rdx
movl 0x18(%rsp), %r8d
callq 0xf7ed
cmpq $0x18, %r14
je 0xa5b0
movq 0x1a8(%rsp,%r14,2), %rbp
addq %r12, %rbp
movq 0x1e8(%rsp,%r14,2), %rsi
addq %r12, %rsi
movl 0x104(%rsp,%r14), %ebx
movl 0xa4(%rsp,%r14), %ecx
movq %rbp, %rdi
movl %ebx, %edx
movl %ecx, 0x18(%rsp)
movl %r15d, %r8d
callq 0xf443
addq $0x4, %r14
testl %eax, %eax
movl 0x20(%rsp), %ecx
cmovnel %eax, %ecx
movl %ecx, 0x20(%rsp)
je 0xa4d3
movq 0x10(%rsp), %rbp
movq 0x40(%rsp), %r12
movl 0x20(%rsp), %eax
jmp 0xa80b
movl $0x1f, %eax
jmp 0xa80b
cmpl $0x7, %r15d
ja 0xa590
movl %r15d, %ebx
imull %r9d, %ebx
leal 0x7(%rbx), %ebp
andl $-0x8, %ebp
cmpl %ebp, %ebx
jne 0xa6cb
movq %r13, %rdi
movq %r12, %rsi
movl %r9d, %edx
movl %eax, %ecx
movl %r15d, %r8d
callq 0xf443
testl %eax, %eax
jne 0xa801
jmp 0xa7ff
leaq 0xe0(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x260(%rsp), %rdx
leaq 0x220(%rsp), %rcx
leaq 0x120(%rsp), %r8
movl 0x8(%rsp), %r9d
pushq %r15
pushq 0x38(%rsp)
callq 0xf883
addq $0x10, %rsp
cmpl $0x7, %r15d
jbe 0xa700
shrl $0x3, %r15d
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movl 0xc0(%rsp,%rax,4), %eax
movl %eax, 0x20(%rsp)
testl %eax, %eax
je 0xa6b4
movq 0x18(%rsp), %rax
movl 0xe0(%rsp,%rax,4), %r9d
xorl %r10d, %r10d
xorl %r11d, %r11d
testq %r9, %r9
je 0xa6a3
movq 0x18(%rsp), %rax
leaq 0x7938(%rip), %rcx      # 0x11f70
movl (%rcx,%rax,4), %ebx
leaq 0x796e(%rip), %rcx      # 0x11fb0
movl (%rcx,%rax,4), %ebp
imull %r11d, %ebp
leaq 0x7980(%rip), %rcx      # 0x11fd0
addl (%rcx,%rax,4), %ebp
imull 0x8(%rsp), %ebp
leaq 0x7931(%rip), %rcx      # 0x11f90
addl (%rcx,%rax,4), %ebp
movq 0x120(%rsp,%rax,8), %r14
addq %r12, %r14
movl %r10d, %ecx
xorl %edx, %edx
movl %ebp, %esi
imulq %r15, %rsi
addq %r13, %rsi
movl %ecx, %edi
imulq %r15, %rdi
addq %r14, %rdi
xorl %r8d, %r8d
movb (%rdi,%r8), %al
movb %al, (%rsi,%r8)
incq %r8
cmpq %r8, %r15
jne 0xa687
incq %rdx
addl %ebx, %ebp
incl %ecx
cmpq %r9, %rdx
jne 0xa672
incl %r11d
addl %r9d, %r10d
cmpl 0x20(%rsp), %r11d
jne 0xa627
movq 0x18(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0xa5fc
jmp 0xa7ff
movq %r12, %rdi
movq %r12, %rsi
movl %r9d, %edx
movl %eax, %ecx
movl %r15d, %r8d
movq %rax, %r14
callq 0xf443
testl %eax, %eax
jne 0xa801
movl %ebx, %edx
movl %ebp, %ecx
movq %r13, %rdi
movq %r12, %rsi
movl %r14d, %r8d
callq 0xf7ed
jmp 0xa7ff
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movl 0xc0(%rsp,%rax,4), %eax
movl %eax, 0x20(%rsp)
testl %eax, %eax
je 0xa7ed
movq 0x18(%rsp), %rax
movl 0xe0(%rsp,%rax,4), %r10d
xorl %r11d, %r11d
testq %r10, %r10
je 0xa7df
movq 0x18(%rsp), %rax
movq 0x120(%rsp,%rax,8), %rbx
shlq $0x3, %rbx
movl %r11d, %r14d
imull %r10d, %r14d
leaq 0x785e(%rip), %rcx      # 0x11fb0
movl (%rcx,%rax,4), %ebp
imull %r11d, %ebp
leaq 0x7870(%rip), %rcx      # 0x11fd0
addl (%rcx,%rax,4), %ebp
imull 0x8(%rsp), %ebp
leaq 0x7801(%rip), %rcx      # 0x11f70
movl (%rcx,%rax,4), %edx
leaq 0x7817(%rip), %rcx      # 0x11f90
addl (%rcx,%rax,4), %ebp
xorl %esi, %esi
movl %edx, %edi
imull %esi, %edi
addl %ebp, %edi
imull %r15d, %edi
leal (%r14,%rsi), %eax
imull %r15d, %eax
addq %rbx, %rax
movl %r15d, %r9d
movl %eax, %ecx
notb %cl
movq %rax, %r8
shrq $0x3, %r8
movzbl (%r12,%r8), %r8d
movzbl %cl, %ecx
andl $0x7, %ecx
btl %ecx, %r8d
jae 0xa7cc
movl %edi, %ecx
notb %cl
andb $0x7, %cl
movb $0x1, %r8b
shlb %cl, %r8b
movq %rdi, %rcx
shrq $0x3, %rcx
orb %r8b, (%r13,%rcx)
incq %rdi
incq %rax
decl %r9d
jne 0xa797
incq %rsi
cmpq %r10, %rsi
jne 0xa77e
incl %r11d
cmpl 0x20(%rsp), %r11d
jne 0xa72a
movq 0x18(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0xa702
xorl %eax, %eax
movq 0x10(%rsp), %rbp
movq 0x40(%rsp), %r12
movl %eax, 0x1a0(%rbp)
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0x68(%rsp)
movq 0x60(%rsp), %rdi
callq 0x21b0
movq $0x0, 0x60(%rsp)
movl 0x1a0(%rbp), %eax
testl %eax, %eax
jne 0xa919
movl 0x2c(%rbp), %ebx
testl %ebx, %ebx
je 0xa868
leaq 0x90(%rbp), %r14
leaq 0xc8(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x8496
testl %eax, %eax
je 0xa88e
testl %ebx, %ebx
jne 0xa913
leaq 0x90(%rbp), %rdi
leaq 0xc8(%rbp), %rsi
callq 0x75ee
movl %eax, 0x1a0(%rbp)
testl %eax, %eax
jne 0xa919
jmp 0xa913
movq (%r12), %rbx
movl (%r14), %eax
orl $0x4, %eax
cmpl $0x6, %eax
jne 0xa8eb
movq %rbp, 0x10(%rsp)
movq 0x48(%rsp), %rax
movl (%rax), %ebp
movq %r12, %r13
movq 0x38(%rsp), %rax
movl (%rax), %r12d
movl %ebp, %edi
movl %r12d, %esi
movq %r14, %rdx
callq 0x77ae
movq %rax, %rdi
callq 0x21e0
movq %rax, (%r13)
testq %rax, %rax
je 0xa8fb
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %rcx
movl %ebp, %r8d
movl %r12d, %r9d
callq 0x7fd5
jmp 0xa900
movl $0x38, %eax
cmpl $0x8, 0x94(%rbp)
je 0xa89d
jmp 0xa919
movl $0x53, %eax
movq 0x10(%rsp), %rbp
movl %eax, 0x1a0(%rbp)
movq %rbx, %rdi
callq 0x21b0
movl 0x1a0(%rbp), %eax
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq