// File: /workspace/github_cpp_makefile_star2_O1/lunasorcery[P]brailify/./stb/stb_image_resize.h
// Function: stbir__resize_arbitrary(void*, void const*, int, int, int, void*, int, int, int, float, float, float, float, float*, int, int, unsigned int, stbir_datatype, stbir_filter, stbir_filter, stbir_edge, stbir_edge, stbir_colorspace)
static int stbir__resize_arbitrary(
    void *alloc_context,
    const void* input_data, int input_w, int input_h, int input_stride_in_bytes,
    void* output_data, int output_w, int output_h, int output_stride_in_bytes,
    float s0, float t0, float s1, float t1, float *transform,
    int channels, int alpha_channel, stbir_uint32 flags, stbir_datatype type,
    stbir_filter h_filter, stbir_filter v_filter,
    stbir_edge edge_horizontal, stbir_edge edge_vertical, stbir_colorspace colorspace)
{
    stbir__info info;
    int result;
    size_t memory_required;
    void* extra_memory;

    stbir__setup(&info, input_w, input_h, output_w, output_h, channels);
    stbir__calculate_transform(&info, s0,t0,s1,t1,transform);
    stbir__choose_filter(&info, h_filter, v_filter);
    memory_required = stbir__calculate_memory(&info);
    extra_memory = STBIR_MALLOC(memory_required, alloc_context);

    if (!extra_memory)
        return 0;

    result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
                                            output_data, output_stride_in_bytes, 
                                            alpha_channel, flags, type,
                                            edge_horizontal, edge_vertical,
                                            colorspace, extra_memory, memory_required);

    STBIR_FREE(extra_memory, alloc_context);

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %r8, %r12
movl %ecx, -0x30(%rbp)
movq %rdi, %r14
movl 0x50(%rbp), %eax
movl 0x48(%rbp), %ecx
movq 0x20(%rbp), %r8
movl 0x10(%rbp), %edi
movl 0x28(%rbp), %r10d
movl %esi, -0x188(%rbp)
movl %edx, -0x184(%rbp)
movl %r9d, -0x170(%rbp)
movl %edi, -0x16c(%rbp)
movl %r10d, -0x144(%rbp)
movss %xmm0, -0x164(%rbp)
movss %xmm1, -0x160(%rbp)
movss %xmm2, -0x15c(%rbp)
movss %xmm3, -0x158(%rbp)
testq %r8, %r8
je 0x30a1
movss (%r8), %xmm0
movss %xmm0, -0x14c(%rbp)
movss 0x4(%r8), %xmm0
movss %xmm0, -0x148(%rbp)
movss 0x8(%r8), %xmm0
movss %xmm0, -0x154(%rbp)
movss 0xc(%r8), %xmm4
jmp 0x30fb
cvtsi2ss %r9d, %xmm5
cvtsi2ss %esi, %xmm4
movaps %xmm5, %xmm6
divss %xmm4, %xmm6
xorps %xmm4, %xmm4
cvtsi2ss %edi, %xmm4
subss %xmm0, %xmm2
cvtsi2ss %edx, %xmm7
divss %xmm2, %xmm6
movss %xmm6, -0x14c(%rbp)
movaps %xmm4, %xmm6
divss %xmm7, %xmm6
subss %xmm1, %xmm3
divss %xmm3, %xmm6
movss %xmm6, -0x148(%rbp)
mulss %xmm0, %xmm5
divss %xmm2, %xmm5
movss %xmm5, -0x154(%rbp)
mulss %xmm1, %xmm4
divss %xmm3, %xmm4
leaq -0x190(%rbp), %rdi
movss %xmm4, 0x40(%rdi)
movss 0x44(%rdi), %xmm0
movss 0x13ef4(%rip), %xmm1    # 0x17008
xorl %edx, %edx
ucomiss %xmm1, %xmm0
setbe %dl
orl $0x4, %edx
testl %ecx, %ecx
cmovnel %ecx, %edx
movss 0x48(%rdi), %xmm0
xorl %ecx, %ecx
ucomiss %xmm1, %xmm0
setbe %cl
orl $0x4, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
movl %edx, 0x5c(%rdi)
movl %ecx, 0x60(%rdi)
callq 0x130a0
movl %eax, %r15d
movq %r15, %rdi
callq 0x1120
testq %rax, %rax
je 0x34ac
movq %rax, %rbx
movl 0x18(%rbp), %r13d
leaq -0x190(%rbp), %rdi
callq 0x130a0
cmpl $0x0, -0x30(%rbp)
jne 0x3192
movl -0x188(%rbp), %ecx
imull -0x144(%rbp), %ecx
movl 0x40(%rbp), %edx
leaq 0x13f18(%rip), %rsi     # 0x170a0
movzbl (%rdx,%rsi), %edx
imull %ecx, %edx
movl %edx, -0x30(%rbp)
testl %r13d, %r13d
jne 0x31b7
movl -0x170(%rbp), %ecx
imull -0x144(%rbp), %ecx
movl 0x40(%rbp), %edx
leaq 0x13ef2(%rip), %rsi     # 0x170a0
movzbl (%rdx,%rsi), %r13d
imull %ecx, %r13d
movl -0x144(%rbp), %ecx
testl %ecx, %ecx
js 0x40c8
movq %r14, -0x60(%rbp)
cmpl $0x41, %ecx
jge 0x40e7
movl -0x134(%rbp), %r14d
cmpq $0x6, %r14
jae 0x4106
movq %r12, -0x38(%rbp)
movq %rbx, -0x1c0(%rbp)
cmpl $0x6, -0x130(%rbp)
jae 0x4125
movq %r15, %rdi
movl 0x38(%rbp), %edx
movl 0x30(%rbp), %r12d
movl %edx, %r15d
orl $0x3, %r15d
testl %r12d, %r12d
cmovnsl %edx, %r15d
movl %r15d, %edx
notl %edx
testb $0x3, %dl
sete %dl
cmpl %r12d, %ecx
seta %sil
orb %dl, %sil
je 0x4144
xorl %ebx, %ebx
cmpl %r12d, %ecx
jle 0x402c
movq %rdi, %rcx
cmpl %ecx, %eax
ja 0x4163
movq -0x1c0(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movq %rcx, %rdx
movq %rcx, -0x48(%rbp)
callq 0x1070
movq -0x60(%rbp), %rax
movq %rax, -0x190(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0x180(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x178(%rbp)
movl %r13d, -0x168(%rbp)
movl %r12d, -0x140(%rbp)
movl %r15d, -0x13c(%rbp)
movl 0x40(%rbp), %eax
movl %eax, -0x138(%rbp)
movl 0x58(%rbp), %eax
movl %eax, -0x12c(%rbp)
movl 0x60(%rbp), %eax
movl %eax, -0x128(%rbp)
movl 0x68(%rbp), %eax
movl %eax, -0x124(%rbp)
movss -0x14c(%rbp), %xmm1
shlq $0x4, %r14
leaq 0x19a89(%rip), %r15     # 0x1cd50
movss 0x13d39(%rip), %xmm0    # 0x17008
movaps %xmm0, %xmm2
divss %xmm1, %xmm2
cmpnltss %xmm1, %xmm0
movaps %xmm0, %xmm3
andnps %xmm2, %xmm3
andps %xmm1, %xmm0
orps %xmm3, %xmm0
callq *0x8(%r14,%r15)
addss %xmm0, %xmm0
callq 0x1080
cvttss2si %xmm0, %eax
movl %eax, -0xe8(%rbp)
movl -0x130(%rbp), %eax
movss -0x148(%rbp), %xmm1
shlq $0x4, %rax
movss 0x13cef(%rip), %xmm0    # 0x17008
movaps %xmm0, %xmm2
divss %xmm1, %xmm2
cmpnltss %xmm1, %xmm0
movaps %xmm0, %xmm3
andnps %xmm2, %xmm3
andps %xmm1, %xmm0
orps %xmm3, %xmm0
callq *0x8(%rax,%r15)
addss %xmm0, %xmm0
callq 0x1080
cvttss2si %xmm0, %eax
movl %eax, -0xe4(%rbp)
movl -0x134(%rbp), %edi
movss -0x14c(%rbp), %xmm0
callq 0x1333f
movl %eax, -0xe0(%rbp)
movl -0x130(%rbp), %edi
movss -0x148(%rbp), %xmm0
callq 0x1333f
movl %eax, -0xdc(%rbp)
movl -0x134(%rbp), %edi
movss -0x14c(%rbp), %xmm0
callq 0x1333f
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, -0xd8(%rbp)
movl -0x130(%rbp), %edi
movss -0x148(%rbp), %xmm0
callq 0x1333f
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, -0xd4(%rbp)
movl -0x188(%rbp), %ecx
movl -0x170(%rbp), %r8d
movl -0x144(%rbp), %eax
imull %r8d, %eax
shll $0x2, %eax
movl %eax, -0xc8(%rbp)
movl -0xd8(%rbp), %eax
leal (%rcx,%rax,2), %eax
movl %eax, -0x100(%rbp)
movq %rbx, -0x120(%rbp)
movslq -0xa8(%rbp), %rsi
addq %rbx, %rsi
movq %rsi, -0x118(%rbp)
movslq -0xa4(%rbp), %rax
addq %rsi, %rax
movq %rax, -0x110(%rbp)
movslq -0xa0(%rbp), %rdi
addq %rax, %rdi
movq %rdi, -0x108(%rbp)
movslq -0x9c(%rbp), %rdx
addq %rdi, %rdx
movq %rdx, -0xf8(%rbp)
movss -0x148(%rbp), %xmm0
movq %rbx, %rax
addq -0x48(%rbp), %rax
ucomiss 0x13bb9(%rip), %xmm0    # 0x17008
ja 0x34b3
movslq -0x98(%rbp), %rdi
addq %rdi, %rdx
movq %rdx, -0xf0(%rbp)
movslq -0x94(%rbp), %rdi
addq %rdx, %rdi
movq %rdi, -0xb8(%rbp)
movq $0x0, -0xb0(%rbp)
movslq -0x90(%rbp), %rdx
addq %rdi, %rdx
cmpq %rdx, %rax
je 0x34f3
leaq 0x1575d(%rip), %rdi     # 0x18bf1
leaq 0x153dd(%rip), %rsi     # 0x18878
leaq 0x155ae(%rip), %rcx     # 0x18a50
movl $0x94f, %edx            # imm = 0x94F
callq 0x1090
xorl %ebx, %ebx
jmp 0x4038
movq $0x0, -0xf0(%rbp)
movslq -0x98(%rbp), %rdi
addq %rdi, %rdx
movq %rdx, -0xb8(%rbp)
movslq -0x90(%rbp), %rdi
addq %rdx, %rdi
movq %rdi, -0xb0(%rbp)
movslq -0x8c(%rbp), %rdx
addq %rdi, %rdx
cmpq %rdx, %rax
jne 0x4182
movl $0xffffffff, -0xbc(%rbp) # imm = 0xFFFFFFFF
movl -0x134(%rbp), %edx
movss -0x154(%rbp), %xmm1
movss -0x14c(%rbp), %xmm0
movq %rbx, %rdi
callq 0x13676
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
movl -0x130(%rbp), %edx
movss -0x148(%rbp), %xmm0
movss -0x150(%rbp), %xmm1
movl -0x184(%rbp), %ecx
movl -0x16c(%rbp), %r8d
callq 0x13676
movss -0x148(%rbp), %xmm1
ucomiss 0x13aa8(%rip), %xmm1    # 0x17008
movss %xmm1, -0x64(%rbp)
ja 0x39e1
movl -0x16c(%rbp), %eax
movl %eax, -0x198(%rbp)
movl -0x130(%rbp), %eax
shlq $0x4, %rax
movaps %xmm1, %xmm0
callq *0x8(%rax,%r15)
movss %xmm0, -0x80(%rbp)
movss -0x148(%rbp), %xmm0
ucomiss 0x13a6b(%rip), %xmm0    # 0x17008
ja 0x41a1
movl -0xd4(%rbp), %eax
movl -0x184(%rbp), %ecx
addl %eax, %ecx
negl %eax
movl %ecx, -0x1a0(%rbp)
cmpl %eax, %ecx
jle 0x39cd
movss -0x80(%rbp), %xmm0
divss -0x64(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
movl %eax, -0x50(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
movss -0x150(%rbp), %xmm1
addss 0x13a22(%rip), %xmm0    # 0x1700c
movss -0x80(%rbp), %xmm2
movaps %xmm2, %xmm3
addss %xmm0, %xmm3
subss %xmm2, %xmm0
movss -0x64(%rbp), %xmm2
mulss %xmm2, %xmm0
subss %xmm1, %xmm0
mulss %xmm2, %xmm3
subss %xmm1, %xmm3
movss %xmm3, -0x30(%rbp)
cvtss2sd %xmm0, %xmm0
addsd 0x14710(%rip), %xmm0    # 0x17d30
callq 0x11b0
cvttsd2si %xmm0, %r15d
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
addsd 0x146fe(%rip), %xmm0    # 0x17d38
callq 0x11b0
cvttsd2si %xmm0, %ebx
movl %ebx, %eax
subl %r15d, %eax
cmpl -0xdc(%rbp), %eax
jg 0x408a
testl %ebx, %ebx
js 0x39bc
cmpl %r15d, -0x198(%rbp)
jle 0x39bc
leaq -0x190(%rbp), %r14
movq %r14, %rdi
movl %r15d, %esi
callq 0x161d9
movq %r14, %rdi
movl -0x50(%rbp), %esi
callq 0x14154
movq -0xf0(%rbp), %rdi
movslq -0x170(%rbp), %rax
movslq -0x144(%rbp), %rdx
imulq %rax, %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x1070
movss -0x14c(%rbp), %xmm0
ucomiss 0x1394f(%rip), %xmm0    # 0x17008
movq -0xf0(%rbp), %rsi
movq %r14, %rdi
ja 0x36cc
callq 0x155de
jmp 0x36d1
callq 0x150ba
cmpl $0x0, -0xbc(%rbp)
jns 0x36e9
leaq -0x190(%rbp), %rdi
movl %r15d, %esi
callq 0x15535
movl -0xc0(%rbp), %esi
cmpl %ebx, %esi
jge 0x36fa
incl %esi
movq %r14, %rdi
jmp 0x36e4
movss -0x148(%rbp), %xmm0
ucomiss 0x138ff(%rip), %xmm0    # 0x17008
ja 0x40a9
movq -0x110(%rbp), %rax
movslq -0xd4(%rbp), %rdx
movslq -0x50(%rbp), %rcx
addq %rdx, %rcx
movl (%rax,%rcx,8), %esi
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x30(%rbp)
cmpl %eax, %esi
jg 0x39bc
movl -0x170(%rbp), %r8d
movq -0x108(%rbp), %rax
movq %rax, -0x60(%rbp)
movl -0x144(%rbp), %r10d
movl -0xdc(%rbp), %eax
movl %eax, -0x38(%rbp)
movq -0xf0(%rbp), %r15
movq -0xb8(%rbp), %rdx
movl -0xbc(%rbp), %eax
movl -0xc8(%rbp), %edi
sarl $0x2, %edi
movl %edi, -0x58(%rbp)
imull -0xe4(%rbp), %ecx
subl %esi, %ecx
subl -0xc4(%rbp), %eax
movq %rax, -0x88(%rbp)
incl -0x30(%rbp)
movq %r8, %rbx
shlq $0x4, %rbx
leaq 0xc(%rdx), %rax
movq %rax, -0x1b8(%rbp)
leaq (,%r8,4), %rax
leaq (%rax,%rax,2), %r9
leaq 0x8(%rdx), %rax
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x48(%rbp)
leaq 0x4(%rdx), %rax
movq %rax, -0x1a8(%rbp)
leal -0x1(%r10), %r11d
leal (%rcx,%rsi), %eax
cltq
movq -0x60(%rbp), %rdx
movss (%rdx,%rax,4), %xmm0
movq -0x88(%rbp), %rax
addl %esi, %eax
cltd
idivl -0x38(%rbp)
imull -0x58(%rbp), %edx
movslq %edx, %rdx
movq -0x48(%rbp), %rax
leaq (%rax,%rdx,4), %rax
cmpl $0x3, %r11d
ja 0x396b
leaq 0x13958(%rip), %r14     # 0x17160
movslq (%r14,%r11,4), %rdi
addq %r14, %rdi
jmpq *%rdi
testl %r8d, %r8d
jle 0x39b0
xorl %edx, %edx
movss (%r15,%rdx,4), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx,4), %xmm1
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %r8
jne 0x381c
jmp 0x39b0
testl %r8d, %r8d
jle 0x39b0
movq -0x1b0(%rbp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x8(%rax,%rdx), %xmm1
movss %xmm1, -0x8(%rax,%rdx)
movss 0x4(%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx), %xmm1
movss %xmm1, -0x4(%rax,%rdx)
movss 0x8(%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx), %xmm1
movss %xmm1, (%rax,%rdx)
addq $0xc, %rdx
cmpq %rdx, %r9
jne 0x3853
jmp 0x39b0
testl %r8d, %r8d
jle 0x39b0
movq -0x1b8(%rbp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0xc(%rax,%rdx), %xmm1
movss %xmm1, -0xc(%rax,%rdx)
movss 0x4(%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x8(%rax,%rdx), %xmm1
movss %xmm1, -0x8(%rax,%rdx)
movss 0x8(%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx), %xmm1
movss %xmm1, -0x4(%rax,%rdx)
movss 0xc(%r15,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx), %xmm1
movss %xmm1, (%rax,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rbx
jne 0x38b9
jmp 0x39b0
testl %r8d, %r8d
jle 0x39b0
movq -0x1a8(%rbp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r15,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx,8), %xmm1
movss %xmm1, -0x4(%rax,%rdx,8)
movss 0x4(%r15,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx,8), %xmm1
movss %xmm1, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %r8
jne 0x3936
jmp 0x39b0
testl %r8d, %r8d
jle 0x39b0
xorl %edx, %edx
xorl %r14d, %r14d
testl %r10d, %r10d
jle 0x39a5
movl %edx, %edi
leaq (%rax,%rdi,4), %r12
leaq (%r15,%rdi,4), %rdi
xorl %r13d, %r13d
movss (%rdi,%r13,4), %xmm1
mulss %xmm0, %xmm1
addss (%r12,%r13,4), %xmm1
movss %xmm1, (%r12,%r13,4)
incq %r13
cmpq %r13, %r10
jne 0x3987
incq %r14
addl %r10d, %edx
cmpq %r8, %r14
jne 0x3975
incq %rsi
cmpl %esi, -0x30(%rbp)
jne 0x37cd
movl -0x50(%rbp), %eax
incl %eax
cmpl -0x1a0(%rbp), %eax
jne 0x35d0
leaq -0x190(%rbp), %rdi
movl 0x24(%rdi), %esi
callq 0x161d9
jmp 0x4027
movl -0x130(%rbp), %eax
shlq $0x4, %rax
movss 0x13615(%rip), %xmm0    # 0x17008
divss %xmm1, %xmm0
callq *0x8(%rax,%r15)
movss %xmm0, -0x68(%rbp)
movss -0x148(%rbp), %xmm0
ucomiss 0x135f8(%rip), %xmm0    # 0x17008
jbe 0x41c0
movl $0x1, %ebx
cmpl $0x0, -0x16c(%rbp)
jle 0x402c
movss -0x68(%rbp), %xmm0
mulss -0x64(%rbp), %xmm0
movss %xmm0, -0x68(%rbp)
xorl %r15d, %r15d
leaq -0x190(%rbp), %r13
xorps %xmm0, %xmm0
cvtsi2ss %r15d, %xmm0
movss -0x150(%rbp), %xmm1
addss 0x135b3(%rip), %xmm0    # 0x1700c
movss -0x68(%rbp), %xmm2
movaps %xmm2, %xmm3
addss %xmm0, %xmm3
subss %xmm2, %xmm0
addss %xmm1, %xmm0
movss -0x64(%rbp), %xmm2
divss %xmm2, %xmm0
addss %xmm1, %xmm3
divss %xmm2, %xmm3
movss %xmm3, -0x30(%rbp)
cvtss2sd %xmm0, %xmm0
addsd 0x142a1(%rip), %xmm0    # 0x17d30
callq 0x11b0
cvttsd2si %xmm0, %ebx
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
addsd 0x14290(%rip), %xmm0    # 0x17d38
callq 0x11b0
cvttsd2si %xmm0, %r14d
movl %r14d, %eax
subl %ebx, %eax
movl -0xdc(%rbp), %ecx
cmpl %ecx, %eax
jg 0x404c
cmpl $0x0, -0xbc(%rbp)
js 0x3b2d
movl -0xc4(%rbp), %esi
cmpl %ebx, %esi
jge 0x3b2d
movl -0xbc(%rbp), %edx
movl %ebx, %edi
negl %edi
incl %esi
xorl %r8d, %r8d
subl -0xc0(%rbp), %r8d
leal (%r8,%rsi), %eax
cmpl $0x1, %eax
je 0x3b18
movl %esi, -0xc4(%rbp)
incl %edx
movl %edx, %eax
cltd
idivl %ecx
movl %edx, -0xbc(%rbp)
leal (%rdi,%rsi), %eax
incl %eax
incl %esi
cmpl $0x1, %eax
jne 0x3aee
jmp 0x3b2d
movl $0xffffffff, -0xbc(%rbp) # imm = 0xFFFFFFFF
movq $0x0, -0xc4(%rbp)
cmpl $0x0, -0xbc(%rbp)
jns 0x3b40
movq %r13, %rdi
movl %ebx, %esi
callq 0x140ff
movl -0xc0(%rbp), %esi
cmpl %r14d, %esi
jge 0x3b52
incl %esi
movq %r13, %rdi
jmp 0x3b3b
movq %r15, -0x88(%rbp)
movss -0x148(%rbp), %xmm0
ucomiss 0x134a0(%rip), %xmm0    # 0x17008
jbe 0x406b
movslq -0x170(%rbp), %r15
movl %r15d, %r12d
movq -0x110(%rbp), %rax
movq -0x108(%rbp), %rcx
movq %rcx, -0x78(%rbp)
movslq -0x144(%rbp), %rsi
movl %esi, %r13d
movl -0x140(%rbp), %ecx
movl %ecx, -0x1b8(%rbp)
movl -0x138(%rbp), %ecx
movq %rcx, -0x1b0(%rbp)
movslq -0xe4(%rbp), %rdi
movl -0xc8(%rbp), %ecx
sarl $0x2, %ecx
movl %ecx, -0x60(%rbp)
movq -0x88(%rbp), %rcx
movslq %ecx, %rdx
movq %rdx, -0x1a8(%rbp)
imulq %rdx, %rdi
movq %rdi, -0x70(%rbp)
movl 0x4(%rax,%rcx,8), %edx
movq %rdx, -0x58(%rbp)
movl (%rax,%rcx,8), %ebx
movq %r15, %rdx
movq %rsi, -0x50(%rbp)
imulq %rsi, %rdx
shlq $0x2, %rdx
movl -0x124(%rbp), %eax
movq %rax, -0x1a0(%rbp)
movl -0xdc(%rbp), %eax
movl %eax, -0x48(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xb0(%rbp), %r14
movq -0xb8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0xbc(%rbp), %eax
movq %rax, -0x38(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, -0x3c(%rbp)
movslq -0x168(%rbp), %rax
movq %rax, -0x198(%rbp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x1070
leal -0x1(%r13), %eax
cmpl $0x3, %eax
ja 0x3f1f
leaq 0x134eb(%rip), %rcx     # 0x17150
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x58(%rbp), %rdi
cmpl %edi, %ebx
movq -0x50(%rbp), %r8
movl -0x48(%rbp), %r9d
movq -0x38(%rbp), %r10
jg 0x3fc7
subl -0x3c(%rbp), %r10d
movslq -0x70(%rbp), %rax
subl %ebx, %edi
incl %edi
movq -0x78(%rbp), %rcx
leaq (%rcx,%rax,4), %rcx
xorl %esi, %esi
leal (%r10,%rbx), %eax
cltd
idivl %r9d
testl %r12d, %r12d
jle 0x3cdc
imull -0x60(%rbp), %edx
movslq %edx, %rax
movq -0x30(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
movss (%rcx,%rsi,4), %xmm0
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm1
mulss %xmm0, %xmm1
addss (%r14,%rdx,4), %xmm1
movss %xmm1, (%r14,%rdx,4)
incq %rdx
cmpq %rdx, %r12
jne 0x3cbf
incq %rsi
incl %ebx
cmpq %rdi, %rsi
jne 0x3c9c
jmp 0x3fc7
movq -0x58(%rbp), %r9
cmpl %r9d, %ebx
movq -0x50(%rbp), %r8
movl -0x48(%rbp), %r10d
movq -0x38(%rbp), %r11
jg 0x3fc7
subl -0x3c(%rbp), %r11d
movslq -0x70(%rbp), %rax
subl %ebx, %r9d
incl %r9d
movq -0x78(%rbp), %rcx
leaq (%rcx,%rax,4), %rcx
movq %r12, %rax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rsi
addq $0x8, -0x30(%rbp)
xorl %edi, %edi
leal (%r11,%rbx), %eax
cltd
idivl %r10d
testl %r12d, %r12d
jle 0x3d9d
imull -0x60(%rbp), %edx
movslq %edx, %rax
movss (%rcx,%rdi,4), %xmm0
movq -0x30(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0x8(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%r14,%rdx), %xmm1
movss %xmm1, (%r14,%rdx)
movss -0x4(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%r14,%rdx), %xmm1
movss %xmm1, 0x4(%r14,%rdx)
movss (%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x8(%r14,%rdx), %xmm1
movss %xmm1, 0x8(%r14,%rdx)
addq $0xc, %rdx
cmpq %rdx, %rsi
jne 0x3d4f
incq %rdi
incl %ebx
cmpq %r9, %rdi
jne 0x3d2c
jmp 0x3fc7
movq -0x58(%rbp), %r9
cmpl %r9d, %ebx
movq -0x50(%rbp), %r8
movl -0x48(%rbp), %r10d
movq -0x38(%rbp), %r11
jg 0x3fc7
subl -0x3c(%rbp), %r11d
subl %ebx, %r9d
incl %r9d
movq -0x78(%rbp), %rax
movq -0x70(%rbp), %rcx
leaq (%rax,%rcx,4), %rcx
movq %r12, %rsi
shlq $0x4, %rsi
addq $0xc, -0x30(%rbp)
xorl %edi, %edi
leal (%r11,%rbx), %eax
cltd
idivl %r10d
testl %r12d, %r12d
jle 0x3e72
imull -0x60(%rbp), %edx
movslq %edx, %rax
movss (%rcx,%rdi,4), %xmm0
movq -0x30(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0xc(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%r14,%rdx), %xmm1
movss %xmm1, (%r14,%rdx)
movss -0x8(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%r14,%rdx), %xmm1
movss %xmm1, 0x4(%r14,%rdx)
movss -0x4(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x8(%r14,%rdx), %xmm1
movss %xmm1, 0x8(%r14,%rdx)
movss (%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0xc(%r14,%rdx), %xmm1
movss %xmm1, 0xc(%r14,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rsi
jne 0x3e0c
incq %rdi
incl %ebx
cmpq %r9, %rdi
jne 0x3de9
jmp 0x3fc7
movq -0x58(%rbp), %rdi
cmpl %edi, %ebx
movq -0x50(%rbp), %r8
movl -0x48(%rbp), %r9d
movq -0x38(%rbp), %r10
jg 0x3fc7
subl -0x3c(%rbp), %r10d
movslq -0x70(%rbp), %rax
subl %ebx, %edi
incl %edi
movq -0x78(%rbp), %rcx
leaq (%rcx,%rax,4), %rcx
addq $0x4, -0x30(%rbp)
xorl %esi, %esi
leal (%r10,%rbx), %eax
cltd
idivl %r9d
testl %r12d, %r12d
jle 0x3f10
imull -0x60(%rbp), %edx
movslq %edx, %rax
movss (%rcx,%rsi,4), %xmm0
movq -0x30(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0x4(%rax,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss (%r14,%rdx,8), %xmm1
movss %xmm1, (%r14,%rdx,8)
movss (%rax,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%r14,%rdx,8), %xmm1
movss %xmm1, 0x4(%r14,%rdx,8)
incq %rdx
cmpq %rdx, %r12
jne 0x3edb
incq %rsi
incl %ebx
cmpq %rdi, %rsi
jne 0x3eb8
jmp 0x3fc7
movq -0x58(%rbp), %rcx
cmpl %ecx, %ebx
movq -0x50(%rbp), %r8
movl -0x48(%rbp), %edi
movq -0x38(%rbp), %rdx
jg 0x3fc7
subl -0x3c(%rbp), %edx
movslq -0x70(%rbp), %rax
subl %ebx, %ecx
incl %ecx
movq -0x78(%rbp), %rsi
leaq (%rsi,%rax,4), %rax
movq %rax, -0x58(%rbp)
xorl %esi, %esi
movq %rdx, -0x38(%rbp)
leal (%rdx,%rbx), %eax
cltd
idivl %edi
testl %r12d, %r12d
jle 0x3fb6
imull -0x60(%rbp), %edx
movslq %edx, %rax
movq -0x58(%rbp), %rdx
movss (%rdx,%rsi,4), %xmm0
movq -0x30(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
xorl %edi, %edi
testl %r13d, %r13d
jle 0x3fab
movl %edx, %r9d
leaq (%r14,%r9,4), %r11
leaq (%rax,%r9,4), %r9
xorl %r10d, %r10d
movss (%r9,%r10,4), %xmm1
mulss %xmm0, %xmm1
addss (%r11,%r10,4), %xmm1
movss %xmm1, (%r11,%r10,4)
incq %r10
cmpq %r10, %r13
jne 0x3f8d
incq %rdi
addl %r8d, %edx
cmpq %r15, %rdi
jne 0x3f7a
incq %rsi
incl %ebx
cmpq %rcx, %rsi
movl -0x48(%rbp), %edi
movq -0x38(%rbp), %rdx
jne 0x3f53
movq -0x198(%rbp), %rax
imulq -0x1a8(%rbp), %rax
movq -0x80(%rbp), %rdx
addq %rax, %rdx
movq -0x1b0(%rbp), %rax
movq -0x1a0(%rbp), %rcx
leal (%rcx,%rax,2), %eax
movl %eax, (%rsp)
leaq -0x190(%rbp), %r13
movq %r13, %rdi
movl %r12d, %esi
movq %r14, %rcx
movl -0x1b8(%rbp), %r9d
callq 0x15a91
movq -0x88(%rbp), %r15
incq %r15
movslq -0x16c(%rbp), %rax
cmpq %rax, %r15
jl 0x3a41
movl $0x1, %ebx
movq -0x1c0(%rbp), %rdi
callq 0x10f0
movl %ebx, %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14fe4(%rip), %rdi     # 0x19037
leaq 0x1481e(%rip), %rsi     # 0x18878
leaq 0x14fa6(%rip), %rcx     # 0x19007
movl $0x818, %edx            # imm = 0x818
callq 0x1090
leaq 0x15396(%rip), %rdi     # 0x19408
leaq 0x147ff(%rip), %rsi     # 0x18878
leaq 0x152eb(%rip), %rcx     # 0x1936b
movl $0x760, %edx            # imm = 0x760
callq 0x1090
leaq 0x153d2(%rip), %rdi     # 0x19463
leaq 0x147e0(%rip), %rsi     # 0x18878
leaq 0x15392(%rip), %rcx     # 0x19431
movl $0x87d, %edx            # imm = 0x87D
callq 0x1090
leaq 0x15357(%rip), %rdi     # 0x19407
leaq 0x147c1(%rip), %rsi     # 0x18878
leaq 0x153f7(%rip), %rcx     # 0x194b5
movl $0x7ce, %edx            # imm = 0x7CE
callq 0x1090
leaq 0x1496d(%rip), %rdi     # 0x18a3c
leaq 0x147a2(%rip), %rsi     # 0x18878
leaq 0x14973(%rip), %rcx     # 0x18a50
movl $0x8ff, %edx            # imm = 0x8FF
callq 0x1090
leaq 0x14a0a(%rip), %rdi     # 0x18af8
leaq 0x14783(%rip), %rsi     # 0x18878
leaq 0x14954(%rip), %rcx     # 0x18a50
movl $0x900, %edx            # imm = 0x900
callq 0x1090
leaq 0x147b8(%rip), %rdi     # 0x188c5
leaq 0x14764(%rip), %rsi     # 0x18878
leaq 0x14935(%rip), %rcx     # 0x18a50
movl $0x905, %edx            # imm = 0x905
callq 0x1090
leaq 0x14819(%rip), %rdi     # 0x18945
leaq 0x14745(%rip), %rsi     # 0x18878
leaq 0x14916(%rip), %rcx     # 0x18a50
movl $0x906, %edx            # imm = 0x906
callq 0x1090
leaq 0x149c2(%rip), %rdi     # 0x18b0d
leaq 0x14726(%rip), %rsi     # 0x18878
leaq 0x148f7(%rip), %rcx     # 0x18a50
movl $0x911, %edx            # imm = 0x911
callq 0x1090
leaq 0x149d8(%rip), %rdi     # 0x18b42
leaq 0x14707(%rip), %rsi     # 0x18878
leaq 0x148d8(%rip), %rcx     # 0x18a50
movl $0x91b, %edx            # imm = 0x91B
callq 0x1090
leaq 0x149e2(%rip), %rdi     # 0x18b6b
leaq 0x146e8(%rip), %rsi     # 0x18878
leaq 0x148b9(%rip), %rcx     # 0x18a50
movl $0x947, %edx            # imm = 0x947
callq 0x1090
leaq 0x1525f(%rip), %rdi     # 0x19407
leaq 0x146c9(%rip), %rsi     # 0x18878
leaq 0x1527b(%rip), %rcx     # 0x19431
movl $0x874, %edx            # imm = 0x874
callq 0x1090
leaq 0x15241(%rip), %rdi     # 0x19408
leaq 0x146aa(%rip), %rsi     # 0x18878
leaq 0x14e32(%rip), %rcx     # 0x19007
movl $0x80f, %edx            # imm = 0x80F
callq 0x1090