// File: /workspace/github_cpp_makefile_star2_O1/lvandeve[P]lodepng/lodepng.cpp
// Function: lodepng_inflatev(ucvector*, unsigned char const*, unsigned long, LodePNGDecompressSettings const*)
static unsigned lodepng_inflatev(ucvector* out,
                                 const unsigned char* in, size_t insize,
                                 const LodePNGDecompressSettings* settings) {
  unsigned BFINAL = 0;
  LodePNGBitReader reader;
  unsigned error = LodePNGBitReader_init(&reader, in, insize);

  if(error) return error;

  while(!BFINAL) {
    unsigned BTYPE;
    if(reader.bitsize - reader.bp < 3) return 52; /*error, bit pointer will jump past memory*/
    ensureBits9(&reader, 3);
    BFINAL = readBits(&reader, 1);
    BTYPE = readBits(&reader, 2);

    if(BTYPE == 3) return 20; /*error: invalid BTYPE*/
    else if(BTYPE == 0) error = inflateNoCompression(out, &reader, settings); /*no compression*/
    else error = inflateHuffmanBlock(out, &reader, BTYPE, settings->max_output_size); /*compression, BTYPE 01 or 10*/
    if(!error && settings->max_output_size && out->size > settings->max_output_size) error = 109;
    if(error) break;
  }

  return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r8
movq %rdi, %r15
movq %rsi, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
leaq (,%rdx,8), %rax
movq %rax, 0x18(%rsp)
shrq $0x3d, %rdx
sete %cl
cmpq $-0x40, %rax
setb %al
andb %cl, %al
movl $0x69, %edi
cmpb $0x1, %al
jne 0x2dac
movq $0x0, 0x20(%rsp)
movl $0x0, 0x28(%rsp)
xorl %edi, %edi
testb %al, %al
je 0x3ab6
leaq 0xa0(%rsp), %r14
xorl %r9d, %r9d
xorl %r10d, %r10d
movq %r15, 0x30(%rsp)
movq %r8, 0x60(%rsp)
testl %r9d, %r9d
jne 0x3ab3
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rdx
subq %rdx, %rcx
movl $0x1, %eax
cmpq $0x3, %rcx
jae 0x2df7
movl $0x34, %edi
jmp 0x36c4
movq %rdx, %rcx
shrq $0x3, %rcx
movq 0x10(%rsp), %r12
leaq 0x1(%rcx), %rsi
cmpq %r12, %rsi
jae 0x2e17
movq 0x8(%rsp), %rsi
movzwl (%rsi,%rcx), %esi
jmp 0x2e35
movl $0x0, 0x28(%rsp)
cmpq %r12, %rcx
jae 0x2e31
movq 0x8(%rsp), %rsi
movzbl (%rsi,%rcx), %ecx
movl %ecx, 0x28(%rsp)
movl 0x28(%rsp), %esi
movl %edx, %ecx
andb $0x7, %cl
shrl %cl, %esi
movl %esi, %r9d
andl $0x1, %r9d
movl %esi, %ebx
shrl %ebx
andl $0x3, %ebx
shrl $0x3, %esi
movl %esi, 0x28(%rsp)
leaq 0x3(%rdx), %rcx
movq %rcx, 0x20(%rsp)
cmpl $0x3, %ebx
je 0x2f31
testl %ebx, %ebx
jne 0x2f3b
addq $0xa, %rdx
shrq $0x3, %rdx
leaq 0x4(%rdx), %rbx
movl $0x34, %r10d
cmpq %r12, %rbx
jae 0x3686
movq 0x8(%rsp), %rax
movzwl (%rax,%rdx), %ebp
cmpl $0x0, 0x4(%r8)
jne 0x2eae
movzwl 0x2(%rax,%rdx), %eax
addl %ebp, %eax
movl $0x15, %r10d
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x3686
movl %r9d, 0x38(%rsp)
movl %edi, 0x3c(%rsp)
movq %r8, %r13
movl %ebp, %r15d
movq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rsi
addq %r15, %rsi
movq %rsi, 0x8(%rdi)
callq 0xd951
testl %eax, %eax
je 0x300d
leaq (%rbx,%r15), %r14
movl $0x17, %r10d
cmpq %r12, %r14
movq %r13, %r8
movl 0x3c(%rsp), %edi
movl 0x38(%rsp), %r9d
ja 0x3686
testl %ebp, %ebp
je 0x36d1
movq 0x30(%rsp), %rax
movq (%rax), %rdi
addq 0x8(%rax), %rdi
subq %r15, %rdi
addq 0x8(%rsp), %rbx
movq %rbx, %rsi
movq %r15, %rdx
callq 0x21d0
movl 0x38(%rsp), %r9d
movl 0x3c(%rsp), %edi
movq %r13, %r8
jmp 0x36d4
movl $0x14, %edi
jmp 0x36c4
movl %r9d, 0x38(%rsp)
movl %edi, 0x3c(%rsp)
movq 0x8(%r8), %r12
movq 0x8(%r15), %rsi
movl $0x104, %eax            # imm = 0x104
addq %rax, %rsi
movq %r15, %rdi
callq 0xd951
testl %eax, %eax
je 0x2fb5
movq %r12, 0x68(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
leaq 0xb8(%rsp), %rax
movups %xmm0, (%rax)
movaps %xmm0, 0x70(%rsp)
leaq 0x88(%rsp), %rax
movups %xmm0, (%rax)
cmpl $0x1, %ebx
jne 0x2fc0
movq %r14, %rdi
callq 0xda3d
movl %eax, %r13d
testl %eax, %eax
jne 0x31e3
leaq 0x70(%rsp), %rdi
callq 0xdadc
movl %eax, %r13d
jmp 0x31e3
movl $0x53, %r13d
jmp 0x3675
movq 0x18(%rsp), %rbp
movq 0x20(%rsp), %r12
movq %rbp, %rax
subq %r12, %rax
movl $0x31, %r13d
cmpq $0xe, %rax
jb 0x31e3
movq %r12, %rax
shrq $0x3, %rax
movq 0x10(%rsp), %r13
leaq 0x2(%rax), %rcx
cmpq %r13, %rcx
jae 0x3024
movq 0x8(%rsp), %rcx
movzwl (%rcx,%rax), %edx
movzbl 0x2(%rcx,%rax), %r15d
shll $0x10, %r15d
orl %edx, %r15d
jmp 0x305b
movl $0x53, %r10d
movq %r13, %r8
movl 0x3c(%rsp), %edi
movl 0x38(%rsp), %r9d
jmp 0x3686
movl $0x0, 0x28(%rsp)
cmpq %r13, %rax
jae 0x303e
movq 0x8(%rsp), %rcx
movzbl (%rcx,%rax), %ecx
movl %ecx, 0x28(%rsp)
incq %rax
cmpq %r13, %rax
jae 0x3056
movq 0x8(%rsp), %rcx
movzbl (%rcx,%rax), %eax
shll $0x8, %eax
orl %eax, 0x28(%rsp)
movl 0x28(%rsp), %r15d
movl %r12d, %ecx
andb $0x7, %cl
shrl %cl, %r15d
movl %r15d, %eax
shrl $0xe, %eax
movl %eax, 0x28(%rsp)
addq $0xe, %r12
movq %r12, 0x20(%rsp)
movl $0x4c, %edi
callq 0x22a0
testq %rax, %rax
je 0x31a1
movq %rax, %rbx
movl %r15d, %eax
shrl $0xa, %eax
andl $0xf, %eax
leal 0x4(%rax), %edx
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
leaq 0xe8(%rsp), %rcx
movups %xmm0, (%rcx)
leal (%rdx,%rdx,2), %ecx
addq %r12, %rcx
cmpq %r12, %rcx
setb %sil
cmpq %rbp, %rcx
seta %cl
orb %sil, %cl
jne 0x31ae
movl %r15d, %ebp
andl $0x1f, %ebp
shrl $0x5, %r15d
leal 0x101(%rbp), %ecx
movl %ecx, 0x50(%rsp)
andl $0x1f, %r15d
incl %r15d
movq 0x8(%rsp), %rsi
leaq 0x10(,%rax,4), %rdi
xorl %r8d, %r8d
leaq 0x71373(%rip), %r10     # 0x74470
movq %r12, %rcx
shrq $0x3, %rcx
leaq 0x1(%rcx), %r9
cmpq %r13, %r9
jae 0x3114
movzwl (%rsi,%rcx), %r9d
jmp 0x312e
movl $0x0, 0x28(%rsp)
xorl %r9d, %r9d
cmpq %r13, %rcx
jae 0x312e
movzbl (%rsi,%rcx), %r9d
movl %r9d, 0x28(%rsp)
movl %r12d, %ecx
andb $0x7, %cl
shrl %cl, %r9d
movl %r9d, %ecx
andl $0x7, %ecx
shrl $0x3, %r9d
movl %r9d, 0x28(%rsp)
addq $0x3, %r12
movq %r12, 0x20(%rsp)
movl (%r8,%r10), %r9d
movl %ecx, (%rbx,%r9,4)
addq $0x4, %r8
cmpq %r8, %rdi
jne 0x30fd
cmpl $0x13, %edx
je 0x317a
movl 0x10(%r10,%rax,4), %ecx
movl $0x0, (%rbx,%rcx,4)
incq %rax
cmpq $0xf, %rax
jne 0x3165
movl $0x13, %edx
leaq 0xd0(%rsp), %rdi
movq %rbx, %rsi
movl $0x7, %ecx
callq 0xdb34
testl %eax, %eax
je 0x36e2
movl %eax, %r13d
jmp 0x31b4
movl $0x53, %r13d
movq 0x30(%rsp), %r15
jmp 0x31e3
movl $0x32, %r13d
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x30(%rsp), %r15
movq %rbx, %rdi
callq 0x2290
movq %r12, %rdi
callq 0x2290
movq %rbp, %rdi
callq 0x2290
leaq 0xd0(%rsp), %rdi
callq 0xda15
xorl %ecx, %ecx
leaq 0x8(%rsp), %r12
movl %r13d, %eax
orl %ecx, %eax
jne 0x3663
movl %ecx, 0x4(%rsp)
movq 0x10(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq %rcx, %rax
shrq $0x3, %rax
leaq 0x4(%rax), %rsi
cmpq %rdx, %rsi
jae 0x3238
movq 0x8(%rsp), %rdx
movl (%rdx,%rax), %esi
andb $0x7, %cl
shrl %cl, %esi
movl %esi, 0x28(%rsp)
movzbl 0x4(%rdx,%rax), %edx
shll $0x18, %edx
movb $0x8, %al
subb %cl, %al
movl %eax, %ecx
shll %cl, %edx
orl %esi, %edx
jmp 0x32a6
movl $0x0, 0x28(%rsp)
cmpq %rdx, %rax
jae 0x3252
movq 0x8(%rsp), %rsi
movzbl (%rsi,%rax), %esi
movl %esi, 0x28(%rsp)
leaq 0x1(%rax), %rsi
cmpq %rdx, %rsi
jae 0x326b
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rsi), %esi
shll $0x8, %esi
orl %esi, 0x28(%rsp)
leaq 0x2(%rax), %rsi
cmpq %rdx, %rsi
jae 0x3284
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rsi), %esi
shll $0x10, %esi
orl %esi, 0x28(%rsp)
addq $0x3, %rax
cmpq %rdx, %rax
jae 0x329d
movq 0x8(%rsp), %rdx
movzbl (%rdx,%rax), %eax
shll $0x18, %eax
orl %eax, 0x28(%rsp)
movl 0x28(%rsp), %edx
andb $0x7, %cl
shrl %cl, %edx
movl %edx, 0x28(%rsp)
movq %r12, %rdi
movq %r14, %rsi
callq 0xd990
cmpl $0xff, %eax
ja 0x32d9
movq (%r15), %rcx
movq 0x8(%r15), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%r15)
movb %al, (%rcx,%rdx)
movq %r12, %rdi
movq %r14, %rsi
callq 0xd990
cmpl $0xff, %eax
ja 0x3341
movl %r13d, %ebp
movq (%r15), %rcx
movq 0x8(%r15), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%r15)
movb %al, (%rcx,%rdx)
movl 0x4(%rsp), %ebx
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rax
subq %rsi, %rax
cmpq $0x103, %rax            # imm = 0x103
ja 0x3323
addq $0x104, %rsi            # imm = 0x104
movq %r15, %rdi
callq 0xd951
testl %eax, %eax
je 0x33e1
movq 0x20(%rsp), %rax
movl $0x3, %r13d
cmpq 0x18(%rsp), %rax
jbe 0x3399
movl %ebx, %ecx
movl $0x33, %ebp
jmp 0x3657
cmpl $0x100, %eax            # imm = 0x100
sete %cl
cmpl $0x11e, %eax            # imm = 0x11E
setae %dl
orb %cl, %dl
jne 0x33b5
addl $0xfffffeff, %eax       # imm = 0xFFFFFEFF
leaq 0x70f0f(%rip), %rcx     # 0x74270
movl (%rcx,%rax,4), %ebx
leaq -0x1c(%rax), %rcx
cmpq $-0x14, %rcx
jb 0x3473
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rdx, %rcx
shrq $0x3, %rcx
leaq 0x3(%rcx), %rdi
cmpq %rsi, %rdi
jae 0x33f3
movq 0x8(%rsp), %rsi
movl (%rsi,%rcx), %esi
jmp 0x3444
movq 0x68(%rsp), %rax
testq %rax, %rax
je 0x33dc
cmpq %rax, 0x8(%r15)
jbe 0x33dc
movl %ebx, %ecx
movl $0x6d, %ebp
jmp 0x3657
movl %r13d, %ebp
movl $0x1, %ebx
cmpl $0x100, %eax            # imm = 0x100
movl 0x4(%rsp), %ecx
je 0x32f9
movl $0x10, %ebp
movl $0x3, %r13d
jmp 0x3657
xorl %r13d, %r13d
jmp 0x33ec
movl $0x53, %ebp
movl $0x3, %r13d
movl %ebx, %ecx
jmp 0x3657
movl $0x0, 0x28(%rsp)
cmpq %rsi, %rcx
jae 0x340d
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rcx), %edi
movl %edi, 0x28(%rsp)
leaq 0x1(%rcx), %rdi
cmpq %rsi, %rdi
jae 0x3427
movq 0x8(%rsp), %r8
movzbl (%r8,%rdi), %edi
shll $0x8, %edi
orl %edi, 0x28(%rsp)
addq $0x2, %rcx
cmpq %rsi, %rcx
jae 0x3440
movq 0x8(%rsp), %rsi
movzbl (%rsi,%rcx), %ecx
shll $0x10, %ecx
orl %ecx, 0x28(%rsp)
movl 0x28(%rsp), %esi
leaq 0x70ea5(%rip), %rcx     # 0x742f0
movl (%rcx,%rax,4), %eax
movl %edx, %ecx
andb $0x7, %cl
shrl %cl, %esi
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %edi
notl %edi
andl %esi, %edi
shrl %cl, %esi
movl %esi, 0x28(%rsp)
addq %rax, %rdx
movq %rdx, 0x20(%rsp)
addq %rdi, %rbx
movq 0x10(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq %rcx, %rax
shrq $0x3, %rax
leaq 0x4(%rax), %rsi
cmpq %rdx, %rsi
jae 0x34b2
movq 0x8(%rsp), %rdx
movl (%rdx,%rax), %esi
andb $0x7, %cl
shrl %cl, %esi
movl %esi, 0x28(%rsp)
movzbl 0x4(%rdx,%rax), %edx
shll $0x18, %edx
movb $0x8, %al
subb %cl, %al
movl %eax, %ecx
shll %cl, %edx
orl %esi, %edx
jmp 0x3520
movl $0x0, 0x28(%rsp)
cmpq %rdx, %rax
jae 0x34cc
movq 0x8(%rsp), %rsi
movzbl (%rsi,%rax), %esi
movl %esi, 0x28(%rsp)
leaq 0x1(%rax), %rsi
cmpq %rdx, %rsi
jae 0x34e5
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rsi), %esi
shll $0x8, %esi
orl %esi, 0x28(%rsp)
leaq 0x2(%rax), %rsi
cmpq %rdx, %rsi
jae 0x34fe
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rsi), %esi
shll $0x10, %esi
orl %esi, 0x28(%rsp)
addq $0x3, %rax
cmpq %rdx, %rax
jae 0x3517
movq 0x8(%rsp), %rdx
movzbl (%rdx,%rax), %eax
shll $0x18, %eax
orl %eax, 0x28(%rsp)
movl 0x28(%rsp), %edx
andb $0x7, %cl
shrl %cl, %edx
movl %edx, 0x28(%rsp)
movq %r12, %rdi
leaq 0x70(%rsp), %rsi
callq 0xd990
cmpl $0x1e, %eax
jb 0x3553
xorl %ecx, %ecx
cmpl $0x20, %eax
setb %cl
leal 0x10(,%rcx,2), %ebp
movl $0x3, %r13d
xorl %r14d, %r14d
jmp 0x3640
movl %eax, %ecx
leaq 0x70e14(%rip), %rdx     # 0x74370
movl (%rdx,%rcx,4), %edx
movl %r13d, %ebp
cmpl $0x4, %eax
jb 0x358d
leaq 0x70e82(%rip), %rax     # 0x743f0
movl (%rax,%rcx,4), %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
movl 0x28(%rsp), %esi
notl %eax
andl %esi, %eax
shrl %cl, %esi
movl %esi, 0x28(%rsp)
addq %rcx, 0x20(%rsp)
addl %eax, %edx
movq %r15, %rcx
movq 0x8(%r15), %r15
movl %edx, %r13d
movq %r15, %r12
subq %r13, %r12
jae 0x35b5
movl $0x34, %ebp
movl $0x3, %r13d
xorl %r14d, %r14d
movq %rcx, %r15
jmp 0x363b
leaq (%r15,%rbx), %rax
movq %rax, 0x8(%rcx)
movq %rbx, %r14
subq %r13, %r14
jbe 0x360a
testq %r13, %r13
je 0x35e1
movq 0x30(%rsp), %rax
movq (%rax), %rdi
leaq (%rdi,%r12), %rsi
addq %r15, %rdi
movq %r13, %rdx
callq 0x21d0
addq %r13, %r15
movq 0x30(%rsp), %rdx
movq (%rdx), %rax
movb (%rax,%r12), %cl
incq %r12
movb %cl, (%rax,%r15)
incq %r15
decq %r14
jne 0x35e9
xorl %r13d, %r13d
movb $0x1, %r14b
movq %rdx, %r15
jmp 0x363b
xorl %r13d, %r13d
movb $0x1, %r14b
testq %rbx, %rbx
je 0x3636
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
addq %rax, %r12
addq %rax, %r15
movq %r15, %rdi
movq %rcx, %r15
movq %r12, %rsi
movq %rbx, %rdx
callq 0x21d0
jmp 0x363b
movq 0x30(%rsp), %r15
leaq 0x8(%rsp), %r12
movl 0x4(%rsp), %ecx
movl %ecx, %ebx
testb %r14b, %r14b
leaq 0xa0(%rsp), %r14
jne 0x32f9
testl %r13d, %r13d
movl %ebp, %r13d
je 0x31ea
movq %r14, %rdi
callq 0xda15
leaq 0x70(%rsp), %rdi
callq 0xda15
movq 0x60(%rsp), %r8
movl 0x3c(%rsp), %edi
movl 0x38(%rsp), %r9d
movl %r13d, %r10d
testl %r10d, %r10d
movq 0x30(%rsp), %r15
jne 0x36b1
movq 0x8(%r8), %rax
testq %rax, %rax
je 0x36ae
cmpq %rax, 0x8(%r15)
movl $0x0, %r10d
movl $0x6d, %eax
cmoval %eax, %r10d
jmp 0x36b1
xorl %r10d, %r10d
xorl %eax, %eax
testl %r10d, %r10d
setne %al
leal (%rax,%rax,2), %eax
leaq 0xa0(%rsp), %r14
testl %eax, %eax
je 0x2dcc
jmp 0x3aae
movq %rbx, %r14
shlq $0x3, %r14
movq %r14, 0x20(%rsp)
xorl %r10d, %r10d
jmp 0x3686
movl $0x480, %edi            # imm = 0x480
callq 0x22a0
movq %rax, %r12
movl $0x80, %edi
callq 0x22a0
testq %r12, %r12
sete %dl
testq %rax, %rax
sete %cl
movl $0x53, %r13d
orb %dl, %cl
jne 0x3a23
movl $0x0, 0x4(%rsp)
movl $0x480, %edx            # imm = 0x480
movq %r12, 0x40(%rsp)
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %r12
callq 0x2140
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movups %xmm0, 0x10(%r12)
movups %xmm0, 0x20(%r12)
movups %xmm0, 0x30(%r12)
movups %xmm0, 0x40(%r12)
movups %xmm0, 0x50(%r12)
movups %xmm0, 0x60(%r12)
movups %xmm0, 0x70(%r12)
movq %r12, %r8
movl 0x50(%rsp), %eax
addl %eax, %r15d
leal 0x102(%rbp), %ecx
movl %ecx, 0x54(%rsp)
movl %eax, %r13d
negl %ebp
movq %rbp, 0x58(%rsp)
movslq %ebp, %rbp
addq $-0x101, %rbp           # imm = 0xFEFF
xorl %r12d, %r12d
movq %r8, 0x48(%rsp)
cmpl %r15d, %r12d
jae 0x3a30
movq 0x10(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq %rcx, %rax
shrq $0x3, %rax
leaq 0x3(%rax), %rsi
cmpq %rdx, %rsi
jae 0x37c1
movq 0x8(%rsp), %rdx
movl (%rdx,%rax), %eax
jmp 0x3811
movl $0x0, 0x28(%rsp)
cmpq %rdx, %rax
jae 0x37db
movq 0x8(%rsp), %rsi
movzbl (%rsi,%rax), %esi
movl %esi, 0x28(%rsp)
leaq 0x1(%rax), %rsi
cmpq %rdx, %rsi
jae 0x37f4
movq 0x8(%rsp), %rdi
movzbl (%rdi,%rsi), %esi
shll $0x8, %esi
orl %esi, 0x28(%rsp)
addq $0x2, %rax
cmpq %rdx, %rax
jae 0x380d
movq 0x8(%rsp), %rdx
movzbl (%rdx,%rax), %eax
shll $0x10, %eax
orl %eax, 0x28(%rsp)
movl 0x28(%rsp), %eax
andb $0x7, %cl
shrl %cl, %eax
movl %eax, 0x28(%rsp)
leaq 0x8(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0xd990
cmpl $0xf, %eax
ja 0x388d
movl 0x50(%rsp), %ecx
cmpl %ecx, %r12d
movl $0x0, %edx
cmovbl %edx, %ecx
movq 0x48(%rsp), %r8
movq %r8, %rdx
cmovbq 0x40(%rsp), %rdx
movl %r12d, %esi
subl %ecx, %esi
movl %eax, (%rdx,%rsi,4)
incl %r12d
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
movl $0x32, %eax
movl 0x4(%rsp), %ecx
cmoval %eax, %ecx
movl %ecx, 0x4(%rsp)
movl $0x0, %ecx
movl $0xb, %eax
cmoval %eax, %ecx
testl %ecx, %ecx
je 0x3794
jmp 0x3a30
cmpl $0x12, %eax
movq 0x48(%rsp), %r8
je 0x397c
cmpl $0x11, %eax
je 0x3929
cmpl $0x10, %eax
jne 0x39cb
testl %r12d, %r12d
je 0x39f7
movl 0x28(%rsp), %eax
movl %eax, %ecx
shrl $0x2, %eax
movl %eax, 0x28(%rsp)
addq $0x2, 0x20(%rsp)
andl $0x3, %ecx
leal -0x1(%r12), %eax
cmpl 0x54(%rsp), %r12d
movq 0x40(%rsp), %rsi
leaq (%rsi,%rax,4), %rax
movq 0x58(%rsp), %rdx
leal -0x102(%r12,%rdx), %edx
leaq (%r8,%rdx,4), %rdx
cmovbq %rax, %rdx
movl (%rdx), %edx
movl %r12d, %eax
leaq (%rsi,%rax,4), %rsi
addl $0x3, %ecx
cmpq %r15, %rax
jae 0x3a08
leal (%rax,%rbp), %edi
cmpq %r13, %rax
leaq (%r8,%rdi,4), %rdi
cmovbq %rsi, %rdi
movl %edx, (%rdi)
incq %rax
addq $0x4, %rsi
decl %ecx
jne 0x3900
jmp 0x3a10
movl 0x28(%rsp), %ecx
movl %ecx, %eax
shrl $0x3, %ecx
movl %ecx, 0x28(%rsp)
addq $0x3, 0x20(%rsp)
andl $0x7, %eax
movl %r12d, %r12d
movq 0x40(%rsp), %rcx
leaq (%rcx,%r12,4), %rcx
addl $0x3, %eax
cmpq %r15, %r12
jae 0x39dd
leal (%r12,%rbp), %edx
cmpq %r13, %r12
leaq (%r8,%rdx,4), %rdx
cmovbq %rcx, %rdx
movl $0x0, (%rdx)
incq %r12
addq $0x4, %rcx
decl %eax
jne 0x394e
jmp 0x3859
movl 0x28(%rsp), %ecx
movl %ecx, %eax
shrl $0x7, %ecx
movl %ecx, 0x28(%rsp)
addq $0x7, 0x20(%rsp)
andl $0x7f, %eax
movl %r12d, %r12d
movq 0x40(%rsp), %rcx
leaq (%rcx,%r12,4), %rcx
addl $0xb, %eax
cmpq %r15, %r12
jae 0x39ea
leal (%r12,%rbp), %edx
cmpq %r13, %r12
leaq (%r8,%rdx,4), %rdx
cmovbq %rcx, %rdx
movl $0x0, (%rdx)
incq %r12
addq $0x4, %rcx
decl %eax
jne 0x39a1
jmp 0x3859
movl $0xb, %ecx
movl $0x10, 0x4(%rsp)
jmp 0x3880
movl $0xe, 0x4(%rsp)
jmp 0x3859
movl $0xf, 0x4(%rsp)
jmp 0x3859
movl $0xb, %ecx
xorl %eax, %eax
movl $0x36, 0x4(%rsp)
jmp 0x3a12
movl $0xd, 0x4(%rsp)
xorl %ecx, %ecx
testl %r12d, %r12d
movl %eax, %r12d
jne 0x3859
jmp 0x3880
movq 0x30(%rsp), %r15
movq %rax, %rbp
jmp 0x31be
movl 0x4(%rsp), %r13d
testl %r13d, %r13d
movq 0x30(%rsp), %r15
je 0x3a4c
movq 0x40(%rsp), %r12
movq %r8, %rbp
jmp 0x31be
movq 0x40(%rsp), %r12
cmpl $0x0, 0x400(%r12)
je 0x3a7a
movl $0x120, %edx            # imm = 0x120
movq %r14, %rdi
movq %r12, %rsi
movl $0xf, %ecx
callq 0xdb34
testl %eax, %eax
je 0x3a8a
movl %eax, %r13d
jmp 0x3a80
movl $0x40, %r13d
movq 0x48(%rsp), %rbp
jmp 0x31be
movl $0x20, %edx
leaq 0x70(%rsp), %rdi
movq 0x48(%rsp), %rbp
movq %rbp, %rsi
movl $0xf, %ecx
callq 0xdb34
movl %eax, %r13d
jmp 0x31be
cmpl $0x3, %eax
jne 0x3ab6
movl %r10d, %edi
movl %edi, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq