// File: /workspace/github_c_makefile_star2_O3/Joy-Division[P]tools-mgs/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; 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 $0x298, %rsp            # imm = 0x298
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 0x6dca
movl %eax, 0x198(%r13)
testl %eax, %eax
jne 0x7d6c
movq %r12, 0x8(%rsp)
movl (%r14), %ecx
movl %ecx, %eax
mull (%r15)
seto %dl
testl %ecx, %ecx
je 0x70fd
cmpl $0x10000000, %eax       # imm = 0x10000000
setae %al
orb %al, %dl
je 0x7104
movl $0x5c, 0x198(%r13)
movl $0x5c, %eax
jmp 0x7d6c
cmpl $0xfffffff, %eax        # imm = 0xFFFFFFF
ja 0x70e8
movq %r15, 0x50(%rsp)
movq %r14, 0x28(%rsp)
movq %rbx, 0x48(%rsp)
leaq 0x21(%rbp), %r12
leaq 0xc0(%r13), %rax
movq %rax, 0x40(%rsp)
leaq 0xb0(%r13), %rax
movq %rax, 0x38(%rsp)
leaq 0x168(%r13), %rax
movq %rax, 0x88(%rsp)
leaq 0x180(%r13), %rax
movq %rax, 0x80(%rsp)
movq $0x0, 0x30(%rsp)
movl $0x1, %eax
movq %rax, 0x58(%rsp)
xorl %r10d, %r10d
movq $0x0, 0x20(%rsp)
xorl %r15d, %r15d
movq %r13, 0x18(%rsp)
movq 0x8(%rsp), %r8
movq %rbp, 0x10(%rsp)
cmpl $0x0, 0x198(%r13)
jne 0x7731
movq %r12, %rax
subq %rbp, %rax
addq $0xc, %rax
movl $0x1e, %ebx
cmpq %r8, %rax
ja 0x772a
cmpq %rbp, %r12
jb 0x772a
movzbl (%r12), %ecx
shll $0x18, %ecx
js 0x76f2
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 %r8, %rax
ja 0x76f9
leaq (%r12,%rbp), %rax
addq $0xc, %rax
cmpq 0x10(%rsp), %rax
jb 0x76f9
movq %r10, (%rsp)
leaq 0x8(%r12), %r14
movq %r12, %rdi
leaq 0x8834(%rip), %rsi      # 0xfa3f
callq 0x480b
testb %al, %al
je 0x7256
movq 0x20(%rsp), %rax
leaq (%rax,%rbp), %r13
movq (%rsp), %r10
cmpq %r13, %r10
jae 0x727c
addq %r10, %r10
leaq (,%r13,2), %rbx
addq %r13, %rbx
shrq %rbx
cmpq %r13, %r10
cmovbq %r13, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1130
movq %rbx, %r10
testq %rax, %rax
jne 0x727f
jmp 0x7707
movq %r12, %rdi
leaq 0x87e4(%rip), %rsi      # 0xfa44
callq 0x480b
testb %al, %al
je 0x732c
movb $0x1, %cl
xorl %ebx, %ebx
movq 0x8(%rsp), %r8
movq (%rsp), %r10
jmp 0x72bd
movq %r15, %rax
movb $0x1, %bl
movl $0x3, %ecx
movq %rcx, 0x58(%rsp)
testq %rbp, %rbp
je 0x72a9
movq 0x20(%rsp), %rsi
addq %rax, %rsi
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
movb %dl, (%rsi,%rcx)
incq %rcx
cmpq %rcx, %rbp
jne 0x729a
xorl %ecx, %ecx
movq %rax, %r15
movq %r13, 0x20(%rsp)
movq 0x18(%rsp), %r13
movq 0x8(%rsp), %r8
movl 0x20(%r13), %eax
orl 0x30(%rsp), %eax
jne 0x730a
movq %r15, (%rsp)
movq %r12, %rdi
movl %ebx, %ebp
movq %r10, %rbx
movq %r12, %r14
movq %r13, %r12
movl %ecx, %r13d
movq %r8, %r15
callq 0x4888
movq %r15, %r8
movq (%rsp), %r15
movl %r13d, %ecx
movq %r12, %r13
movq %r14, %r12
movq %rbx, %r10
movl %ebp, %ebx
movq $0x0, 0x30(%rsp)
testl %eax, %eax
jne 0x7700
testb %bl, %bl
je 0x731a
movl (%r12), %eax
bswapl %eax
addl $0xc, %eax
addq %rax, %r12
testb %cl, %cl
movq 0x10(%rsp), %rbp
je 0x717e
jmp 0x7731
movq %r12, %rdi
leaq 0x8713(%rip), %rsi      # 0xfa49
callq 0x480b
testb %al, %al
je 0x742b
movq 0xc8(%r13), %rdi
testq %rdi, %rdi
je 0x7354
callq 0x1030
movq %rbp, %rdi
movl $0xaaaaaaab, %eax       # imm = 0xAAAAAAAB
imulq %rax, %rdi
shrq $0x21, %rdi
movq %rdi, 0xd0(%r13)
shlq $0x2, %rdi
callq 0x1100
movq %rax, 0xc8(%r13)
cmpl $0x3, %ebp
jb 0x7389
testq %rax, %rax
je 0x771a
cmpl $0x302, %ebp            # imm = 0x302
ja 0x7713
movl $0x2, %eax
movq %rax, 0x58(%rsp)
cmpl $0x3, %ebp
movq (%rsp), %r10
jb 0x7570
movl $0x1, %eax
movl $0x3, %ecx
movl $0x2, %edx
movq %rdx, 0x58(%rsp)
movl $0x2, %edx
leal -0x2(%rdx), %esi
leal -0x1(%rdx), %edi
movb (%r14,%rsi), %sil
movq 0xc8(%r13), %r8
leal -0x3(%rcx), %r9d
movb %sil, (%r8,%r9)
movb (%r14,%rdi), %sil
movq 0xc8(%r13), %rdi
leal -0x2(%rcx), %r8d
movb %sil, (%rdi,%r8)
movl %edx, %esi
movb (%r14,%rsi), %sil
movq 0xc8(%r13), %rdi
leal -0x1(%rcx), %r8d
movb %sil, (%rdi,%r8)
movq 0xc8(%r13), %rsi
movl %ecx, %edi
movb $-0x1, (%rsi,%rdi)
movl %eax, %esi
incl %eax
addl $0x4, %ecx
addl $0x3, %edx
cmpq %rsi, 0xd0(%r13)
jne 0x73c5
jmp 0x7570
movq %r12, %rdi
leaq 0x8619(%rip), %rsi      # 0xfa4e
callq 0x480b
testb %al, %al
je 0x74a3
movq 0x40(%rsp), %rax
movl (%rax), %eax
testl %eax, %eax
je 0x7530
cmpl $0x2, %eax
movq (%rsp), %r10
je 0x74e0
cmpl $0x3, %eax
jne 0x7e5f
cmpq %rbp, 0xd0(%r13)
jb 0x7713
testq %rbp, %rbp
je 0x7570
shlq $0x2, %rbp
xorl %eax, %eax
movb (%r14), %cl
movq 0xc8(%r13), %rdx
movl %eax, %esi
andl $-0x4, %esi
movb %cl, 0x3(%rdx,%rsi)
addq $0x4, %rax
incq %r14
cmpq %rax, %rbp
jne 0x747f
jmp 0x7570
movq %r12, %rdi
leaq 0x85a6(%rip), %rsi      # 0xfa53
callq 0x480b
testb %al, %al
je 0x7584
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xb748
movl %eax, 0x198(%r13)
testl %eax, %eax
jne 0x7731
movb $0x1, %bl
jmp 0x7625
cmpl $0x6, %ebp
jne 0x7e69
movl $0x1, 0xd8(%r13)
movzwl 0x8(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0xdc(%r13)
movzwl 0xa(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0xe0(%r13)
movzwl 0xc(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl $0x24, %ecx
jmp 0x7568
cmpl $0x2, %ebp
movq (%rsp), %r10
jne 0x772a
movl $0x1, 0xd8(%r13)
movzwl 0x8(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0xe4(%r13)
movl %eax, 0xe0(%r13)
movl $0x1c, %ecx
movq 0x40(%rsp), %rdx
movl %eax, (%rdx,%rcx)
movl $0x0, 0x198(%r13)
movb $0x1, %bl
xorl %ecx, %ecx
jmp 0x72b8
movq %r12, %rdi
leaq 0x84ca(%rip), %rsi      # 0xfa58
callq 0x480b
testb %al, %al
je 0x75b6
movb $0x1, %bl
cmpl $0x0, 0x28(%r13)
je 0x7625
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xb7ea
jmp 0x7616
movq %r12, %rdi
leaq 0x849d(%rip), %rsi      # 0xfa5d
callq 0x480b
testb %al, %al
je 0x75e7
movb $0x1, %bl
cmpl $0x0, 0x28(%r13)
je 0x7625
movq 0x38(%rsp), %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xb8da
jmp 0x7616
movq %r12, %rdi
leaq 0x8471(%rip), %rsi      # 0xfa62
callq 0x480b
testb %al, %al
je 0x762c
movb $0x1, %bl
cmpl $0x0, 0x28(%r13)
je 0x7625
movq 0x38(%rsp), %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xba2c
movl %eax, 0x198(%r13)
testl %eax, %eax
jne 0x7731
xorl %ecx, %ecx
jmp 0x7271
movq %r12, %rdi
leaq 0x8431(%rip), %rsi      # 0xfa67
callq 0x480b
testb %al, %al
je 0x7654
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xbcfb
jmp 0x74ca
movq %r12, %rdi
leaq 0x840e(%rip), %rsi      # 0xfa6c
callq 0x480b
testb %al, %al
je 0x767c
movq 0x38(%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xbd55
jmp 0x74ca
testb $0x20, 0x4(%r12)
je 0x7e73
movq %r12, %rbx
movl $0x1, %eax
movq %rax, 0x30(%rsp)
movq 0x18(%rsp), %rax
cmpl $0x0, 0x2c(%rax)
je 0x76da
movq 0x58(%rsp), %rax
decl %eax
movq 0x88(%rsp), %rcx
leaq (%rcx,%rax,8), %rdi
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movq %rbx, %rdx
callq 0x494f
movq 0x18(%rsp), %rcx
movl %eax, 0x198(%rcx)
testl %eax, %eax
jne 0x7e7d
xorl %ecx, %ecx
movq 0x18(%rsp), %r13
movq 0x8(%rsp), %r8
movq (%rsp), %r10
movq %rbx, %r12
jmp 0x730e
movl $0x3f, %ebx
jmp 0x772a
movl $0x40, %ebx
jmp 0x772a
movl $0x39, %ebx
jmp 0x772a
movl $0x53, %ebx
movq 0x18(%rsp), %r13
jmp 0x772a
movl $0x26, %ebx
jmp 0x772a
movq $0x0, 0xd0(%r13)
movl $0x53, %ebx
movl %ebx, 0x198(%r13)
movq %r15, (%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
cmpl $0x0, 0xb8(%r13)
movq 0x50(%rsp), %rax
movl (%rax), %r14d
je 0x7890
leal 0x7(%r14), %edi
shrl $0x3, %edi
movq 0x28(%rsp), %rax
movl (%rax), %eax
movq %rax, 0x10(%rsp)
leal 0x7(%rax), %ebx
shrl $0x3, %ebx
movl 0xc0(%r13), %r12d
movl 0xc4(%r13), %r15d
movl %ebx, %esi
movl %r12d, %edx
movl %r15d, %ecx
callq 0xbd8c
movq %rax, %rbp
addq %rbx, %rbp
movq %r14, %rax
addl $0x3, %r14d
movq %rax, 0x8(%rsp)
cmpl $0x5, %eax
jb 0x77c0
movl %r14d, %edi
shrl $0x3, %edi
movl %ebx, %esi
movl %r12d, %edx
movl %r15d, %ecx
callq 0xbd8c
addq %rbx, %rbp
addq %rax, %rbp
movl %r12d, %ecx
shrl $0x2, %r14d
movq 0x10(%rsp), %rax
leal 0x3(%rax), %ebx
movl %ebx, %r12d
shrl $0x3, %r12d
movl %r14d, %edi
movl %r12d, %esi
movl %ecx, %edx
movl %ecx, 0x30(%rsp)
movl %r15d, %ecx
callq 0xbd8c
addq %rax, %r12
addq %rbp, %r12
movq 0x8(%rsp), %rax
leal 0x1(%rax), %r14d
cmpl $0x3, %eax
jb 0x781b
movl %r14d, %edi
shrl $0x2, %edi
shrl $0x2, %ebx
movl %ebx, %esi
movl 0x30(%rsp), %edx
movl %r15d, %ecx
callq 0xbd8c
addq %rax, %rbx
addq %rbx, %r12
shrl %r14d
movq 0x10(%rsp), %rax
leal 0x1(%rax), %ebx
movl %ebx, %ebp
shrl $0x2, %ebp
movl %r14d, %edi
movl %ebp, %esi
movl 0x30(%rsp), %edx
movl %r15d, %ecx
callq 0xbd8c
addq %rax, %rbp
addq %r12, %rbp
movq 0x8(%rsp), %r14
cmpl $0x2, %r14d
jb 0x7868
movl %r14d, %edi
shrl %edi
shrl %ebx
movl %ebx, %esi
movl 0x30(%rsp), %edx
movl %r15d, %ecx
callq 0xbd8c
addq %rax, %rbx
addq %rbx, %rbp
movq 0x28(%rsp), %r12
movq 0x10(%rsp), %rbx
shrl %ebx
movl %r14d, %edi
movl %ebx, %esi
movl 0x30(%rsp), %edx
movl %r15d, %ecx
callq 0xbd8c
movq %rax, %r14
addq %rbx, %r14
addq %rbp, %r14
jmp 0x78b7
movq 0x28(%rsp), %r12
movl (%r12), %ebx
movl 0xc0(%r13), %edx
movl 0xc4(%r13), %ecx
movl %r14d, %edi
movl %ebx, %esi
callq 0xbd8c
movq %rax, %r14
addq %rbx, %r14
movq 0x20(%rsp), %r15
cmpl $0x0, 0x198(%r13)
jne 0x7932
testq %r14, %r14
je 0x78e2
movq %r14, %rdi
callq 0x1100
testq %rax, %rax
je 0x7926
movq %r14, 0x70(%rsp)
movq %rax, 0x60(%rsp)
leaq 0x68(%rsp), %rsi
movq 0x8(%r13), %rax
leaq 0x60(%rsp), %rdi
testq %rax, %rax
je 0x7903
movq (%rsp), %rdx
movq %r15, %rcx
movq %r13, %r8
callq *%rax
jmp 0x7912
movq (%rsp), %rdx
movq %r15, %rcx
movq %r13, %r8
callq 0x435d
cmpq %r14, 0x68(%rsp)
movl $0x5b, %ecx
cmovel %eax, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
jmp 0x792b
movl $0x53, %ecx
movl %ecx, 0x198(%r13)
movq (%rsp), %rdi
callq 0x1030
cmpl $0x0, 0x198(%r13)
jne 0x7d4f
movq 0x50(%rsp), %rax
movl (%rax), %edi
movl (%r12), %r14d
movl %edi, 0x10(%rsp)
movl %r14d, %esi
movq 0x40(%rsp), %rdx
callq 0x4cf3
movq %rax, %rbx
movq %rax, %rdi
callq 0x1100
movq %rax, %r15
movq 0x48(%rsp), %rax
movq %r15, (%rax)
testq %r15, %r15
je 0x7bc1
testq %rbx, %rbx
je 0x79b1
xorl %eax, %eax
movq 0x48(%rsp), %rdx
movq (%rdx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %rbx
jne 0x7990
movq (%rdx), %r15
movq 0x50(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x10(%rsp)
movl (%r12), %r14d
movl 0xc0(%r13), %ecx
movl 0xc4(%r13), %eax
xorl %r12d, %r12d
cmpq $0x6, %rcx
ja 0x79d3
leaq 0x7135(%rip), %rdx      # 0xeb04
movl (%rdx,%rcx,4), %r12d
imull %eax, %r12d
testl %r12d, %r12d
je 0x7bcb
movq %r13, %rax
movq 0x60(%rsp), %r13
cmpl $0x0, 0xb8(%rax)
je 0x7bd5
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
leaq 0x1d0(%rsp), %rdx
leaq 0x190(%rsp), %rcx
leaq 0x150(%rsp), %r8
movl 0x10(%rsp), %r9d
pushq %r12
movq %r14, 0x8(%rsp)
pushq %r14
callq 0xc193
addq $0x10, %rsp
xorl %ebx, %ebx
movq 0x190(%rsp,%rbx,2), %r14
addq %r13, %r14
movq 0x1d0(%rsp,%rbx,2), %rsi
addq %r13, %rsi
movl 0xf0(%rsp,%rbx), %ebp
movl 0xd0(%rsp,%rbx), %ecx
movq %r14, %rdi
movl %ebp, %edx
movl %ecx, 0x20(%rsp)
movl %r12d, %r8d
callq 0xbdd3
testl %eax, %eax
jne 0x7d3e
cmpl $0x7, %r12d
ja 0x7aa0
movq 0x150(%rsp,%rbx,2), %rdi
addq %r13, %rdi
imull %r12d, %ebp
movl %ebp, %ecx
addl $0x7, %ecx
andl $-0x8, %ecx
movq %r14, %rsi
movq %rbp, %rdx
movl 0x20(%rsp), %r8d
callq 0xc0f2
addq $0x4, %rbx
cmpq $0x1c, %rbx
jne 0x7a36
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x250(%rsp), %rdx
leaq 0x210(%rsp), %rcx
leaq 0x110(%rsp), %r8
movl 0x10(%rsp), %r9d
pushq %r12
pushq 0x8(%rsp)
callq 0xc193
addq $0x10, %rsp
cmpl $0x7, %r12d
jbe 0x7c18
shrl $0x3, %r12d
xorl %eax, %eax
movq %rax, (%rsp)
movl 0x90(%rsp,%rax,4), %eax
movl %eax, 0x20(%rsp)
testl %eax, %eax
je 0x7bab
movq (%rsp), %rax
movl 0xb0(%rsp,%rax,4), %r9d
xorl %r10d, %r10d
xorl %r11d, %r11d
testq %r9, %r9
je 0x7b9a
movq (%rsp), %rax
leaq 0x6e01(%rip), %rcx      # 0xe930
movl (%rcx,%rax,4), %ebx
imull %r11d, %ebx
leaq 0x6e13(%rip), %rcx      # 0xe950
addl (%rcx,%rax,4), %ebx
leaq 0x6da9(%rip), %rcx      # 0xe8f0
movl (%rcx,%rax,4), %ebp
imull 0x10(%rsp), %ebx
leaq 0x6dba(%rip), %rcx      # 0xe910
addl (%rcx,%rax,4), %ebx
movq 0x110(%rsp,%rax,8), %r14
addq %r13, %r14
movl %r10d, %ecx
xorl %edx, %edx
movl %ebx, %esi
imulq %r12, %rsi
addq %r15, %rsi
movl %ecx, %edi
imulq %r12, %rdi
addq %r14, %rdi
xorl %r8d, %r8d
movb (%rdi,%r8), %al
movb %al, (%rsi,%r8)
incq %r8
cmpq %r8, %r12
jne 0x7b7e
incq %rdx
addl %ebp, %ebx
incl %ecx
cmpq %r9, %rdx
jne 0x7b69
incl %r11d
addl %r9d, %r10d
cmpl 0x20(%rsp), %r11d
jne 0x7b1f
movq (%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0x7af6
jmp 0x7d13
movl $0x53, %eax
jmp 0x7d48
movl $0x1f, %eax
jmp 0x7d43
cmpl $0x7, %r12d
ja 0x7bf1
movl %r12d, %ebx
imull 0x10(%rsp), %ebx
leal 0x7(%rbx), %ebp
andl $-0x8, %ebp
cmpl %ebp, %ebx
jne 0x7d21
movq %r15, %rdi
movq %r13, %rsi
movl 0x10(%rsp), %edx
movl %r14d, %ecx
movl %r12d, %r8d
callq 0xbdd3
testl %eax, %eax
movq 0x28(%rsp), %r12
jne 0x7d1a
jmp 0x7d18
xorl %eax, %eax
movq %rax, (%rsp)
movl 0x90(%rsp,%rax,4), %eax
movl %eax, 0x20(%rsp)
testl %eax, %eax
je 0x7d02
movq (%rsp), %rax
movl 0xb0(%rsp,%rax,4), %r10d
xorl %r11d, %r11d
testq %r10, %r10
je 0x7cf4
movq (%rsp), %rax
movq 0x110(%rsp,%rax,8), %rbx
shlq $0x3, %rbx
movl %r11d, %r14d
imull %r10d, %r14d
leaq 0x6cc9(%rip), %rcx      # 0xe930
movl (%rcx,%rax,4), %ebp
imull %r11d, %ebp
leaq 0x6cdb(%rip), %rcx      # 0xe950
addl (%rcx,%rax,4), %ebp
imull 0x10(%rsp), %ebp
leaq 0x6c6c(%rip), %rcx      # 0xe8f0
movl (%rcx,%rax,4), %edx
leaq 0x6c82(%rip), %rcx      # 0xe910
addl (%rcx,%rax,4), %ebp
xorl %esi, %esi
movl %edx, %edi
imull %esi, %edi
addl %ebp, %edi
imull %r12d, %edi
leal (%r14,%rsi), %eax
imull %r12d, %eax
addq %rbx, %rax
movl %r12d, %r9d
movl %eax, %ecx
notb %cl
movq %rax, %r8
shrq $0x3, %r8
movzbl (%r13,%r8), %r8d
movzbl %cl, %ecx
andl $0x7, %ecx
btl %ecx, %r8d
jae 0x7ce1
movl %edi, %ecx
notb %cl
andb $0x7, %cl
movb $0x1, %r8b
shlb %cl, %r8b
movq %rdi, %rcx
shrq $0x3, %rcx
orb %r8b, (%r15,%rcx)
incq %rdi
incq %rax
decl %r9d
jne 0x7cac
incq %rsi
cmpq %r10, %rsi
jne 0x7c93
incl %r11d
cmpl 0x20(%rsp), %r11d
jne 0x7c40
movq (%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0x7c1a
movq 0x28(%rsp), %r12
xorl %eax, %eax
movq 0x18(%rsp), %r13
jmp 0x7d48
movq %r13, %rdi
movq %r13, %rsi
movl 0x10(%rsp), %edx
movl %r14d, %ecx
movl %r12d, %r8d
callq 0xbdd3
testl %eax, %eax
je 0x7e48
movq 0x18(%rsp), %r13
movq 0x28(%rsp), %r12
movl %eax, 0x198(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%rsp)
movq 0x60(%rsp), %rdi
callq 0x1030
movl 0x198(%r13), %eax
testl %eax, %eax
je 0x7d7e
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x88(%r13), %r14
cmpl $0x0, 0x24(%r13)
je 0x7dfb
movq %r14, %rdi
movq 0x40(%rsp), %rsi
callq 0x592d
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x7d6c
movq 0x48(%rsp), %rax
movq (%rax), %r15
movl (%r14), %eax
orl $0x4, %eax
cmpl $0x6, %eax
jne 0x7e14
movq 0x50(%rsp), %rax
movl (%rax), %ebx
movl (%r12), %ebp
movl %ebx, %edi
movl %ebp, %esi
movq %r14, %rdx
callq 0x4cf3
movq %rax, %rdi
callq 0x1100
movq 0x48(%rsp), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je 0x7e28
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq 0x40(%rsp), %rcx
movl %ebx, %r8d
movl %ebp, %r9d
callq 0x5477
jmp 0x7e2d
movq %r14, %rdi
movq 0x40(%rsp), %rsi
callq 0x4b35
movl %eax, 0x198(%r13)
jmp 0x7d6c
movl $0x38, %eax
cmpl $0x8, 0x8c(%r13)
je 0x7db4
jmp 0x7d6c
movl $0x53, %eax
movl %eax, 0x198(%r13)
movq %r15, %rdi
callq 0x1030
movl 0x198(%r13), %eax
jmp 0x7d6c
movl %ebx, %edx
movl %ebp, %ecx
movq %r15, %rdi
movq %r13, %rsi
movl %r14d, %r8d
callq 0xc0f2
jmp 0x7d13
movl $0x2a, %ebx
jmp 0x772a
movl $0x29, %ebx
jmp 0x772a
movl $0x45, %ebx
jmp 0x770c
movq 0x18(%rsp), %r13
jmp 0x7731