// File: /workspace/github_cpp_makefile_star2_O2/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 $0x2f8, %rsp            # imm = 0x2F8
andq $0x0, (%rdi)
movq %rdi, %rbx
movq %r9, %rbp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
callq 0x7d76
movl %eax, 0x1a0(%r13)
testl %eax, %eax
jne 0x91b8
movl (%r14), %ecx
movq %rbx, 0x98(%rsp)
movl %ecx, %eax
mull (%r15)
seto %dl
testl %ecx, %ecx
je 0x7ff4
cmpl $0x10000000, %eax       # imm = 0x10000000
setae %al
orb %al, %dl
je 0x7ffb
movl $0x5c, 0x1a0(%r13)
pushq $0x5c
popq %rax
jmp 0x91b8
cmpl $0xfffffff, %eax        # imm = 0xFFFFFFF
ja 0x7fe1
leaq 0x100(%rsp), %rax
vxorps %xmm0, %xmm0, %xmm0
movq %r15, 0x60(%rsp)
leaq 0x21(%r12), %r15
movq %r14, 0x50(%rsp)
andq $0x0, 0x10(%rax)
vmovaps %xmm0, (%rax)
leaq 0xc8(%r13), %rax
movq %rax, 0x28(%rsp)
leaq 0xb8(%r13), %rax
movq %rax, 0x58(%rsp)
leaq 0x8(%r13), %rax
movq %rax, 0x70(%rsp)
leaq 0x170(%r13), %rax
movq %rax, 0x120(%rsp)
leaq 0x188(%r13), %rax
movq %rax, 0x118(%rsp)
pushq $0x1
popq %rax
movq %r12, %rcx
xorl %r12d, %r12d
movl $0x0, 0x38(%rsp)
movq %rax, 0x78(%rsp)
movq %rcx, 0x128(%rsp)
movq %r15, %rax
subq %rcx, %rax
leaq 0x8(%r15), %rbx
leaq 0xc(%rax), %rcx
setb %al
cmpq %rbp, %rcx
movq %rcx, 0x80(%rsp)
seta %cl
orb %al, %cl
movb %cl, 0x30(%rsp)
testb %r12b, %r12b
jne 0x8bd9
cmpl $0x0, 0x1a0(%r13)
jne 0x8bd9
cmpb $0x0, 0x30(%rsp)
jne 0x8bb3
movq %r15, %rdi
callq 0x3ba8
testl %eax, %eax
js 0x8bb7
movq 0x80(%rsp), %rcx
movl %eax, %r12d
leaq (%rcx,%r12), %rax
cmpq %rbp, %rax
ja 0x8bbb
leaq 0x7b8d(%rip), %rsi      # 0xfc7f
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x814d
movq 0x108(%rsp), %r14
leaq 0x100(%rsp), %rdi
leaq (%r14,%r12), %rsi
callq 0xb083
testl %eax, %eax
je 0x8bcf
addq 0x100(%rsp), %r14
xorl %eax, %eax
cmpq %rax, %r12
je 0x813a
movb (%rbx,%rax), %cl
movb %cl, (%r14,%rax)
incq %rax
jmp 0x8129
movb $0x1, %r14b
xorl %r12d, %r12d
pushq $0x3
popq %rax
movq %rax, 0x78(%rsp)
jmp 0x84af
leaq 0x7b30(%rip), %rsi      # 0xfc84
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x816b
movb $0x1, %r12b
xorl %r14d, %r14d
jmp 0x84af
leaq 0x7b17(%rip), %rsi      # 0xfc89
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x824f
movq 0xd0(%r13), %rdi
callq 0x2180
movl %r12d, %eax
xorl %edx, %edx
pushq $0x3
popq %rcx
divl %ecx
movl %eax, %r14d
leaq (,%r14,4), %rdi
movq %r14, 0xd8(%r13)
callq 0x21c0
movq %rax, 0xd0(%r13)
cmpl $0x3, %r12d
jb 0x81c5
testq %rax, %rax
je 0x8bc7
cmpl $0x302, %r12d           # imm = 0x302
ja 0x8bc3
xorl %eax, %eax
pushq $0x3
popq %rcx
pushq $0x2
popq %rdx
movl %eax, %esi
cmpq %rsi, %r14
je 0x8242
leal -0x2(%rdx), %esi
movq 0xd0(%r13), %r8
leal -0x3(%rcx), %r9d
leal -0x1(%rdx), %edi
incl %eax
movl %esi, %esi
movb (%rbx,%rsi), %sil
movb %sil, (%r8,%r9)
leal -0x2(%rcx), %r8d
movb (%rbx,%rdi), %sil
movq 0xd0(%r13), %r9
movb %sil, (%r9,%r8)
movl %edx, %esi
leal -0x1(%rcx), %r8d
addl $0x3, %edx
movb (%rbx,%rsi), %sil
movq 0xd0(%r13), %rdi
movb %sil, (%rdi,%r8)
movl %ecx, %edi
addl $0x4, %ecx
movq 0xd0(%r13), %rsi
movb $-0x1, (%rsi,%rdi)
movq 0xd8(%r13), %r14
jmp 0x81da
pushq $0x2
popq %rax
movq %rax, 0x78(%rsp)
jmp 0x84a1
leaq 0x7a38(%rip), %rsi      # 0xfc8e
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x82bd
movq 0x28(%rsp), %rax
movl (%rax), %eax
testl %eax, %eax
je 0x835e
cmpl $0x2, %eax
je 0x8319
cmpl $0x3, %eax
jne 0x928f
cmpq %r12, 0xd8(%r13)
jb 0x8bc3
shlq $0x2, %r12
movq %rbx, %rax
xorl %ecx, %ecx
cmpq %rcx, %r12
je 0x84a1
movb (%rax), %dl
movq 0xd0(%r13), %rsi
movl %ecx, %edi
andl $-0x4, %edi
addq $0x4, %rcx
incq %rax
movb %dl, 0x3(%rsi,%rdi)
jmp 0x8299
leaq 0x79cf(%rip), %rsi      # 0xfc93
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x8398
movq 0x28(%rsp), %rax
movl (%rax), %eax
cmpq $0x6, %rax
ja 0x84a1
leaq 0x6110(%rip), %rcx      # 0xe3fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x2, %r12d
jne 0x929d
movl $0x1, 0xf0(%r13)
movbew 0x8(%r15), %ax
movzwl %ax, %eax
jmp 0x8488
cmpl $0x6, %r12d
jne 0x9296
movl $0x1, 0xe0(%r13)
movbew 0x8(%r15), %ax
movzwl %ax, %eax
movl %eax, 0xe4(%r13)
movbew 0xa(%r15), %ax
movzwl %ax, %eax
movl %eax, 0xe8(%r13)
movbew 0xc(%r15), %ax
movzwl %ax, %eax
pushq $0x24
jmp 0x838d
cmpl $0x2, %r12d
jne 0x8bb3
movl $0x1, 0xe0(%r13)
movbew 0x8(%r15), %ax
movzwl %ax, %eax
movl %eax, 0xec(%r13)
movl %eax, 0xe8(%r13)
pushq $0x1c
popq %rcx
movq 0x28(%rsp), %rdx
jmp 0x849e
leaq 0x78f9(%rip), %rsi      # 0xfc98
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x841f
cmpl $0x0, 0x30(%r13)
movb $0x1, %r14b
je 0x84ac
movq %r13, 0x8(%rsp)
xorl %r13d, %r13d
cmpl %r13d, %r12d
je 0x84d7
cmpb $0x0, (%rbx,%r13)
je 0x84dc
incq %r13
jmp 0x83c1
cmpl $0x6, %r12d
jne 0x92a4
movl $0x1, 0xf0(%r13)
movbew 0x8(%r15), %ax
movzwl %ax, %eax
movl %eax, 0xf4(%r13)
movbew 0xa(%r15), %ax
movzwl %ax, %eax
movl %eax, 0xf8(%r13)
movbew 0xc(%r15), %ax
movzwl %ax, %eax
pushq $0x44
jmp 0x8498
leaq 0x7877(%rip), %rsi      # 0xfc9d
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x852d
cmpl $0x0, 0x30(%r13)
movb $0x1, %r14b
je 0x84ac
andq $0x0, 0xb0(%rsp)
vxorps %xmm0, %xmm0, %xmm0
xorl %edx, %edx
vmovaps %xmm0, 0xa0(%rsp)
cmpl %edx, %r12d
je 0x85f9
cmpb $0x0, (%rbx,%rdx)
je 0x8626
incq %rdx
jmp 0x8458
cmpl $0x1, %r12d
jne 0x92ab
movl $0x1, 0xf0(%r13)
movzbl (%rbx), %eax
movl %eax, 0xfc(%r13)
movl %eax, 0xf8(%r13)
pushq $0x3c
popq %rcx
movq 0x58(%rsp), %rdx
movl %eax, (%rdx,%rcx)
andl $0x0, 0x1a0(%r13)
movb $0x1, %r14b
xorl %r12d, %r12d
movl 0x28(%r13), %eax
orl 0x38(%rsp), %eax
jne 0x84c9
movq %r15, %rdi
callq 0x5c8c
testl %eax, %eax
jne 0x8bbf
testb %r14b, %r14b
je 0x80a1
jmp 0x8b9b
movl %r12d, %ecx
jmp 0x84df
movl %r13d, %ecx
leal -0x50(%rcx), %eax
cmpl $-0x4f, %eax
jae 0x84f9
xorl %edi, %edi
movq $0x0, 0x10(%rsp)
pushq $0x59
jmp 0x860b
incl %ecx
movq %rcx, %rdi
movq %rcx, 0x10(%rsp)
callq 0x21c0
testq %rax, %rax
je 0x85fe
movq 0x10(%rsp), %rsi
xorl %edx, %edx
movb $0x0, (%rax,%r13)
cmpq %rdx, %r13
je 0x858f
movb (%rbx,%rdx), %cl
movb %cl, (%rax,%rdx)
incq %rdx
jmp 0x851d
leaq 0x776e(%rip), %rsi      # 0xfca2
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x864b
cmpl $0x0, 0x30(%r13)
movb $0x1, %r14b
je 0x84ac
andq $0x0, 0xb0(%rsp)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, 0xa0(%rsp)
cmpl $0x5, %r12d
jae 0x8725
pushq $0x1e
popq %r12
xorl %edi, %edi
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
jmp 0x87f8
movq %rax, 0x18(%rsp)
subq %rsi, %r12
movl $0x0, %eax
cmovbq %rax, %r12
leaq 0x1(%r12), %rdi
callq 0x21c0
testq %rax, %rax
je 0x86c9
movq 0x8(%rsp), %r13
movq 0x10(%rsp), %rdx
xorl %esi, %esi
movb $0x0, (%rax,%r12)
cmpq %rsi, %r12
je 0x85d7
leal (%rdx,%rsi), %ecx
movb (%rbx,%rcx), %cl
movb %cl, (%rax,%rsi)
incq %rsi
jmp 0x85c4
movq 0x18(%rsp), %r12
movq 0x58(%rsp), %rdi
movq %rax, %rdx
movq %rax, 0x10(%rsp)
movq %r12, %rsi
callq 0x60b2
movq %r12, %rdi
movl %eax, %r12d
jmp 0x8612
movl %r12d, %eax
jmp 0x8628
xorl %edi, %edi
movq $0x0, 0x10(%rsp)
pushq $0x53
popq %r12
movq 0x8(%rsp), %r13
callq 0x2180
movq 0x10(%rsp), %rdi
callq 0x2180
jmp 0x881e
movl %edx, %eax
leal 0x2(%rax), %esi
cmpl %r12d, %esi
jae 0x8640
leal -0x50(%rax), %ecx
cmpl $-0x4f, %ecx
jae 0x86e5
pushq $0x59
jmp 0x8642
pushq $0x4b
popq %r12
xorl %edi, %edi
jmp 0x880c
leaq 0x7655(%rip), %rsi      # 0xfca7
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x8758
cmpl $0x7, %r12d
jne 0x92b2
movl $0x1, 0x140(%r13)
movbew 0x8(%r15), %ax
movzwl %ax, %eax
movl %eax, 0x144(%r13)
movzbl 0xa(%r15), %eax
movl %eax, 0x148(%r13)
movzbl 0xb(%r15), %eax
movl %eax, 0x14c(%r13)
movzbl 0xc(%r15), %eax
movl %eax, 0x150(%r13)
movzbl 0xd(%r15), %eax
movl %eax, 0x154(%r13)
movzbl 0xe(%r15), %eax
movl %eax, 0x158(%r13)
jmp 0x84a1
movq $0x0, 0x10(%rsp)
pushq $0x53
popq %r12
movq 0x8(%rsp), %r13
movq 0x18(%rsp), %rdi
jmp 0x8612
movl %eax, %edi
incq %rdi
movq %rsi, 0x48(%rsp)
movq %rdx, 0x10(%rsp)
movq %rdi, 0x18(%rsp)
callq 0x21c0
testq %rax, %rax
je 0x87b4
movq 0x10(%rsp), %rdx
movq %rax, %rdi
movb $0x0, (%rax,%rdx)
xorl %eax, %eax
cmpq %rax, %rdx
je 0x8740
movb (%rbx,%rax), %cl
movb %cl, (%rdi,%rax)
incq %rax
jmp 0x8715
xorl %eax, %eax
movq %r13, 0x8(%rsp)
cmpl %eax, %r12d
je 0x87af
cmpb $0x0, (%rbx,%rax)
je 0x87bb
incq %rax
jmp 0x872c
movq 0x18(%rsp), %rax
cmpb $0x0, (%rbx,%rax)
je 0x8833
pushq $0x48
popq %r12
jmp 0x880c
leaq 0x754d(%rip), %rsi      # 0xfcac
movq %r15, %rdi
callq 0x5c0f
testb %al, %al
je 0x8872
cmpl $0x9, %r12d
jne 0x92b9
movl $0x1, 0x15c(%r13)
movl 0x8(%r15), %eax
movbel %eax, 0x160(%r13)
movl 0xc(%r15), %eax
movbel %eax, 0x164(%r13)
movzbl 0x10(%r15), %eax
movl %eax, 0x168(%r13)
jmp 0x84a1
movl %r12d, %ecx
jmp 0x87bd
pushq $0x53
jmp 0x8642
movl %eax, %ecx
leal 0x3(%rcx), %r13d
cmpl %r12d, %r13d
jae 0x87db
leal -0x50(%rcx), %edx
movq %rax, 0x10(%rsp)
cmpl $-0x4f, %edx
jae 0x88cc
pushq $0x59
jmp 0x87dd
pushq $0x4b
popq %r12
xorl %edi, %edi
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x8(%rsp), %r13
callq 0x2180
movq 0x10(%rsp), %rdi
callq 0x2180
movq 0x18(%rsp), %rdi
callq 0x2180
leaq 0xa0(%rsp), %rdi
callq 0xbf52
movl %r12d, 0x1a0(%r13)
testl %r12d, %r12d
je 0x84ac
jmp 0x8bd9
movq 0x48(%rsp), %rdx
movq 0x70(%rsp), %r8
movq %rdi, 0x10(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
subl %edx, %r12d
addq %rbx, %rdx
movq %r12, %rcx
callq 0xaafe
testl %eax, %eax
je 0x893d
movq 0x10(%rsp), %rdi
jmp 0x8969
testb $0x20, 0x4(%r15)
je 0x92c0
cmpl $0x0, 0x34(%r13)
movb $0x1, %r14b
je 0x88bd
movq 0x78(%rsp), %rax
movq 0x120(%rsp), %rcx
movq 0x118(%rsp), %rdx
decl %eax
leaq (%rdx,%rax,8), %rsi
leaq (%rcx,%rax,8), %rdi
movq %r15, %rdx
callq 0x5d19
movl %eax, 0x1a0(%r13)
testl %eax, %eax
jne 0x8bd9
xorl %r12d, %r12d
pushq $0x1
popq %rax
movl %eax, 0x38(%rsp)
jmp 0x84af
movl %ecx, %edi
incq %rdi
movq %rcx, 0x90(%rsp)
movq %rdi, 0x18(%rsp)
callq 0x21c0
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x8971
movq 0x40(%rsp), %rdx
movq 0x10(%rsp), %rsi
xorl %eax, %eax
movb $0x0, (%rdx,%rsi)
cmpq %rax, %rsi
je 0x8911
movb (%rbx,%rax), %cl
movb %cl, (%rdx,%rax)
incq %rax
jmp 0x8901
cmpb $0x0, 0x2(%rbx,%rsi)
je 0x8978
pushq $0x48
popq %r12
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x8(%rsp), %r13
movq 0x40(%rsp), %rdi
jmp 0x87f8
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
callq 0x5b34
movq 0x10(%rsp), %r12
movq 0xa0(%rsp), %rdx
movq 0x58(%rsp), %rdi
movq %r12, %rsi
callq 0x60b2
movq %r12, %rdi
movl %eax, %r12d
jmp 0x880c
pushq $0x53
jmp 0x87dd
movq 0x18(%rsp), %rax
movq 0x90(%rsp), %r8
movl %r13d, %edi
xorl %edx, %edx
movq %rdi, 0x18(%rsp)
xorl %r13d, %r13d
movb (%rbx,%rax), %al
leal 0x4(%r8), %esi
leal 0x5(%r8), %ecx
movl %esi, 0x88(%rsp)
movb %al, 0x27(%rsp)
movq %rdi, %rax
cmpq %r12, %rax
jae 0x89c5
cmpb $0x0, (%rbx,%rax)
je 0x89c5
incl %r13d
incq %rax
incl %esi
incq %rdx
incl %ecx
jmp 0x89ab
leal 0x1(%r13), %edi
movl %esi, 0x8c(%rsp)
movq %rdx, 0x68(%rsp)
movl %ecx, 0x48(%rsp)
callq 0x21c0
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x8ad5
movq 0x10(%rsp), %rsi
movl %r13d, %eax
movq 0x18(%rsp), %rdi
xorl %ecx, %ecx
movb $0x0, (%rsi,%rax)
movq 0x68(%rsp), %rax
subq $0x1, %rax
jb 0x8a18
leal (%rdi,%rcx), %edx
movb (%rbx,%rdx), %dl
movb %dl, (%rsi,%rcx)
incq %rcx
jmp 0x8a04
movl 0x8c(%rsp), %eax
xorl %r13d, %r13d
leaq (%rbx,%rax), %rcx
leaq (%rax,%r13), %rdx
cmpq %r12, %rdx
jae 0x8a3f
cmpb $0x0, (%rcx,%r13)
je 0x8a3f
incl 0x48(%rsp)
incq %r13
jmp 0x8a26
leal 0x1(%r13), %edi
callq 0x21c0
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x8adc
movl 0x88(%rsp), %eax
movq 0x18(%rsp), %rsi
xorl %ecx, %ecx
addq 0x68(%rsp), %rax
movb $0x0, (%rsi,%r13)
cmpq %rcx, %r13
je 0x8a81
leal (%rax,%rcx), %edx
movb (%rbx,%rdx), %dl
movb %dl, (%rsi,%rcx)
incq %rcx
jmp 0x8a6e
movq 0x90(%rsp), %rax
addl 0x68(%rsp), %eax
leal 0x5(%r13,%rax), %edx
movq %r12, %rax
movl $0x0, %r13d
subq %rdx, %rax
cmovaeq %rax, %r13
cmpb $0x0, 0x27(%rsp)
je 0x8ae5
movq 0x70(%rsp), %r8
addq %rbx, %rdx
leaq 0xa0(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
movq %r13, %rcx
callq 0xaafe
testl %eax, %eax
je 0x8b3a
movl %eax, %r12d
jmp 0x892e
pushq $0x53
jmp 0x891a
pushq $0x53
popq %r12
jmp 0x8925
leaq 0x1(%r13), %rsi
leaq 0xa0(%rsp), %rdi
callq 0xb083
testl %eax, %eax
je 0x8b92
movl 0x48(%rsp), %eax
movq 0xa0(%rsp), %r8
subq %rax, %r12
movl $0x0, %eax
movb $0x0, (%r8,%r13)
cmovbq %rax, %r12
xorl %eax, %eax
cmpq %rax, %r12
je 0x8b6b
movl 0x48(%rsp), %edx
movl %edx, %ecx
movb (%rbx,%rcx), %cl
incl %edx
movl %edx, 0x48(%rsp)
movb %cl, (%r8,%rax)
incq %rax
jmp 0x8b1d
movq 0xa8(%rsp), %rax
cmpq %rax, 0xb0(%rsp)
jae 0x8b54
movq %rax, 0xb0(%rsp)
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
callq 0x5b34
movq 0xa0(%rsp), %r8
movq 0x40(%rsp), %r13
movq 0x58(%rsp), %rdi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq %r13, %rsi
callq 0x6243
movq %r13, %rdi
movl %eax, %r12d
jmp 0x87f3
pushq $0x53
popq %r12
jmp 0x892e
movq %r15, %rdi
callq 0x5d08
movq 0x128(%rsp), %rcx
movq %rax, %r15
jmp 0x807c
pushq $0x1e
jmp 0x8bd1
pushq $0x3f
jmp 0x8bd1
pushq $0x40
jmp 0x8bd1
pushq $0x39
jmp 0x8bd1
pushq $0x26
jmp 0x8bd1
andq $0x0, 0xd8(%r13)
pushq $0x53
popq %rax
movl %eax, 0x1a0(%r13)
movq 0x60(%rsp), %rax
vxorps %xmm0, %xmm0, %xmm0
andq $0x0, 0xf0(%rsp)
vmovaps %xmm0, 0xe0(%rsp)
cmpl $0x0, 0xc0(%r13)
movl (%rax), %r15d
je 0x8d0e
movq 0x50(%rsp), %rax
movq 0x28(%rsp), %r12
leal 0x7(%r15), %edi
shrl $0x3, %edi
movl (%rax), %eax
movq %r12, %rdx
leal 0x7(%rax), %r14d
movq %rax, 0x30(%rsp)
shrl $0x3, %r14d
movl %r14d, %esi
callq 0xbf14
movq %rax, %rbp
addq %r14, %rbp
leal 0x3(%r15), %ebx
movq %r13, 0x8(%rsp)
cmpl $0x5, %r15d
jb 0x8c5b
movl %ebx, %edi
shrl $0x3, %edi
movl %r14d, %esi
movq %r12, %rdx
callq 0xbf14
addq %r14, %rbp
addq %rax, %rbp
movq 0x30(%rsp), %rax
shrl $0x2, %ebx
movq %r12, %rdx
movl %ebx, %edi
leal 0x3(%rax), %r14d
movl %r14d, %r13d
shrl $0x3, %r13d
movl %r13d, %esi
callq 0xbf14
addq %rax, %r13
leal 0x1(%r15), %ebx
addq %rbp, %r13
cmpl $0x3, %r15d
jb 0x8ca5
movl %ebx, %edi
shrl $0x2, %r14d
shrl $0x2, %edi
movq %r12, %rdx
movl %r14d, %esi
callq 0xbf14
addq %rax, %r14
addq %r14, %r13
movq 0x30(%rsp), %rax
shrl %ebx
movq %r12, %rdx
movl %ebx, %edi
leal 0x1(%rax), %r14d
movl %r14d, %ebp
shrl $0x2, %ebp
movl %ebp, %esi
callq 0xbf14
addq %rax, %rbp
addq %r13, %rbp
cmpl $0x2, %r15d
jb 0x8ce7
movl %r15d, %edi
shrl %r14d
shrl %edi
movq %r12, %rdx
movl %r14d, %esi
callq 0xbf14
addq %rax, %r14
addq %r14, %rbp
movq 0x30(%rsp), %rbx
movq 0x8(%rsp), %r13
movl %r15d, %edi
movq %r12, %rdx
shrl %ebx
movl %ebx, %esi
callq 0xbf14
movq %rax, %r14
addq %rbx, %r14
addq %rbp, %r14
movq %r12, %rbp
jmp 0x8d2d
movq 0x50(%rsp), %rax
movq 0x28(%rsp), %rbp
movl %r15d, %edi
movl (%rax), %ebx
movq %rbp, %rdx
movl %ebx, %esi
callq 0xbf14
movq %rax, %r14
addq %rbx, %r14
cmpl $0x0, 0x1a0(%r13)
movq 0x50(%rsp), %r15
jne 0x8da2
leaq 0xe0(%rsp), %rdi
movq %r14, %rsi
callq 0xb0a9
testl %eax, %eax
je 0x8d98
cmpl $0x0, 0x1a0(%r13)
jne 0x8da2
movq 0x100(%rsp), %rdx
movq 0x108(%rsp), %rcx
movq 0x70(%rsp), %r8
leaq 0xe0(%rsp), %rbx
leaq 0xe8(%rsp), %rsi
movq %rbx, %rdi
callq 0xaafe
cmpq %r14, 0x8(%rbx)
pushq $0x5b
popq %rcx
cmovel %eax, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
jmp 0x8d9b
pushq $0x53
popq %rcx
movl %ecx, 0x1a0(%r13)
leaq 0x100(%rsp), %rdi
callq 0xbf52
cmpl $0x0, 0x1a0(%r13)
jne 0x91a0
movq 0x60(%rsp), %rax
movl (%r15), %esi
movq %rbp, %rdx
movl (%rax), %edi
callq 0x5fee
movq %rax, %rdi
movq %rax, %rbx
callq 0x21c0
movq 0x98(%rsp), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je 0x8f12
movq %rax, %r15
xorl %eax, %eax
cmpq %rax, %rbx
je 0x8e05
movb $0x0, (%r15,%rax)
incq %rax
movq (%rcx), %r15
jmp 0x8df3
movq 0x60(%rsp), %rax
movq 0x50(%rsp), %rcx
movq %rbp, %rdi
movq 0xe0(%rsp), %r12
movq %r13, 0x8(%rsp)
movl (%rax), %ebp
movl (%rcx), %eax
movq %rax, 0x38(%rsp)
callq 0x5f6e
testl %eax, %eax
je 0x8f1a
movq 0x8(%rsp), %rcx
movl %eax, %r13d
cmpl $0x0, 0xc0(%rcx)
je 0x8f2c
leaq 0x190(%rsp), %rdi
leaq 0x170(%rsp), %rsi
leaq 0x270(%rsp), %rdx
leaq 0x230(%rsp), %rcx
leaq 0x1f0(%rsp), %r8
movl %ebp, %r9d
pushq %r13
pushq 0x40(%rsp)
callq 0xc272
popq %rax
popq %rcx
xorl %eax, %eax
cmpq $0x1c, %rax
je 0x8f75
movq 0x230(%rsp,%rax,2), %r14
movq 0x270(%rsp,%rax,2), %rsi
movl 0x190(%rsp,%rax), %ebx
movl 0x170(%rsp,%rax), %ecx
movq %rax, 0x30(%rsp)
movl %r13d, %r8d
addq %r12, %r14
addq %r12, %rsi
movl %ebx, %edx
movl %ecx, 0x80(%rsp)
movq %r14, %rdi
callq 0xbf6d
testl %eax, %eax
jne 0x8f1d
cmpl $0x7, %r13d
ja 0x8f04
movq 0x30(%rsp), %rax
imull %r13d, %ebx
movl 0x80(%rsp), %r8d
movq %r14, %rsi
movl %ebx, %ecx
addl $0x7, %ecx
movq %rbx, %rdx
andl $-0x8, %ecx
movq 0x1f0(%rsp,%rax,2), %rdi
addq %r12, %rdi
callq 0xc1d5
movq 0x30(%rsp), %rax
addq $0x4, %rax
jmp 0x8e84
pushq $0x53
popq %rax
jmp 0x9199
pushq $0x1f
popq %rax
movq 0x8(%rsp), %r13
movq 0x28(%rsp), %rbp
jmp 0x9199
cmpl $0x7, %r13d
ja 0x8f49
movl %r13d, %ebx
imull %ebp, %ebx
leal 0x7(%rbx), %r14d
andl $-0x8, %r14d
cmpl %r14d, %ebx
jne 0x915b
movq 0x38(%rsp), %rcx
movq %r15, %rdi
movq %r12, %rsi
movl %ebp, %edx
movl %r13d, %r8d
callq 0xbf6d
movq 0x8(%rsp), %r13
movq 0x28(%rsp), %rbp
testl %eax, %eax
jne 0x9199
jmp 0x9197
leaq 0x150(%rsp), %rdi
leaq 0x130(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
leaq 0x2b0(%rsp), %rcx
leaq 0x1b0(%rsp), %r8
movl %ebp, %r9d
pushq %r13
pushq 0x40(%rsp)
callq 0xc272
popq %rax
popq %rcx
cmpl $0x7, %r13d
jbe 0x906f
shrl $0x3, %r13d
leaq 0x5b8e(%rip), %rsi      # 0xeb50
leaq 0x5b67(%rip), %rdi      # 0xeb30
xorl %eax, %eax
cmpq $0x7, %rax
je 0x918d
movl 0x130(%rsp,%rax,4), %ecx
xorl %r9d, %r9d
movl %ecx, 0x30(%rsp)
cmpl 0x30(%rsp), %r9d
je 0x9067
movl 0x150(%rsp,%rax,4), %r10d
xorl %ebx, %ebx
movl %r10d, %r11d
imull %r9d, %r11d
cmpq %r10, %rbx
je 0x905f
leaq 0x5b69(%rip), %rdx      # 0xeb70
movl (%rdi,%rax,4), %ecx
movl %r11d, %r14d
imulq %r13, %r14
addq 0x1b0(%rsp,%rax,8), %r14
movl (%rdx,%rax,4), %r8d
leaq 0x5b6c(%rip), %rdx      # 0xeb90
imull %ebx, %ecx
addl (%rsi,%rax,4), %ecx
addq %r12, %r14
imull %r9d, %r8d
addl (%rdx,%rax,4), %r8d
imull %ebp, %r8d
addl %ecx, %r8d
xorl %ecx, %ecx
imulq %r13, %r8
addq %r15, %r8
cmpq %rcx, %r13
je 0x9057
movb (%r14,%rcx), %dl
movb %dl, (%r8,%rcx)
incq %rcx
jmp 0x9045
incq %rbx
incl %r11d
jmp 0x8ffb
incl %r9d
jmp 0x8fe3
incq %rax
jmp 0x8fcb
leaq 0x5aba(%rip), %r8       # 0xeb30
xorl %eax, %eax
cmpq $0x7, %rax
je 0x918d
movl 0x130(%rsp,%rax,4), %ecx
movl 0x150(%rsp,%rax,4), %r9d
xorl %r11d, %r11d
movl %ecx, 0x30(%rsp)
cmpl 0x30(%rsp), %r11d
je 0x9153
movl %r11d, %ebx
imull %r9d, %ebx
xorl %r14d, %r14d
cmpq %r9, %r14
je 0x914b
movq 0x1b0(%rsp,%rax,8), %rcx
leal (%rbx,%r14), %edx
leaq 0x5a87(%rip), %rsi      # 0xeb50
imull %r13d, %edx
leaq (%rdx,%rcx,8), %r10
leaq 0x5a98(%rip), %rcx      # 0xeb70
leaq 0x5ab1(%rip), %rdx      # 0xeb90
movl (%rcx,%rax,4), %ecx
imull %r11d, %ecx
addl (%rdx,%rax,4), %ecx
movl (%r8,%rax,4), %edx
imull %r14d, %edx
addl (%rsi,%rax,4), %edx
imull %ebp, %ecx
movl %r13d, %esi
addl %ecx, %edx
imull %r13d, %edx
subl $0x1, %esi
jb 0x9143
movq %r10, %rcx
shrq $0x3, %rcx
movl %r10d, %edi
movzbl (%r12,%rcx), %ecx
notb %dil
movzbl %dil, %edi
andl $0x7, %edi
btl %edi, %ecx
jae 0x913b
movl %edx, %ecx
movb $0x1, %dil
notb %cl
andb $0x7, %cl
shlb %cl, %dil
movq %rdx, %rcx
shrq $0x3, %rcx
orb %dil, (%r15,%rcx)
incq %rdx
incq %r10
jmp 0x9100
incq %r14
jmp 0x90ad
incl %r11d
jmp 0x9098
incq %rax
jmp 0x9078
movl %ebp, %edx
movq 0x38(%rsp), %rbp
movq %r12, %rdi
movq %r12, %rsi
movl %r13d, %r8d
movl %ebp, %ecx
callq 0xbf6d
testl %eax, %eax
jne 0x8f1d
movl %ebx, %edx
movl %r14d, %ecx
movq %r15, %rdi
movq %r12, %rsi
movl %ebp, %r8d
callq 0xc1d5
movq 0x8(%rsp), %r13
movq 0x28(%rsp), %rbp
xorl %eax, %eax
movl %eax, 0x1a0(%r13)
leaq 0xe0(%rsp), %rdi
callq 0xbf52
movl 0x1a0(%r13), %eax
testl %eax, %eax
je 0x91ca
addq $0x2f8, %rsp            # imm = 0x2F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x2c(%r13)
leaq 0x90(%r13), %r15
je 0x9249
movq %r15, %rdi
movq %rbp, %rsi
callq 0x6b38
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x91b8
movq 0x98(%rsp), %rcx
movl (%r15), %eax
movq (%rcx), %r12
orl $0x4, %eax
cmpl $0x6, %eax
jne 0x9260
movq 0x60(%rsp), %rax
movq 0x50(%rsp), %rdx
movq %rcx, %r14
movl (%rdx), %ebp
movl (%rax), %ebx
movq %r15, %rdx
movl %ebx, %edi
movl %ebp, %esi
callq 0x5fee
movq %rax, %rdi
callq 0x21c0
movq %rax, (%r14)
testq %rax, %rax
je 0x9271
movq 0x28(%rsp), %rcx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %ebx, %r8d
movl %ebp, %r9d
callq 0x670e
jmp 0x9274
movq %r15, %rdi
movq %rbp, %rsi
callq 0x5e80
movl %eax, 0x1a0(%r13)
jmp 0x91b8
cmpl $0x8, 0x94(%r13)
je 0x9201
pushq $0x38
jmp 0x7fee
pushq $0x53
popq %rax
movq %r12, %rdi
movl %eax, 0x1a0(%r13)
callq 0x2180
movl 0x1a0(%r13), %eax
jmp 0x91b8
pushq $0x2a
jmp 0x8bd1
pushq $0x29
jmp 0x8bd1
pushq $0x2c
jmp 0x8bd1
pushq $0x2d
jmp 0x8bd1
pushq $0x2b
jmp 0x8bd1
pushq $0x49
jmp 0x8bd1
pushq $0x4a
jmp 0x8bd1
pushq $0x45
jmp 0x8bd1