// File: 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
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x4c(%rax), %eax
movl %eax, -0x14(%rbp)
movq -0x8(%rbp), %rax
movl 0x50(%rax), %eax
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movl 0x6c(%rax), %eax
movl %eax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x24(%rbp)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1e170
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movl 0x64(%rax), %eax
movl %eax, -0x34(%rbp)
movq -0x8(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %edi
movl -0xc(%rbp), %esi
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edx
callq 0x1e1b0
imull -0x28(%rbp), %eax
movl %eax, -0x3c(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x3c(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movl -0x24(%rbp), %eax
movq -0x8(%rbp), %rcx
addl 0xb8(%rcx), %eax
movl %eax, -0x4c(%rbp)
movl -0x1c(%rbp), %eax
shll %eax
addl -0x20(%rbp), %eax
movl %eax, -0x50(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x54(%rbp)
cmpl $0x4, -0x38(%rbp)
jne 0x1c8fb
cmpl $0x0, -0xc(%rbp)
jl 0x1c8ac
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jl 0x1c8fb
jmp 0x1c8ae
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1c8f6
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1c8e9
movq -0x30(%rbp), %rax
movl -0x54(%rbp), %ecx
imull -0x14(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1c8bd
jmp 0x1c8eb
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1c8ae
jmp 0x1d074
movl -0x50(%rbp), %eax
movq %rax, -0xa8(%rbp)
subq $0x7, %rax
ja 0x1ceb7
movq -0xa8(%rbp), %rax
leaq 0x396b(%rip), %rcx      # 0x20288
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x1c928
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1c9ae
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x58(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1c99e
movq -0x48(%rbp), %rax
movl -0x5c(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss 0x368b(%rip), %xmm1     # 0x20008
divss %xmm1, %xmm0
movq -0x30(%rbp), %rax
movl -0x58(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1c956
jmp 0x1c9a0
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1c928
jmp 0x1ced6
jmp 0x1c9b5
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1ca7f
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x64(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1ca2b
movq -0x48(%rbp), %rax
movl -0x64(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x9b17(%rip), %rax      # 0x26520
movss (%rax,%rcx,4), %xmm0
movq -0x30(%rbp), %rax
movl -0x60(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1c9e7
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1ca6f
movq -0x48(%rbp), %rax
movl -0x64(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss 0x35af(%rip), %xmm1     # 0x20008
divss %xmm1, %xmm0
movq -0x30(%rbp), %rax
movl -0x60(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x1ca71
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1c9b5
jmp 0x1ced6
jmp 0x1ca86
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cb0c
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cafc
movq -0x48(%rbp), %rax
movl -0x6c(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movss 0x3541(%rip), %xmm1     # 0x2001c
divss %xmm1, %xmm0
movq -0x30(%rbp), %rax
movl -0x68(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cab4
jmp 0x1cafe
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1ca86
jmp 0x1ced6
jmp 0x1cb13
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cbe6
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x70(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x74(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cb92
movq -0x48(%rbp), %rax
movl -0x74(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movss 0x34b0(%rip), %xmm1     # 0x2001c
divss %xmm1, %xmm0
callq 0x1e200
movq -0x30(%rbp), %rax
movl -0x70(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cb45
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1cbd6
movq -0x48(%rbp), %rax
movl -0x74(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movss 0x345c(%rip), %xmm1     # 0x2001c
divss %xmm1, %xmm0
movq -0x30(%rbp), %rax
movl -0x70(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x1cbd8
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cb13
jmp 0x1ced6
jmp 0x1cbed
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cc7b
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cc6b
movq -0x48(%rbp), %rax
movl -0x7c(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cvtsi2sd %rax, %xmm0
movsd 0x347a(%rip), %xmm1     # 0x200c0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x30(%rbp), %rax
movl -0x78(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cc1f
jmp 0x1cc6d
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cbed
jmp 0x1ced6
jmp 0x1cc82
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cd66
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x80(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x84(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cd0b
movq -0x48(%rbp), %rax
movl -0x84(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cvtsi2sd %rax, %xmm0
movsd 0x33df(%rip), %xmm1     # 0x200c0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0x1e200
movq -0x30(%rbp), %rax
movl -0x80(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1ccb7
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1cd56
movq -0x48(%rbp), %rax
movl -0x84(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cvtsi2sd %rax, %xmm0
movsd 0x3384(%rip), %xmm1     # 0x200c0
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x30(%rbp), %rax
movl -0x80(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x1cd58
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cc82
jmp 0x1ced6
jmp 0x1cd6d
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cdeb
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x88(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cdde
movq -0x48(%rbp), %rax
movl -0x8c(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x30(%rbp), %rax
movl -0x88(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cda1
jmp 0x1cde0
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cd6d
jmp 0x1ced6
jmp 0x1cdf2
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1ceb5
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x90(%rbp)
movl -0x34(%rbp), %edi
movl -0x54(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x1e1b0
imull -0x14(%rbp), %eax
movl %eax, -0x94(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1ce6c
movq -0x48(%rbp), %rax
movl -0x94(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1e200
movq -0x30(%rbp), %rax
movl -0x90(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1ce2a
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1cea5
movq -0x48(%rbp), %rax
movl -0x94(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x30(%rbp), %rax
movl -0x90(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x1cea7
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cdf2
jmp 0x1ced6
leaq 0x4ac3(%rip), %rdi      # 0x21981
leaq 0x42a5(%rip), %rsi      # 0x2116a
movl $0x54f, %edx            # imm = 0x54F
leaq 0x4ae1(%rip), %rcx      # 0x219b2
callq 0x1090
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x1cfc5
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1cfc3
movl -0x54(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x98(%rbp)
movq -0x30(%rbp), %rax
movl -0x98(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x9c(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x58(%rax)
je 0x1cf6d
movss 0x3130(%rip), %xmm0     # 0x20070
addss -0x9c(%rbp), %xmm0
movss %xmm0, -0x9c(%rbp)
movss -0x9c(%rbp), %xmm0
movq -0x30(%rbp), %rax
movl -0x98(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1cfb3
movl -0x10(%rbp), %eax
cmpl -0x18(%rbp), %eax
jne 0x1cf86
jmp 0x1cfa8
movss -0x9c(%rbp), %xmm0
movq -0x30(%rbp), %rax
movl -0x98(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cf74
jmp 0x1cfb5
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cef8
jmp 0x1cfc5
cmpl $0x4, -0x34(%rbp)
jne 0x1d074
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
jge 0x1d024
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1d017
movq -0x30(%rbp), %rax
movl -0x54(%rbp), %ecx
imull -0x14(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1cfeb
jmp 0x1d019
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1cfde
movl -0x24(%rbp), %eax
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
cmpl -0x4c(%rbp), %eax
jge 0x1d072
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x1d065
movq -0x30(%rbp), %rax
movl -0x54(%rbp), %ecx
imull -0x14(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1d039
jmp 0x1d067
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x1d02a
jmp 0x1d074
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax)