LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir_resize_region
STBIRDEF int stbir_resize_region(  const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
                                         void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
                                   stbir_datatype datatype,
                                   int num_channels, int alpha_channel, int flags,
                                   stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical, 
                                   stbir_filter filter_horizontal,  stbir_filter filter_vertical,
                                   stbir_colorspace space, void *alloc_context,
                                   float s0, float t0, float s1, float t1)
{
    return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
        output_pixels, output_w, output_h, output_stride_in_bytes,
        s0,t0,s1,t1,NULL,num_channels,alpha_channel,flags, datatype, filter_horizontal, filter_vertical,
        edge_mode_horizontal, edge_mode_vertical, space);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq 0x68(%rbp), %rax
movl 0x60(%rbp), %eax
movl 0x58(%rbp), %eax
movl 0x50(%rbp), %eax
movl 0x48(%rbp), %eax
movl 0x40(%rbp), %eax
movl 0x38(%rbp), %eax
movl 0x30(%rbp), %eax
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x30(%rbp)
movl %esi, -0x34(%rbp)
movl %edx, -0x38(%rbp)
movl %ecx, -0x3c(%rbp)
movq %r8, -0x48(%rbp)
movl %r9d, -0x4c(%rbp)
movss %xmm0, -0x50(%rbp)
movss %xmm1, -0x54(%rbp)
movss %xmm2, -0x58(%rbp)
movss %xmm3, -0x5c(%rbp)
movq 0x68(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
movl -0x38(%rbp), %ecx
movl -0x3c(%rbp), %r8d
movq -0x48(%rbp), %r9
movl -0x4c(%rbp), %eax
movl %eax, -0x70(%rbp)
movl 0x10(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl 0x18(%rbp), %eax
movl %eax, -0x68(%rbp)
movss -0x50(%rbp), %xmm0
movss -0x54(%rbp), %xmm1
movss -0x58(%rbp), %xmm2
movss -0x5c(%rbp), %xmm3
movl 0x28(%rbp), %eax
movl %eax, -0x64(%rbp)
movl 0x30(%rbp), %r13d
movl 0x38(%rbp), %r12d
movl 0x20(%rbp), %r15d
movl 0x50(%rbp), %r14d
movl 0x58(%rbp), %ebx
movl 0x40(%rbp), %r11d
movl 0x48(%rbp), %r10d
movl 0x60(%rbp), %eax
movl %eax, -0x60(%rbp)
xorl %eax, %eax
movl -0x70(%rbp), %eax
movl %eax, (%rsp)
movl -0x6c(%rbp), %eax
movl %eax, 0x8(%rsp)
movl -0x68(%rbp), %eax
movl %eax, 0x10(%rsp)
movl -0x64(%rbp), %eax
movq $0x0, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movl -0x60(%rbp), %eax
movl %r13d, 0x28(%rsp)
movl %r12d, 0x30(%rsp)
movl %r15d, 0x38(%rsp)
movl %r14d, 0x40(%rsp)
movl %ebx, 0x48(%rsp)
movl %r11d, 0x50(%rsp)
movl %r10d, 0x58(%rsp)
movl %eax, 0x60(%rsp)
callq 0x18460
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/image.cpp
// Function: format_converter(unsigned char*, unsigned char*, int, int)
static inline void format_converter(unsigned char *in, unsigned char *out,
                                    int width, int height) {

    for (int i = 0; i < height; ++i) {
        for (int j = 0; j < width * 4; j += 4) {
            out[j + 2] = in[j];
            out[j + 1] = in[j + 1];
            out[j] = in[j + 2];
            out[j + 3] = in[j + 3];
        }
        out += width * 4;
        in += width * 4;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x193f7
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
movl -0x14(%rbp), %ecx
shll $0x2, %ecx
cmpl %ecx, %eax
jge 0x193c1
movq -0x8(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x20(%rbp), %eax
addl $0x4, %eax
movl %eax, -0x20(%rbp)
jmp 0x1932c
movl -0x14(%rbp), %ecx
shll $0x2, %ecx
movq -0x10(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movl -0x14(%rbp), %ecx
shll $0x2, %ecx
movq -0x8(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x8(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x19319
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__setup(stbir__info*, int, int, int, int, int)
static void stbir__setup(stbir__info *info, int input_w, int input_h, int output_w, int output_h, int channels)
{
    info->input_w = input_w;
    info->input_h = input_h;
    info->output_w = output_w;
    info->output_h = output_h;
    info->channels = channels;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl %r8d, -0x18(%rbp)
movl %r9d, -0x1c(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x8(%rax)
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xc(%rax)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x20(%rax)
movl -0x18(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x24(%rax)
movl -0x1c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4c(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__calculate_transform(stbir__info*, float, float, float, float, float*)
static void stbir__calculate_transform(stbir__info *info, float s0, float t0, float s1, float t1, float *transform)
{
    info->s0 = s0;
    info->t0 = t0;
    info->s1 = s1;
    info->t1 = t1;

    if (transform)
    {
        info->horizontal_scale = transform[0];
        info->vertical_scale   = transform[1];
        info->horizontal_shift = transform[2];
        info->vertical_shift   = transform[3];
    }
    else
    {
        info->horizontal_scale = ((float)info->output_w / info->input_w) / (s1 - s0);
        info->vertical_scale = ((float)info->output_h / info->input_h) / (t1 - t0);

        info->horizontal_shift = s0 * info->output_w / (s1 - s0);
        info->vertical_shift = t0 * info->output_h / (t1 - t0);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movss %xmm1, -0x10(%rbp)
movss %xmm2, -0x14(%rbp)
movss %xmm3, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movss -0xc(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x2c(%rax)
movss -0x10(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x30(%rax)
movss -0x14(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x34(%rax)
movss -0x18(%rbp), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x38(%rax)
cmpq $0x0, -0x20(%rbp)
je 0x301cb
movq -0x20(%rbp), %rax
movss (%rax), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x44(%rax)
movq -0x20(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x48(%rax)
movq -0x20(%rbp), %rax
movss 0x8(%rax), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x3c(%rax)
movq -0x20(%rbp), %rax
movss 0xc(%rax), %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x40(%rax)
jmp 0x30277
movq -0x8(%rbp), %rax
cvtsi2ssl 0x20(%rax), %xmm0
movq -0x8(%rbp), %rax
cvtsi2ssl 0x8(%rax), %xmm1
divss %xmm1, %xmm0
movss -0x14(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x44(%rax)
movq -0x8(%rbp), %rax
cvtsi2ssl 0x24(%rax), %xmm0
movq -0x8(%rbp), %rax
cvtsi2ssl 0xc(%rax), %xmm1
divss %xmm1, %xmm0
movss -0x18(%rbp), %xmm1
subss -0x10(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x48(%rax)
movss -0xc(%rbp), %xmm0
movq -0x8(%rbp), %rax
cvtsi2ssl 0x20(%rax), %xmm1
mulss %xmm1, %xmm0
movss -0x14(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x3c(%rax)
movss -0x10(%rbp), %xmm0
movq -0x8(%rbp), %rax
cvtsi2ssl 0x24(%rax), %xmm1
mulss %xmm1, %xmm0
movss -0x18(%rbp), %xmm1
subss -0x10(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x40(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__choose_filter(stbir__info*, stbir_filter, stbir_filter)
static void stbir__choose_filter(stbir__info *info, stbir_filter h_filter, stbir_filter v_filter)
{
    if (h_filter == 0)
        h_filter = stbir__use_upsampling(info->horizontal_scale) ? STBIR_DEFAULT_FILTER_UPSAMPLE : STBIR_DEFAULT_FILTER_DOWNSAMPLE;
    if (v_filter == 0)
        v_filter = stbir__use_upsampling(info->vertical_scale)   ? STBIR_DEFAULT_FILTER_UPSAMPLE : STBIR_DEFAULT_FILTER_DOWNSAMPLE;
    info->horizontal_filter = h_filter;
    info->vertical_filter = v_filter;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x302bb
movq -0x8(%rbp), %rax
movss 0x44(%rax), %xmm0
callq 0x30cc0
movl %eax, %edx
movl $0x5, %eax
movl $0x4, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0xc(%rbp)
cmpl $0x0, -0x10(%rbp)
jne 0x302e4
movq -0x8(%rbp), %rax
movss 0x48(%rax), %xmm0
callq 0x30cc0
movl %eax, %edx
movl $0x5, %eax
movl $0x4, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0x10(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x5c(%rax)
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x60(%rax)
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__get_filter_pixel_width(stbir_filter, float)
static int stbir__get_filter_pixel_width(stbir_filter filter, float scale)
{
    STBIR_ASSERT(filter != 0);
    STBIR_ASSERT(filter < STBIR__ARRAY_SIZE(stbir__filter_info_table));

    if (stbir__use_upsampling(scale))
        return (int)ceil(stbir__filter_info_table[filter].support(1/scale) * 2);
    else
        return (int)ceil(stbir__filter_info_table[filter].support(scale) * 2 / scale);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
cmpl $0x0, -0x8(%rbp)
je 0x30d38
jmp 0x30d57
leaq 0xbcaf(%rip), %rdi      # 0x3c9ee
leaq 0xbbd3(%rip), %rsi      # 0x3c919
movl $0x372, %edx            # imm = 0x372
leaq 0xbd0b(%rip), %rcx      # 0x3ca5d
callq 0x50f0
movl -0x8(%rbp), %eax
cmpq $0x6, %rax
jae 0x30d62
jmp 0x30d81
leaq 0xbca0(%rip), %rdi      # 0x3ca09
leaq 0xbba9(%rip), %rsi      # 0x3c919
movl $0x373, %edx            # imm = 0x373
leaq 0xbce1(%rip), %rcx      # 0x3ca5d
callq 0x50f0
movss -0xc(%rbp), %xmm0
callq 0x30cc0
cmpl $0x0, %eax
je 0x30dd0
movl -0x8(%rbp), %eax
movl %eax, %ecx
leaq 0x1e804(%rip), %rax     # 0x4f5a0
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movss 0xa5f9(%rip), %xmm0     # 0x3b3a8
divss -0xc(%rbp), %xmm0
callq *%rax
movss 0xa5fe(%rip), %xmm1     # 0x3b3bc
mulss %xmm1, %xmm0
callq 0x35bf0
cvttss2si %xmm0, %eax
movl %eax, -0x4(%rbp)
jmp 0x30e0b
movl -0x8(%rbp), %eax
movl %eax, %ecx
leaq 0x1e7c4(%rip), %rax     # 0x4f5a0
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movss -0xc(%rbp), %xmm0
callq *%rax
movss 0xa5c6(%rip), %xmm1     # 0x3b3bc
mulss %xmm1, %xmm0
divss -0xc(%rbp), %xmm0
callq 0x35bf0
cvttss2si %xmm0, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__filter_trapezoid(float, float)
static float stbir__filter_trapezoid(float x, float scale)
{
    float halfscale = scale / 2;
    float t = 0.5f + halfscale;
    STBIR_ASSERT(scale <= 1);

    x = (float)fabs(x);

    if (x >= t)
        return 0;
    else
    {
        float r = 0.5f - halfscale;
        if (x <= r)
            return 1;
        else
            return (t - x) / scale;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss -0xc(%rbp), %xmm0
movss 0xa46d(%rip), %xmm1     # 0x3b3bc
divss %xmm1, %xmm0
movss %xmm0, -0x10(%rbp)
movss 0xa454(%rip), %xmm0     # 0x3b3b4
addss -0x10(%rbp), %xmm0
movss %xmm0, -0x14(%rbp)
movss 0xa436(%rip), %xmm0     # 0x3b3a8
ucomiss -0xc(%rbp), %xmm0
jb 0x30f7a
jmp 0x30f99
leaq 0xbb13(%rip), %rdi      # 0x3ca94
leaq 0xb991(%rip), %rsi      # 0x3c919
movl $0x2f8, %edx            # imm = 0x2F8
leaq 0xbb0b(%rip), %rcx      # 0x3ca9f
callq 0x50f0
movss -0x8(%rbp), %xmm0
callq 0x35c10
movss %xmm0, -0x8(%rbp)
movss -0x8(%rbp), %xmm0
ucomiss -0x14(%rbp), %xmm0
jb 0x30fbd
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x31001
movss 0xa3ef(%rip), %xmm0     # 0x3b3b4
subss -0x10(%rbp), %xmm0
movss %xmm0, -0x18(%rbp)
movss -0x8(%rbp), %xmm1
movss -0x18(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x30fed
movss 0xa3c2(%rip), %xmm0     # 0x3b3a8
movss %xmm0, -0x4(%rbp)
jmp 0x31001
movss -0x14(%rbp), %xmm0
subss -0x8(%rbp), %xmm0
divss -0xc(%rbp), %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__filter_triangle(float, float)
static float stbir__filter_triangle(float x, float s)
{
    STBIR__UNUSED_PARAM(s);

    x = (float)fabs(x);

    if (x <= 1.0f)
        return 1 - x;
    else
        return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss -0x8(%rbp), %xmm0
callq 0x35c10
movss %xmm0, -0x8(%rbp)
movss 0xa30f(%rip), %xmm0     # 0x3b3a8
ucomiss -0x8(%rbp), %xmm0
jb 0x310b3
movss 0xa301(%rip), %xmm0     # 0x3b3a8
subss -0x8(%rbp), %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x310bb
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__filter_cubic(float, float)
static float stbir__filter_cubic(float x, float s)
{
    STBIR__UNUSED_PARAM(s);

    x = (float)fabs(x);

    if (x < 1.0f)
        return (4 + x*x*(3*x - 6))/6;
    else if (x < 2.0f)
        return (8 + x*(-12 + x*(6 - x)))/6;

    return (0.0f);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss -0x8(%rbp), %xmm0
callq 0x35c10
movss %xmm0, -0x8(%rbp)
movss 0xa28f(%rip), %xmm0     # 0x3b3a8
ucomiss -0x8(%rbp), %xmm0
jbe 0x31169
movss -0x8(%rbp), %xmm0
mulss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0xa282(%rip), %xmm2     # 0x3b3b8
mulss %xmm2, %xmm1
movss 0xa28e(%rip), %xmm2     # 0x3b3d0
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss 0xa27a(%rip), %xmm1     # 0x3b3cc
addss %xmm1, %xmm0
movss 0xa262(%rip), %xmm1     # 0x3b3c0
divss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x311cb
movss 0xa24b(%rip), %xmm0     # 0x3b3bc
ucomiss -0x8(%rbp), %xmm0
jbe 0x311c1
movss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0xa237(%rip), %xmm2     # 0x3b3c0
subss -0x8(%rbp), %xmm2
mulss %xmm2, %xmm1
movss 0xa22e(%rip), %xmm2     # 0x3b3c8
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss 0xa21a(%rip), %xmm1     # 0x3b3c4
addss %xmm1, %xmm0
movss 0xa20a(%rip), %xmm1     # 0x3b3c0
divss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x311cb
jmp 0x311c3
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__filter_catmullrom(float, float)
static float stbir__filter_catmullrom(float x, float s)
{
    STBIR__UNUSED_PARAM(s);

    x = (float)fabs(x);

    if (x < 1.0f)
        return 1 - x*x*(2.5f - 1.5f*x);
    else if (x < 2.0f)
        return 2 - x*(4 + x*(0.5f*x - 2.5f));

    return (0.0f);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss -0x8(%rbp), %xmm0
callq 0x35c10
movss %xmm0, -0x8(%rbp)
movss 0xa17f(%rip), %xmm0     # 0x3b3a8
ucomiss -0x8(%rbp), %xmm0
jbe 0x3127a
movss -0x8(%rbp), %xmm0
mulss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0xa192(%rip), %xmm2     # 0x3b3d8
mulss %xmm2, %xmm1
movss 0xa18a(%rip), %xmm2     # 0x3b3dc
addss %xmm2, %xmm1
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
mulss %xmm1, %xmm0
movss 0xa139(%rip), %xmm1     # 0x3b3a8
addss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x312ed
movss 0xa13a(%rip), %xmm0     # 0x3b3bc
ucomiss -0x8(%rbp), %xmm0
jbe 0x312e3
movss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss -0x8(%rbp), %xmm2
movss 0xa115(%rip), %xmm3     # 0x3b3b4
mulss %xmm3, %xmm2
movss 0xa129(%rip), %xmm3     # 0x3b3d4
addss %xmm3, %xmm2
mulss %xmm2, %xmm1
movss 0xa111(%rip), %xmm2     # 0x3b3cc
addss %xmm2, %xmm1
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
mulss %xmm1, %xmm0
movss 0xa0e4(%rip), %xmm1     # 0x3b3bc
addss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x312ed
jmp 0x312e5
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__filter_mitchell(float, float)
static float stbir__filter_mitchell(float x, float s)
{
    STBIR__UNUSED_PARAM(s);

    x = (float)fabs(x);

    if (x < 1.0f)
        return (16 + x*x*(21 * x - 36))/18;
    else if (x < 2.0f)
        return (32 + x*(-60 + x*(36 - 7*x)))/18;

    return (0.0f);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss -0x8(%rbp), %xmm0
callq 0x35c10
movss %xmm0, -0x8(%rbp)
movss 0xa07f(%rip), %xmm0     # 0x3b3a8
ucomiss -0x8(%rbp), %xmm0
jbe 0x31379
movss -0x8(%rbp), %xmm0
mulss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0xa0b2(%rip), %xmm2     # 0x3b3f8
mulss %xmm2, %xmm1
movss 0xa0aa(%rip), %xmm2     # 0x3b3fc
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss 0xa092(%rip), %xmm1     # 0x3b3f4
addss %xmm1, %xmm0
movss 0xa072(%rip), %xmm1     # 0x3b3e0
divss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x313eb
movss 0xa03b(%rip), %xmm0     # 0x3b3bc
ucomiss -0x8(%rbp), %xmm0
jbe 0x313e1
movss -0x8(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss -0x8(%rbp), %xmm2
movss 0xa04e(%rip), %xmm3     # 0x3b3ec
mulss %xmm3, %xmm2
movss 0xa046(%rip), %xmm3     # 0x3b3f0
addss %xmm3, %xmm2
mulss %xmm2, %xmm1
movss 0xa02e(%rip), %xmm2     # 0x3b3e8
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss 0xa01a(%rip), %xmm1     # 0x3b3e4
addss %xmm1, %xmm0
movss 0xa00a(%rip), %xmm1     # 0x3b3e0
divss %xmm1, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x313eb
jmp 0x313e3
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__calculate_sample_range_upsample(int, float, float, float, int*, int*, float*)
static void stbir__calculate_sample_range_upsample(int n, float out_filter_radius, float scale_ratio, float out_shift, int* in_first_pixel, int* in_last_pixel, float* in_center_of_out)
{
    float out_pixel_center = (float)n + 0.5f;
    float out_pixel_influence_lowerbound = out_pixel_center - out_filter_radius;
    float out_pixel_influence_upperbound = out_pixel_center + out_filter_radius;

    float in_pixel_influence_lowerbound = (out_pixel_influence_lowerbound + out_shift) / scale_ratio;
    float in_pixel_influence_upperbound = (out_pixel_influence_upperbound + out_shift) / scale_ratio;

    *in_center_of_out = (out_pixel_center + out_shift) / scale_ratio;
    *in_first_pixel = (int)(floor(in_pixel_influence_lowerbound + 0.5));
    *in_last_pixel = (int)(floor(in_pixel_influence_upperbound - 0.5));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x4(%rbp)
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss %xmm2, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
cvtsi2ssl -0x4(%rbp), %xmm0
movss 0x98b1(%rip), %xmm1     # 0x3b3b4
addss %xmm1, %xmm0
movss %xmm0, -0x2c(%rbp)
movss -0x2c(%rbp), %xmm0
subss -0x8(%rbp), %xmm0
movss %xmm0, -0x30(%rbp)
movss -0x2c(%rbp), %xmm0
addss -0x8(%rbp), %xmm0
movss %xmm0, -0x34(%rbp)
movss -0x30(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
divss -0xc(%rbp), %xmm0
movss %xmm0, -0x38(%rbp)
movss -0x34(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
divss -0xc(%rbp), %xmm0
movss %xmm0, -0x3c(%rbp)
movss -0x2c(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
divss -0xc(%rbp), %xmm0
movq -0x28(%rbp), %rax
movss %xmm0, (%rax)
movss -0x38(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x98be(%rip), %xmm1     # 0x3b438
addsd %xmm1, %xmm0
callq 0x5500
cvttsd2si %xmm0, %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movss -0x3c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x989a(%rip), %xmm1     # 0x3b438
subsd %xmm1, %xmm0
callq 0x5500
cvttsd2si %xmm0, %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__calculate_sample_range_downsample(int, float, float, float, int*, int*, float*)
static void stbir__calculate_sample_range_downsample(int n, float in_pixels_radius, float scale_ratio, float out_shift, int* out_first_pixel, int* out_last_pixel, float* out_center_of_in)
{
    float in_pixel_center = (float)n + 0.5f;
    float in_pixel_influence_lowerbound = in_pixel_center - in_pixels_radius;
    float in_pixel_influence_upperbound = in_pixel_center + in_pixels_radius;

    float out_pixel_influence_lowerbound = in_pixel_influence_lowerbound * scale_ratio - out_shift;
    float out_pixel_influence_upperbound = in_pixel_influence_upperbound * scale_ratio - out_shift;

    *out_center_of_in = in_pixel_center * scale_ratio - out_shift;
    *out_first_pixel = (int)(floor(out_pixel_influence_lowerbound + 0.5));
    *out_last_pixel = (int)(floor(out_pixel_influence_upperbound - 0.5));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x4(%rbp)
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss %xmm2, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
cvtsi2ssl -0x4(%rbp), %xmm0
movss 0x9441(%rip), %xmm1     # 0x3b3b4
addss %xmm1, %xmm0
movss %xmm0, -0x2c(%rbp)
movss -0x2c(%rbp), %xmm0
subss -0x8(%rbp), %xmm0
movss %xmm0, -0x30(%rbp)
movss -0x2c(%rbp), %xmm0
addss -0x8(%rbp), %xmm0
movss %xmm0, -0x34(%rbp)
movss -0x30(%rbp), %xmm0
movss -0xc(%rbp), %xmm2
movss -0x10(%rbp), %xmm1
movd %xmm1, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x38(%rbp)
movss -0x34(%rbp), %xmm0
movss -0xc(%rbp), %xmm2
movss -0x10(%rbp), %xmm1
movd %xmm1, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x3c(%rbp)
movss -0x2c(%rbp), %xmm0
movss -0xc(%rbp), %xmm2
movss -0x10(%rbp), %xmm1
movd %xmm1, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movq -0x28(%rbp), %rax
movss %xmm0, (%rax)
movss -0x38(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x940f(%rip), %xmm1     # 0x3b438
addsd %xmm1, %xmm0
callq 0x5500
cvttsd2si %xmm0, %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movss -0x3c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x93eb(%rip), %xmm1     # 0x3b438
subsd %xmm1, %xmm0
callq 0x5500
cvttsd2si %xmm0, %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__decode_and_resample_upsample(stbir__info*, int)
static void stbir__decode_and_resample_upsample(stbir__info* stbir_info, int n)
{
    // Decode the nth scanline from the source image into the decode buffer.
    stbir__decode_scanline(stbir_info, n);

    // Now resample it into the ring buffer.
    if (stbir__use_width_upsampling(stbir_info))
        stbir__resample_horizontal_upsample(stbir_info, stbir__add_empty_ring_buffer_entry(stbir_info, n));
    else
        stbir__resample_horizontal_downsample(stbir_info, stbir__add_empty_ring_buffer_entry(stbir_info, n));

    // Now it's sitting in the ring buffer ready to be used as source for the vertical sampling.
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x32ec0
movq -0x8(%rbp), %rdi
callq 0x33780
cmpl $0x0, %eax
je 0x3267b
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x33e80
movq -0x18(%rbp), %rdi
movq %rax, %rsi
callq 0x337a0
jmp 0x3269b
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x33e80
movq -0x20(%rbp), %rdi
movq %rax, %rsi
callq 0x33f80
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__add_empty_ring_buffer_entry(stbir__info*, int)
static float* stbir__add_empty_ring_buffer_entry(stbir__info* stbir_info, int n)
{
    int ring_buffer_index;
    float* ring_buffer;

    stbir_info->ring_buffer_last_scanline = n;

    if (stbir_info->ring_buffer_begin_index < 0)
    {
        ring_buffer_index = stbir_info->ring_buffer_begin_index = 0;
        stbir_info->ring_buffer_first_scanline = n;
    }
    else
    {
        ring_buffer_index = (stbir_info->ring_buffer_begin_index + (stbir_info->ring_buffer_last_scanline - stbir_info->ring_buffer_first_scanline)) % stbir_info->ring_buffer_num_entries;
        STBIR_ASSERT(ring_buffer_index != stbir_info->ring_buffer_begin_index);
    }

    ring_buffer = stbir__get_ring_buffer_entry(stbir_info->ring_buffer, ring_buffer_index, stbir_info->ring_buffer_length_bytes / sizeof(float));
    memset(ring_buffer, 0, stbir_info->ring_buffer_length_bytes);

    return ring_buffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xd4(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0xd8(%rax)
jge 0x33ecd
movq -0x8(%rbp), %rax
movl $0x0, 0xd8(%rax)
movl $0x0, -0x10(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xd0(%rax)
jmp 0x33f2d
movq -0x8(%rbp), %rax
movl 0xd8(%rax), %eax
movq -0x8(%rbp), %rcx
movl 0xd4(%rcx), %ecx
movq -0x8(%rbp), %rdx
subl 0xd0(%rdx), %ecx
addl %ecx, %eax
movq -0x8(%rbp), %rcx
cltd
idivl 0xcc(%rcx)
movl %edx, -0x10(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xd8(%rcx), %eax
je 0x33f0c
jmp 0x33f2b
leaq 0x93f4(%rip), %rdi      # 0x3d307
leaq 0x89ff(%rip), %rsi      # 0x3c919
movl $0x595, %edx            # imm = 0x595
leaq 0x941a(%rip), %rcx      # 0x3d340
callq 0x50f0
jmp 0x33f2d
movq -0x8(%rbp), %rax
movq 0xe0(%rax), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rax
movslq 0xc8(%rax), %rax
shrq $0x2, %rax
movl %eax, %edx
callq 0x34a50
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movslq 0xc8(%rax), %rdx
xorl %esi, %esi
callq 0x51a0
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__edge_wrap_slow(stbir_edge, int, int)
static int stbir__edge_wrap_slow(stbir_edge edge, int n, int max)
{
    switch (edge)
    {
    case STBIR_EDGE_ZERO:
        return 0; // we'll decode the wrong pixel here, and then overwrite with 0s later

    case STBIR_EDGE_CLAMP:
        if (n < 0)
            return 0;

        if (n >= max)
            return max - 1;

        return n; // NOTREACHED

    case STBIR_EDGE_REFLECT:
    {
        if (n < 0)
        {
            if (n < max)
                return -n;
            else
                return max - 1;
        }

        if (n >= max)
        {
            int max2 = max * 2;
            if (n >= max2)
                return 0;
            else
                return max2 - n - 1;
        }

        return n; // NOTREACHED
    }

    case STBIR_EDGE_WRAP:
        if (n >= 0)
            return (n % max);
        else
        {
            int m = (-n) % max;

            if (m != 0)
                m = max - m;

            return (m);
        }
        // NOTREACHED

    default:
        STBIR_ASSERT(!"Unimplemented edge type");
        return 0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl -0x8(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x20(%rbp)
subl $0x3, %eax
ja 0x34a1d
movq -0x20(%rbp), %rax
leaq 0x6cf8(%rip), %rcx      # 0x3b638
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, -0x4(%rbp)
jmp 0x34a3c
cmpl $0x0, -0xc(%rbp)
jge 0x34967
movl $0x0, -0x4(%rbp)
jmp 0x34a3c
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %eax
jl 0x3497d
movl -0x10(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
movl -0xc(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
cmpl $0x0, -0xc(%rbp)
jge 0x349b1
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0x349a3
xorl %eax, %eax
subl -0xc(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
movl -0x10(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %eax
jl 0x349e0
movl -0x10(%rbp), %eax
shll %eax
movl %eax, -0x14(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x14(%rbp), %eax
jl 0x349d2
movl $0x0, -0x4(%rbp)
jmp 0x34a3c
movl -0x14(%rbp), %eax
subl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
movl -0xc(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
cmpl $0x0, -0xc(%rbp)
jl 0x349fa
movl -0xc(%rbp), %eax
cltd
idivl -0x10(%rbp)
movl %edx, -0x4(%rbp)
jmp 0x34a3c
xorl %eax, %eax
subl -0xc(%rbp), %eax
cltd
idivl -0x10(%rbp)
movl %edx, -0x18(%rbp)
cmpl $0x0, -0x18(%rbp)
je 0x34a15
movl -0x10(%rbp), %eax
subl -0x18(%rbp), %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x34a3c
leaq 0x874d(%rip), %rdi      # 0x3d171
leaq 0x7eee(%rip), %rsi      # 0x3c919
movl $0x3e0, %edx            # imm = 0x3E0
leaq 0x8755(%rip), %rcx      # 0x3d18c
callq 0x50f0
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__saturate(float)
static stbir__inline float stbir__saturate(float x)
{
    if (x < 0)
        return 0;

    if (x > 1)
        return 1;

    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movss %xmm0, -0x8(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x8(%rbp), %xmm0
jbe 0x352ec
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x35317
movss -0x8(%rbp), %xmm0
movss 0x60af(%rip), %xmm1     # 0x3b3a8
ucomiss %xmm1, %xmm0
jbe 0x3530d
movss 0x60a2(%rip), %xmm0     # 0x3b3a8
movss %xmm0, -0x4(%rbp)
jmp 0x35317
movss -0x8(%rbp), %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__linear_to_srgb_uchar(float)
static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
{
    static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
    static const stbir__FP32 minval = { (127-13) << 23 };
    stbir_uint32 tab,bias,scale,t;
    stbir__FP32 f;
 
    // Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
    // The tests are carefully written so that NaNs map to 0, same as in the reference
    // implementation.
    if (!(in > minval.f)) // written this way to catch NaNs
        in = minval.f;
    if (in > almostone.f)
        in = almostone.f;
 
    // Do the table lookup and unpack bias, scale
    f.f = in;
    tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
    bias = (tab >> 16) << 9;
    scale = tab & 0xffff;
 
    // Grab next-highest mantissa bits and perform linear interpolation
    t = (f.u >> 12) & 0xff;
    return (unsigned char) ((bias + scale*t) >> 16);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
ucomiss 0x683f(%rip), %xmm0     # 0x3bb74
ja 0x35344
movss 0x6835(%rip), %xmm0     # 0x3bb74
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
ucomiss 0x6820(%rip), %xmm0     # 0x3bb70
jbe 0x3535f
movss 0x6816(%rip), %xmm0     # 0x3bb70
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
movss %xmm0, -0x18(%rbp)
movl -0x18(%rbp), %eax
subl $0x39000000, %eax       # imm = 0x39000000
shrl $0x14, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x6801(%rip), %rax      # 0x3bb80
movl (%rax,%rcx,4), %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
shrl $0x10, %eax
shll $0x9, %eax
movl %eax, -0xc(%rbp)
movl -0x8(%rbp), %eax
andl $0xffff, %eax           # imm = 0xFFFF
movl %eax, -0x10(%rbp)
movl -0x18(%rbp), %eax
shrl $0xc, %eax
andl $0xff, %eax
movl %eax, -0x14(%rbp)
movl -0xc(%rbp), %eax
movl -0x10(%rbp), %ecx
imull -0x14(%rbp), %ecx
addl %ecx, %eax
shrl $0x10, %eax
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir__decode_and_resample_downsample(stbir__info*, int)
static void stbir__decode_and_resample_downsample(stbir__info* stbir_info, int n)
{
    // Decode the nth scanline from the source image into the decode buffer.
    stbir__decode_scanline(stbir_info, n);

    memset(stbir_info->horizontal_buffer, 0, stbir_info->output_w * stbir_info->channels * sizeof(float));

    // Now resample it into the horizontal buffer.
    if (stbir__use_width_upsampling(stbir_info))
        stbir__resample_horizontal_upsample(stbir_info, stbir_info->horizontal_buffer);
    else
        stbir__resample_horizontal_downsample(stbir_info, stbir_info->horizontal_buffer);

    // Now it's sitting in the horizontal buffer ready to be distributed into the ring buffers.
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x32ec0
movq -0x8(%rbp), %rax
movq 0xa0(%rax), %rdi
movq -0x8(%rbp), %rax
movl 0x20(%rax), %eax
movq -0x8(%rbp), %rcx
imull 0x4c(%rcx), %eax
movslq %eax, %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x51a0
movq -0x8(%rbp), %rdi
callq 0x33780
cmpl $0x0, %eax
je 0x35647
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xa0(%rax), %rsi
callq 0x337a0
jmp 0x3565b
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xa0(%rax), %rsi
callq 0x33f80
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/line.cpp
// Function: line::draw(_cairo*) const
void line::draw(cairo_t * ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);

    cairo_move_to(ctx, start.x, start.y);
    cairo_line_to(ctx, end.x, end.y);

    cairo_stroke(ctx);
    cairo_restore(ctx);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x52b0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x20(%rax), %xmm0
movsd 0x28(%rax), %xmm1
movsd 0x30(%rax), %xmm2
movsd 0x38(%rax), %xmm3
callq 0x5220
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
callq 0x52f0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x50(%rax), %xmm0
movsd 0x58(%rax), %xmm1
callq 0x5660
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/polygon.cpp
// Function: polygon::draw(_cairo*) const
void polygon::draw(cairo_t *ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);
    cairo_translate(ctx, center.x, center.y);
    cairo_rotate(ctx, rotation);

    if (!points.empty()) {
        cairo_move_to(ctx, points.back().x - center.x,
                      points.back().y - center.y);
    }

    for (const auto& point : points) {
        cairo_line_to(ctx, point.x - center.x, point.y - center.y);
    }

    cairo_close_path(ctx);
    if (fill) {
        cairo_fill(ctx);
    }

    cairo_stroke(ctx);
    cairo_restore(ctx);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x52b0
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x20(%rax), %xmm0
movsd 0x28(%rax), %xmm1
movsd 0x30(%rax), %xmm2
movsd 0x38(%rax), %xmm3
callq 0x5220
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
callq 0x5140
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x68(%rax), %xmm0
callq 0x5770
movq -0x38(%rbp), %rdi
addq $0x50, %rdi
callq 0xed90
testb $0x1, %al
jne 0x35f9b
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
addq $0x50, %rdi
callq 0x36050
movq -0x38(%rbp), %rdi
movsd (%rax), %xmm0
subsd 0x40(%rdi), %xmm0
movsd %xmm0, -0x40(%rbp)
addq $0x50, %rdi
callq 0x36050
movq -0x48(%rbp), %rdi
movsd -0x40(%rbp), %xmm0
movq %rax, %rcx
movq -0x38(%rbp), %rax
movsd 0x8(%rcx), %xmm1
subsd 0x48(%rax), %xmm1
callq 0x52f0
movq -0x38(%rbp), %rax
addq $0x50, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0xdf90
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0xdfc0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xe1f0
testb $0x1, %al
jne 0x35fd4
jmp 0x36017
leaq -0x20(%rbp), %rdi
callq 0xe260
movq %rax, %rcx
movq -0x38(%rbp), %rax
movq %rcx, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rcx
movsd (%rcx), %xmm0
subsd 0x40(%rax), %xmm0
movq -0x30(%rbp), %rcx
movsd 0x8(%rcx), %xmm1
subsd 0x48(%rax), %xmm1
callq 0x5660
leaq -0x20(%rbp), %rdi
callq 0xe280
jmp 0x35fc1
movq -0x10(%rbp), %rdi
callq 0x5970
movq -0x38(%rbp), %rax
testb $0x1, 0x70(%rax)
je 0x36033
movq -0x10(%rbp), %rdi
callq 0x5890
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/rectangle.cpp
// Function: rectangle::draw(_cairo*) const
void rectangle::draw(cairo_t *ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);
    cairo_translate(ctx, location.x, location.y);
    cairo_rotate(ctx, rotation);

    cairo_rectangle(ctx, 0, 0, size.x, size.y);

    if (fill) {
        cairo_fill(ctx);
    }

    cairo_stroke(ctx);
    cairo_restore(ctx);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x52b0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x20(%rax), %xmm0
movsd 0x28(%rax), %xmm1
movsd 0x30(%rax), %xmm2
movsd 0x38(%rax), %xmm3
callq 0x5220
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
callq 0x5140
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x60(%rax), %xmm0
callq 0x5770
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x50(%rax), %xmm2
movsd 0x58(%rax), %xmm3
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x5670
movq -0x18(%rbp), %rax
testb $0x1, 0x68(%rax)
je 0x361db
movq -0x10(%rbp), %rdi
callq 0x5890
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/tex_string.cpp
// Function: string_generator[abi:cxx11]()
static std::string string_generator() {
    std::random_device rd;
    std::mt19937 gen(rd());
    std::uniform_int_distribution<> dis(97, 122);

    int loop_len = (int)dis(gen) % 10 + 5;
    std::string ret("tex_string_file_");

    for (int i = 0; i < loop_len; ++i) {
        ret.push_back((char)dis(gen));
    }

    ret += "_.";

    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2770, %rsp           # imm = 0x2770
movq %rdi, -0x2758(%rbp)
movq %rdi, %rax
movq %rax, -0x2750(%rbp)
movq %rdi, -0x8(%rbp)
leaq -0x1390(%rbp), %rdi
movq %rdi, -0x2748(%rbp)
callq 0x37850
movq -0x2748(%rbp), %rdi
callq 0x378f0
movl %eax, -0x273c(%rbp)
jmp 0x36957
movl -0x273c(%rbp), %eax
movl %eax, %eax
movl %eax, %esi
leaq -0x2718(%rbp), %rdi
callq 0x37910
jmp 0x3696f
leaq -0x272c(%rbp), %rdi
movl $0x61, %esi
movl $0x7a, %edx
callq 0x37940
jmp 0x36987
leaq -0x272c(%rbp), %rdi
leaq -0x2718(%rbp), %rsi
callq 0x37970
movl %eax, -0x275c(%rbp)
jmp 0x369a2
movl -0x275c(%rbp), %ecx
movslq %ecx, %rax
imulq $0x66666667, %rax, %rdx # imm = 0x66666667
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x22, %rdx
addl %eax, %edx
addl %edx, %edx
movl %edx, %eax
leal (%rax,%rax,4), %edx
movl %ecx, %eax
negl %edx
movl %edx, %ecx
leal 0x5(%rax,%rcx), %eax
movl %eax, -0x2730(%rbp)
movb $0x0, -0x2731(%rbp)
leaq -0x2732(%rbp), %rdi
movq %rdi, -0x2768(%rbp)
callq 0x5400
movq -0x2758(%rbp), %rdi
movq -0x2768(%rbp), %rdx
leaq 0x6c14(%rip), %rsi      # 0x3d619
callq 0x8b90
jmp 0x36a0c
leaq -0x2732(%rbp), %rdi
callq 0x5050
movl $0x0, -0x2738(%rbp)
movl -0x2738(%rbp), %eax
cmpl -0x2730(%rbp), %eax
jge 0x36ad0
leaq -0x272c(%rbp), %rdi
leaq -0x2718(%rbp), %rsi
callq 0x37970
movl %eax, -0x276c(%rbp)
jmp 0x36a4f
movq -0x2758(%rbp), %rdi
movl -0x276c(%rbp), %eax
movsbl %al, %esi
callq 0x5040
jmp 0x36a66
jmp 0x36a68
movl -0x2738(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2738(%rbp)
jmp 0x36a22
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2720(%rbp)
movl %eax, -0x2724(%rbp)
jmp 0x36b1d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2720(%rbp)
movl %eax, -0x2724(%rbp)
leaq -0x2732(%rbp), %rdi
callq 0x5050
jmp 0x36b1d
movq -0x2758(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2720(%rbp)
movl %eax, -0x2724(%rbp)
callq 0x5830
jmp 0x36b1d
movq -0x2758(%rbp), %rdi
leaq 0x6b4c(%rip), %rsi      # 0x3d62a
callq 0x5560
jmp 0x36ae5
movb $0x1, -0x2731(%rbp)
testb $0x1, -0x2731(%rbp)
jne 0x36b01
movq -0x2758(%rbp), %rdi
callq 0x5830
leaq -0x1390(%rbp), %rdi
callq 0x379a0
movq -0x2750(%rbp), %rax
addq $0x2770, %rsp           # imm = 0x2770
popq %rbp
retq
leaq -0x1390(%rbp), %rdi
callq 0x379a0
movq -0x2720(%rbp), %rdi
callq 0x52d0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/text.cpp
// Function: text::draw(_cairo*) const
void text::draw(cairo_t *ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);
    cairo_translate(ctx, location.x, location.y);
    cairo_rotate(ctx, rotation);

    if (!font.empty()) {
        cairo_select_font_face(ctx, font.c_str(), CAIRO_FONT_SLANT_NORMAL,
                               CAIRO_FONT_WEIGHT_NORMAL);
    }

    cairo_set_font_size(ctx, size);

    cairo_move_to(ctx, 0, 0);
    cairo_show_text(ctx, str.c_str());

    cairo_stroke(ctx);
    cairo_restore(ctx);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x52b0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x20(%rax), %xmm0
movsd 0x28(%rax), %xmm1
movsd 0x30(%rax), %xmm2
movsd 0x38(%rax), %xmm3
callq 0x5220
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
callq 0x5140
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x58(%rax), %xmm0
callq 0x5770
movq -0x18(%rbp), %rdi
addq $0x80, %rdi
callq 0x51e0
testb $0x1, %al
jne 0x38967
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
addq $0x80, %rdi
callq 0x5530
movq -0x20(%rbp), %rdi
movq %rax, %rsi
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x5350
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x50(%rax), %xmm0
callq 0x5720
movq -0x10(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x52f0
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
addq $0x60, %rdi
callq 0x5530
movq -0x28(%rbp), %rdi
movq %rax, %rsi
callq 0x51b0
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/encoders/png_encoder.cpp
// Function: png_encoder::encode(_cairo_surface*)
void png_encoder::encode(cairo_surface_t *image) {
    std::string png_url;
    std::stringstream ss;
    ss << std::setw(5) << std::setfill('0') << count;
    png_url = url + ss.str() + ".png";
    cairo_surface_write_to_png(image, png_url.c_str());
    count++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x280, %rsp            # imm = 0x280
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x238(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5650
leaq -0x1b8(%rbp), %rdi
callq 0x5270
jmp 0x38a85
leaq -0x1a8(%rbp), %rax
movq %rax, -0x248(%rbp)
movl $0x5, %edi
callq 0x38d20
movl %eax, -0x23c(%rbp)
jmp 0x38aa5
movq -0x248(%rbp), %rdi
movl -0x23c(%rbp), %eax
movl %eax, -0x1c8(%rbp)
movl -0x1c8(%rbp), %esi
callq 0x5730
movq %rax, -0x250(%rbp)
jmp 0x38acc
movl $0x30, %edi
callq 0x38d40
movb %al, -0x251(%rbp)
jmp 0x38ade
movq -0x250(%rbp), %rdi
movb -0x251(%rbp), %al
movb %al, -0x1c9(%rbp)
movzbl -0x1c9(%rbp), %esi
callq 0x5330
movq %rax, -0x260(%rbp)
jmp 0x38b06
movq -0x260(%rbp), %rdi
movq -0x238(%rbp), %rax
movl 0x28(%rax), %esi
callq 0x55f0
jmp 0x38b1e
movq -0x238(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x268(%rbp)
leaq -0x230(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x5810
jmp 0x38b45
movq -0x268(%rbp), %rsi
leaq -0x210(%rbp), %rdi
leaq -0x230(%rbp), %rdx
callq 0x38db0
jmp 0x38b61
leaq 0x4bbf(%rip), %rdx      # 0x3d727
leaq -0x1f0(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x38d60
jmp 0x38b7d
leaq -0x30(%rbp), %rdi
movq %rdi, -0x278(%rbp)
leaq -0x1f0(%rbp), %rsi
movq %rsi, -0x280(%rbp)
callq 0x5750
movq -0x280(%rbp), %rdi
callq 0x5830
leaq -0x210(%rbp), %rdi
callq 0x5830
leaq -0x230(%rbp), %rdi
callq 0x5830
movq -0x278(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x270(%rbp)
callq 0x5530
movq -0x270(%rbp), %rdi
movq %rax, %rsi
callq 0x5260
jmp 0x38be7
movq -0x238(%rbp), %rax
movl 0x28(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x28(%rax)
leaq -0x1b8(%rbp), %rdi
callq 0x5700
leaq -0x30(%rbp), %rdi
callq 0x5830
addq $0x280, %rsp            # imm = 0x280
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x38c87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x38c7b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x38c6f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x5830
leaq -0x230(%rbp), %rdi
callq 0x5830
leaq -0x1b8(%rbp), %rdi
callq 0x5700
leaq -0x30(%rbp), %rdi
callq 0x5830
movq -0x1c0(%rbp), %rdi
callq 0x52d0
nopl (%rax)