// File: /workspace/github_cpp_makefile_star2_O3/lunasorcery[P]brailify/./stb/stb_image_resize.h
// Function: stbir__decode_scanline(stbir__info*, int)
static void stbir__decode_scanline(stbir__info* stbir_info, int n)
{
    int c;
    int channels = stbir_info->channels;
    int alpha_channel = stbir_info->alpha_channel;
    int type = stbir_info->type;
    int colorspace = stbir_info->colorspace;
    int input_w = stbir_info->input_w;
    int input_stride_bytes = stbir_info->input_stride_bytes;
    float* decode_buffer = stbir__get_decode_buffer(stbir_info);
    stbir_edge edge_horizontal = stbir_info->edge_horizontal;
    stbir_edge edge_vertical = stbir_info->edge_vertical;
    int in_buffer_row_offset = stbir__edge_wrap(edge_vertical, n, stbir_info->input_h) * input_stride_bytes;
    const void* input_data = (char *) stbir_info->input_data + in_buffer_row_offset;
    int max_x = input_w + stbir_info->horizontal_filter_pixel_margin;
    int decode = STBIR__DECODE(type, colorspace);

    int x = -stbir_info->horizontal_filter_pixel_margin;

    // special handling for STBIR_EDGE_ZERO because it needs to return an item that doesn't appear in the input,
    // and we want to avoid paying overhead on every pixel if not STBIR_EDGE_ZERO
    if (edge_vertical == STBIR_EDGE_ZERO && (n < 0 || n >= stbir_info->input_h))
    {
        for (; x < max_x; x++)
            for (c = 0; c < channels; c++)
                decode_buffer[x*channels + c] = 0;
        return;
    }

    switch (decode)
    {
    case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_LINEAR):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = ((float)((const unsigned char*)input_data)[input_pixel_index + c]) / 255;
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_SRGB):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = stbir__srgb_uchar_to_linear_float[((const unsigned char*)input_data)[input_pixel_index + c]];

            if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                decode_buffer[decode_pixel_index + alpha_channel] = ((float)((const unsigned char*)input_data)[input_pixel_index + alpha_channel]) / 255;
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_LINEAR):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = ((float)((const unsigned short*)input_data)[input_pixel_index + c]) / 65535;
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_SRGB):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear(((float)((const unsigned short*)input_data)[input_pixel_index + c]) / 65535);

            if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                decode_buffer[decode_pixel_index + alpha_channel] = ((float)((const unsigned short*)input_data)[input_pixel_index + alpha_channel]) / 65535;
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_LINEAR):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = (float)(((double)((const unsigned int*)input_data)[input_pixel_index + c]) / 4294967295);
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_SRGB):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear((float)(((double)((const unsigned int*)input_data)[input_pixel_index + c]) / 4294967295));

            if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                decode_buffer[decode_pixel_index + alpha_channel] = (float)(((double)((const unsigned int*)input_data)[input_pixel_index + alpha_channel]) / 4294967295);
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_LINEAR):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = ((const float*)input_data)[input_pixel_index + c];
        }
        break;

    case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_SRGB):
        for (; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;
            int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
            for (c = 0; c < channels; c++)
                decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear(((const float*)input_data)[input_pixel_index + c]);

            if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                decode_buffer[decode_pixel_index + alpha_channel] = ((const float*)input_data)[input_pixel_index + alpha_channel];
        }

        break;

    default:
        STBIR_ASSERT(!"Unknown type/colorspace/channels combination.");
        break;
    }

    if (!(stbir_info->flags & STBIR_FLAG_ALPHA_PREMULTIPLIED))
    {
        for (x = -stbir_info->horizontal_filter_pixel_margin; x < max_x; x++)
        {
            int decode_pixel_index = x * channels;

            // If the alpha value is 0 it will clobber the color values. Make sure it's not.
            float alpha = decode_buffer[decode_pixel_index + alpha_channel];
#ifndef STBIR_NO_ALPHA_EPSILON
            if (stbir_info->type != STBIR_TYPE_FLOAT) {
                alpha += STBIR_ALPHA_EPSILON;
                decode_buffer[decode_pixel_index + alpha_channel] = alpha;
            }
#endif
            for (c = 0; c < channels; c++)
            {
                if (c == alpha_channel)
                    continue;

                decode_buffer[decode_pixel_index + c] *= alpha;
            }
        }
    }

    if (edge_horizontal == STBIR_EDGE_ZERO)
    {
        for (x = -stbir_info->horizontal_filter_pixel_margin; x < 0; x++)
        {
            for (c = 0; c < channels; c++)
                decode_buffer[x*channels + c] = 0;
        }
        for (x = input_w; x < max_x; x++)
        {
            for (c = 0; c < channels; c++)
                decode_buffer[x*channels + c] = 0;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movslq 0x4c(%rdi), %rax
movq %rax, -0x40(%rbp)
movslq 0x50(%rdi), %rax
movq %rax, -0x70(%rbp)
movl 0x58(%rdi), %r15d
movl 0x6c(%rdi), %r8d
movl 0x8(%rdi), %r13d
movl 0xc(%rdi), %r11d
movl 0x10(%rdi), %ecx
movq 0x98(%rdi), %r14
movl 0xb8(%rdi), %r12d
movl 0x64(%rdi), %eax
movq %rax, -0x68(%rbp)
testl %esi, %esi
setns %al
cmpl %esi, %r11d
setg %r9b
movq %rdi, -0x78(%rbp)
movl 0x68(%rdi), %r10d
andb %al, %r9b
je 0x13659
movl %esi, %edx
movq -0x40(%rbp), %rsi
movl %esi, %ebx
movl %r12d, %eax
imull %esi, %eax
movslq %eax, %r11
leaq (%r14,%r11,4), %rax
movq %rax, -0x80(%rbp)
leal (%r12,%r13), %edi
movl %r12d, %eax
negl %eax
cmpl $0x4, %r10d
setne %sil
orb %r9b, %sil
je 0x1368f
movl %edi, -0x34(%rbp)
leal (%r8,%r15,2), %esi
cmpl $0x7, %esi
ja 0x143af
movq %r11, -0x60(%rbp)
movq %r12, -0xb8(%rbp)
imull %ecx, %edx
movslq %edx, %rdx
movq -0x78(%rbp), %rcx
addq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
movslq %r13d, %rcx
movq %rcx, -0x30(%rbp)
leaq 0x2d94(%rip), %rcx      # 0x162bc
movslq (%rcx,%rsi,4), %rdx
addq %rcx, %rdx
movq %r13, -0xb0(%rbp)
jmpq *%rdx
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
leaq (%rcx,%rcx), %rsi
leal -0x1(%r13), %edi
movslq %eax, %rcx
movq -0x40(%rbp), %r9
movq %r9, %rax
imulq %rcx, %rax
movq -0x60(%rbp), %rdx
leaq (,%rdx,4), %rdx
leaq (%rdx,%rax,4), %r8
addq %r14, %r8
leaq (,%r9,4), %r9
xorl %r10d, %r10d
movss 0x2a83(%rip), %xmm0     # 0x16004
movq -0x68(%rbp), %rax
leal -0x1(%rax), %r11d
leaq 0x2dbc(%rip), %r15      # 0x1634c
testq %rcx, %rcx
setns %al
cmpq -0x30(%rbp), %rcx
setl %dl
testb %dl, %al
je 0x135e4
movl %ecx, %edx
cmpl $0x0, -0x40(%rbp)
jle 0x135d4
imull %ebx, %edx
movslq %edx, %rax
addq -0x50(%rbp), %rax
xorl %edx, %edx
movzbl (%rax,%rdx), %r12d
xorps %xmm1, %xmm1
cvtsi2ss %r12d, %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%r8,%rdx,4)
incq %rdx
cmpq %rdx, %rbx
jne 0x135b5
incq %rcx
addq %r9, %r8
cmpl %ecx, -0x34(%rbp)
jne 0x13590
jmp 0x1421e
cmpl $0x3, %r11d
ja 0x14390
movslq (%r15,%r11,4), %rax
addq %r15, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rcx
movl %edi, %edx
cmovll %ecx, %edx
testq %rcx, %rcx
cmovsl %r10d, %edx
jmp 0x135a3
movl %ecx, %eax
cltd
idivl %r13d
testq %rcx, %rcx
jns 0x135a3
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x135a3
xorl %edx, %edx
jmp 0x135a3
testq %rcx, %rcx
js 0x13649
cmpq -0x30(%rbp), %rcx
jl 0x135a1
movl %ecx, %edx
notl %edx
addl %esi, %edx
cmpq %rsi, %rcx
cmovgel %r10d, %edx
jmp 0x135a3
movl %ecx, %edx
negl %edx
cmpq -0x30(%rbp), %rcx
cmovgel %edi, %edx
jmp 0x135a3
leal -0x1(%r10), %eax
cmpl $0x3, %eax
ja 0x14390
xorl %edx, %edx
leaq 0x2c3d(%rip), %rbx      # 0x162ac
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
testl %esi, %esi
js 0x134bd
leal -0x1(%r11), %edx
cmpl %esi, %r11d
cmovgl %esi, %edx
jmp 0x134bd
cmpl %eax, %edi
jle 0x14367
movl %ebx, %r14d
shlq $0x2, %rbx
leal (%r13,%r12,2), %r15d
imull %r14d, %r12d
negl %r12d
testl %r14d, %r14d
jle 0x136c4
movslq %r12d, %rax
movq -0x80(%rbp), %rcx
leaq (%rcx,%rax,4), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x1060
addl %r14d, %r12d
decl %r15d
jne 0x136aa
jmp 0x14367
testl %esi, %esi
js 0x14379
cmpl %esi, %r11d
jg 0x134bb
leal (%r11,%r11), %eax
xorl %ebx, %ebx
cmpl %esi, %eax
notl %esi
leal (%rsi,%r11,2), %edx
cmovlel %ebx, %edx
jmp 0x134bd
movl %esi, %eax
cltd
idivl %r11d
testl %esi, %esi
jns 0x134bd
addl %edx, %r11d
testl %edx, %edx
cmovel %edx, %r11d
jmp 0x14388
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
leaq (%rcx,%rcx), %rsi
leal -0x1(%r13), %edi
movslq %eax, %rcx
movq -0x40(%rbp), %r9
movq %r9, %rax
imulq %rcx, %rax
movq -0x60(%rbp), %rdx
leaq (,%rdx,4), %rdx
leaq (%rdx,%rax,4), %r8
addq %r14, %r8
leaq (,%r9,4), %r9
xorl %r10d, %r10d
movsd 0x3603(%rip), %xmm0     # 0x16d60
movq -0x68(%rbp), %rax
leal -0x1(%rax), %r11d
leaq 0x2ba0(%rip), %r15      # 0x1630c
testq %rcx, %rcx
setns %al
cmpq -0x30(%rbp), %rcx
setl %dl
testb %dl, %al
je 0x137c7
movl %ecx, %edx
cmpl $0x0, -0x40(%rbp)
jle 0x137b7
imull %ebx, %edx
movslq %edx, %rax
movq -0x50(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movl (%rax,%rdx,4), %r12d
xorps %xmm1, %xmm1
cvtsi2sd %r12, %xmm1
divsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm1
movss %xmm1, (%r8,%rdx,4)
incq %rdx
cmpq %rdx, %rbx
jne 0x13795
incq %rcx
addq %r9, %r8
cmpl %ecx, -0x34(%rbp)
jne 0x1376c
jmp 0x1421e
cmpl $0x3, %r11d
ja 0x14390
movslq (%r15,%r11,4), %rax
addq %r15, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rcx
movl %edi, %edx
cmovll %ecx, %edx
testq %rcx, %rcx
cmovsl %r10d, %edx
jmp 0x1377f
movl %ecx, %eax
cltd
idivl %r13d
testq %rcx, %rcx
jns 0x1377f
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x1377f
xorl %edx, %edx
jmp 0x1377f
testq %rcx, %rcx
js 0x1382f
cmpq -0x30(%rbp), %rcx
jl 0x1377d
movl %ecx, %edx
notl %edx
addl %esi, %edx
cmpq %rsi, %rcx
cmovgel %r10d, %edx
jmp 0x1377f
movl %ecx, %edx
negl %edx
cmpq -0x30(%rbp), %rcx
cmovgel %edi, %edx
jmp 0x1377f
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
leaq (%rcx,%rcx), %rsi
leal -0x1(%r13), %edi
movslq %eax, %rcx
movq -0x40(%rbp), %r9
movq %r9, %rax
imulq %rcx, %rax
movq -0x60(%rbp), %rdx
leaq (,%rdx,4), %rdx
leaq (%rdx,%rax,4), %r8
addq %r14, %r8
leaq (,%r9,4), %r9
xorl %r10d, %r10d
movss 0x2798(%rip), %xmm0     # 0x16020
movq -0x68(%rbp), %rax
leal -0x1(%rax), %r11d
leaq 0x2a95(%rip), %r15      # 0x1632c
testq %rcx, %rcx
setns %al
cmpq -0x30(%rbp), %rcx
setl %dl
testb %dl, %al
je 0x138ef
movl %ecx, %edx
cmpl $0x0, -0x40(%rbp)
jle 0x138df
imull %ebx, %edx
movslq %edx, %rax
movq -0x50(%rbp), %rdx
leaq (%rdx,%rax,2), %rax
xorl %edx, %edx
movzwl (%rax,%rdx,2), %r12d
xorps %xmm1, %xmm1
cvtsi2ss %r12d, %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%r8,%rdx,4)
incq %rdx
cmpq %rdx, %rbx
jne 0x138c0
incq %rcx
addq %r9, %r8
cmpl %ecx, -0x34(%rbp)
jne 0x13897
jmp 0x1421e
cmpl $0x3, %r11d
ja 0x14390
movslq (%r15,%r11,4), %rax
addq %r15, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rcx
movl %edi, %edx
cmovll %ecx, %edx
testq %rcx, %rcx
cmovsl %r10d, %edx
jmp 0x138aa
movl %ecx, %eax
cltd
idivl %r13d
testq %rcx, %rcx
jns 0x138aa
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x138aa
xorl %edx, %edx
jmp 0x138aa
testq %rcx, %rcx
js 0x13957
cmpq -0x30(%rbp), %rcx
jl 0x138a8
movl %ecx, %edx
notl %edx
addl %esi, %edx
cmpq %rsi, %rcx
cmovgel %r10d, %edx
jmp 0x138aa
movl %ecx, %edx
negl %edx
cmpq -0x30(%rbp), %rcx
cmovgel %edi, %edx
jmp 0x138aa
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
addq %rcx, %rcx
movq %rcx, -0x88(%rbp)
leal -0x1(%r13), %ecx
movl %ecx, -0x44(%rbp)
movslq %eax, %rsi
movq -0x80(%rbp), %rax
movq -0x70(%rbp), %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x90(%rbp)
movq -0x40(%rbp), %rdx
movq %rdx, %rax
imulq %rsi, %rax
movq -0x60(%rbp), %rcx
leaq (,%rcx,4), %rcx
leaq (%rcx,%rax,4), %r12
addq %r14, %r12
leaq (,%rdx,4), %rax
movq %rax, -0xa0(%rbp)
movss 0x2650(%rip), %xmm1     # 0x16020
movss 0x269c(%rip), %xmm2     # 0x16074
movq -0x68(%rbp), %rax
decl %eax
movq %rax, -0x98(%rbp)
testq %rsi, %rsi
setns %al
cmpq -0x30(%rbp), %rsi
setl %cl
testb %cl, %al
movq %rsi, -0xa8(%rbp)
je 0x13adb
movl %esi, %edx
movq -0x40(%rbp), %rax
movl %eax, %ecx
imull %edx, %ecx
movl %ecx, -0x58(%rbp)
testl %eax, %eax
jle 0x13a7c
movslq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
leaq (%rcx,%rax,2), %r15
xorl %r13d, %r13d
movzwl (%r15,%r13,2), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
divss %xmm1, %xmm0
ucomiss %xmm0, %xmm2
jae 0x13a66
addss 0x263d(%rip), %xmm0     # 0x1607c
divss 0x2639(%rip), %xmm0     # 0x16080
movss 0x2635(%rip), %xmm1     # 0x16084
callq 0x1180
movss 0x2618(%rip), %xmm2     # 0x16074
movss 0x25bc(%rip), %xmm1     # 0x16020
jmp 0x13a6e
divss 0x260a(%rip), %xmm0     # 0x16078
movss %xmm0, (%r12,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x13a22
movq -0x78(%rbp), %rax
testb $0x2, 0x54(%rax)
movq -0xa8(%rbp), %rsi
jne 0x13abc
movl -0x58(%rbp), %eax
addl -0x70(%rbp), %eax
cltq
movq -0x50(%rbp), %rcx
movzwl (%rcx,%rax,2), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
movq %rsi, %rax
imulq -0x40(%rbp), %rax
divss %xmm1, %xmm0
movq -0x90(%rbp), %rcx
movss %xmm0, (%rcx,%rax,4)
incq %rsi
addq -0xa0(%rbp), %r12
cmpl %esi, -0x34(%rbp)
movq -0xb0(%rbp), %r13
jne 0x139e5
jmp 0x1421e
movq -0x98(%rbp), %rax
cmpl $0x3, %eax
ja 0x14390
leaq 0x282a(%rip), %rcx      # 0x1631c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, %edx
cmovll %esi, %edx
testq %rsi, %rsi
movl $0x0, %eax
cmovsl %eax, %edx
jmp 0x13a03
movl %esi, %eax
cltd
idivl %r13d
testq %rsi, %rsi
jns 0x13a03
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x13a03
xorl %edx, %edx
jmp 0x13a03
testq %rsi, %rsi
js 0x13b69
cmpq -0x30(%rbp), %rsi
jl 0x13a01
movl %esi, %edx
notl %edx
movq -0x88(%rbp), %rax
addl %eax, %edx
cmpq %rax, %rsi
movl $0x0, %eax
cmovgel %eax, %edx
jmp 0x13a03
movl %esi, %edx
negl %edx
cmpq -0x30(%rbp), %rsi
cmovgel -0x44(%rbp), %edx
jmp 0x13a03
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
addq %rcx, %rcx
movq %rcx, -0x88(%rbp)
leal -0x1(%r13), %ecx
movl %ecx, -0x44(%rbp)
movslq %eax, %rsi
movq -0x80(%rbp), %rax
movq -0x70(%rbp), %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x90(%rbp)
movq -0x40(%rbp), %rdx
movq %rdx, %rax
imulq %rsi, %rax
movq -0x60(%rbp), %rcx
leaq (,%rcx,4), %rcx
leaq (%rcx,%rax,4), %r12
addq %r14, %r12
leaq (,%rdx,4), %rax
movq %rax, -0xa0(%rbp)
movss 0x2491(%rip), %xmm1     # 0x16074
movq -0x68(%rbp), %rax
decl %eax
movq %rax, -0x98(%rbp)
testq %rsi, %rsi
setns %al
cmpq -0x30(%rbp), %rsi
setl %cl
testb %cl, %al
movq %rsi, -0xa8(%rbp)
je 0x13cc9
movl %esi, %edx
movl %ebx, %eax
imull %edx, %eax
movl %eax, -0x58(%rbp)
cmpl $0x0, -0x40(%rbp)
jle 0x13c73
movslq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
leaq (%rcx,%rax,4), %r15
xorl %r13d, %r13d
movss (%r15,%r13,4), %xmm0
ucomiss %xmm0, %xmm1
jae 0x13c5d
addss 0x243e(%rip), %xmm0     # 0x1607c
divss 0x243a(%rip), %xmm0     # 0x16080
movss 0x2436(%rip), %xmm1     # 0x16084
callq 0x1180
movss 0x2419(%rip), %xmm1     # 0x16074
jmp 0x13c65
divss 0x2413(%rip), %xmm0     # 0x16078
movss %xmm0, (%r12,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x13c2b
movq -0x78(%rbp), %rax
testb $0x2, 0x54(%rax)
movq -0xa8(%rbp), %rsi
jne 0x13caa
movq %rsi, %rax
imulq -0x40(%rbp), %rax
movl -0x58(%rbp), %ecx
addl -0x70(%rbp), %ecx
movslq %ecx, %rcx
movq -0x50(%rbp), %rdx
movss (%rdx,%rcx,4), %xmm0
movq -0x90(%rbp), %rcx
movss %xmm0, (%rcx,%rax,4)
incq %rsi
addq -0xa0(%rbp), %r12
cmpl %esi, -0x34(%rbp)
movq -0xb0(%rbp), %r13
jne 0x13bf0
jmp 0x1421e
movq -0x98(%rbp), %rax
cmpl $0x3, %eax
ja 0x14390
leaq 0x25fc(%rip), %rcx      # 0x162dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, %edx
cmovll %esi, %edx
testq %rsi, %rsi
movl $0x0, %eax
cmovsl %eax, %edx
jmp 0x13c0e
movl %esi, %eax
cltd
idivl %r13d
testq %rsi, %rsi
jns 0x13c0e
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x13c0e
xorl %edx, %edx
jmp 0x13c0e
testq %rsi, %rsi
js 0x13d57
cmpq -0x30(%rbp), %rsi
jl 0x13c0c
movl %esi, %edx
notl %edx
movq -0x88(%rbp), %rax
addl %eax, %edx
cmpq %rax, %rsi
movl $0x0, %eax
cmovgel %eax, %edx
jmp 0x13c0e
movl %esi, %edx
negl %edx
cmpq -0x30(%rbp), %rsi
cmovgel -0x44(%rbp), %edx
jmp 0x13c0e
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
addq %rcx, %rcx
movq %rcx, -0x58(%rbp)
leal -0x1(%r13), %edi
movslq %eax, %rcx
movq -0x80(%rbp), %rax
movq -0x70(%rbp), %rdx
leaq (%rax,%rdx,4), %r8
movq -0x40(%rbp), %rsi
movq %rsi, %rax
imulq %rcx, %rax
movq -0x60(%rbp), %rdx
leaq (,%rdx,4), %rdx
leaq (%rdx,%rax,4), %r9
addq %r14, %r9
leaq (,%rsi,4), %r10
leaq 0x29d4(%rip), %r15      # 0x16790
movss 0x2240(%rip), %xmm0     # 0x16004
movq -0x68(%rbp), %rax
leal -0x1(%rax), %r12d
leaq 0x2569(%rip), %r11      # 0x1633c
testq %rcx, %rcx
setns %al
cmpq -0x30(%rbp), %rcx
setl %dl
testb %dl, %al
je 0x13e61
movl %ecx, %edx
movq -0x40(%rbp), %rsi
imull %esi, %edx
movslq %edx, %rax
testl %esi, %esi
jle 0x13e17
movq -0x50(%rbp), %rdx
addq %rax, %rdx
xorl %r13d, %r13d
movzbl (%rdx,%r13), %esi
movss (%r15,%rsi,4), %xmm1
movss %xmm1, (%r9,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x13dfe
movq -0x78(%rbp), %rdx
testb $0x2, 0x54(%rdx)
jne 0x13e46
addq -0x70(%rbp), %rax
movq -0x50(%rbp), %rdx
movzbl (%rdx,%rax), %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
movq %rcx, %rax
imulq -0x40(%rbp), %rax
divss %xmm0, %xmm1
movss %xmm1, (%r8,%rax,4)
incq %rcx
addq %r10, %r9
cmpl %ecx, -0x34(%rbp)
movq -0xb0(%rbp), %r13
jne 0x13dd3
jmp 0x1421e
cmpl $0x3, %r12d
ja 0x14390
movslq (%r11,%r12,4), %rax
addq %r11, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rcx
movl %edi, %edx
cmovll %ecx, %edx
testq %rcx, %rcx
movl $0x0, %eax
cmovsl %eax, %edx
jmp 0x13de6
movl %ecx, %eax
cltd
idivl %r13d
testq %rcx, %rcx
jns 0x13de6
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x13de6
xorl %edx, %edx
jmp 0x13de6
testq %rcx, %rcx
js 0x13edc
cmpq -0x30(%rbp), %rcx
jl 0x13de4
movl %ecx, %edx
notl %edx
movq -0x58(%rbp), %rax
addl %eax, %edx
cmpq %rax, %rcx
movl $0x0, %eax
cmovgel %eax, %edx
jmp 0x13de6
movl %ecx, %edx
negl %edx
cmpq -0x30(%rbp), %rcx
cmovgel %edi, %edx
jmp 0x13de6
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
addq %rcx, %rcx
movq %rcx, -0x88(%rbp)
leal -0x1(%r13), %ecx
movl %ecx, -0x44(%rbp)
movslq %eax, %rsi
movq -0x80(%rbp), %rax
movq -0x70(%rbp), %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x90(%rbp)
movq -0x40(%rbp), %rdx
movq %rdx, %rax
imulq %rsi, %rax
movq -0x60(%rbp), %rcx
leaq (,%rcx,4), %rcx
leaq (%rcx,%rax,4), %r12
addq %r14, %r12
leaq (,%rdx,4), %rax
movq %rax, -0xa0(%rbp)
movsd 0x2e0b(%rip), %xmm1     # 0x16d60
movss 0x2117(%rip), %xmm2     # 0x16074
movq -0x68(%rbp), %rax
decl %eax
movq %rax, -0x98(%rbp)
testq %rsi, %rsi
setns %al
cmpq -0x30(%rbp), %rsi
setl %cl
testb %cl, %al
movq %rsi, -0xa8(%rbp)
je 0x14069
movl %esi, %edx
movq -0x40(%rbp), %rax
movl %eax, %ecx
imull %edx, %ecx
movl %ecx, -0x58(%rbp)
testl %eax, %eax
jle 0x14005
movslq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
leaq (%rcx,%rax,4), %r15
xorl %r13d, %r13d
movl (%r15,%r13,4), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
ucomiss %xmm0, %xmm2
jae 0x13fef
addss 0x20b4(%rip), %xmm0     # 0x1607c
divss 0x20b0(%rip), %xmm0     # 0x16080
movss 0x20ac(%rip), %xmm1     # 0x16084
callq 0x1180
movss 0x208f(%rip), %xmm2     # 0x16074
movsd 0x2d73(%rip), %xmm1     # 0x16d60
jmp 0x13ff7
divss 0x2081(%rip), %xmm0     # 0x16078
movss %xmm0, (%r12,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x13fa7
movq -0x78(%rbp), %rax
testb $0x2, 0x54(%rax)
movq -0xa8(%rbp), %rsi
jne 0x1404a
movq %rsi, %rax
imulq -0x40(%rbp), %rax
movl -0x58(%rbp), %ecx
addl -0x70(%rbp), %ecx
movslq %ecx, %rcx
movq -0x50(%rbp), %rdx
movl (%rdx,%rcx,4), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x90(%rbp), %rcx
movss %xmm0, (%rcx,%rax,4)
incq %rsi
addq -0xa0(%rbp), %r12
cmpl %esi, -0x34(%rbp)
movq -0xb0(%rbp), %r13
jne 0x13f6a
jmp 0x1421e
movq -0x98(%rbp), %rax
cmpl $0x3, %eax
ja 0x14390
leaq 0x227c(%rip), %rcx      # 0x162fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, %edx
cmovll %esi, %edx
testq %rsi, %rsi
movl $0x0, %eax
cmovsl %eax, %edx
jmp 0x13f88
movl %esi, %eax
cltd
idivl %r13d
testq %rsi, %rsi
jns 0x13f88
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x13f88
xorl %edx, %edx
jmp 0x13f88
testq %rsi, %rsi
js 0x140f7
cmpq -0x30(%rbp), %rsi
jl 0x13f86
movl %esi, %edx
notl %edx
movq -0x88(%rbp), %rax
addl %eax, %edx
cmpq %rax, %rsi
movl $0x0, %eax
cmovgel %eax, %edx
jmp 0x13f88
movl %esi, %edx
negl %edx
cmpq -0x30(%rbp), %rsi
cmovgel -0x44(%rbp), %edx
jmp 0x13f88
cmpl %eax, -0x34(%rbp)
jle 0x1421e
movq -0x30(%rbp), %rcx
leaq (%rcx,%rcx), %rsi
leal -0x1(%r13), %edi
movslq %eax, %rcx
movq -0x40(%rbp), %r9
movq %r9, %rax
imulq %rcx, %rax
movq -0x60(%rbp), %rdx
leaq (,%rdx,4), %rdx
leaq (%rdx,%rax,4), %r8
addq %r14, %r8
leaq (,%r9,4), %r9
xorl %r10d, %r10d
movq -0x68(%rbp), %rax
leal -0x1(%rax), %r11d
leaq 0x2194(%rip), %r15      # 0x162ec
testq %rcx, %rcx
setns %al
cmpq -0x30(%rbp), %rcx
setl %dl
testb %dl, %al
je 0x141a5
movl %ecx, %edx
movl -0x34(%rbp), %r12d
cmpl $0x0, -0x40(%rbp)
jle 0x14198
imull %ebx, %edx
movslq %edx, %rax
movq -0x50(%rbp), %rdx
leaq (%rdx,%rax,4), %rax
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm0
movss %xmm0, (%r8,%rdx,4)
incq %rdx
cmpq %rdx, %rbx
jne 0x14185
incq %rcx
addq %r9, %r8
cmpl %ecx, %r12d
jne 0x14158
jmp 0x1421e
cmpl $0x3, %r11d
movl -0x34(%rbp), %r12d
ja 0x14390
movslq (%r15,%r11,4), %rax
addq %r15, %rax
jmpq *%rax
cmpq -0x30(%rbp), %rcx
movl %edi, %edx
cmovll %ecx, %edx
testq %rcx, %rcx
cmovsl %r10d, %edx
jmp 0x1416f
movl %ecx, %eax
cltd
idivl %r13d
testq %rcx, %rcx
jns 0x1416f
leal (%rdx,%r13), %eax
testl %edx, %edx
cmovel %edx, %eax
movl %eax, %edx
jmp 0x1416f
xorl %edx, %edx
jmp 0x1416f
testq %rcx, %rcx
js 0x141fc
cmpq -0x30(%rbp), %rcx
jge 0x1420c
movl %ecx, %edx
jmp 0x1416f
movl %ecx, %edx
negl %edx
cmpq -0x30(%rbp), %rcx
cmovgel %edi, %edx
jmp 0x1416f
movl %ecx, %edx
notl %edx
addl %esi, %edx
cmpq %rsi, %rcx
cmovgel %r10d, %edx
jmp 0x1416f
movq -0x78(%rbp), %rax
testb $0x1, 0x54(%rax)
movl -0x34(%rbp), %r9d
jne 0x142d8
movq -0x78(%rbp), %rax
movslq 0xb8(%rax), %rdi
movq %rdi, %rax
negq %rax
cmpl %eax, %r9d
jle 0x142d8
movq -0x78(%rbp), %rcx
movl 0x58(%rcx), %ecx
movq -0x70(%rbp), %r8
movl %r8d, %edx
movq -0x80(%rbp), %rsi
leaq (%rsi,%r8,4), %rsi
movq -0x60(%rbp), %r10
shlq $0x2, %r10
movq -0x40(%rbp), %r8
imulq %r8, %rdi
shlq $0x2, %rdi
subq %rdi, %r10
addq %r10, %r14
leaq (,%r8,4), %rdi
movss 0x1dfe(%rip), %xmm0     # 0x16088
movq %rax, %r8
imulq -0x40(%rbp), %r8
movss (%rsi,%r8,4), %xmm1
cmpl $0x3, %ecx
je 0x142a7
addss %xmm0, %xmm1
movss %xmm1, (%rsi,%r8,4)
cmpl $0x0, -0x40(%rbp)
jle 0x142cd
xorl %r8d, %r8d
cmpq %r8, %rdx
je 0x142c5
movss (%r14,%r8,4), %xmm2
mulss %xmm1, %xmm2
movss %xmm2, (%r14,%r8,4)
incq %r8
cmpq %r8, %rbx
jne 0x142b0
incq %rax
addq %rdi, %r14
cmpl %eax, %r9d
jne 0x1428a
cmpl $0x4, -0x68(%rbp)
jne 0x14367
movq -0x78(%rbp), %rax
movslq 0xb8(%rax), %r15
testq %r15, %r15
jle 0x14327
leaq (,%rbx,4), %r14
movl %r15d, %r12d
imull %ebx, %r12d
negl %r12d
cmpl $0x0, -0x40(%rbp)
jle 0x1431f
movslq %r12d, %rax
movq -0x80(%rbp), %rcx
leaq (%rcx,%rax,4), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x1060
addl %ebx, %r12d
decq %r15
jne 0x14304
cmpl $0x0, -0xb8(%rbp)
movl -0x34(%rbp), %r12d
jle 0x14367
leaq (,%rbx,4), %r14
movl %r13d, %r15d
imull %ebx, %r15d
testl %ebx, %ebx
jle 0x1435c
movslq %r15d, %rax
movq -0x80(%rbp), %rcx
leaq (%rcx,%rax,4), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x1060
incl %r13d
addl %ebx, %r15d
cmpl %r12d, %r13d
jl 0x14343
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl %esi, %r11d
jle 0x14385
negl %esi
jmp 0x134bb
decl %r11d
movl %r11d, %edx
jmp 0x134bd
leaq 0x3d4d(%rip), %rdi      # 0x180e4
leaq 0x34d6(%rip), %rsi      # 0x17874
leaq 0x3d5a(%rip), %rcx      # 0x180ff
movl $0x3d9, %edx            # imm = 0x3D9
callq 0x1080
leaq 0x3ccd(%rip), %rdi      # 0x18083
leaq 0x34b7(%rip), %rsi      # 0x17874
leaq 0x3cf0(%rip), %rcx      # 0x180b4
movl $0x54f, %edx            # imm = 0x54F
callq 0x1080