// File: /workspace/github_c_makefile_star2_O3/algorithm-archivists[P]GathVL/src/objects/../../include/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %r8, %r13
movl %ecx, 0x20(%rsp)
movq %rdi, %r14
movl 0x260(%rsp), %eax
movl 0x258(%rsp), %ecx
movq 0x230(%rsp), %rdi
movl 0x220(%rsp), %r8d
movl 0x238(%rsp), %r10d
movl %esi, 0xc8(%rsp)
movl %edx, 0xcc(%rsp)
movl %r9d, 0xe0(%rsp)
movl %r8d, 0xe4(%rsp)
movl %r10d, 0x10c(%rsp)
movss %xmm0, 0xec(%rsp)
movss %xmm1, 0xf0(%rsp)
movss %xmm2, 0xf4(%rsp)
movss %xmm3, 0xf8(%rsp)
testq %rdi, %rdi
je 0xb489
movups (%rdi), %xmm4
shufps $0x4e, %xmm4, %xmm4     # xmm4 = xmm4[2,3,0,1]
jmp 0xb4d3
movd %r8d, %xmm4
movd %r9d, %xmm5
punpckldq %xmm4, %xmm5    # xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
cvtdq2ps %xmm5, %xmm5
punpcklqdq %xmm5, %xmm4    # xmm4 = xmm4[0],xmm5[0]
movd %edx, %xmm6
movd %esi, %xmm7
punpckldq %xmm6, %xmm7    # xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
cvtdq2ps %xmm7, %xmm6
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
movaps %xmm0, %xmm3
unpcklps %xmm1, %xmm3            # xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
movlhps %xmm3, %xmm3            # xmm3 = xmm3[0,0]
movlhps %xmm2, %xmm2            # xmm2 = xmm2[0,0]
subps %xmm3, %xmm2
movlhps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
shufps $0x42, %xmm6, %xmm1     # xmm1 = xmm1[2,0],xmm6[0,1]
mulps %xmm1, %xmm5
divps %xmm1, %xmm4
movsd %xmm5, %xmm4            # xmm4 = xmm5[0],xmm4[1]
divps %xmm2, %xmm4
leaq 0xc0(%rsp), %rdi
movups %xmm4, 0x3c(%rdi)
movaps %xmm4, %xmm0
unpckhpd %xmm4, %xmm0            # xmm0 = xmm0[1],xmm4[1]
movss 0x17f0e(%rip), %xmm1    # 0x233fc
xorl %edx, %edx
ucomiss %xmm1, %xmm0
setbe %dl
orl $0x4, %edx
testl %ecx, %ecx
cmovnel %ecx, %edx
shufps $0xff, %xmm4, %xmm4     # xmm4 = xmm4[3,3,3,3]
xorl %ecx, %ecx
ucomiss %xmm1, %xmm4
setbe %cl
orl $0x4, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
movl %edx, 0x5c(%rdi)
movl %ecx, 0x60(%rdi)
callq 0x1d0cf
movl %eax, %ebp
movq %rbp, %rdi
callq 0x56b0
testq %rax, %rax
je 0xb8f5
movq %rax, %rbx
movq %r14, 0x30(%rsp)
movl 0x228(%rsp), %r15d
leaq 0xc0(%rsp), %r12
movq %r12, %rdi
callq 0x1d0cf
movl 0x4c(%r12), %r14d
cmpl $0x0, 0x20(%rsp)
jne 0xb580
movl 0xc8(%rsp), %ecx
imull %r14d, %ecx
movl 0x250(%rsp), %edx
leaq 0x17f13(%rip), %rsi     # 0x23488
movzbl (%rdx,%rsi), %edx
imull %ecx, %edx
movl %edx, 0x20(%rsp)
testl %r15d, %r15d
jne 0xb5a7
movl 0xe0(%rsp), %ecx
imull %r14d, %ecx
movl 0x250(%rsp), %edx
leaq 0x17eea(%rip), %rsi     # 0x23488
movzbl (%rdx,%rsi), %r15d
imull %ecx, %r15d
testl %r14d, %r14d
js 0xc5b5
movq %r13, 0x50(%rsp)
cmpl $0x41, %r14d
jae 0xc5d4
movl 0x11c(%rsp), %r13d
cmpq $0x6, %r13
jae 0xc5f3
movq %rbx, 0x1e0(%rsp)
movl 0x120(%rsp), %edx
cmpq $0x6, %rdx
jae 0xc612
movl 0x248(%rsp), %ecx
movl 0x240(%rsp), %r12d
movl %ecx, %ebx
orl $0x3, %ebx
testl %r12d, %r12d
cmovnsl %ecx, %ebx
movl %ebx, %ecx
notl %ecx
testb $0x3, %cl
je 0xb61f
testl %r12d, %r12d
js 0xc631
cmpl %r12d, %r14d
jbe 0xc631
xorl %ecx, %ecx
cmpl %r12d, %r14d
jle 0xc516
movq %rdx, 0x10(%rsp)
cmpl %ebp, %eax
ja 0xc650
movq %rbp, %rax
movq 0x1e0(%rsp), %rbp
movq %rbp, %rdi
xorl %esi, %esi
movq %rax, %rdx
movq %rax, 0x88(%rsp)
callq 0x5260
movq 0x30(%rsp), %rax
movq %rax, 0xc0(%rsp)
movl 0x20(%rsp), %eax
movl %eax, 0xd0(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0xd8(%rsp)
movl %r15d, 0xe8(%rsp)
movl %r12d, 0x110(%rsp)
movl %ebx, 0x114(%rsp)
movl 0x250(%rsp), %eax
movl %eax, 0x118(%rsp)
movl 0x268(%rsp), %eax
movl %eax, 0x124(%rsp)
movl 0x270(%rsp), %eax
movl %eax, 0x128(%rsp)
movl 0x278(%rsp), %eax
movl %eax, 0x12c(%rsp)
movss 0x104(%rsp), %xmm3
movaps %xmm3, 0x30(%rsp)
movq %r13, %rax
shlq $0x4, %rax
leaq 0x213e9(%rip), %rbx     # 0x2cad0
movss 0x17d0d(%rip), %xmm0    # 0x233fc
movaps %xmm0, %xmm1
divss %xmm3, %xmm1
cmpnltss %xmm3, %xmm0
movaps %xmm0, %xmm2
andnps %xmm1, %xmm2
andps %xmm3, %xmm0
orps %xmm2, %xmm0
callq *0x8(%rax,%rbx)
movaps %xmm0, 0x20(%rsp)
movss 0x108(%rsp), %xmm3
movaps %xmm3, 0x60(%rsp)
movq 0x10(%rsp), %r15
movq %r15, %rax
shlq $0x4, %rax
movss 0x17cca(%rip), %xmm0    # 0x233fc
movaps %xmm0, %xmm2
divss %xmm3, %xmm2
cmpnltss %xmm3, %xmm0
movaps %xmm0, %xmm1
movaps %xmm2, 0x1d0(%rsp)
andnps %xmm2, %xmm1
andps %xmm3, %xmm0
orps %xmm1, %xmm0
callq *0x8(%rax,%rbx)
movaps 0x20(%rsp), %xmm1
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
addps %xmm1, %xmm1
movaps %xmm1, 0x20(%rsp)
movaps %xmm1, %xmm0
callq 0x52a0
movaps %xmm0, 0x50(%rsp)
movaps 0x20(%rsp), %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
callq 0x52a0
movaps 0x50(%rsp), %xmm1
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
cvttps2dq %xmm1, %xmm0
movlps %xmm0, 0x168(%rsp)
movl %r13d, %edi
movaps 0x30(%rsp), %xmm0
callq 0x1d36d
movl %eax, 0x170(%rsp)
movl %r15d, %edi
movaps 0x60(%rsp), %xmm0
callq 0x1d36d
movl %eax, 0x174(%rsp)
movl %r13d, %edi
movaps 0x30(%rsp), %xmm0
callq 0x1d36d
movl %eax, %ebx
shrl $0x1f, %ebx
addl %eax, %ebx
movl %ebx, %eax
sarl %eax
movl %eax, 0x178(%rsp)
movl %r15d, %edi
movaps 0x60(%rsp), %xmm0
callq 0x1d36d
movaps 0x60(%rsp), %xmm0
movl %eax, %edi
shrl $0x1f, %edi
addl %eax, %edi
sarl %edi
movl 0xc8(%rsp), %ecx
movl 0xe0(%rsp), %r8d
imull %r8d, %r14d
shll $0x2, %r14d
andl $-0x2, %ebx
addl %ecx, %ebx
movslq 0x1b0(%rsp), %rsi
addq %rbp, %rsi
movslq 0x1b4(%rsp), %r12
addq %rsi, %r12
movslq 0x1b8(%rsp), %r13
addq %r12, %r13
movslq 0x1bc(%rsp), %rdx
addq %r13, %rdx
movq %rbp, %rax
addq 0x88(%rsp), %rax
ucomiss 0x17bab(%rip), %xmm0    # 0x233fc
movl %edi, %r15d
movl %edi, 0x17c(%rsp)
movl %r14d, 0x188(%rsp)
movl %ebx, 0x150(%rsp)
movq %rbp, 0x130(%rsp)
movq %rsi, 0x138(%rsp)
movq %r12, 0x140(%rsp)
movq %r13, 0x148(%rsp)
movq %rdx, 0x158(%rsp)
ja 0xb8fc
movslq 0x1c0(%rsp), %rdi
addq %rdi, %rdx
movq %rdx, 0x160(%rsp)
movslq 0x1c4(%rsp), %rdi
addq %rdx, %rdi
movq %rdi, 0x1a0(%rsp)
movq $0x0, 0x1a8(%rsp)
movslq 0x1c8(%rsp), %rdx
addq %rdi, %rdx
cmpq %rdx, %rax
je 0xb942
leaq 0x19a2e(%rip), %rdi     # 0x2530b
leaq 0x1969a(%rip), %rsi     # 0x24f7e
leaq 0x1987f(%rip), %rcx     # 0x2516a
movl $0x956, %edx            # imm = 0x956
callq 0x5130
xorl %eax, %eax
jmp 0xc527
movq $0x0, 0x160(%rsp)
movslq 0x1c0(%rsp), %rdi
addq %rdi, %rdx
movq %rdx, 0x1a0(%rsp)
movslq 0x1c8(%rsp), %rdi
addq %rdx, %rdi
movq %rdi, 0x1a8(%rsp)
movslq 0x1cc(%rsp), %rdx
addq %rdi, %rdx
cmpq %rdx, %rax
jne 0xc66f
movl $0xffffffff, 0x198(%rsp) # imm = 0xFFFFFFFF
movl 0x11c(%rsp), %edx
movss 0xfc(%rsp), %xmm1
movq %rbp, %rdi
movaps 0x30(%rsp), %xmm0
callq 0x1d670
movl 0x120(%rsp), %ebx
movss 0x100(%rsp), %xmm1
movl 0xcc(%rsp), %eax
movl 0xe4(%rsp), %r14d
movq %r12, %rdi
movq %r13, %rsi
movl %eax, %r13d
movl %ebx, %edx
movaps 0x60(%rsp), %xmm0
movl %eax, %ecx
movl %r14d, %r8d
callq 0x1d670
movaps 0x60(%rsp), %xmm0
shlq $0x4, %rbx
ucomiss 0x17a49(%rip), %xmm0    # 0x233fc
leaq 0x21116(%rip), %rax     # 0x2cad0
movq 0x8(%rbx,%rax), %rax
ja 0xbe90
callq *%rax
movl %r15d, %ebp
addl %r15d, %r13d
negl %ebp
cmpl %ebp, %r13d
jle 0xbe7b
movaps 0x60(%rsp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, 0xa0(%rsp)
leaq 0xc0(%rsp), %rax
movl 0xcc(%rax), %eax
movl %eax, 0x20(%rsp)
shufps $0x0, %xmm1, %xmm1      # xmm1 = xmm1[0,0,0,0]
movaps %xmm1, 0x60(%rsp)
movl %r14d, 0x48(%rsp)
movl %r13d, 0x90(%rsp)
xorps %xmm0, %xmm0
cvtsi2ss %ebp, %xmm0
addss 0x179df(%rip), %xmm0    # 0x23400
movss 0xa0(%rsp), %xmm2
movaps %xmm2, %xmm1
addss %xmm0, %xmm1
subss %xmm2, %xmm0
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
mulps 0x60(%rsp), %xmm1
movaps 0x100(%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
subps %xmm0, %xmm1
cvtps2pd %xmm1, %xmm0
addpd 0x17a39(%rip), %xmm0    # 0x23490
movapd %xmm0, 0x50(%rsp)
callq 0x50d0
movapd %xmm0, 0x30(%rsp)
movapd 0x50(%rsp), %xmm0
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
callq 0x50d0
movapd 0x30(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
cvttpd2dq %xmm1, %xmm0
movd %xmm0, %ebx
pshufd $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movd %xmm0, %r12d
movl %ebx, %eax
subl %r12d, %eax
cmpl 0x20(%rsp), %eax
jge 0xc577
testl %ebx, %ebx
sets %al
cmpl %r12d, %r14d
setle %cl
orb %al, %cl
jne 0xbe68
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
movl %r12d, %esi
callq 0x20173
movq %r15, %rdi
movl %ebp, %esi
callq 0x1e11c
movq 0x160(%rsp), %r13
movslq 0xe0(%rsp), %rax
movslq 0x10c(%rsp), %rdx
imulq %rax, %rdx
shlq $0x2, %rdx
movq %r13, %rdi
xorl %esi, %esi
callq 0x5260
movss 0x104(%rsp), %xmm0
ucomiss 0x178f0(%rip), %xmm0    # 0x233fc
ja 0xbb1b
movq %r15, %rdi
movq %r13, %rsi
callq 0x1f578
jmp 0xbb26
movq %r15, %rdi
movq %r13, %rsi
callq 0x1f0d1
cmpl $0x0, 0x198(%rsp)
movl 0x90(%rsp), %r13d
jns 0xbb48
leaq 0xc0(%rsp), %rdi
movl %r12d, %esi
callq 0x1f4f7
movl 0x194(%rsp), %esi
cmpl %ebx, %esi
leaq 0xc0(%rsp), %r15
jge 0xbb70
incl %esi
movq %r15, %rdi
callq 0x1f4f7
movl 0x194(%rsp), %esi
cmpl %ebx, %esi
jl 0xbb5b
movss 0x108(%rsp), %xmm0
ucomiss 0x1787c(%rip), %xmm0    # 0x233fc
ja 0xc596
movq 0x140(%rsp), %rax
movl 0x18c(%rsp), %ecx
movl %ecx, 0x20(%rsp)
movslq 0x17c(%rsp), %rdx
movslq %ebp, %rcx
addq %rdx, %rcx
movl (%rax,%rcx,8), %esi
movl 0x4(%rax,%rcx,8), %edi
cmpl %edi, %esi
jg 0xbe68
movl %ebp, 0x98(%rsp)
movl 0xe0(%rsp), %r8d
movq 0x148(%rsp), %rax
movq %rax, 0x30(%rsp)
movl 0x10c(%rsp), %r10d
movq 0x160(%rsp), %r11
movq 0x1a0(%rsp), %rdx
movl 0x198(%rsp), %eax
movl 0x188(%rsp), %r9d
sarl $0x2, %r9d
movl %r9d, 0x88(%rsp)
imull 0x16c(%rsp), %ecx
subl %esi, %ecx
subl 0x190(%rsp), %eax
movq %rax, 0x10(%rsp)
incl %edi
movq %r8, %r14
shlq $0x4, %r14
leaq 0xc(%rdx), %rax
movq %rax, 0x1d0(%rsp)
leaq (,%r8,4), %rax
leaq (%rax,%rax,2), %rbp
leaq 0x8(%rdx), %rax
movq %rax, 0xb0(%rsp)
movq %rdx, 0x50(%rsp)
leaq 0x4(%rdx), %rax
movq %rax, 0xa8(%rsp)
leal -0x1(%r10), %r13d
leal (%rcx,%rsi), %eax
cltq
movq 0x30(%rsp), %rdx
movss (%rdx,%rax,4), %xmm0
movq 0x10(%rsp), %rax
addl %esi, %eax
cltd
idivl 0x20(%rsp)
imull 0x88(%rsp), %edx
movslq %edx, %rdx
movq 0x50(%rsp), %rax
leaq (%rax,%rdx,4), %rax
cmpl $0x3, %r13d
ja 0xbe04
leaq 0x17a33(%rip), %rbx     # 0x236d0
movslq (%rbx,%r13,4), %r9
addq %rbx, %r9
jmpq *%r9
testl %r8d, %r8d
jle 0xbe49
xorl %edx, %edx
movss (%r11,%rdx,4), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx,4), %xmm1
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %r8
jne 0xbcb2
jmp 0xbe49
testl %r8d, %r8d
jle 0xbe49
movq 0xb0(%rsp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x8(%rax,%rdx), %xmm1
movss %xmm1, -0x8(%rax,%rdx)
movss 0x4(%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx), %xmm1
movss %xmm1, -0x4(%rax,%rdx)
movss 0x8(%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx), %xmm1
movss %xmm1, (%rax,%rdx)
addq $0xc, %rdx
cmpq %rdx, %rbp
jne 0xbcea
jmp 0xbe49
testl %r8d, %r8d
jle 0xbe49
movq 0x1d0(%rsp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0xc(%rax,%rdx), %xmm1
movss %xmm1, -0xc(%rax,%rdx)
movss 0x4(%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x8(%rax,%rdx), %xmm1
movss %xmm1, -0x8(%rax,%rdx)
movss 0x8(%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx), %xmm1
movss %xmm1, -0x4(%rax,%rdx)
movss 0xc(%r11,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx), %xmm1
movss %xmm1, (%rax,%rdx)
addq $0x10, %rdx
cmpq %rdx, %r14
jne 0xbd51
jmp 0xbe49
testl %r8d, %r8d
jle 0xbe49
movq 0xa8(%rsp), %rax
leaq (%rax,%rdx,4), %rax
xorl %edx, %edx
movss (%r11,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss -0x4(%rax,%rdx,8), %xmm1
movss %xmm1, -0x4(%rax,%rdx,8)
movss 0x4(%r11,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss (%rax,%rdx,8), %xmm1
movss %xmm1, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %r8
jne 0xbdcf
jmp 0xbe49
testl %r8d, %r8d
jle 0xbe49
xorl %edx, %edx
xorl %r9d, %r9d
testl %r10d, %r10d
jle 0xbe3e
movl %edx, %ebx
leaq (%rax,%rbx,4), %r15
leaq (%r11,%rbx,4), %rbx
xorl %r12d, %r12d
movss (%rbx,%r12,4), %xmm1
mulss %xmm0, %xmm1
addss (%r15,%r12,4), %xmm1
movss %xmm1, (%r15,%r12,4)
incq %r12
cmpq %r12, %r10
jne 0xbe20
incq %r9
addl %r10d, %edx
cmpq %r8, %r9
jne 0xbe0e
incq %rsi
cmpl %esi, %edi
jne 0xbc5d
movl 0x98(%rsp), %ebp
movl 0x48(%rsp), %r14d
movl 0x90(%rsp), %r13d
incl %ebp
cmpl %r13d, %ebp
jne 0xba12
movl 0xe4(%rsp), %r14d
leaq 0xc0(%rsp), %rdi
movl %r14d, %esi
callq 0x20173
jmp 0xc511
movaps 0x1d0(%rsp), %xmm0
callq *%rax
movl $0x1, %ecx
testl %r14d, %r14d
jle 0xc516
movaps 0x60(%rsp), %xmm1
mulss %xmm1, %xmm0
shufps $0x0, %xmm1, %xmm1      # xmm1 = xmm1[0,0,0,0]
movaps %xmm1, 0x60(%rsp)
xorl %r14d, %r14d
leaq 0xc0(%rsp), %r13
movss %xmm0, 0xbc(%rsp)
cvtsi2ss %r14d, %xmm3
movups 0x100(%rsp), %xmm1
addss 0x1751d(%rip), %xmm3    # 0x23400
movaps %xmm0, %xmm2
addss %xmm3, %xmm2
subss %xmm0, %xmm3
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
shufps $0x0, %xmm1, %xmm1      # xmm1 = xmm1[0,0,0,0]
addps %xmm2, %xmm1
divps 0x60(%rsp), %xmm1
cvtps2pd %xmm1, %xmm0
addpd 0x17588(%rip), %xmm0    # 0x23490
movapd %xmm0, 0x30(%rsp)
callq 0x50d0
movapd %xmm0, 0x20(%rsp)
movapd 0x30(%rsp), %xmm0
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
callq 0x50d0
movapd 0x20(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
cvttpd2dq %xmm1, %xmm0
movd %xmm0, %ebx
pshufd $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movd %xmm0, %ecx
movl %ebx, %eax
subl %ecx, %eax
movl 0x18c(%rsp), %edi
cmpl %edi, %eax
jge 0xc539
movl 0x198(%rsp), %edx
testl %edx, %edx
js 0xbfce
movl 0x190(%rsp), %r8d
movl 0x194(%rsp), %esi
cmpl %ecx, %r8d
jge 0xbfdf
movl %ecx, %r9d
negl %r9d
incl %r8d
movl %esi, %r10d
negl %r10d
leal (%r10,%r8), %eax
cmpl $0x1, %eax
je 0xbfb7
movl %r8d, 0x190(%rsp)
incl %edx
movl %edx, %eax
cltd
idivl %edi
movl %edx, 0x198(%rsp)
leal (%r9,%r8), %eax
incl %eax
incl %r8d
cmpl $0x1, %eax
jne 0xbf84
testl %edx, %edx
jns 0xbfdf
jmp 0xbfce
movl $0xffffffff, 0x198(%rsp) # imm = 0xFFFFFFFF
movq $0x0, 0x190(%rsp)
movq %r13, %rdi
movl %ecx, %esi
callq 0x1e0d3
movl 0x194(%rsp), %esi
cmpl %ebx, %esi
jge 0xbfea
incl %esi
movq %r13, %rdi
jmp 0xbfd3
movss 0x108(%rsp), %xmm0
ucomiss 0x17402(%rip), %xmm0    # 0x233fc
jbe 0xc558
movslq 0xe0(%rsp), %rbp
movl %ebp, %r15d
movq 0x140(%rsp), %rax
movq 0x148(%rsp), %rcx
movq %rcx, 0x80(%rsp)
movslq 0x10c(%rsp), %r12
movl %r12d, %r13d
movl 0x110(%rsp), %ecx
movl %ecx, 0x1d0(%rsp)
movl 0x118(%rsp), %ecx
movq %rcx, 0xb0(%rsp)
movl 0x12c(%rsp), %ecx
movq %rcx, 0xa8(%rsp)
movl 0x18c(%rsp), %ecx
movl %ecx, 0x50(%rsp)
movslq 0x16c(%rsp), %rdx
movl 0x188(%rsp), %ecx
sarl $0x2, %ecx
movl %ecx, 0x30(%rsp)
movslq %r14d, %rcx
movq %rcx, 0xa0(%rsp)
imulq %rcx, %rdx
movq %rdx, 0x78(%rsp)
movl 0x4(%rax,%r14,8), %ecx
movq %rcx, 0x10(%rsp)
movq %r14, 0x88(%rsp)
movl (%rax,%r14,8), %r14d
movq %rbp, %rdx
imulq %r12, %rdx
shlq $0x2, %rdx
movq 0xd8(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x1a8(%rsp), %rbx
movq 0x1a0(%rsp), %rax
movq %rax, 0x20(%rsp)
movl 0x198(%rsp), %eax
movq %rax, 0x48(%rsp)
movl 0x190(%rsp), %eax
movl %eax, 0x1c(%rsp)
movslq 0xe8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5260
leal -0x1(%r13), %eax
cmpl $0x3, %eax
ja 0xc3e5
leaq 0x175a6(%rip), %rcx     # 0x236c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rsp), %r8
cmpl %r8d, %r14d
movl 0x50(%rsp), %edi
movq 0x48(%rsp), %r9
jg 0xc499
subl 0x1c(%rsp), %r9d
movslq 0x78(%rsp), %rax
subl %r14d, %r8d
incl %r8d
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,4), %rcx
xorl %esi, %esi
leal (%r9,%r14), %eax
cltd
idivl %edi
testl %r15d, %r15d
jle 0xc197
imull 0x30(%rsp), %edx
movslq %edx, %rax
movq 0x20(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
movss (%rcx,%rsi,4), %xmm0
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm1
mulss %xmm0, %xmm1
addss (%rbx,%rdx,4), %xmm1
movss %xmm1, (%rbx,%rdx,4)
incq %rdx
cmpq %rdx, %r15
jne 0xc17c
incq %rsi
incl %r14d
cmpq %r8, %rsi
jne 0xc158
jmp 0xc499
movq 0x10(%rsp), %r10
cmpl %r10d, %r14d
movl 0x50(%rsp), %r8d
movq 0x48(%rsp), %r9
jg 0xc499
subl 0x1c(%rsp), %r9d
movslq 0x78(%rsp), %rax
subl %r14d, %r10d
incl %r10d
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,4), %rcx
movq %r15, %rax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rsi
addq $0x8, 0x20(%rsp)
xorl %edi, %edi
leal (%r9,%r14), %eax
cltd
idivl %r8d
testl %r15d, %r15d
jle 0xc25b
imull 0x30(%rsp), %edx
movslq %edx, %rax
movss (%rcx,%rdi,4), %xmm0
movq 0x20(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0x8(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rbx,%rdx), %xmm1
movss %xmm1, (%rbx,%rdx)
movss -0x4(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%rbx,%rdx), %xmm1
movss %xmm1, 0x4(%rbx,%rdx)
movss (%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x8(%rbx,%rdx), %xmm1
movss %xmm1, 0x8(%rbx,%rdx)
addq $0xc, %rdx
cmpq %rdx, %rsi
jne 0xc213
incq %rdi
incl %r14d
cmpq %r10, %rdi
jne 0xc1ee
jmp 0xc499
movq 0x10(%rsp), %r10
cmpl %r10d, %r14d
movl 0x50(%rsp), %r8d
movq 0x48(%rsp), %r9
jg 0xc499
subl 0x1c(%rsp), %r9d
subl %r14d, %r10d
incl %r10d
movq 0x80(%rsp), %rax
movq 0x78(%rsp), %rcx
leaq (%rax,%rcx,4), %rcx
movq %r15, %rsi
shlq $0x4, %rsi
addq $0xc, 0x20(%rsp)
xorl %edi, %edi
leal (%r9,%r14), %eax
cltd
idivl %r8d
testl %r15d, %r15d
jle 0xc331
imull 0x30(%rsp), %edx
movslq %edx, %rax
movss (%rcx,%rdi,4), %xmm0
movq 0x20(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0xc(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss (%rbx,%rdx), %xmm1
movss %xmm1, (%rbx,%rdx)
movss -0x8(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%rbx,%rdx), %xmm1
movss %xmm1, 0x4(%rbx,%rdx)
movss -0x4(%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0x8(%rbx,%rdx), %xmm1
movss %xmm1, 0x8(%rbx,%rdx)
movss (%rax,%rdx), %xmm1
mulss %xmm0, %xmm1
addss 0xc(%rbx,%rdx), %xmm1
movss %xmm1, 0xc(%rbx,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rsi
jne 0xc2d3
incq %rdi
incl %r14d
cmpq %r10, %rdi
jne 0xc2ae
jmp 0xc499
movq 0x10(%rsp), %r8
cmpl %r8d, %r14d
movl 0x50(%rsp), %edi
movq 0x48(%rsp), %r9
jg 0xc499
subl 0x1c(%rsp), %r9d
movslq 0x78(%rsp), %rax
subl %r14d, %r8d
incl %r8d
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,4), %rcx
addq $0x4, 0x20(%rsp)
xorl %esi, %esi
leal (%r9,%r14), %eax
cltd
idivl %edi
testl %r15d, %r15d
jle 0xc3d5
imull 0x30(%rsp), %edx
movslq %edx, %rax
movss (%rcx,%rsi,4), %xmm0
movq 0x20(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss -0x4(%rax,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss (%rbx,%rdx,8), %xmm1
movss %xmm1, (%rbx,%rdx,8)
movss (%rax,%rdx,8), %xmm1
mulss %xmm0, %xmm1
addss 0x4(%rbx,%rdx,8), %xmm1
movss %xmm1, 0x4(%rbx,%rdx,8)
incq %rdx
cmpq %rdx, %r15
jne 0xc3a4
incq %rsi
incl %r14d
cmpq %r8, %rsi
jne 0xc380
jmp 0xc499
movq 0x10(%rsp), %rcx
cmpl %ecx, %r14d
movl 0x50(%rsp), %edi
movq 0x48(%rsp), %rdx
jg 0xc499
subl 0x1c(%rsp), %edx
movslq 0x78(%rsp), %rax
subl %r14d, %ecx
incl %ecx
movq 0x80(%rsp), %rsi
leaq (%rsi,%rax,4), %rax
movq %rax, 0x10(%rsp)
xorl %esi, %esi
movq %rdx, %r9
leal (%rdx,%r14), %eax
cltd
idivl %edi
testl %r15d, %r15d
jle 0xc487
imull 0x30(%rsp), %edx
movslq %edx, %rax
movq 0x10(%rsp), %rdx
movss (%rdx,%rsi,4), %xmm0
movq 0x20(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
xorl %edi, %edi
testl %r13d, %r13d
jle 0xc47c
movl %edx, %r10d
leaq (%rbx,%r10,4), %r8
leaq (%rax,%r10,4), %r11
xorl %r10d, %r10d
movss (%r11,%r10,4), %xmm1
mulss %xmm0, %xmm1
addss (%r8,%r10,4), %xmm1
movss %xmm1, (%r8,%r10,4)
incq %r10
cmpq %r10, %r13
jne 0xc45e
incq %rdi
addl %r12d, %edx
cmpq %rbp, %rdi
jne 0xc44b
incq %rsi
incl %r14d
cmpq %rcx, %rsi
movl 0x50(%rsp), %edi
movq %r9, %rdx
jne 0xc41d
movq 0x98(%rsp), %rax
imulq 0xa0(%rsp), %rax
movq 0x90(%rsp), %rdx
addq %rax, %rdx
movq 0xb0(%rsp), %rax
movq 0xa8(%rsp), %rcx
leal (%rcx,%rax,2), %eax
movl %eax, (%rsp)
leaq 0xc0(%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
movq %rbx, %rcx
movl %r12d, %r8d
movl 0x1d0(%rsp), %r9d
callq 0x1fa39
movq 0x88(%rsp), %r14
incq %r14
movslq 0xe4(%rsp), %rax
cmpq %rax, %r14
movss 0xbc(%rsp), %xmm0
jl 0xbece
movl $0x1, %ecx
movq 0x1e0(%rsp), %rdi
movl %ecx, %ebx
callq 0x5140
movl %ebx, %eax
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x191dd(%rip), %rdi     # 0x2571d
leaq 0x18a37(%rip), %rsi     # 0x24f7e
leaq 0x1919f(%rip), %rcx     # 0x256ed
movl $0x81c, %edx            # imm = 0x81C
callq 0x5130
leaq 0x19542(%rip), %rdi     # 0x25aa1
leaq 0x18a18(%rip), %rsi     # 0x24f7e
leaq 0x194a8(%rip), %rcx     # 0x25a15
movl $0x767, %edx            # imm = 0x767
callq 0x5130
leaq 0x1957e(%rip), %rdi     # 0x25afc
leaq 0x189f9(%rip), %rsi     # 0x24f7e
leaq 0x1953e(%rip), %rcx     # 0x25aca
movl $0x881, %edx            # imm = 0x881
callq 0x5130
leaq 0x19503(%rip), %rdi     # 0x25aa0
leaq 0x189da(%rip), %rsi     # 0x24f7e
leaq 0x195a3(%rip), %rcx     # 0x25b4e
movl $0x7d2, %edx            # imm = 0x7D2
callq 0x5130
leaq 0x18b9a(%rip), %rdi     # 0x25156
leaq 0x189bb(%rip), %rsi     # 0x24f7e
leaq 0x18ba0(%rip), %rcx     # 0x2516a
movl $0x906, %edx            # imm = 0x906
callq 0x5130
leaq 0x18c37(%rip), %rdi     # 0x25212
leaq 0x1899c(%rip), %rsi     # 0x24f7e
leaq 0x18b81(%rip), %rcx     # 0x2516a
movl $0x907, %edx            # imm = 0x907
callq 0x5130
leaq 0x189e5(%rip), %rdi     # 0x24fdf
leaq 0x1897d(%rip), %rsi     # 0x24f7e
leaq 0x18b62(%rip), %rcx     # 0x2516a
movl $0x90c, %edx            # imm = 0x90C
callq 0x5130
leaq 0x18a46(%rip), %rdi     # 0x2505f
leaq 0x1895e(%rip), %rsi     # 0x24f7e
leaq 0x18b43(%rip), %rcx     # 0x2516a
movl $0x90d, %edx            # imm = 0x90D
callq 0x5130
leaq 0x18bef(%rip), %rdi     # 0x25227
leaq 0x1893f(%rip), %rsi     # 0x24f7e
leaq 0x18b24(%rip), %rcx     # 0x2516a
movl $0x918, %edx            # imm = 0x918
callq 0x5130
leaq 0x18c05(%rip), %rdi     # 0x2525c
leaq 0x18920(%rip), %rsi     # 0x24f7e
leaq 0x18b05(%rip), %rcx     # 0x2516a
movl $0x922, %edx            # imm = 0x922
callq 0x5130
leaq 0x18c0f(%rip), %rdi     # 0x25285
leaq 0x18901(%rip), %rsi     # 0x24f7e
leaq 0x18ae6(%rip), %rcx     # 0x2516a
movl $0x94e, %edx            # imm = 0x94E
callq 0x5130