// File: lunasorcery[P]brailify/./stb/stb_image_resize.h
// Function: stbir__encode_scanline(stbir__info*, int, void*, float*, int, int, int)
static void stbir__encode_scanline(stbir__info* stbir_info, int num_pixels, void *output_buffer, float *encode_buffer, int channels, int alpha_channel, int decode)
{
    int x;
    int n;
    int num_nonalpha;
    stbir_uint16 nonalpha[STBIR_MAX_CHANNELS];

    if (!(stbir_info->flags&STBIR_FLAG_ALPHA_PREMULTIPLIED))
    {
        for (x=0; x < num_pixels; ++x)
        {
            int pixel_index = x*channels;

            float alpha = encode_buffer[pixel_index + alpha_channel];
            float reciprocal_alpha = alpha ? 1.0f / alpha : 0;

            // unrolling this produced a 1% slowdown upscaling a large RGBA linear-space image on my machine - stb
            for (n = 0; n < channels; n++)
                if (n != alpha_channel)
                    encode_buffer[pixel_index + n] *= reciprocal_alpha;

            // We added in a small epsilon to prevent the color channel from being deleted with zero alpha.
            // Because we only add it for integer types, it will automatically be discarded on integer
            // conversion, so we don't need to subtract it back out (which would be problematic for
            // numeric precision reasons).
        }
    }

    // build a table of all channels that need colorspace correction, so
    // we don't perform colorspace correction on channels that don't need it.
    for (x=0, num_nonalpha=0; x < channels; ++x)
        if (x != alpha_channel || (stbir_info->flags & STBIR_FLAG_ALPHA_USES_COLORSPACE))
            nonalpha[num_nonalpha++] = x;

    #define STBIR__ROUND_INT(f)    ((int)          ((f)+0.5))
    #define STBIR__ROUND_UINT(f)   ((stbir_uint32) ((f)+0.5))

    #ifdef STBIR__SATURATE_INT
    #define STBIR__ENCODE_LINEAR8(f)   stbir__saturate8 (STBIR__ROUND_INT((f) * 255  ))
    #define STBIR__ENCODE_LINEAR16(f)  stbir__saturate16(STBIR__ROUND_INT((f) * 65535))
    #else
    #define STBIR__ENCODE_LINEAR8(f)   (unsigned char ) STBIR__ROUND_INT(stbir__saturate(f) * 255  )
    #define STBIR__ENCODE_LINEAR16(f)  (unsigned short) STBIR__ROUND_INT(stbir__saturate(f) * 65535)
    #endif

    switch (decode)
    {
        case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_LINEAR):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < channels; n++)
                {
                    int index = pixel_index + n;
                    ((unsigned char*)output_buffer)[index] = STBIR__ENCODE_LINEAR8(encode_buffer[index]);
                }
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_SRGB):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < num_nonalpha; n++)
                {
                    int index = pixel_index + nonalpha[n];
                    ((unsigned char*)output_buffer)[index] = stbir__linear_to_srgb_uchar(encode_buffer[index]);
                }

                if (!(stbir_info->flags & STBIR_FLAG_ALPHA_USES_COLORSPACE))
                    ((unsigned char *)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR8(encode_buffer[pixel_index+alpha_channel]);
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_LINEAR):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < channels; n++)
                {
                    int index = pixel_index + n;
                    ((unsigned short*)output_buffer)[index] = STBIR__ENCODE_LINEAR16(encode_buffer[index]);
                }
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_SRGB):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < num_nonalpha; n++)
                {
                    int index = pixel_index + nonalpha[n];
                    ((unsigned short*)output_buffer)[index] = (unsigned short)STBIR__ROUND_INT(stbir__linear_to_srgb(stbir__saturate(encode_buffer[index])) * 65535);
                }

                if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                    ((unsigned short*)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR16(encode_buffer[pixel_index + alpha_channel]);
            }

            break;

        case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_LINEAR):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < channels; n++)
                {
                    int index = pixel_index + n;
                    ((unsigned int*)output_buffer)[index] = (unsigned int)STBIR__ROUND_UINT(((double)stbir__saturate(encode_buffer[index])) * 4294967295);
                }
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_SRGB):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < num_nonalpha; n++)
                {
                    int index = pixel_index + nonalpha[n];
                    ((unsigned int*)output_buffer)[index] = (unsigned int)STBIR__ROUND_UINT(((double)stbir__linear_to_srgb(stbir__saturate(encode_buffer[index]))) * 4294967295);
                }

                if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                    ((unsigned int*)output_buffer)[pixel_index + alpha_channel] = (unsigned int)STBIR__ROUND_INT(((double)stbir__saturate(encode_buffer[pixel_index + alpha_channel])) * 4294967295);
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_LINEAR):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < channels; n++)
                {
                    int index = pixel_index + n;
                    ((float*)output_buffer)[index] = encode_buffer[index];
                }
            }
            break;

        case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_SRGB):
            for (x=0; x < num_pixels; ++x)
            {
                int pixel_index = x*channels;

                for (n = 0; n < num_nonalpha; n++)
                {
                    int index = pixel_index + nonalpha[n];
                    ((float*)output_buffer)[index] = stbir__linear_to_srgb(encode_buffer[index]);
                }

                if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
                    ((float*)output_buffer)[pixel_index + alpha_channel] = encode_buffer[pixel_index + alpha_channel];
            }
            break;

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movl %r9d, -0x28(%rbp)
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x1e548
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e546
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xc4(%rbp)
movq -0x20(%rbp), %rax
movl -0xc4(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0xc8(%rbp)
movss -0xc8(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x1e4b9
jp 0x1e4b9
jmp 0x1e4d3
movss 0x1b43(%rip), %xmm0     # 0x20004
divss -0xc8(%rbp), %xmm0
movss %xmm0, -0x110(%rbp)
jmp 0x1e4e0
xorps %xmm0, %xmm0
movss %xmm0, -0x110(%rbp)
jmp 0x1e4e0
movss -0x110(%rbp), %xmm0
movss %xmm0, -0xcc(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1e536
movl -0x30(%rbp), %eax
cmpl -0x28(%rbp), %eax
je 0x1e529
movss -0xcc(%rbp), %xmm0
movq -0x20(%rbp), %rax
movl -0xc4(%rbp), %ecx
addl -0x30(%rbp), %ecx
movslq %ecx, %rcx
mulss (%rax,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
jmp 0x1e52b
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e4f7
jmp 0x1e538
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e46f
jmp 0x1e548
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1e59d
movl -0x2c(%rbp), %eax
cmpl -0x28(%rbp), %eax
jne 0x1e575
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x1e590
movl -0x2c(%rbp), %eax
movw %ax, %cx
movl -0x34(%rbp), %eax
movl %eax, %edx
addl $0x1, %edx
movl %edx, -0x34(%rbp)
cltq
movw %cx, -0xc0(%rbp,%rax,2)
jmp 0x1e592
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e556
movl 0x10(%rbp), %eax
movq %rax, -0x118(%rbp)
subq $0x7, %rax
ja 0x1ec02
movq -0x118(%rbp), %rax
leaq 0x1d19(%rip), %rcx      # 0x202d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e666
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xd0(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1e656
movl -0xd0(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0xd4(%rbp)
movq -0x20(%rbp), %rax
movslq -0xd4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
movss 0x19e5(%rip), %xmm1     # 0x20008
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x1a7d(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movb %al, %dl
movq -0x18(%rbp), %rax
movslq -0xd4(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e5ef
jmp 0x1e658
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e5cf
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e752
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xd8(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0x1e6e4
movl -0xd8(%rbp), %eax
movslq -0x30(%rbp), %rcx
movzwl -0xc0(%rbp,%rcx,2), %ecx
addl %ecx, %eax
movl %eax, -0xdc(%rbp)
movq -0x20(%rbp), %rax
movslq -0xdc(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec80
movb %al, %dl
movq -0x18(%rbp), %rax
movslq -0xdc(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e692
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1e742
movq -0x20(%rbp), %rax
movl -0xd8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
movss 0x18f3(%rip), %xmm1     # 0x20008
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x198b(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movb %al, %dl
movq -0x18(%rbp), %rax
movl -0xd8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x1e744
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e672
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e7f7
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xe0(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1e7e7
movl -0xe0(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0xe4(%rbp)
movq -0x20(%rbp), %rax
movslq -0xe4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
movss 0x186a(%rip), %xmm1     # 0x2001c
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x18ee(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movw %ax, %dx
movq -0x18(%rbp), %rax
movslq -0xe4(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e77e
jmp 0x1e7e9
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e75e
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e90c
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xe8(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0x1e89c
movl -0xe8(%rbp), %eax
movslq -0x30(%rbp), %rcx
movzwl -0xc0(%rbp,%rcx,2), %ecx
addl %ecx, %eax
movl %eax, -0xec(%rbp)
movq -0x20(%rbp), %rax
movslq -0xec(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
callq 0x1ed20
movss 0x17b5(%rip), %xmm1     # 0x2001c
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x1839(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movw %ax, %dx
movq -0x18(%rbp), %rax
movslq -0xec(%rbp), %rcx
movw %dx, (%rax,%rcx,2)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e823
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1e8fc
movq -0x20(%rbp), %rax
movl -0xe8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
movss 0x174f(%rip), %xmm1     # 0x2001c
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x17d3(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movw %ax, %dx
movq -0x18(%rbp), %rax
movl -0xe8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movw %dx, (%rax,%rcx,2)
jmp 0x1e8fe
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e803
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1e9b2
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xf0(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1e9a2
movl -0xf0(%rbp), %eax
movl -0x30(%rbp), %ecx
addl %ecx, %eax
movl %eax, -0xf4(%rbp)
movq -0x20(%rbp), %rax
movslq -0xf4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
cvtss2sd %xmm0, %xmm0
movsd 0x174e(%rip), %xmm1     # 0x200c0
mulsd %xmm1, %xmm0
movsd 0x1732(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, %edx
movq -0x18(%rbp), %rax
movslq -0xf4(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e938
jmp 0x1e9a4
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e918
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1eac2
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0xf8(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0x1ea56
movl -0xf8(%rbp), %eax
movslq -0x30(%rbp), %rcx
movzwl -0xc0(%rbp,%rcx,2), %ecx
addl %ecx, %eax
movl %eax, -0xfc(%rbp)
movq -0x20(%rbp), %rax
movslq -0xfc(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
callq 0x1ed20
cvtss2sd %xmm0, %xmm0
movsd 0x169a(%rip), %xmm1     # 0x200c0
mulsd %xmm1, %xmm0
movsd 0x167e(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, %edx
movq -0x18(%rbp), %rax
movslq -0xfc(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1e9de
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1eab2
movq -0x20(%rbp), %rax
movl -0xf8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ec30
cvtss2sd %xmm0, %xmm0
movsd 0x1635(%rip), %xmm1     # 0x200c0
mulsd %xmm1, %xmm0
movsd 0x1619(%rip), %xmm1     # 0x200b0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %edx
movq -0x18(%rbp), %rax
movl -0xf8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
jmp 0x1eab4
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1e9be
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1eb39
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0x100(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1eb2c
movl -0x100(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x104(%rbp)
movq -0x20(%rbp), %rax
movslq -0x104(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x18(%rbp), %rax
movslq -0x104(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1eaea
jmp 0x1eb2e
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1eace
jmp 0x1ec21
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x1ec00
movl -0x2c(%rbp), %eax
imull -0x24(%rbp), %eax
movl %eax, -0x108(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0x1ebb7
movl -0x108(%rbp), %eax
movslq -0x30(%rbp), %rcx
movzwl -0xc0(%rbp,%rcx,2), %ecx
addl %ecx, %eax
movl %eax, -0x10c(%rbp)
movq -0x20(%rbp), %rax
movslq -0x10c(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x1ed20
movq -0x18(%rbp), %rax
movslq -0x10c(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1eb65
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x1ebf0
movq -0x20(%rbp), %rax
movl -0x108(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x18(%rbp), %rax
movl -0x108(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x1ebf2
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1eb45
jmp 0x1ec21
leaq 0x2d78(%rip), %rdi      # 0x21981
leaq 0x255a(%rip), %rsi      # 0x2116a
movl $0x73b, %edx            # imm = 0x73B
leaq 0x3095(%rip), %rcx      # 0x21cb1
callq 0x1090
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw (%rax,%rax)