// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/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++] = (stbir_uint16)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) * stbir__max_uint8_as_float ))
    #define STBIR__ENCODE_LINEAR16(f)  stbir__saturate16(STBIR__ROUND_INT((f) * stbir__max_uint16_as_float))
    #else
    #define STBIR__ENCODE_LINEAR8(f)   (unsigned char ) STBIR__ROUND_INT(stbir__saturate(f) * stbir__max_uint8_as_float )
    #define STBIR__ENCODE_LINEAR16(f)  (unsigned short) STBIR__ROUND_INT(stbir__saturate(f) * stbir__max_uint16_as_float)
    #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])) * stbir__max_uint16_as_float);
                }

                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])) * stbir__max_uint32_as_float);
                }
            }
            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]))) * stbir__max_uint32_as_float);
                }

                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])) * stbir__max_uint32_as_float);
            }
            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 0x34be8
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x34be6
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 0x34b59
jp 0x34b59
jmp 0x34b73
movss 0x6847(%rip), %xmm0     # 0x3b3a8
divss -0xc8(%rbp), %xmm0
movss %xmm0, -0x110(%rbp)
jmp 0x34b80
xorps %xmm0, %xmm0
movss %xmm0, -0x110(%rbp)
jmp 0x34b80
movss -0x110(%rbp), %xmm0
movss %xmm0, -0xcc(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x34bd6
movl -0x30(%rbp), %eax
cmpl -0x28(%rbp), %eax
je 0x34bc9
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 0x34bcb
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x34b97
jmp 0x34bd8
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34b0f
jmp 0x34be8
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x34c3d
movl -0x2c(%rbp), %eax
cmpl -0x28(%rbp), %eax
jne 0x34c15
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x34c30
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 0x34c32
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34bf6
movl 0x10(%rbp), %eax
movq %rax, -0x118(%rbp)
subq $0x7, %rax
ja 0x352a2
movq -0x118(%rbp), %rax
leaq 0x69e9(%rip), %rcx      # 0x3b648
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x34d06
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 0x34cf6
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 0x352d0
movss 0x66e9(%rip), %xmm1     # 0x3b3ac
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x6765(%rip), %xmm1     # 0x3b438
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 0x34c8f
jmp 0x34cf8
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34c6f
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x34df2
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 0x34d84
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 0x35320
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 0x34d32
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x34de2
movq -0x20(%rbp), %rax
movl -0xd8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x352d0
movss 0x65f7(%rip), %xmm1     # 0x3b3ac
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x6673(%rip), %xmm1     # 0x3b438
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 0x34de4
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34d12
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x34e97
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 0x34e87
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 0x352d0
movss 0x655e(%rip), %xmm1     # 0x3b3b0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x65d6(%rip), %xmm1     # 0x3b438
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 0x34e1e
jmp 0x34e89
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34dfe
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x34fac
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 0x34f3c
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 0x352d0
callq 0x353c0
movss 0x64a9(%rip), %xmm1     # 0x3b3b0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x6521(%rip), %xmm1     # 0x3b438
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 0x34ec3
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x34f9c
movq -0x20(%rbp), %rax
movl -0xe8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x352d0
movss 0x6443(%rip), %xmm1     # 0x3b3b0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x64bb(%rip), %xmm1     # 0x3b438
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 0x34f9e
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34ea3
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x35052
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 0x35042
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 0x352d0
cvtss2sd %xmm0, %xmm0
movsd 0x6436(%rip), %xmm1     # 0x3b448
mulsd %xmm1, %xmm0
movsd 0x641a(%rip), %xmm1     # 0x3b438
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 0x34fd8
jmp 0x35044
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x34fb8
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x35162
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 0x350f6
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 0x352d0
callq 0x353c0
cvtss2sd %xmm0, %xmm0
movsd 0x6382(%rip), %xmm1     # 0x3b448
mulsd %xmm1, %xmm0
movsd 0x6366(%rip), %xmm1     # 0x3b438
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 0x3507e
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x35152
movq -0x20(%rbp), %rax
movl -0xf8(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x352d0
cvtss2sd %xmm0, %xmm0
movsd 0x631d(%rip), %xmm1     # 0x3b448
mulsd %xmm1, %xmm0
movsd 0x6301(%rip), %xmm1     # 0x3b438
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 0x35154
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x3505e
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x351d9
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 0x351cc
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 0x3518a
jmp 0x351ce
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x3516e
jmp 0x352c1
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x352a0
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 0x35257
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 0x353c0
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 0x35205
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x35290
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 0x35292
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x351e5
jmp 0x352c1
leaq 0x7e67(%rip), %rdi      # 0x3d110
leaq 0x7669(%rip), %rsi      # 0x3c919
movl $0x743, %edx            # imm = 0x743
leaq 0x8169(%rip), %rcx      # 0x3d425
callq 0x50f0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw (%rax,%rax)