LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/janet-lang[P]janet/build/c/shell.c
// Function: check_match
static void check_match(JanetByteView src, const uint8_t *testsym, int32_t testlen) {
    JanetByteView test;
    test.bytes = testsym;
    test.len = testlen;
    if (src.len > test.len || strncmp((const char *) src.bytes, (const char *) test.bytes, src.len)) return;
    JanetByteView mm = test;
    for (int i = 0; i < gbl_match_count; i++) {
        if (compare_bytes(mm, gbl_matches[i]) < 0) {
            JanetByteView temp = mm;
            mm = gbl_matches[i];
            gbl_matches[i] = temp;
        }
    }
    if (gbl_match_count == JANET_MATCH_MAX) return;
    gbl_matches[gbl_match_count++] = mm;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x8(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x28(%rbp)
movl -0x8(%rbp), %eax
cmpl -0x28(%rbp), %eax
jg 0x82682
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
movslq -0x8(%rbp), %rdx
callq 0x15170
cmpl $0x0, %eax
je 0x82687
jmp 0x827e4
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
movl %eax, -0x5c(%rbp)
movq %fs:0x0, %rax
movq %rax, %rcx
movl -0x5c(%rbp), %eax
leaq -0x1008(%rcx), %rcx
cmpl (%rcx), %eax
jge 0x82774
movq %fs:0x0, %rax
leaq -0x1000(%rax), %rax
movslq -0x44(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq -0x40(%rbp), %rdi
movl -0x38(%rbp), %esi
movq (%rax), %rdx
movl 0x8(%rax), %ecx
callq 0x827f0
cmpl $0x0, %eax
jge 0x82764
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq %fs:0x0, %rax
leaq -0x1000(%rax), %rax
movslq -0x44(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x38(%rbp)
movq %fs:0x0, %rax
leaq -0x1000(%rax), %rax
movslq -0x44(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq -0x58(%rbp), %rcx
movq %rcx, (%rax)
movq -0x50(%rbp), %rcx
movq %rcx, 0x8(%rax)
jmp 0x82766
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x8269e
movq %fs:0x0, %rax
leaq -0x1008(%rax), %rax
cmpl $0x100, (%rax)          # imm = 0x100
jne 0x82791
jmp 0x827e4
movq %fs:0x0, %rax
leaq -0x1000(%rax), %rax
movq %rax, -0x68(%rbp)
movq %fs:0x0, %rax
movq %rax, %rcx
movq -0x68(%rbp), %rax
leaq -0x1008(%rcx), %rdx
movl (%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, (%rdx)
movslq %ecx, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
addq $0x70, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/janet-lang[P]janet/build/c/shell.c
// Function: compare_bytes
static int compare_bytes(JanetByteView a, JanetByteView b) {
    int32_t minlen = a.len < b.len ? a.len : b.len;
    int result = strncmp((const char *) a.bytes, (const char *) b.bytes, minlen);
    if (result) return result;
    return a.len < b.len ? -1 : a.len > b.len ? 1 : 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x18(%rbp)
movl %esi, -0x10(%rbp)
movq %rdx, -0x28(%rbp)
movl %ecx, -0x20(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x82816
movl -0x10(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x8281c
movl -0x20(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
movslq -0x2c(%rbp), %rdx
callq 0x15170
movl %eax, -0x30(%rbp)
cmpl $0x0, -0x30(%rbp)
je 0x82844
movl -0x30(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x82871
movl -0x10(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x82856
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, -0x38(%rbp)
jmp 0x8286b
movl -0x10(%rbp), %edx
movl -0x20(%rbp), %esi
xorl %eax, %eax
movl $0x1, %ecx
cmpl %esi, %edx
cmovgl %ecx, %eax
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/./jnum.h
// Function: jnum_parse
static inline int jnum_parse(const char *str, jnum_type_t *type, jnum_value_t *value)
{
    const char *s = str;
    while (1) {
        switch (*s) {
        case '\b': case '\f': case '\n': case '\r': case '\t': case '\v': case ' ': ++s; break;
        default: goto next;
        }
    }
next:
    return (int)(jnum_parse_num(s, type, value) + (s - str));
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movsbl (%rax), %eax
movl %eax, 0x4(%rsp)
addl $-0x8, %eax
subl $0x6, %eax
jb 0x34fe
jmp 0x34f3
movl 0x4(%rsp), %eax
subl $0x20, %eax
jne 0x350e
jmp 0x34fe
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x3510
jmp 0x3512
jmp 0x34dd
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x24c0
cltq
movq 0x8(%rsp), %rcx
movq 0x20(%rsp), %rdx
subq %rdx, %rcx
addq %rcx, %rax
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/grisu2.c
// Function: grisu2_dtoa
int grisu2_dtoa(double num, char *buffer)
{
    int length, K, pre = 0;

    if (num == 0) {
        memcpy(buffer, "0.0", 4);
        return 3;
    }

    if (num < 0) {
        *buffer++ = '-';
        num = -num;
        pre = 1;
    }

    grisu2(num, buffer, &length, &K);
    return (pre + prettify_string(buffer, length, K));
}

// Assembly:
subq $0x28, %rsp
movsd %xmm0, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
movl $0x0, 0x4(%rsp)
movsd 0x18(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x4142
jp 0x4142
movq 0x10(%rsp), %rax
movl 0x3055(%rip), %ecx      # 0x7188
movl %ecx, (%rax)
movl $0x3, 0x24(%rsp)
jmp 0x41ca
xorps %xmm0, %xmm0
ucomisd 0x18(%rsp), %xmm0
jbe 0x418c
movq 0x10(%rsp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rsp)
movb $0x2d, (%rax)
movsd 0x18(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, 0x18(%rsp)
movl $0x1, 0x4(%rsp)
movsd 0x18(%rsp), %xmm0
movq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x41e0
movl 0x4(%rsp), %eax
movl %eax, (%rsp)
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
callq 0x4550
movl %eax, %ecx
movl (%rsp), %eax
addl %ecx, %eax
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/grisu2.c
// Function: grisu_round
static inline void grisu_round(char* buffer, int len,
    uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t W_pv)
{
    uint64_t t = rest + ten_kappa;
    while (rest < W_pv && delta >= t && (W_pv - rest > t - W_pv || t < W_pv)) {
        --buffer[len - 1];
        rest += ten_kappa;
        t += ten_kappa;
    }
}

// Assembly:
movq %rdi, -0x8(%rsp)
movl %esi, -0xc(%rsp)
movq %rdx, -0x18(%rsp)
movq %rcx, -0x20(%rsp)
movq %r8, -0x28(%rsp)
movq %r9, -0x30(%rsp)
movq -0x20(%rsp), %rax
addq -0x28(%rsp), %rax
movq %rax, -0x38(%rsp)
movq -0x20(%rsp), %rcx
xorl %eax, %eax
cmpq -0x30(%rsp), %rcx
movb %al, -0x39(%rsp)
jae 0x4e28
movq -0x18(%rsp), %rcx
xorl %eax, %eax
cmpq -0x38(%rsp), %rcx
movb %al, -0x39(%rsp)
jb 0x4e28
movq -0x30(%rsp), %rcx
subq -0x20(%rsp), %rcx
movq -0x38(%rsp), %rdx
subq -0x30(%rsp), %rdx
movb $0x1, %al
cmpq %rdx, %rcx
movb %al, -0x3a(%rsp)
ja 0x4e20
movq -0x38(%rsp), %rax
cmpq -0x30(%rsp), %rax
setb %al
movb %al, -0x3a(%rsp)
movb -0x3a(%rsp), %al
movb %al, -0x39(%rsp)
movb -0x39(%rsp), %al
testb $0x1, %al
jne 0x4e32
jmp 0x4e6d
movq -0x8(%rsp), %rax
movl -0xc(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
addb $-0x1, %dl
movb %dl, (%rax,%rcx)
movq -0x28(%rsp), %rax
addq -0x20(%rsp), %rax
movq %rax, -0x20(%rsp)
movq -0x28(%rsp), %rax
addq -0x38(%rsp), %rax
movq %rax, -0x38(%rsp)
jmp 0x4dcc
retq
nop
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/grisu2.c
// Function: fill_exponent
static inline int fill_exponent(int K, char *buffer)
{
    int32_t i = 0, k = 0;

    if (K < 0) {
        buffer[i++] = '-';
        K = -K;
    } else {
        buffer[i++] = '+';
    }

    if (K < 10) {
        buffer[i++] = '0' + K;
        buffer[i] = '\0';
        return i;
    }

    if (K >= 100) {
        k = get_100_quotient(K);
        K -= get_100_multiple(k);
        buffer[i++] = '0' + k;
    }

    k = get_10_quotient(K);
    K -= get_10_multiple(k);
    buffer[i++] = '0' + k;
    buffer[i++] = '0' + K;
    buffer[i] = '\0';

    return i;
}

// Assembly:
movl %edi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movl $0x0, -0x14(%rsp)
movl $0x0, -0x18(%rsp)
cmpl $0x0, -0x8(%rsp)
jge 0x4eb5
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x14(%rsp)
movslq %ecx, %rcx
movb $0x2d, (%rax,%rcx)
xorl %eax, %eax
subl -0x8(%rsp), %eax
movl %eax, -0x8(%rsp)
jmp 0x4ece
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x14(%rsp)
movslq %ecx, %rcx
movb $0x2b, (%rax,%rcx)
cmpl $0xa, -0x8(%rsp)
jge 0x4f11
movl -0x8(%rsp), %eax
addl $0x30, %eax
movb %al, %dl
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x14(%rsp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x10(%rsp), %rax
movslq -0x14(%rsp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x14(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x4ffe
cmpl $0x64, -0x8(%rsp)
jl 0x4f75
movl -0x8(%rsp), %eax
sarl $0x2, %eax
movslq %eax, %rcx
leaq 0x5b97(%rip), %rax      # 0xaac0
movzbl (%rax,%rcx), %eax
movl %eax, -0x18(%rsp)
movl -0x18(%rsp), %ecx
shll $0x2, %ecx
movl -0x18(%rsp), %eax
shll $0x5, %eax
addl %eax, %ecx
movl -0x18(%rsp), %eax
shll $0x6, %eax
addl %eax, %ecx
movl -0x8(%rsp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rsp)
movl -0x18(%rsp), %eax
addl $0x30, %eax
movb %al, %dl
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x14(%rsp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x8(%rsp), %eax
sarl %eax
movslq %eax, %rcx
leaq 0x5c3b(%rip), %rax      # 0xabc0
movzbl (%rax,%rcx), %eax
movl %eax, -0x18(%rsp)
movl -0x18(%rsp), %ecx
shll %ecx
movl -0x18(%rsp), %eax
shll $0x3, %eax
addl %eax, %ecx
movl -0x8(%rsp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rsp)
movl -0x18(%rsp), %eax
addl $0x30, %eax
movb %al, %dl
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x14(%rsp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x8(%rsp), %eax
addl $0x30, %eax
movb %al, %dl
movq -0x10(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x14(%rsp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x10(%rsp), %rax
movslq -0x14(%rsp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x14(%rsp), %eax
movl %eax, -0x4(%rsp)
movl -0x4(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/dragonbox.c
// Function: mul128_shift
static inline uint64_t mul128_shift(uint64_t x, u64x2_t y)
{
    /* Return (x * y) / 2^128 */
    u64x2_t p1 = mul128_calc(x, y.hi);
    u64x2_t p0 = mul128_calc(x, y.lo);

    p1.lo += p0.hi;
    p1.hi += p1.lo < p0.hi;
    return p1.hi;
}

// Assembly:
subq $0x38, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x5b00
movq %rax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x5b00
movq %rax, (%rsp)
movq %rdx, 0x8(%rsp)
movq (%rsp), %rax
addq 0x18(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq (%rsp), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
cltq
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x38, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/dragonbox.c
// Function: is_integral_end_point
static inline bool is_integral_end_point(uint64_t two_f, int32_t e2, int32_t minus_k)
{
    if (e2 < -2)
        return false;
    if (e2 <= 9)
        return true;
    if (e2 <= 86)
        return multiple_of_pow5(two_f, minus_k);
    return false;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
cmpl $-0x2, 0x4(%rsp)
jge 0x59ce
movb $0x0, 0x17(%rsp)
jmp 0x59fd
cmpl $0x9, 0x4(%rsp)
jg 0x59dc
movb $0x1, 0x17(%rsp)
jmp 0x59fd
cmpl $0x56, 0x4(%rsp)
jg 0x59f8
movq 0x8(%rsp), %rdi
movl (%rsp), %esi
callq 0x5b40
andb $0x1, %al
movb %al, 0x17(%rsp)
jmp 0x59fd
movb $0x0, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
addq $0x18, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/dragonbox.c
// Function: is_integral_mid_point
static inline bool is_integral_mid_point(uint64_t two_f, int32_t e2, int32_t minus_k)
{
    if (e2 < -4)
        return multiple_of_pow2(two_f, minus_k - e2 + 1);
    if (e2 <= 9)
        return true;
    if (e2 <= 86)
        return multiple_of_pow5(two_f, minus_k);
    return false;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
cmpl $-0x4, 0x4(%rsp)
jge 0x5ac3
movq 0x8(%rsp), %rdi
movl (%rsp), %esi
subl 0x4(%rsp), %esi
addl $0x1, %esi
callq 0x5b90
andb $0x1, %al
movb %al, 0x17(%rsp)
jmp 0x5af2
cmpl $0x9, 0x4(%rsp)
jg 0x5ad1
movb $0x1, 0x17(%rsp)
jmp 0x5af2
cmpl $0x56, 0x4(%rsp)
jg 0x5aed
movq 0x8(%rsp), %rdi
movl (%rsp), %esi
callq 0x5b40
andb $0x1, %al
movb %al, 0x17(%rsp)
jmp 0x5af2
movb $0x0, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/lengjingzju[P]json/dragonbox.c
// Function: fill_significand
static inline int32_t fill_significand(char *buffer, uint64_t digits, int32_t *ptz)
{
    char *s = buffer;

    if (digits < 10000000000000000llu) {
        return fill_1_16_digits(s, digits, ptz);
    } else {
        uint32_t q = (uint32_t)(digits / 10000000000000000llu);
        uint64_t r = (digits - (uint64_t)q * 10000000000000000llu);

        *s++ = q + '0';
        if (!r) {
            memset(s, '0', 16);
            s += 16;
            *ptz = 16;
        } else {
            s += fill_t_16_digits(s, r, ptz);
        }
    }

    return (int32_t)(s - buffer);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movabsq $0x2386f26fc10000, %rax # imm = 0x2386F26FC10000
cmpq %rax, 0x20(%rsp)
jae 0x5c4b
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x5e50
movl %eax, 0x34(%rsp)
jmp 0x5d0b
movq 0x20(%rsp), %rax
movabsq $0x2386f26fc10000, %rcx # imm = 0x2386F26FC10000
xorl %edx, %edx
divq %rcx
movl %eax, 0xc(%rsp)
movq 0x20(%rsp), %rax
movl 0xc(%rsp), %ecx
movabsq $0x2386f26fc10000, %rdx # imm = 0x2386F26FC10000
imulq %rdx, %rcx
subq %rcx, %rax
movq %rax, (%rsp)
movl 0xc(%rsp), %eax
addl $0x30, %eax
movb %al, %cl
movq 0x10(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x10(%rsp)
movb %cl, (%rax)
cmpq $0x0, (%rsp)
jne 0x5cd3
movq 0x10(%rsp), %rdi
movl $0x30, %esi
movl $0x10, %edx
callq 0x1070
movq 0x10(%rsp), %rax
addq $0x10, %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movl $0x10, (%rax)
jmp 0x5cf8
movq 0x10(%rsp), %rdi
movq (%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x5f60
movl %eax, %ecx
movq 0x10(%rsp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, 0x10(%rsp)
jmp 0x5cfa
movq 0x10(%rsp), %rax
movq 0x28(%rsp), %rcx
subq %rcx, %rax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_2/exercise_2_09/bitcount.c
// Function: main
int main(void)
{
  unsigned int x = 0b011010;

  printbits(x);
  printf("x have %d bits of 1.\n", bitcount(x));

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
movl $0x1a, -0x8(%rbp)
movl -0x8(%rbp), %edi
callq 0x11a0
movl -0x8(%rbp), %edi
callq 0x1230
movl %eax, %esi
leaq 0xe81(%rip), %rdi       # 0x2010
movb $0x0, %al
callq 0x1050
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_2/exercise_2_09/bitcount.c
// Function: bitcount
int bitcount(unsigned int x)
{
  int b = 0;

  while (x)
  {
    x &= (x - 1);
    ++b;
  }

  return b;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movl $0x0, -0x8(%rbp)
cmpl $0x0, -0x4(%rbp)
je 0x125b
movl -0x4(%rbp), %eax
subl $0x1, %eax
andl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x123e
movl -0x8(%rbp), %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/sos22[P]unexec/tests/smoke.c
// Function: main
int main(int argc, char *argv[]) {
    if (argc != 2) errx(1, "need a single argument, the thing to unexec to");
    int r = unexec(argv[1], NULL);
    if (r == 0) printf("restored\n");
    else if (r == 1) printf("unexeced\n");
    else err(1, "unexec");
    return 0; }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x2, -0x8(%rbp)
je 0x119f
movl $0x1, %edi
leaq 0xe6c(%rip), %rsi       # 0x2004
movb $0x0, %al
callq 0x1030
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x1060
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jne 0x11c9
leaq 0xe73(%rip), %rdi       # 0x2033
movb $0x0, %al
callq 0x1040
jmp 0x11f4
cmpl $0x1, -0x14(%rbp)
jne 0x11df
leaq 0xe67(%rip), %rdi       # 0x203d
movb $0x0, %al
callq 0x1040
jmp 0x11f2
movl $0x1, %edi
leaq 0xe5c(%rip), %rsi       # 0x2047
movb $0x0, %al
callq 0x1050
jmp 0x11f4
xorl %eax, %eax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/vanhauser-thc[P]vulntest/ok.c
// Function: main
int main(int argc, char *argv[]) {
  // BUG: this has no bugs
  if (argc > 1) {
    (void)printf("%s\n", argv[1]);
  }
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x1, -0x8(%rbp)
jle 0x1172
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xe99(%rip), %rdi       # 0x2004
movb $0x0, %al
callq 0x1030
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/vis_test.cpp
// Function: main
int main() {
    camera cam(vec{1280, 720});
    scene world = scene({1280, 720}, {0, 0, 0, 1});

    cam.add_encoder<video_encoder>("/tmp/video.mp4", cam.size, 50);

    first_scene(cam, world);

    second_scene(cam, world);

    cam.clear_encoders();

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movl $0x0, -0x4(%rbp)
leaq -0x70(%rbp), %rdi
movsd 0x349d2(%rip), %xmm0    # 0x3b060
movsd %xmm0, -0x130(%rbp)
movsd 0x34992(%rip), %xmm1    # 0x3b030
movsd %xmm1, -0x128(%rbp)
callq 0x6880
movsd -0x70(%rbp), %xmm0
movsd -0x68(%rbp), %xmm1
leaq -0x60(%rbp), %rdi
callq 0x6f00
movsd -0x130(%rbp), %xmm0
movsd -0x128(%rbp), %xmm1
leaq -0xe8(%rbp), %rdi
callq 0x6880
jmp 0x66dc
leaq -0x118(%rbp), %rdi
xorps %xmm2, %xmm2
movsd 0x3497a(%rip), %xmm3    # 0x3b068
movaps %xmm2, %xmm0
movaps %xmm2, %xmm1
callq 0x6f60
jmp 0x66fb
movsd -0xe8(%rbp), %xmm0
movsd -0xe0(%rbp), %xmm1
movups -0x118(%rbp), %xmm2
movups -0x108(%rbp), %xmm3
movq %rsp, %rax
movups %xmm3, 0x10(%rax)
movups %xmm2, (%rax)
leaq -0xd8(%rbp), %rdi
callq 0x11a10
jmp 0x6731
movl $0x32, -0x11c(%rbp)
leaq 0x3495a(%rip), %rsi     # 0x3b09c
leaq -0x60(%rbp), %rdx
leaq -0x11c(%rbp), %rcx
movq %rdx, %rdi
callq 0x6fb0
jmp 0x6757
leaq -0x60(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x5b90
jmp 0x6769
leaq -0x60(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x6150
jmp 0x677b
leaq -0x60(%rbp), %rdi
callq 0x104f0
jmp 0x6786
movl $0x0, -0x4(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x7030
leaq -0x60(%rbp), %rdi
callq 0x7070
movl -0x4(%rbp), %eax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
jmp 0x67e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x7030
leaq -0x60(%rbp), %rdi
callq 0x7070
movq -0xf0(%rbp), %rdi
callq 0x52d0
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/./include/objects/../animators/vector_animator.h
// Function: vector_animator<vec>::update(int)
void update(const int frame) override {
        if (!data.empty() && frame >= start_frame && frame < end_frame) {
            int index = vector_ptr->size();
            int new_size = vector_ptr->size() + (data.size() - start_point) /
                (end_frame - start_frame);

            while (vector_ptr->size() < new_size && vector_ptr) {
                vector_ptr->push_back(data[index]);
                index++;
            }
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
addq $0x10, %rdi
callq 0xed90
testb $0x1, %al
jne 0xed17
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jl 0xed17
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0xc(%rcx), %eax
jge 0xed17
movq -0x20(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0xd130
movq %rax, %rcx
movq -0x20(%rbp), %rax
movl %ecx, -0x10(%rbp)
movq 0x28(%rax), %rdi
callq 0xd130
movq -0x20(%rbp), %rdi
movq %rax, -0x28(%rbp)
addq $0x10, %rdi
callq 0xd130
movq -0x20(%rbp), %rdx
movslq 0x30(%rdx), %rcx
subq %rcx, %rax
movl 0xc(%rdx), %ecx
subl 0x8(%rdx), %ecx
movslq %ecx, %rcx
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq -0x28(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x14(%rbp)
movq -0x20(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0xd130
movq %rax, %rcx
movslq -0x14(%rbp), %rdx
xorl %eax, %eax
cmpq %rdx, %rcx
movb %al, -0x29(%rbp)
jae 0xecdc
movq -0x20(%rbp), %rax
cmpq $0x0, 0x28(%rax)
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0xece5
jmp 0xed15
movq -0x20(%rbp), %rdi
movq 0x28(%rdi), %rax
movq %rax, -0x38(%rbp)
addq $0x10, %rdi
movslq -0x10(%rbp), %rsi
callq 0xee40
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0xedd0
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xecaf
jmp 0xed17
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/camera.cpp
// Function: camera::capture(scene&)
void camera::capture(scene &s) {
    s.draw();
    cairo_set_source_surface(context.get(), s.surface.get(),
                             static_cast<int>(location.x),
                             static_cast<int>(location.y));
    cairo_paint(context.get());
}

// 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 0x11bb0
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
callq 0x10650
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
addq $0x48, %rdi
callq 0x106c0
movq -0x20(%rbp), %rdi
movq %rax, %rsi
movq -0x18(%rbp), %rax
cvttsd2si 0x10(%rax), %ecx
cvtsi2sd %ecx, %xmm0
cvttsd2si 0x18(%rax), %eax
cvtsi2sd %eax, %xmm1
callq 0x5470
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
callq 0x10650
movq %rax, %rdi
callq 0x5580
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/scene.cpp
// Function: scene::scene(vec, color)
scene::scene(vec scene_size, color bg_color)
    : size(scene_size), bg_clr(bg_color),
      surface(cairo_image_surface_create(CAIRO_FORMAT_ARGB32,
      static_cast<int>(size.x), static_cast<int>(size.y)),
      cairo_surface_destroy),
      context(cairo_create(surface.get()), cairo_destroy) {

    layers.emplace_back();
    cairo_set_line_width(context.get(), 3);
    cairo_set_font_size(context.get(), 50.0);
    cairo_set_line_join(context.get(), CAIRO_LINE_JOIN_BEVEL);
    cairo_set_line_cap(context.get(), CAIRO_LINE_CAP_ROUND);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
leaq 0x10(%rbp), %rax
movsd %xmm0, -0x10(%rbp)
movsd %xmm1, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq %rdi, -0x50(%rbp)
movups -0x10(%rbp), %xmm0
movups %xmm0, (%rdi)
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups %xmm1, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
addq $0x30, %rdi
movq %rdi, -0x58(%rbp)
callq 0x12070
movq -0x50(%rbp), %rax
movq %rax, %rcx
addq $0x48, %rcx
movq %rcx, -0x48(%rbp)
cvttsd2si (%rax), %esi
cvttsd2si 0x8(%rax), %edx
xorl %edi, %edi
callq 0x57e0
movq %rax, -0x40(%rbp)
jmp 0x11a7a
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdi
movq 0x3d567(%rip), %rax     # 0x4eff0
movq %rax, -0x30(%rbp)
leaq -0x30(%rbp), %rdx
callq 0x10800
movq -0x50(%rbp), %rdi
movq %rdi, %rax
addq $0x58, %rax
movq %rax, -0x68(%rbp)
addq $0x48, %rdi
callq 0x106c0
movq %rax, %rdi
callq 0x58d0
movq %rax, -0x60(%rbp)
jmp 0x11abc
movq -0x60(%rbp), %rsi
movq -0x68(%rbp), %rdi
movq 0x3d52d(%rip), %rax     # 0x4eff8
movq %rax, -0x38(%rbp)
leaq -0x38(%rbp), %rdx
callq 0x10840
movq -0x50(%rbp), %rdi
addq $0x30, %rdi
callq 0x12090
jmp 0x11ae7
movq -0x50(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movsd 0x29831(%rip), %xmm0    # 0x3b330
callq 0x57a0
jmp 0x11b06
movq -0x50(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movsd 0x29502(%rip), %xmm0    # 0x3b020
callq 0x5720
jmp 0x11b25
movq -0x50(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movl $0x2, %esi
callq 0x56e0
jmp 0x11b41
movq -0x50(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movl $0x1, %esi
callq 0x5190
jmp 0x11b5d
addq $0x70, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x11b9d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x11b94
movq -0x68(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x73b0
movq -0x48(%rbp), %rdi
callq 0x7420
movq -0x58(%rbp), %rdi
callq 0x7490
movq -0x20(%rbp), %rdi
callq 0x52d0
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/scene.cpp
// Function: scene::draw()
void scene::draw() {
    cairo_set_source_rgba(context.get(), bg_clr.r, bg_clr.g, bg_clr.b,
                            bg_clr.a);
    cairo_set_operator(context.get(), CAIRO_OPERATOR_SOURCE);
    cairo_paint(context.get());

    for (const auto& l : layers) {
        l.draw(context.get());
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movq -0x30(%rbp), %rax
movsd 0x10(%rax), %xmm0
movsd 0x18(%rax), %xmm1
movsd 0x20(%rax), %xmm2
movsd 0x28(%rax), %xmm3
callq 0x5220
movq -0x30(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
movl $0x1, %esi
callq 0x5070
movq -0x30(%rbp), %rdi
addq $0x58, %rdi
callq 0x10650
movq %rax, %rdi
callq 0x5580
movq -0x30(%rbp), %rax
addq $0x30, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12100
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12130
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x12160
testb $0x1, %al
jne 0x11c55
jmp 0x11c8e
leaq -0x18(%rbp), %rdi
callq 0x121a0
movq -0x30(%rbp), %rdi
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
addq $0x58, %rdi
callq 0x10650
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0x10e30
leaq -0x18(%rbp), %rdi
callq 0x121c0
jmp 0x11c42
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/arc.cpp
// Function: arc::draw(_cairo*) const
void arc::draw(cairo_t *ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);

    if (size.x < size.y && (size.x != 0 || size.y != 0)) {
        cairo_scale(ctx, size.x / size.y, 1.0);
        cairo_arc(ctx, location.x, location.y, size.y, angles.x, angles.y);
    } else if (size.x > size.y && (size.x != 0 || size.y != 0)) {
        cairo_scale(ctx, 1.0, size.y / size.x);
        cairo_arc(ctx, location.x, location.y, size.x, angles.x, angles.y);
    } else if (size.x == size.y && size.x != 0) {
        cairo_arc(ctx, location.x, location.y, size.x, angles.x, angles.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
movsd 0x50(%rax), %xmm1
movsd 0x58(%rax), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x162aa
movq -0x18(%rbp), %rax
movsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x16260
jp 0x16260
movq -0x18(%rbp), %rax
movsd 0x58(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x16260
jp 0x16260
jmp 0x162aa
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x50(%rax), %xmm0
divsd 0x58(%rax), %xmm0
movsd 0x24dee(%rip), %xmm1    # 0x3b068
callq 0x58a0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
movsd 0x58(%rax), %xmm2
movsd 0x60(%rax), %xmm3
movsd 0x68(%rax), %xmm4
callq 0x5240
jmp 0x1637d
movq -0x18(%rbp), %rax
movsd 0x50(%rax), %xmm0
ucomisd 0x58(%rax), %xmm0
jbe 0x1632b
movq -0x18(%rbp), %rax
movsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x162e4
jp 0x162e4
movq -0x18(%rbp), %rax
movsd 0x58(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x162e4
jp 0x162e4
jmp 0x1632b
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x58(%rax), %xmm1
divsd 0x50(%rax), %xmm1
movsd 0x24d6a(%rip), %xmm0    # 0x3b068
callq 0x58a0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
movsd 0x50(%rax), %xmm2
movsd 0x60(%rax), %xmm3
movsd 0x68(%rax), %xmm4
callq 0x5240
jmp 0x1637b
movq -0x18(%rbp), %rax
movsd 0x50(%rax), %xmm0
ucomisd 0x58(%rax), %xmm0
jne 0x16379
jp 0x16379
movq -0x18(%rbp), %rax
movsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x16353
jp 0x16353
jmp 0x16379
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x40(%rax), %xmm0
movsd 0x48(%rax), %xmm1
movsd 0x50(%rax), %xmm2
movsd 0x60(%rax), %xmm3
movsd 0x68(%rax), %xmm4
callq 0x5240
jmp 0x1637b
jmp 0x1637d
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/arrow.cpp
// Function: arrow::draw(_cairo*) const
void arrow::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_move_to(ctx, 0, 0);
    cairo_line_to(ctx, length, 0);
    cairo_rotate(ctx, -M_PI / 4);
    cairo_move_to(ctx, 0, 0);
    cairo_line_to(ctx, 0.25 * length, 0);
    cairo_move_to(ctx, 0, 0);
    cairo_rotate(ctx, M_PI / 2);
    cairo_line_to(ctx, 0.25 * length, 0);

    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 0x58(%rax), %xmm0
callq 0x5770
movq -0x10(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x52f0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
callq 0x5660
movq -0x10(%rbp), %rdi
movsd 0x24efd(%rip), %xmm0    # 0x3b388
callq 0x5770
movq -0x10(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x52f0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x24ec9(%rip), %xmm0    # 0x3b378
mulsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
callq 0x5660
movq -0x10(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x52f0
movq -0x10(%rbp), %rdi
movsd 0x24ea9(%rip), %xmm0    # 0x3b380
callq 0x5770
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movsd 0x24e8c(%rip), %xmm0    # 0x3b378
mulsd 0x50(%rax), %xmm0
xorps %xmm1, %xmm1
callq 0x5660
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/curve.cpp
// Function: curve::draw(_cairo*) const
void curve::draw(cairo_t *ctx) const {
    cairo_save(ctx);
    cairo_set_source_rgba(ctx, clr.r, clr.g, clr.b, clr.a);
    cairo_translate(ctx, origin.x, origin.y);

    if (!points.empty()) {
        cairo_move_to(ctx, points[0].x, -points[0].y);
    }

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

    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), %rdi
addq $0x50, %rdi
callq 0xed90
testb $0x1, %al
jne 0x16637
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
addq $0x50, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x16710
movq -0x38(%rbp), %rdi
movsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
addq $0x50, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x16710
movq -0x48(%rbp), %rdi
movsd -0x40(%rbp), %xmm0
movsd 0x8(%rax), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %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 0x16670
jmp 0x166ed
leaq -0x20(%rbp), %rdi
callq 0xe260
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rax
movsd (%rax), %xmm0
movq -0x30(%rbp), %rax
movsd 0x8(%rax), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
callq 0x5660
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rax
movsd (%rax), %xmm0
movq -0x30(%rbp), %rax
movsd 0x8(%rax), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
callq 0x52f0
leaq -0x20(%rbp), %rdi
callq 0xe280
jmp 0x1665d
movq -0x10(%rbp), %rdi
callq 0x57b0
movq -0x10(%rbp), %rdi
callq 0x5840
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/algorithm-archivists[P]GathVL/src/objects/../../include/stb_image_resize.h
// Function: stbir_resize_uint8
STBIRDEF int stbir_resize_uint8(     const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
                                           unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
                                     int num_channels)
{
    return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
        output_pixels, output_w, output_h, output_stride_in_bytes,
        0,0,1,1,NULL,num_channels,-1,0, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
        STBIR_EDGE_CLAMP, STBIR_EDGE_CLAMP, STBIR_COLORSPACE_LINEAR);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x18(%rbp)
movl %esi, -0x1c(%rbp)
movl %edx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl %r9d, -0x34(%rbp)
movq -0x18(%rbp), %rsi
movl -0x1c(%rbp), %edx
movl -0x20(%rbp), %ecx
movl -0x24(%rbp), %r8d
movq -0x30(%rbp), %r9
movl -0x34(%rbp), %ebx
movl 0x10(%rbp), %r11d
movl 0x18(%rbp), %r10d
movl 0x20(%rbp), %eax
xorl %edi, %edi
xorps %xmm1, %xmm1
movss 0x22fbf(%rip), %xmm3    # 0x3b3a8
xorl %r14d, %r14d
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movaps %xmm1, %xmm0
movaps %xmm3, %xmm2
movq $0x0, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movl $0xffffffff, 0x28(%rsp) # imm = 0xFFFFFFFF
movl $0x0, 0x30(%rsp)
movl $0x0, 0x38(%rsp)
movl $0x0, 0x40(%rsp)
movl $0x0, 0x48(%rsp)
movl $0x1, 0x50(%rsp)
movl $0x1, 0x58(%rsp)
movl $0x0, 0x60(%rsp)
callq 0x18460
addq $0x90, %rsp
popq %rbx
popq %r14
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_resize_uint8_srgb
STBIRDEF int stbir_resize_uint8_srgb(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
                                           unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
                                     int num_channels, int alpha_channel, int flags)
{
    return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
        output_pixels, output_w, output_h, output_stride_in_bytes,
        0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
        STBIR_EDGE_CLAMP, STBIR_EDGE_CLAMP, STBIR_COLORSPACE_SRGB);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movl 0x30(%rbp), %eax
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x28(%rbp)
movl %esi, -0x2c(%rbp)
movl %edx, -0x30(%rbp)
movl %ecx, -0x34(%rbp)
movq %r8, -0x40(%rbp)
movl %r9d, -0x44(%rbp)
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movl -0x30(%rbp), %ecx
movl -0x34(%rbp), %r8d
movq -0x40(%rbp), %r9
movl -0x44(%rbp), %r15d
movl 0x10(%rbp), %r14d
movl 0x18(%rbp), %ebx
movl 0x20(%rbp), %r11d
movl 0x28(%rbp), %r10d
movl 0x30(%rbp), %eax
xorl %edi, %edi
xorps %xmm1, %xmm1
movss 0x22c7d(%rip), %xmm3    # 0x3b3a8
xorl %r12d, %r12d
movl %r15d, (%rsp)
movl %r14d, 0x8(%rsp)
movl %ebx, 0x10(%rsp)
movaps %xmm1, %xmm0
movaps %xmm3, %xmm2
movq $0x0, 0x18(%rsp)
movl %r11d, 0x20(%rsp)
movl %r10d, 0x28(%rsp)
movl %eax, 0x30(%rsp)
movl $0x0, 0x38(%rsp)
movl $0x0, 0x40(%rsp)
movl $0x0, 0x48(%rsp)
movl $0x1, 0x50(%rsp)
movl $0x1, 0x58(%rsp)
movl $0x1, 0x60(%rsp)
callq 0x18460
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
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_resize_uint8_srgb_edgemode
STBIRDEF int stbir_resize_uint8_srgb_edgemode(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
                                                    unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
                                              int num_channels, int alpha_channel, int flags,
                                              stbir_edge edge_wrap_mode)
{
    return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
        output_pixels, output_w, output_h, output_stride_in_bytes,
        0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
        edge_wrap_mode, edge_wrap_mode, STBIR_COLORSPACE_SRGB);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
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)
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
movl -0x38(%rbp), %ecx
movl -0x3c(%rbp), %r8d
movq -0x48(%rbp), %r9
movl -0x4c(%rbp), %r13d
movl 0x10(%rbp), %r12d
movl 0x18(%rbp), %r15d
movl 0x20(%rbp), %r14d
movl 0x28(%rbp), %ebx
movl 0x30(%rbp), %r11d
movl 0x38(%rbp), %r10d
movl 0x38(%rbp), %eax
movl %eax, -0x50(%rbp)
xorl %eax, %eax
movl %eax, %edi
xorps %xmm1, %xmm1
movss 0x22b8b(%rip), %xmm3    # 0x3b3a8
xorl %eax, %eax
movl -0x50(%rbp), %eax
movl %r13d, (%rsp)
movl %r12d, 0x8(%rsp)
movl %r15d, 0x10(%rsp)
movaps %xmm1, %xmm0
movaps %xmm3, %xmm2
movq $0x0, 0x18(%rsp)
movl %r14d, 0x20(%rsp)
movl %ebx, 0x28(%rsp)
movl %r11d, 0x30(%rsp)
movl $0x0, 0x38(%rsp)
movl $0x0, 0x40(%rsp)
movl $0x0, 0x48(%rsp)
movl %r10d, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movl $0x1, 0x60(%rsp)
callq 0x18460
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
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_resize_uint8_generic
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
                                               unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
                                         int num_channels, int alpha_channel, int flags,
                                         stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space, 
                                         void *alloc_context)
{
    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,
        0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, filter, filter,
        edge_wrap_mode, edge_wrap_mode, space);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq 0x50(%rbp), %rax
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)
movq 0x50(%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, -0x5c(%rbp)
movl 0x10(%rbp), %eax
movl %eax, -0x58(%rbp)
movl 0x18(%rbp), %eax
movl %eax, -0x54(%rbp)
movl 0x20(%rbp), %r13d
movl 0x28(%rbp), %r12d
movl 0x30(%rbp), %r15d
movl 0x40(%rbp), %r14d
movl 0x40(%rbp), %ebx
movl 0x38(%rbp), %r11d
movl 0x38(%rbp), %r10d
movl 0x48(%rbp), %eax
movl %eax, -0x50(%rbp)
xorps %xmm1, %xmm1
movss 0x22a7f(%rip), %xmm3    # 0x3b3a8
xorl %eax, %eax
xorl %eax, %eax
movl -0x5c(%rbp), %eax
movl %eax, (%rsp)
movl -0x58(%rbp), %eax
movl %eax, 0x8(%rsp)
movl -0x54(%rbp), %eax
movl %eax, 0x10(%rsp)
movl -0x50(%rbp), %eax
movaps %xmm1, %xmm0
movaps %xmm3, %xmm2
movq $0x0, 0x18(%rsp)
movl %r13d, 0x20(%rsp)
movl %r12d, 0x28(%rsp)
movl %r15d, 0x30(%rsp)
movl $0x0, 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 $0xa8, %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/../../include/stb_image_resize.h
// Function: stbir_resize
STBIRDEF int stbir_resize(         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)
{
    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,
        0,0,1,1,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 $0xa8, %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)
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, -0x60(%rbp)
movl 0x10(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl 0x18(%rbp), %eax
movl %eax, -0x58(%rbp)
movl 0x28(%rbp), %eax
movl %eax, -0x54(%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, -0x50(%rbp)
xorps %xmm1, %xmm1
movss 0x22740(%rip), %xmm3    # 0x3b3a8
xorl %eax, %eax
movl -0x60(%rbp), %eax
movl %eax, (%rsp)
movl -0x5c(%rbp), %eax
movl %eax, 0x8(%rsp)
movl -0x58(%rbp), %eax
movl %eax, 0x10(%rsp)
movl -0x54(%rbp), %eax
movaps %xmm1, %xmm0
movaps %xmm3, %xmm2
movq $0x0, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movl -0x50(%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 $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)