// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/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;
    size_t 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;
    size_t 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]) / stbir__max_uint8_as_float;
        }
        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]) / stbir__max_uint8_as_float;
        }
        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]) / stbir__max_uint16_as_float;
        }
        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]) / stbir__max_uint16_as_float);

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

            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]) / stbir__max_uint32_as_float);
        }
        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
movslq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rdi
callq 0x34810
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movl 0x64(%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x8(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %edi
movl -0xc(%rbp), %esi
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edx
callq 0x34850
cltq
imulq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
addq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
movl -0x24(%rbp), %eax
movq -0x8(%rbp), %rcx
addl 0xb8(%rcx), %eax
movl %eax, -0x54(%rbp)
movl -0x1c(%rbp), %eax
shll %eax
addl -0x20(%rbp), %eax
movl %eax, -0x58(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x5c(%rbp)
cmpl $0x4, -0x40(%rbp)
jne 0x32fee
cmpl $0x0, -0xc(%rbp)
jl 0x32f9f
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jl 0x32fee
jmp 0x32fa1
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x32fe9
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x32fdc
movq -0x38(%rbp), %rax
movl -0x5c(%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 0x32fb0
jmp 0x32fde
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x32fa1
jmp 0x33776
movl -0x58(%rbp), %eax
movq %rax, -0xb0(%rbp)
subq $0x7, %rax
ja 0x335b9
movq -0xb0(%rbp), %rax
leaq 0x85e8(%rip), %rcx      # 0x3b5f8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x3301b
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x330a1
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x64(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x33091
movq -0x50(%rbp), %rax
movl -0x64(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss 0x833c(%rip), %xmm1     # 0x3b3ac
divss %xmm1, %xmm0
movq -0x38(%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 0x33049
jmp 0x33093
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x3301b
jmp 0x335d8
jmp 0x330a8
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x33172
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x3311e
movq -0x50(%rbp), %rax
movl -0x6c(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x1c514(%rip), %rax     # 0x4f610
movss (%rax,%rcx,4), %xmm0
movq -0x38(%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 0x330da
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x33162
movq -0x50(%rbp), %rax
movl -0x6c(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss 0x8260(%rip), %xmm1     # 0x3b3ac
divss %xmm1, %xmm0
movq -0x38(%rbp), %rax
movl -0x68(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x33164
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x330a8
jmp 0x335d8
jmp 0x33179
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x331ff
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x70(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x74(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x331ef
movq -0x50(%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 0x81e2(%rip), %xmm1     # 0x3b3b0
divss %xmm1, %xmm0
movq -0x38(%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 0x331a7
jmp 0x331f1
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x33179
jmp 0x335d8
jmp 0x33206
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x332d9
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x33285
movq -0x50(%rbp), %rax
movl -0x7c(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movss 0x8151(%rip), %xmm1     # 0x3b3b0
divss %xmm1, %xmm0
callq 0x348a0
movq -0x38(%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 0x33238
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x332c9
movq -0x50(%rbp), %rax
movl -0x7c(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
cvtsi2ss %eax, %xmm0
movss 0x80fd(%rip), %xmm1     # 0x3b3b0
divss %xmm1, %xmm0
movq -0x38(%rbp), %rax
movl -0x78(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x332cb
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x33206
jmp 0x335d8
jmp 0x332e0
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x33374
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x80(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x84(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x33364
movq -0x50(%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 0x8109(%rip), %xmm1     # 0x3b448
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x38(%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 0x33315
jmp 0x33366
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x332e0
jmp 0x335d8
jmp 0x3337b
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x33468
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x88(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x3340a
movq -0x50(%rbp), %rax
movl -0x8c(%rbp), %ecx
movl -0x10(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cvtsi2sd %rax, %xmm0
movsd 0x806b(%rip), %xmm1     # 0x3b448
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0x348a0
movq -0x38(%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 0x333b3
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x33458
movq -0x50(%rbp), %rax
movl -0x8c(%rbp), %ecx
movl -0x18(%rbp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cvtsi2sd %rax, %xmm0
movsd 0x800d(%rip), %xmm1     # 0x3b448
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x38(%rbp), %rax
movl -0x88(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x3345a
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x3337b
jmp 0x335d8
jmp 0x3346f
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x334ed
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x90(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x94(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x334e0
movq -0x50(%rbp), %rax
movl -0x94(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x38(%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 0x334a3
jmp 0x334e2
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x3346f
jmp 0x335d8
jmp 0x334f4
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x335b7
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0x98(%rbp)
movl -0x3c(%rbp), %edi
movl -0x5c(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x34850
imull -0x14(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x3356e
movq -0x50(%rbp), %rax
movl -0x9c(%rbp), %ecx
addl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x348a0
movq -0x38(%rbp), %rax
movl -0x98(%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 0x3352c
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x335a7
movq -0x50(%rbp), %rax
movl -0x9c(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x38(%rbp), %rax
movl -0x98(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
jmp 0x335a9
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x334f4
jmp 0x335d8
leaq 0x9b50(%rip), %rdi      # 0x3d110
leaq 0x9352(%rip), %rsi      # 0x3c919
movl $0x556, %edx            # imm = 0x556
leaq 0x9b6e(%rip), %rcx      # 0x3d141
callq 0x50f0
movq -0x8(%rbp), %rax
movl 0x54(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x336c7
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x336c5
movl -0x5c(%rbp), %eax
imull -0x14(%rbp), %eax
movl %eax, -0xa0(%rbp)
movq -0x38(%rbp), %rax
movl -0xa0(%rbp), %ecx
addl -0x18(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0xa4(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x58(%rax)
je 0x3366f
movss 0x7dc6(%rip), %xmm0     # 0x3b408
addss -0xa4(%rbp), %xmm0
movss %xmm0, -0xa4(%rbp)
movss -0xa4(%rbp), %xmm0
movq -0x38(%rbp), %rax
movl -0xa0(%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 0x336b5
movl -0x10(%rbp), %eax
cmpl -0x18(%rbp), %eax
jne 0x33688
jmp 0x336aa
movss -0xa4(%rbp), %xmm0
movq -0x38(%rbp), %rax
movl -0xa0(%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 0x33676
jmp 0x336b7
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x335fa
jmp 0x336c7
cmpl $0x4, -0x3c(%rbp)
jne 0x33776
movq -0x8(%rbp), %rcx
xorl %eax, %eax
subl 0xb8(%rcx), %eax
movl %eax, -0x5c(%rbp)
cmpl $0x0, -0x5c(%rbp)
jge 0x33726
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x33719
movq -0x38(%rbp), %rax
movl -0x5c(%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 0x336ed
jmp 0x3371b
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x336e0
movl -0x24(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x33774
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x33767
movq -0x38(%rbp), %rax
movl -0x5c(%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 0x3373b
jmp 0x33769
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x3372c
jmp 0x33776
addq $0xb0, %rsp
popq %rbp
retq
nop