// File: /workspace/github_cpp_makefile_star2_O3/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, %r12
movq %r8, %rbp
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq $0x0, (%rdi)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
callq 0x980e
movl %eax, 0x1a0(%r13)
testl %eax, %eax
jne 0xa7cb
movl (%r14), %ecx
movq %r12, 0x10(%rsp)
movl %ecx, %eax
mull (%r15)
seto %dl
testl %ecx, %ecx
je 0x9b2c
cmpl $0x10000000, %eax       # imm = 0x10000000
setae %al
orb %al, %dl
je 0x9b33
movl $0x5c, 0x1a0(%r13)
movl $0x5c, %eax
jmp 0xa7cb
cmpl $0xfffffff, %eax        # imm = 0xFFFFFFF
ja 0x9b17
movq 0x10(%rsp), %r8
leaq 0xc8(%r13), %rax
leaq 0xb8(%r13), %rdx
leaq 0x8(%r13), %rcx
leaq 0x21(%rbp), %r12
movq %r15, 0x60(%rsp)
movq %r14, 0x30(%rsp)
movq %rbx, 0x58(%rsp)
movq $0x0, 0x48(%rsp)
xorl %r10d, %r10d
xorl %r15d, %r15d
movq $0x0, 0x18(%rsp)
movq %r13, 0x20(%rsp)
movq %rbp, 0x28(%rsp)
movq %rax, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq %rcx, 0x50(%rsp)
leaq 0x170(%r13), %rdx
leaq 0x188(%r13), %rcx
movl $0x1, %eax
movq %rdx, 0x98(%rsp)
movq %rcx, 0x90(%rsp)
movq %rax, 0x68(%rsp)
cmpl $0x0, 0x1a0(%r13)
jne 0xa165
movq %r12, %rax
subq %rbp, %rax
movl $0x1e, %ebx
addq $0xc, %rax
cmpq %r8, %rax
ja 0xa15e
cmpq %rbp, %r12
jb 0xa15e
movzbl (%r12), %ecx
shll $0x18, %ecx
js 0xa126
movzbl 0x1(%r12), %edx
movzbl 0x2(%r12), %esi
movzbl 0x3(%r12), %ebp
shll $0x10, %edx
shll $0x8, %esi
orl %edx, %ebp
orl %esi, %ebp
orl %ecx, %ebp
addq %rbp, %rax
cmpq %r8, %rax
ja 0xa12d
leaq 0xc(%r12,%rbp), %rax
cmpq 0x28(%rsp), %rax
jb 0xa12d
leaq 0x961f(%rip), %rsi      # 0x13253
movq %r12, %rdi
movq %r10, 0x8(%rsp)
leaq 0x8(%r12), %r14
callq 0x72d8
testb %al, %al
je 0x9c87
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %r10
leaq (%rax,%rbp), %r13
cmpq %r13, %r10
jae 0x9cae
leaq (%r13,%r13,2), %rbx
addq %r10, %r10
movq %r15, %rdi
shrq %rbx
cmpq %r13, %r10
cmovbq %r13, %rbx
movq %rbx, %rsi
callq 0x2260
movq %rbx, %r10
testq %rax, %rax
jne 0x9cb1
jmp 0xa13b
leaq 0x95ca(%rip), %rsi      # 0x13258
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0x9d60
movb $0x1, %cl
xorl %ebx, %ebx
movq 0x10(%rsp), %r8
movq 0x8(%rsp), %r10
jmp 0x9cef
movq %r15, %rax
movl $0x3, %ecx
movb $0x1, %bl
movq %rcx, 0x68(%rsp)
testq %rbp, %rbp
je 0x9cdb
movq 0x18(%rsp), %rsi
xorl %ecx, %ecx
addq %rax, %rsi
movb (%r14,%rcx), %dl
movb %dl, (%rsi,%rcx)
incq %rcx
cmpq %rcx, %rbp
jne 0x9ccc
movq %r13, 0x18(%rsp)
movq 0x20(%rsp), %r13
xorl %ecx, %ecx
movq %rax, %r15
movq 0x10(%rsp), %r8
movl 0x28(%r13), %eax
orl 0x48(%rsp), %eax
jne 0x9d3e
movq %r15, 0x8(%rsp)
movq %r12, %rdi
movl %ebx, %ebp
movq %r12, %r14
movq %r13, %r12
movq %r10, %rbx
movl %ecx, %r13d
movq %r8, %r15
callq 0x7355
movq %r15, %r8
movq 0x8(%rsp), %r15
movl %r13d, %ecx
movq %r12, %r13
movq %rbx, %r10
movq %r14, %r12
movl %ebp, %ebx
movq $0x0, 0x48(%rsp)
testl %eax, %eax
jne 0xa134
testb %bl, %bl
je 0x9d4e
movbel (%r12), %eax
addl $0xc, %eax
addq %rax, %r12
movq 0x28(%rsp), %rbp
testb %cl, %cl
je 0x9bb6
jmp 0xa165
leaq 0x94f6(%rip), %rsi      # 0x1325d
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0x9e60
movq 0xd0(%r13), %rdi
testq %rdi, %rdi
je 0x9d88
callq 0x21b0
movl $0xaaaaaaab, %eax       # imm = 0xAAAAAAAB
movq %rbp, %rdi
imulq %rax, %rdi
shrq $0x21, %rdi
movq %rdi, 0xd8(%r13)
shlq $0x2, %rdi
callq 0x21e0
movq %rax, 0xd0(%r13)
cmpl $0x3, %ebp
jb 0x9dbd
testq %rax, %rax
je 0xa14e
cmpl $0x302, %ebp            # imm = 0x302
ja 0xa147
movq 0x8(%rsp), %r10
movl $0x2, %eax
movq %rax, 0x68(%rsp)
cmpl $0x3, %ebp
jb 0x9f9f
movl $0x2, %edx
movl $0x1, %eax
movl $0x3, %ecx
movq %rdx, 0x68(%rsp)
movl $0x2, %edx
leal -0x2(%rdx), %esi
movq 0xd0(%r13), %r8
leal -0x3(%rcx), %r9d
leal -0x1(%rdx), %edi
movb (%r14,%rsi), %sil
movb %sil, (%r8,%r9)
leal -0x2(%rcx), %r8d
movb (%r14,%rdi), %sil
movq 0xd0(%r13), %r9
movb %sil, (%r9,%r8)
movl %edx, %esi
leal -0x1(%rcx), %r8d
addl $0x3, %edx
movb (%r14,%rsi), %sil
movq 0xd0(%r13), %rdi
movb %sil, (%rdi,%r8)
movl %ecx, %edi
addl $0x4, %ecx
movq 0xd0(%r13), %rsi
movb $-0x1, (%rsi,%rdi)
movl %eax, %esi
incl %eax
cmpq %rsi, 0xd8(%r13)
jne 0x9dfa
jmp 0x9f9f
leaq 0x93fb(%rip), %rsi      # 0x13262
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0x9ed9
movq 0x40(%rsp), %rax
movl (%rax), %eax
testl %eax, %eax
je 0x9f60
movq 0x8(%rsp), %r10
cmpl $0x2, %eax
je 0x9f16
cmpl $0x3, %eax
jne 0xa8bf
cmpq %rbp, 0xd8(%r13)
jb 0xa147
testq %rbp, %rbp
je 0x9f9f
shlq $0x2, %rbp
xorl %eax, %eax
movb (%r14), %cl
movq 0xd0(%r13), %rdx
movl %eax, %esi
andl $-0x4, %esi
addq $0x4, %rax
incq %r14
movb %cl, 0x3(%rdx,%rsi)
cmpq %rax, %rbp
jne 0x9eb5
jmp 0x9f9f
leaq 0x9387(%rip), %rsi      # 0x13267
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0x9fb3
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xea1d
movl %eax, 0x1a0(%r13)
testl %eax, %eax
jne 0xa165
movb $0x1, %bl
jmp 0xa058
cmpl $0x6, %ebp
jne 0xa8c9
movl $0x1, 0xe0(%r13)
movl $0x24, %ecx
movbew 0x8(%r12), %ax
movzwl %ax, %eax
movl %eax, 0xe4(%r13)
movbew 0xa(%r12), %ax
movzwl %ax, %eax
movl %eax, 0xe8(%r13)
movbew 0xc(%r12), %ax
movzwl %ax, %eax
jmp 0x9f97
movq 0x8(%rsp), %r10
cmpl $0x2, %ebp
jne 0xa15e
movl $0x1, 0xe0(%r13)
movl $0x1c, %ecx
movbew 0x8(%r12), %ax
movzwl %ax, %eax
movl %eax, 0xec(%r13)
movl %eax, 0xe8(%r13)
movq 0x40(%rsp), %rdx
movl %eax, (%rdx,%rcx)
movb $0x1, %bl
xorl %ecx, %ecx
movl $0x0, 0x1a0(%r13)
jmp 0x9cea
leaq 0x92b2(%rip), %rsi      # 0x1326c
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0x9fe5
cmpl $0x0, 0x30(%r13)
movb $0x1, %bl
je 0xa058
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xeab7
jmp 0xa049
leaq 0x9285(%rip), %rsi      # 0x13271
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0xa018
cmpl $0x0, 0x30(%r13)
movb $0x1, %bl
je 0xa058
movq 0x38(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xeba7
jmp 0xa049
leaq 0x9257(%rip), %rsi      # 0x13276
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0xa05f
cmpl $0x0, 0x30(%r13)
movb $0x1, %bl
je 0xa058
movq 0x38(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xecfd
movl %eax, 0x1a0(%r13)
testl %eax, %eax
jne 0xa165
xorl %ecx, %ecx
jmp 0x9ca2
leaq 0x9215(%rip), %rsi      # 0x1327b
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0xa087
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xefd3
jmp 0x9f00
leaq 0x91f2(%rip), %rsi      # 0x13280
movq %r12, %rdi
callq 0x72d8
testb %al, %al
je 0xa0af
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xf02b
jmp 0x9f00
testb $0x20, 0x4(%r12)
je 0xa8d3
movq 0x20(%rsp), %rcx
movl $0x1, %eax
movq %r12, %rbx
movq %rax, 0x48(%rsp)
cmpl $0x0, 0x34(%rcx)
je 0xa10d
movq 0x68(%rsp), %rax
movq 0x98(%rsp), %rcx
movq 0x90(%rsp), %rdx
decl %eax
leaq (%rdx,%rax,8), %rsi
leaq (%rcx,%rax,8), %rdi
movq %rbx, %rdx
callq 0x741b
movq 0x20(%rsp), %rcx
movl %eax, 0x1a0(%rcx)
testl %eax, %eax
jne 0xa8e2
movq 0x20(%rsp), %r13
movq 0x10(%rsp), %r8
movq 0x8(%rsp), %r10
xorl %ecx, %ecx
movq %rbx, %r12
jmp 0x9d42
movl $0x3f, %ebx
jmp 0xa15e
movl $0x40, %ebx
jmp 0xa15e
movl $0x39, %ebx
jmp 0xa15e
movq 0x20(%rsp), %r13
movl $0x53, %ebx
jmp 0xa15e
movl $0x26, %ebx
jmp 0xa15e
movl $0x53, %ebx
movq $0x0, 0xd8(%r13)
movl %ebx, 0x1a0(%r13)
movq 0x60(%rsp), %rax
vxorps %xmm0, %xmm0, %xmm0
movq $0x0, 0x80(%rsp)
movq %r15, 0x8(%rsp)
vmovaps %xmm0, 0x70(%rsp)
cmpl $0x0, 0xc0(%r13)
movl (%rax), %esi
je 0xa2d7
movq 0x30(%rsp), %rax
movl 0xc8(%r13), %r12d
movl 0xcc(%r13), %r13d
leal 0x7(%rsi), %edi
movq %rsi, %r15
shrl $0x3, %edi
movl (%rax), %eax
movl %r12d, %edx
movl %r13d, %ecx
leal 0x7(%rax), %r14d
movq %rax, 0x28(%rsp)
shrl $0x3, %r14d
movl %r14d, %esi
callq 0xf062
movq %rax, %rbp
addq %r14, %rbp
leal 0x3(%r15), %ebx
movq %r15, 0x48(%rsp)
cmpl $0x5, %r15d
jb 0xa1fc
movl %ebx, %edi
shrl $0x3, %edi
movl %r14d, %esi
movl %r12d, %edx
movl %r13d, %ecx
callq 0xf062
addq %r14, %rbp
addq %rax, %rbp
movq 0x28(%rsp), %rax
movl %r13d, %ecx
movl %r12d, %r15d
shrl $0x2, %ebx
movl %r15d, %edx
movl %ebx, %edi
movl %ecx, %ebx
leal 0x3(%rax), %r13d
movl %r13d, %r12d
shrl $0x3, %r12d
movl %r12d, %esi
callq 0xf062
addq %rax, %r12
movq 0x48(%rsp), %rax
addq %rbp, %r12
leal 0x1(%rax), %r14d
cmpl $0x3, %eax
jb 0xa255
movl %r14d, %edi
shrl $0x2, %r13d
shrl $0x2, %edi
movl %r15d, %edx
movl %ebx, %ecx
movl %r13d, %esi
callq 0xf062
addq %rax, %r13
addq %r13, %r12
movq 0x28(%rsp), %rax
movl %r15d, %ecx
movl %ebx, %r15d
shrl %r14d
movl %ecx, %edx
movl %ecx, 0x10(%rsp)
movl %r15d, %ecx
movl %r14d, %edi
leal 0x1(%rax), %ebx
movl %ebx, %ebp
shrl $0x2, %ebp
movl %ebp, %esi
callq 0xf062
movq 0x48(%rsp), %r14
movq 0x20(%rsp), %r13
addq %rax, %rbp
addq %r12, %rbp
cmpl $0x2, %r14d
jb 0xa2af
movl 0x10(%rsp), %edx
movl %r14d, %edi
shrl %ebx
shrl %edi
movl %r15d, %ecx
movl %ebx, %esi
callq 0xf062
addq %rax, %rbx
addq %rbx, %rbp
movq 0x28(%rsp), %rbx
movl 0x10(%rsp), %edx
movq 0x30(%rsp), %r12
movl %r14d, %edi
movl %r15d, %ecx
shrl %ebx
movl %ebx, %esi
callq 0xf062
movq %rax, %r14
addq %rbx, %r14
addq %rbp, %r14
jmp 0xa2fd
movq 0x30(%rsp), %r12
movl 0xc8(%r13), %edx
movl 0xcc(%r13), %ecx
movl %esi, %edi
movl (%r12), %ebx
movl %ebx, %esi
callq 0xf062
movq %rax, %r14
addq %rbx, %r14
movq 0x18(%rsp), %r15
cmpl $0x0, 0x1a0(%r13)
jne 0xa381
testq %r14, %r14
je 0xa32b
movq %r14, %rdi
callq 0x21e0
testq %rax, %rax
je 0xa375
movq %r14, 0x80(%rsp)
movq %rax, 0x70(%rsp)
movq 0x10(%r13), %rax
leaq 0x78(%rsp), %rsi
leaq 0x70(%rsp), %rdi
testq %rax, %rax
je 0xa34f
movq 0x8(%rsp), %rdx
movq 0x50(%rsp), %r8
movq %r15, %rcx
callq *%rax
jmp 0xa361
movq 0x8(%rsp), %rdx
movq 0x50(%rsp), %r8
movq %r15, %rcx
callq 0x6e34
cmpq %r14, 0x78(%rsp)
movl $0x5b, %ecx
cmovel %eax, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
jmp 0xa37a
movl $0x53, %ecx
movl %ecx, 0x1a0(%r13)
movq 0x8(%rsp), %rdi
callq 0x21b0
cmpl $0x0, 0x1a0(%r13)
jne 0xa7ac
movq 0x60(%rsp), %rax
movl (%r12), %r14d
movq 0x40(%rsp), %rdx
movl (%rax), %edi
movl %r14d, %esi
movl %edi, 0x18(%rsp)
callq 0x77be
movq %rax, %rdi
movq %rax, %rbx
callq 0x21e0
movq 0x58(%rsp), %rcx
movq %rax, %r15
movq %r15, (%rcx)
testq %r15, %r15
je 0xa615
testq %rbx, %rbx
je 0xa401
movq 0x58(%rsp), %rdx
xorl %eax, %eax
movq (%rdx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %rbx
jne 0xa3e0
movq 0x60(%rsp), %rax
movq (%rdx), %r15
movl (%r12), %r14d
movl (%rax), %eax
movl %eax, 0x18(%rsp)
movl 0xc8(%r13), %ecx
movl 0xcc(%r13), %eax
xorl %r12d, %r12d
cmpq $0x6, %rcx
ja 0xa423
leaq 0x7da5(%rip), %rdx      # 0x121c4
movl (%rdx,%rcx,4), %r12d
imull %eax, %r12d
testl %r12d, %r12d
je 0xa61f
movq %r13, %rax
movq 0x70(%rsp), %r13
cmpl $0x0, 0xc0(%rax)
je 0xa62e
movl 0x18(%rsp), %r9d
leaq 0x100(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
leaq 0x1e0(%rsp), %rdx
leaq 0x1a0(%rsp), %rcx
leaq 0x160(%rsp), %r8
pushq %r12
movq %r14, 0x10(%rsp)
pushq %r14
callq 0xf45a
addq $0x10, %rsp
xorl %ebp, %ebp
movq 0x1a0(%rsp,%rbp,2), %r14
movq 0x1e0(%rsp,%rbp,2), %rsi
movl 0x100(%rsp,%rbp), %ebx
movl 0xe0(%rsp,%rbp), %ecx
movl %r12d, %r8d
addq %r13, %r14
addq %r13, %rsi
movl %ebx, %edx
movl %ecx, 0x28(%rsp)
movq %r14, %rdi
callq 0xf09b
testl %eax, %eax
jne 0xa79b
cmpl $0x7, %r12d
ja 0xa4f0
movq 0x160(%rsp,%rbp,2), %rdi
imull %r12d, %ebx
movl 0x28(%rsp), %r8d
movq %r14, %rsi
movl %ebx, %ecx
addl $0x7, %ecx
movq %rbx, %rdx
andl $-0x8, %ecx
addq %r13, %rdi
callq 0xf3b9
addq $0x4, %rbp
cmpq $0x1c, %rbp
jne 0xa486
movl 0x18(%rsp), %r9d
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x260(%rsp), %rdx
leaq 0x220(%rsp), %rcx
leaq 0x120(%rsp), %r8
pushq %r12
pushq 0x10(%rsp)
callq 0xf45a
addq $0x10, %rsp
cmpl $0x7, %r12d
jbe 0xa671
shrl $0x3, %r12d
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movl 0xa0(%rsp,%rax,4), %eax
movl %eax, 0x28(%rsp)
testl %eax, %eax
je 0xa5fe
movq 0x8(%rsp), %rax
xorl %r10d, %r10d
xorl %r11d, %r11d
movl 0xc0(%rsp,%rax,4), %r9d
testq %r9, %r9
je 0xa5ed
movq 0x8(%rsp), %rax
leaq 0x7a6e(%rip), %rsi      # 0x11ff0
leaq 0x7a27(%rip), %rcx      # 0x11fb0
xorl %edx, %edx
movl (%rsi,%rax,4), %ebp
movl (%rcx,%rax,4), %ebx
leaq 0x7a78(%rip), %rcx      # 0x12010
movq 0x120(%rsp,%rax,8), %r14
imull %r11d, %ebp
addl (%rcx,%rax,4), %ebp
leaq 0x7a22(%rip), %rcx      # 0x11fd0
addq %r13, %r14
imull 0x18(%rsp), %ebp
addl (%rcx,%rax,4), %ebp
movl %r10d, %ecx
movl %ebp, %esi
imulq %r12, %rsi
movl %ecx, %edi
imulq %r12, %rdi
xorl %r8d, %r8d
addq %r15, %rsi
addq %r14, %rdi
movb (%rdi,%r8), %al
movb %al, (%rsi,%r8)
incq %r8
cmpq %r8, %r12
jne 0xa5d1
incq %rdx
addl %ebx, %ebp
incl %ecx
cmpq %r9, %rdx
jne 0xa5bc
incl %r11d
addl %r9d, %r10d
cmpl 0x28(%rsp), %r11d
jne 0xa571
movq 0x8(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0xa546
jmp 0xa770
movl $0x53, %eax
jmp 0xa7a5
movq 0x30(%rsp), %r12
movl $0x1f, %eax
jmp 0xa7a5
cmpl $0x7, %r12d
ja 0xa64a
movl %r12d, %ebx
imull 0x18(%rsp), %ebx
leal 0x7(%rbx), %ebp
andl $-0x8, %ebp
cmpl %ebp, %ebx
jne 0xa77e
movl 0x18(%rsp), %edx
movq %r15, %rdi
movq %r13, %rsi
movl %r14d, %ecx
movl %r12d, %r8d
callq 0xf09b
movq 0x30(%rsp), %r12
testl %eax, %eax
jne 0xa777
jmp 0xa775
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movl 0xa0(%rsp,%rax,4), %eax
movl %eax, 0x28(%rsp)
testl %eax, %eax
je 0xa75e
movq 0x8(%rsp), %rax
xorl %r11d, %r11d
movl 0xc0(%rsp,%rax,4), %r10d
testq %r10, %r10
je 0xa750
movq 0x8(%rsp), %rax
leaq 0x7940(%rip), %rcx      # 0x11ff0
movl %r11d, %r14d
imull %r10d, %r14d
xorl %esi, %esi
movl (%rcx,%rax,4), %ebp
leaq 0x794d(%rip), %rcx      # 0x12010
movq 0x120(%rsp,%rax,8), %rbx
imull %r11d, %ebp
addl (%rcx,%rax,4), %ebp
leaq 0x78d7(%rip), %rcx      # 0x11fb0
shlq $0x3, %rbx
imull 0x18(%rsp), %ebp
movl (%rcx,%rax,4), %edx
leaq 0x78e4(%rip), %rcx      # 0x11fd0
addl (%rcx,%rax,4), %ebp
movl %edx, %edi
imull %esi, %edi
leal (%r14,%rsi), %eax
movl %r12d, %r9d
imull %r12d, %eax
addl %ebp, %edi
imull %r12d, %edi
addq %rbx, %rax
movq %rax, %r8
shrq $0x3, %r8
movl %eax, %ecx
movzbl (%r13,%r8), %r8d
notb %cl
movzbl %cl, %ecx
andl $0x7, %ecx
btl %ecx, %r8d
jae 0xa73d
movl %edi, %ecx
movb $0x1, %r8b
notb %cl
andb $0x7, %cl
shlb %cl, %r8b
movq %rdi, %rcx
shrq $0x3, %rcx
orb %r8b, (%r15,%rcx)
incq %rdi
incq %rax
decl %r9d
jne 0xa708
incq %rsi
cmpq %r10, %rsi
jne 0xa6ef
incl %r11d
cmpl 0x28(%rsp), %r11d
jne 0xa69b
movq 0x8(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0xa673
movq 0x30(%rsp), %r12
xorl %eax, %eax
movq 0x20(%rsp), %r13
jmp 0xa7a5
movl 0x18(%rsp), %edx
movq %r13, %rdi
movq %r13, %rsi
movl %r14d, %ecx
movl %r12d, %r8d
callq 0xf09b
testl %eax, %eax
je 0xa8a8
movq 0x20(%rsp), %r13
movq 0x30(%rsp), %r12
movl %eax, 0x1a0(%r13)
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0x78(%rsp)
movq 0x70(%rsp), %rdi
callq 0x21b0
movl 0x1a0(%r13), %eax
testl %eax, %eax
je 0xa7dd
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x2c(%r13)
leaq 0x90(%r13), %r14
je 0xa85a
movq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x840e
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0xa7cb
movq 0x58(%rsp), %rax
movl (%r14), %ecx
movq (%rax), %r15
orl $0x4, %ecx
cmpl $0x6, %ecx
jne 0xa873
movq 0x60(%rsp), %rax
movl (%r12), %ebp
movq %r14, %rdx
movl (%rax), %ebx
movl %ebp, %esi
movl %ebx, %edi
callq 0x77be
movq %rax, %rdi
callq 0x21e0
movq 0x58(%rsp), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je 0xa888
movq 0x40(%rsp), %rcx
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %r8d
movl %ebp, %r9d
callq 0x7fac
jmp 0xa88d
movq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x75fd
movl %eax, 0x1a0(%r13)
jmp 0xa7cb
cmpl $0x8, 0x94(%r13)
movl $0x38, %eax
jne 0xa7cb
jmp 0xa813
movl $0x53, %eax
movq %r15, %rdi
movl %eax, 0x1a0(%r13)
callq 0x21b0
movl 0x1a0(%r13), %eax
jmp 0xa7cb
movl %ebx, %edx
movl %ebp, %ecx
movq %r15, %rdi
movq %r13, %rsi
movl %r14d, %r8d
callq 0xf3b9
jmp 0xa770
movl $0x2a, %ebx
jmp 0xa15e
movl $0x29, %ebx
jmp 0xa15e
movq 0x20(%rsp), %r13
movl $0x45, %ebx
jmp 0xa15e
movq 0x20(%rsp), %r13
jmp 0xa165