LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/value.c
// Function: janet_length
int32_t janet_length(Janet x) {
    switch (janet_type(x)) {
        default:
            janet_panicf("expected %T, got %v", JANET_TFLAG_LENGTHABLE, x);
        case JANET_STRING:
        case JANET_SYMBOL:
        case JANET_KEYWORD:
            return janet_string_length(janet_unwrap_string(x));
        case JANET_ARRAY:
            return janet_unwrap_array(x)->count;
        case JANET_BUFFER:
            return janet_unwrap_buffer(x)->count;
        case JANET_TUPLE:
            return janet_tuple_length(janet_unwrap_tuple(x));
        case JANET_STRUCT:
            return janet_struct_length(janet_unwrap_struct(x));
        case JANET_TABLE:
            return janet_unwrap_table(x)->count;
        case JANET_ABSTRACT: {
            void *abst = janet_unwrap_abstract(x);
            const JanetAbstractType *type = janet_abstract_type(abst);
            if (type->length != NULL) {
                size_t len = type->length(abst, janet_abstract_size(abst));
                if (len > INT32_MAX) {
                    janet_panicf("invalid integer length %u", len);
                }
                return (int32_t)(len);
            }
            Janet argv[1] = { x };
            Janet len = janet_mcall("length", 1, argv);
            if (!janet_checkint(len))
                janet_panicf("invalid integer length %v", len);
            return janet_unwrap_integer(len);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdi, %xmm0
movq %rdi, %rcx
shrq $0x2f, %rcx
andl $0xf, %ecx
xorl %eax, %eax
ucomisd %xmm0, %xmm0
cmovpl %ecx, %eax
addl $-0x4, %eax
cmpl $0xa, %eax
ja 0x4bc9e
leaq 0x20c3f(%rip), %rcx     # 0x6c834
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
callq 0x4f838
movl 0x10(%rax), %eax
jmp 0x4bc97
movq %rbx, %rdi
callq 0x4f838
movl -0x8(%rax), %eax
jmp 0x4bc97
movq %rbx, %rdi
callq 0x4f838
movl -0x10(%rax), %eax
jmp 0x4bc97
movq %rbx, %rdi
callq 0x4f838
movq -0x10(%rax), %rcx
movq 0x60(%rcx), %rcx
testq %rcx, %rcx
je 0x4bc67
movq -0x8(%rax), %rsi
movq %rax, %rdi
callq *%rcx
testq $-0x80000000, %rax      # imm = 0x80000000
je 0x4bc97
leaq 0x20d1f(%rip), %rdi     # 0x6c974
movq %rax, %rsi
jmp 0x4bcbe
movq %rbx, %rdi
callq 0x4f838
movl -0x18(%rax), %eax
jmp 0x4bc97
leaq -0x10(%rbp), %rdx
movq %rbx, (%rdx)
leaq 0x1d345(%rip), %rdi     # 0x68fba
movl $0x1, %esi
callq 0x4f2f5
movq %rax, %rbx
movq %rax, %rdi
callq 0x4a41f
testl %eax, %eax
je 0x4bcb4
movq %rbx, %xmm0
cvttsd2si %xmm0, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x9442(%rip), %rdi      # 0x550e7
movl $0xff0, %esi            # imm = 0xFF0
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1917b
leaq 0x20cd3(%rip), %rdi     # 0x6c98e
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1917b
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/value.c
// Function: janet_lengthv
Janet janet_lengthv(Janet x) {
    switch (janet_type(x)) {
        default:
            janet_panicf("expected %T, got %v", JANET_TFLAG_LENGTHABLE, x);
        case JANET_STRING:
        case JANET_SYMBOL:
        case JANET_KEYWORD:
            return janet_wrap_integer(janet_string_length(janet_unwrap_string(x)));
        case JANET_ARRAY:
            return janet_wrap_integer(janet_unwrap_array(x)->count);
        case JANET_BUFFER:
            return janet_wrap_integer(janet_unwrap_buffer(x)->count);
        case JANET_TUPLE:
            return janet_wrap_integer(janet_tuple_length(janet_unwrap_tuple(x)));
        case JANET_STRUCT:
            return janet_wrap_integer(janet_struct_length(janet_unwrap_struct(x)));
        case JANET_TABLE:
            return janet_wrap_integer(janet_unwrap_table(x)->count);
        case JANET_ABSTRACT: {
            void *abst = janet_unwrap_abstract(x);
            const JanetAbstractType *type = janet_abstract_type(abst);
            if (type->length != NULL) {
                size_t len = type->length(abst, janet_abstract_size(abst));
                /* If len is always less then double, we can never overflow */
#ifdef JANET_32
                return janet_wrap_number(len);
#else
                if (len < (size_t) JANET_INTMAX_INT64) {
                    return janet_wrap_number((double) len);
                } else {
                    janet_panicf("integer length %u too large", len);
                }
#endif
            }
            Janet argv[1] = { x };
            return janet_mcall("length", 1, argv);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdi, %xmm0
movq %rdi, %rcx
shrq $0x2f, %rcx
andl $0xf, %ecx
xorl %eax, %eax
ucomisd %xmm0, %xmm0
cmovpl %ecx, %eax
addl $-0x4, %eax
cmpl $0xa, %eax
ja 0x4bda3
leaq 0x20b67(%rip), %rcx     # 0x6c860
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
callq 0x4f838
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rax), %xmm0
jmp 0x4bd79
movq %rbx, %rdi
callq 0x4f838
xorps %xmm0, %xmm0
cvtsi2sdl -0x8(%rax), %xmm0
jmp 0x4bd79
movq %rbx, %rdi
callq 0x4f838
xorps %xmm0, %xmm0
cvtsi2sdl -0x10(%rax), %xmm0
jmp 0x4bd79
movq %rbx, %rdi
callq 0x4f838
movq -0x10(%rax), %rcx
movq 0x60(%rcx), %rcx
testq %rcx, %rcx
je 0x4bd84
movq -0x8(%rax), %rsi
movq %rax, %rdi
callq *%rcx
movq %rax, %rcx
shrq $0x35, %rcx
jne 0x4bdb9
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
jmp 0x4bd79
movq %rbx, %rdi
callq 0x4f838
xorps %xmm0, %xmm0
cvtsi2sdl -0x18(%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4fab8
leaq -0x10(%rbp), %rdx
movq %rbx, (%rdx)
leaq 0x1d228(%rip), %rdi     # 0x68fba
movl $0x1, %esi
callq 0x4f2f5
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x933d(%rip), %rdi      # 0x550e7
movl $0xff0, %esi            # imm = 0xFF0
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1917b
leaq 0x20be8(%rip), %rdi     # 0x6c9a8
movq %rax, %rsi
xorl %eax, %eax
callq 0x1917b
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vector.c
// Function: janet_v_grow
void *janet_v_grow(void *v, int32_t increment, int32_t itemsize) {
    int32_t dbl_cur = (NULL != v) ? 2 * janet_v__cap(v) : 0;
    int32_t min_needed = janet_v_count(v) + increment;
    int32_t m = dbl_cur > min_needed ? dbl_cur : min_needed;
    size_t newsize = ((size_t) itemsize) * m + sizeof(int32_t) * 2;
    int32_t *p = (int32_t *) janet_srealloc(v ? janet_v__raw(v) : 0, newsize);
    if (!v) p[1] = 0;
    p[0] = m;
    return p + 2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
movl $0x0, %eax
testq %rdi, %rdi
je 0x4c0d0
movl -0x8(%rbx), %eax
addl %eax, %eax
testq %rbx, %rbx
je 0x4c0d9
movl -0x4(%rbx), %r14d
addl %esi, %r14d
cmpl %r14d, %eax
cmovgl %eax, %r14d
movslq %edx, %rax
movslq %r14d, %rsi
imulq %rax, %rsi
addq $0x8, %rsi
leaq -0x8(%rbx), %rdi
testq %rbx, %rbx
cmoveq %rbx, %rdi
callq 0x2c0cf
testq %rbx, %rbx
jne 0x4c10d
movl $0x0, 0x4(%rax)
movl %r14d, (%rax)
addq $0x8, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vector.c
// Function: janet_v_flattenmem
void *janet_v_flattenmem(void *v, int32_t itemsize) {
    char *p;
    if (NULL == v) return NULL;
    size_t size = (size_t) itemsize * janet_v__cnt(v);
    p = janet_malloc(size);
    if (NULL != p) {
        safe_memcpy(p, v, size);
        return p;
    } else {
        JANET_OUT_OF_MEMORY;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4c156
movq %rdi, %rbx
movslq %esi, %rax
movslq -0x4(%rdi), %r15
imulq %rax, %r15
movq %r15, %rdi
callq 0x12770
testq %rax, %rax
je 0x4c167
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x49017
jmp 0x4c159
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x142a2
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_continue
JanetSignal janet_continue(JanetFiber *fiber, Janet in, Janet *out) {
    /* Check conditions */
    JanetSignal tmp_signal = janet_check_can_resume(fiber, out, 0);
    if (tmp_signal) return tmp_signal;
    return janet_continue_no_check(fiber, in, out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rsi
xorl %edx, %edx
callq 0x4ee61
testl %eax, %eax
je 0x4c2be
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4ef2d
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: vm_do_trace
static void vm_do_trace(JanetFunction *func, int32_t argc, const Janet *argv) {
    if (func->def->name) {
        janet_eprintf("trace (%S", func->def->name);
    } else {
        janet_eprintf("trace (%p", janet_wrap_function(func));
    }
    for (int32_t i = 0; i < argc; i++) {
        janet_eprintf(" %p", argv[i]);
    }
    janet_eprintf(")\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %r14d
movq 0x10(%rdi), %rax
movq 0x48(%rax), %rcx
movq 0x39abd(%rip), %rax     # 0x85ff0
movq (%rax), %r15
testq %rcx, %rcx
je 0x4c54e
leaq 0xf4dc(%rip), %rdi      # 0x5ba1e
leaq 0x206db(%rip), %rdx     # 0x6cc24
movq %r15, %rsi
jmp 0x4c571
movabsq $-0x2000000000000, %rsi # imm = 0xFFFE000000000000
callq 0x4f9f2
leaq 0xf4ba(%rip), %rdi      # 0x5ba1e
leaq 0x206c3(%rip), %rdx     # 0x6cc2e
movq %r15, %rsi
movq %rax, %rcx
xorl %eax, %eax
callq 0x2f340
testl %r14d, %r14d
movq 0x39a6e(%rip), %rax     # 0x85ff0
jle 0x4c5bb
movl %r14d, %r13d
leaq 0xf490(%rip), %r14      # 0x5ba1e
leaq 0x146d5(%rip), %r15     # 0x60c6a
xorl %r12d, %r12d
movq (%rax), %rsi
movq (%rbx,%r12,8), %rcx
movq %r14, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2f340
movq 0x39a3d(%rip), %rax     # 0x85ff0
incq %r12
cmpq %r12, %r13
jne 0x4c598
movq (%rax), %rsi
leaq 0xf459(%rip), %rdi      # 0x5ba1e
leaq 0x2066c(%rip), %rdx     # 0x6cc38
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2f340
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_try_init
void janet_try_init(JanetTryState *state) {
    state->stackn = janet_vm.stackn++;
    state->gc_handle = janet_vm.gc_suspend;
    state->vm_fiber = janet_vm.fiber;
    state->vm_jmp_buf = janet_vm.signal_buf;
    state->vm_return_reg = janet_vm.return_reg;
    state->coerce_error = janet_vm.coerce_error;
    janet_vm.return_reg = &(state->payload);
    janet_vm.signal_buf = &(state->buf);
    janet_vm.coerce_error = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
movl 0x18(%rax), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x18(%rax)
movl %ecx, (%rbx)
movl 0xb8(%rax), %ecx
movl %ecx, 0x4(%rbx)
movq 0x20(%rax), %rcx
movq %rcx, 0x8(%rbx)
movq 0x30(%rax), %rcx
movq %rcx, 0x10(%rbx)
movq 0x38(%rax), %rcx
movq %rcx, 0x18(%rbx)
movl 0x40(%rax), %ecx
movl %ecx, 0xf0(%rbx)
leaq 0xe8(%rbx), %rcx
movq %rcx, 0x38(%rax)
addq $0x20, %rbx
movq %rbx, 0x30(%rax)
movl $0x0, 0x40(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_restore
void janet_restore(JanetTryState *state) {
    janet_vm.stackn = state->stackn;
    janet_vm.gc_suspend = state->gc_handle;
    janet_vm.fiber = state->vm_fiber;
    janet_vm.signal_buf = state->vm_jmp_buf;
    janet_vm.return_reg = state->vm_return_reg;
    janet_vm.coerce_error = state->coerce_error;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %r14d
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
movl %r14d, 0x18(%rax)
movl 0x4(%rbx), %ecx
movl %ecx, 0xb8(%rax)
movq 0x8(%rbx), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%rbx), %rcx
movq %rcx, 0x30(%rax)
movq 0x18(%rbx), %rcx
movq %rcx, 0x38(%rax)
movl 0xf0(%rbx), %ecx
movl %ecx, 0x40(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_check_can_resume
static JanetSignal janet_check_can_resume(JanetFiber *fiber, Janet *out, int is_cancel) {
    /* Check conditions */
    JanetFiberStatus old_status = janet_fiber_status(fiber);
    if (janet_vm.stackn >= JANET_RECURSION_GUARD) {
        janet_fiber_set_status(fiber, JANET_STATUS_ERROR);
        *out = janet_cstringv("C stack recursed too deeply");
        return JANET_SIGNAL_ERROR;
    }
    /* If a "task" fiber is trying to be used as a normal fiber, detect that. See bug #920.
     * Fibers must be marked as root fibers manually, or by the ev scheduler. */
    if (janet_vm.fiber != NULL && (fiber->gc.flags & JANET_FIBER_FLAG_ROOT)) {
#ifdef JANET_EV
        *out = janet_cstringv(is_cancel
                              ? "cannot cancel root fiber, use ev/cancel"
                              : "cannot resume root fiber, use ev/go");
#else
        *out = janet_cstringv(is_cancel
                              ? "cannot cancel root fiber"
                              : "cannot resume root fiber");
#endif
        return JANET_SIGNAL_ERROR;
    }
    if (old_status == JANET_STATUS_ALIVE ||
            old_status == JANET_STATUS_DEAD ||
            (old_status >= JANET_STATUS_USER0 && old_status <= JANET_STATUS_USER4) ||
            old_status == JANET_STATUS_ERROR) {
        const uint8_t *str = janet_formatc("cannot resume fiber with status :%s",
                                           janet_status_names[old_status]);
        *out = janet_wrap_string(str);
        return JANET_SIGNAL_ERROR;
    }
    return JANET_SIGNAL_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
callq 0x29e47
movl %eax, %r14d
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
cmpl $0x400, 0x18(%rax)      # imm = 0x400
jl 0x4eeb1
movl $0xffc0ffff, %eax       # imm = 0xFFC0FFFF
andl 0x10(%r15), %eax
orl $0x10000, %eax          # imm = 0x10000
movl %eax, 0x10(%r15)
leaq 0x1dc47(%rip), %rdi     # 0x6caf6
jmp 0x4ef05
cmpq $0x0, 0x20(%rax)
je 0x4eebf
testb $0x4, 0x2(%r15)
jne 0x4eef0
xorl %eax, %eax
cmpl $0xf, %r14d
ja 0x4ef24
movl $0x81f3, %ecx           # imm = 0x81F3
btl %r14d, %ecx
jae 0x4ef24
movl %r14d, %eax
leaq 0x36624(%rip), %rcx     # 0x85500
movq (%rcx,%rax,8), %rsi
leaq 0x1dfe5(%rip), %rdi     # 0x6cecc
xorl %eax, %eax
callq 0x3fd86
jmp 0x4ef0a
testl %r12d, %r12d
leaq 0x1dfae(%rip), %rax     # 0x6cea8
leaq 0x1df7f(%rip), %rdi     # 0x6ce80
cmoveq %rax, %rdi
callq 0x4516c
movabsq $-0x6000000000000, %rsi # imm = 0xFFFA000000000000
movq %rax, %rdi
callq 0x4f9ad
movq %rax, (%rbx)
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_continue_signal
JanetSignal janet_continue_signal(JanetFiber *fiber, Janet in, Janet *out, JanetSignal sig) {
    JanetSignal tmp_signal = janet_check_can_resume(fiber, out, sig != JANET_SIGNAL_OK);
    if (tmp_signal) return tmp_signal;
    if (sig != JANET_SIGNAL_OK) {
        JanetFiber *child = fiber;
        while (child->child) child = child->child;
        child->gc.flags &= ~JANET_FIBER_STATUS_MASK;
        child->gc.flags |= sig << JANET_FIBER_STATUS_OFFSET;
        child->flags |= JANET_FIBER_RESUME_SIGNAL;
    }
    return janet_continue_no_check(fiber, in, out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %edx, %edx
testl %ecx, %ecx
setne %dl
movq %rbx, %rsi
callq 0x4ee61
testl %eax, %eax
je 0x4f215
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
testl %r12d, %r12d
je 0x4f23e
movq %r15, %rcx
movq %rcx, %rax
movq 0x38(%rcx), %rcx
testq %rcx, %rcx
jne 0x4f21d
movl $0xffc0ffff, %ecx       # imm = 0xFFC0FFFF
andl (%rax), %ecx
shll $0x10, %r12d
orl %ecx, %r12d
movl %r12d, (%rax)
orb $0x40, 0x12(%rax)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4ef2d
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_pcall
JanetSignal janet_pcall(
    JanetFunction *fun,
    int32_t argc,
    const Janet *argv,
    Janet *out,
    JanetFiber **f) {
    JanetFiber *fiber;
    if (f && *f) {
        fiber = janet_fiber_reset(*f, fun, argc, argv);
    } else {
        fiber = janet_fiber(fun, 64, argc, argv);
    }
    if (f) *f = fiber;
    if (NULL == fiber) {
        *out = janet_cstringv("arity mismatch");
        return JANET_SIGNAL_ERROR;
    }
    return janet_continue(fiber, janet_wrap_nil(), out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbx
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rsi
testq %r8, %r8
je 0x4f280
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4f280
callq 0x29798
jmp 0x4f28d
movq %rsi, %rdi
movl $0x40, %esi
callq 0x29abc
movq %rax, %r15
testq %r14, %r14
je 0x4f298
movq %r15, (%r14)
testq %r15, %r15
je 0x4f2c4
movabsq $-0x77fffffffffff, %rdi # imm = 0xFFF8800000000001
callq 0x4f95a
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4c28d
leaq 0x1d8d6(%rip), %rdi     # 0x6cba1
callq 0x4516c
movabsq $-0x6000000000000, %rsi # imm = 0xFFFA000000000000
movq %rax, %rdi
callq 0x4f9ad
movq %rax, (%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_mcall
Janet janet_mcall(const char *name, int32_t argc, Janet *argv) {
    /* At least 1 argument */
    if (argc < 1) {
        janet_panicf("method :%s expected at least 1 argument", name);
    }
    /* Find method */
    Janet method = janet_method_lookup(argv[0], name);
    if (janet_checktype(method, JANET_NIL)) {
        janet_panicf("could not find method :%s for %v", name, argv[0]);
    }
    /* Invoke method */
    return janet_method_invoke(method, argc, argv);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testl %esi, %esi
jle 0x4f33b
movq %rdx, %r14
movl %esi, %r15d
movq (%rdx), %rdi
movq %rbx, %rsi
callq 0x4f360
movq %rax, %rcx
shrq $0x2f, %rcx
cmpl $0x1fff1, %ecx          # imm = 0x1FFF1
je 0x4f34c
movq %rax, %rdi
movl %r15d, %esi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4f394
leaq 0x1d86e(%rip), %rdi     # 0x6cbb0
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1917b
movq (%r14), %rdx
leaq 0x1d882(%rip), %rdi     # 0x6cbd8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1917b
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_method_invoke
static Janet janet_method_invoke(Janet method, int32_t argc, Janet *argv) {
    switch (janet_type(method)) {
        case JANET_CFUNCTION:
            return (janet_unwrap_cfunction(method))(argc, argv);
        case JANET_FUNCTION: {
            JanetFunction *fun = janet_unwrap_function(method);
            return janet_call(fun, argc, argv);
        }
        case JANET_ABSTRACT: {
            JanetAbstract abst = janet_unwrap_abstract(method);
            const JanetAbstractType *at = janet_abstract_type(abst);
            if (NULL != at->call) {
                return at->call(abst, argc, argv);
            }
        }
        /* fallthrough */
        case JANET_STRING:
        case JANET_BUFFER:
        case JANET_TABLE:
        case JANET_STRUCT:
        case JANET_ARRAY:
        case JANET_TUPLE: {
            if (argc != 1) {
                janet_panicf("%v called with %d arguments, possibly expected 1", method, argc);
            }
            return janet_in(method, argv[0]);
        }
        default: {
            if (argc != 1) {
                janet_panicf("%v called with %d arguments, possibly expected 1", method, argc);
            }
            return janet_in(argv[0], method);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movq %rdi, %xmm0
movq %rdi, %rcx
shrq $0x2f, %rcx
andl $0xf, %ecx
xorl %eax, %eax
ucomisd %xmm0, %xmm0
cmovpl %ecx, %eax
addl $-0x4, %eax
cmpl $0xa, %eax
ja 0x4f44d
leaq 0x1d686(%rip), %rcx     # 0x6ca58
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, %ebx
jne 0x4f46c
movq (%r15), %rsi
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4b5fc
movq %r14, %rdi
callq 0x4f838
movq %rax, %rdi
movl %ebx, %esi
movq %r15, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4c2d6
movq %r14, %rdi
callq 0x4f838
movl %ebx, %edi
movq %r15, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movq %r14, %rdi
callq 0x4f838
movq -0x10(%rax), %rcx
movq 0x58(%rcx), %r12
testq %r12, %r12
je 0x4f45a
movq %rax, %rdi
movl %ebx, %esi
movq %r15, %rdx
callq *%r12
jmp 0x4f45a
cmpl $0x1, %ebx
jne 0x4f46c
movq (%r15), %rdi
movq %r14, %rsi
jmp 0x4f3ea
testq %r12, %r12
je 0x4f3db
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1da7d(%rip), %rdi     # 0x6cef0
movq %r14, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x1917b
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_deinit
void janet_deinit(void) {
    janet_clear_memory();
    janet_symcache_deinit();
    janet_free(janet_vm.roots);
    janet_vm.roots = NULL;
    janet_vm.root_count = 0;
    janet_vm.root_capacity = 0;
    janet_vm.abstract_registry = NULL;
    janet_vm.core_env = NULL;
    janet_vm.top_dyns = NULL;
    janet_vm.user = NULL;
    janet_free(janet_vm.traversal_base);
    janet_vm.fiber = NULL;
    janet_vm.root_fiber = NULL;
    janet_free(janet_vm.registry);
    janet_vm.registry = NULL;
#ifdef JANET_EV
    janet_ev_deinit();
#endif
#ifdef JANET_NET
    janet_net_deinit();
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x2beb4
callq 0x47928
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
movq %rax, %rbx
movq 0xc0(%rax), %rdi
callq 0x120b0
xorl %r14d, %r14d
movq %r14, 0x68(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %r14, 0x10(%rbx)
movups %xmm0, 0xc0(%rbx)
movq %r14, 0xd0(%rbx)
movq 0x118(%rbx), %rdi
callq 0x120b0
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x48(%rbx), %rdi
callq 0x120b0
movq %r14, 0x48(%rbx)
callq 0x2554a
popq %rbx
popq %r14
popq %rbp
jmp 0x358ed
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: janet_binop_call
static Janet janet_binop_call(const char *lmethod, const char *rmethod, Janet lhs, Janet rhs) {
    Janet lm = janet_method_lookup(lhs, lmethod);
    if (janet_checktype(lm, JANET_NIL)) {
        /* Invert order for rmethod */
        Janet lr = janet_method_lookup(rhs, rmethod);
        Janet argv[2] = { rhs, lhs };
        if (janet_checktype(lr, JANET_NIL)) {
            janet_panicf("could not find method :%s for %v or :%s for %v",
                         lmethod, lhs,
                         rmethod, rhs);
        }
        return janet_method_invoke(lr, 2, argv);
    } else {
        Janet argv[2] = { lhs, rhs };
        return janet_method_invoke(lm, 2, argv);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rdx, %rdi
movq %r12, %rsi
callq 0x4f360
movq %rax, %rcx
shrq $0x2f, %rcx
cmpl $0x1fff1, %ecx          # imm = 0x1FFF1
jne 0x4f6b1
movabsq $-0x800000000000, %r13  # imm = 0xFFFF800000000000
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4f360
movq %rbx, -0x40(%rbp)
movq %r14, -0x38(%rbp)
andq %rax, %r13
movabsq $-0x7800000000000, %rcx # imm = 0xFFF8800000000000
cmpq %rcx, %r13
je 0x4f6d8
leaq -0x40(%rbp), %rdx
jmp 0x4f6bc
leaq -0x40(%rbp), %rdx
movq %r14, (%rdx)
movq %rbx, 0x8(%rdx)
movq %rax, %rdi
movl $0x2, %esi
callq 0x4f394
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1d720(%rip), %rdi     # 0x6cdff
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
movq %rbx, %r8
xorl %eax, %eax
callq 0x1917b
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/vm.c
// Function: resolve_method
static Janet resolve_method(Janet name, JanetFiber *fiber) {
    int32_t argc = fiber->stacktop - fiber->stackstart;
    if (argc < 1) janet_panicf("method call (%v) takes at least 1 argument, got 0", name);
    Janet callee = method_to_fun(name, fiber->data[fiber->stackstart]);
    if (janet_checktype(callee, JANET_NIL))
        janet_panicf("unknown method %v invoked on %v", name, fiber->data[fiber->stackstart]);
    return callee;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movslq 0x18(%rsi), %rax
cmpl %eax, 0x1c(%rsi)
jle 0x4f72c
movq %rsi, %r14
movq 0x30(%rsi), %rcx
movq (%rcx,%rax,8), %rdi
movq %rbx, %rsi
callq 0x4b832
movq %rax, %rcx
shrq $0x2f, %rcx
cmpl $0x1fff1, %ecx          # imm = 0x1FFF1
je 0x4f73d
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1d6fb(%rip), %rdi     # 0x6ce2e
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1917b
movq 0x30(%r14), %rax
movslq 0x18(%r14), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x1d710(%rip), %rdi     # 0x6ce60
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1917b
nop
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/wrap.c
// Function: janet_memalloc_empty
void *janet_memalloc_empty(int32_t count) {
    int32_t i;
    void *mem = janet_malloc((size_t) count * sizeof(JanetKV));
    janet_vm.next_collection += (size_t) count * sizeof(JanetKV);
    if (NULL == mem) {
        JANET_OUT_OF_MEMORY;
    }
    JanetKV *mmem = (JanetKV *)mem;
    for (i = 0; i < count; i++) {
        JanetKV *kv = mmem + i;
        kv->key = janet_wrap_nil();
        kv->value = janet_wrap_nil();
    }
    return mem;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %r14d
movslq %edi, %r15
shlq $0x4, %r15
movq %r15, %rdi
callq 0x12770
movq %rax, %rbx
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
addq %r15, 0xa8(%rax)
testq %rbx, %rbx
je 0x4fb4c
testl %r14d, %r14d
jle 0x4fb3e
movabsq $-0x77fffffffffff, %rax # imm = 0xFFF8800000000001
movl %r14d, %ecx
shlq $0x4, %rcx
xorl %edx, %edx
movq %rax, (%rbx,%rdx)
movq %rax, 0x8(%rbx,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x4fb2c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x142d0
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/core/wrap.c
// Function: janet_memempty
void janet_memempty(JanetKV *mem, int32_t count) {
    int32_t i;
    for (i = 0; i < count; i++) {
        mem[i].key = janet_wrap_nil();
        mem[i].value = janet_wrap_nil();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %esi, %esi
jle 0x4fb7d
movabsq $-0x77fffffffffff, %rax # imm = 0xFFF8800000000001
movl %esi, %ecx
shlq $0x4, %rcx
xorl %edx, %edx
movq %rax, (%rdi,%rdx)
movq %rax, 0x8(%rdi,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x4fb6b
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/boot/buffer_test.c
// Function: buffer_test
int buffer_test() {

    int i;
    JanetBuffer *buffer1, *buffer2;

    buffer1 = janet_buffer(100);
    buffer2 = janet_buffer(0);

    janet_buffer_push_cstring(buffer1, "hello, world!\n");

    janet_buffer_push_u8(buffer2, 'h');
    janet_buffer_push_u8(buffer2, 'e');
    janet_buffer_push_u8(buffer2, 'l');
    janet_buffer_push_u8(buffer2, 'l');
    janet_buffer_push_u8(buffer2, 'o');
    janet_buffer_push_u8(buffer2, ',');
    janet_buffer_push_u8(buffer2, ' ');
    janet_buffer_push_u8(buffer2, 'w');
    janet_buffer_push_u8(buffer2, 'o');
    janet_buffer_push_u8(buffer2, 'r');
    janet_buffer_push_u8(buffer2, 'l');
    janet_buffer_push_u8(buffer2, 'd');
    janet_buffer_push_u8(buffer2, '!');
    janet_buffer_push_u8(buffer2, '\n');

    assert(buffer1->count == buffer2->count);
    assert(buffer1->capacity >= buffer1->count);
    assert(buffer2->capacity >= buffer2->count);

    for (i = 0; i < buffer1->count; i++) {
        assert(buffer1->data[i] == buffer2->data[i]);
    }

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0x64, %edi
callq 0x17757
movq %rax, %rbx
xorl %edi, %edi
callq 0x17757
movq %rax, %r14
leaq 0x1d01e(%rip), %rsi     # 0x6d0ef
movq %rbx, %rdi
callq 0x178d8
movq %r14, %rdi
movl $0x68, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x65, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x6c, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x6c, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x6f, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x2c, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x20, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x77, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x6f, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x72, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x6c, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x64, %esi
callq 0x179a7
movq %r14, %rdi
movl $0x21, %esi
callq 0x179a7
movq %r14, %rdi
movl $0xa, %esi
callq 0x179a7
movl 0x10(%rbx), %eax
movl 0x10(%r14), %ecx
cmpl %ecx, %eax
jne 0x501ef
cmpl %eax, 0x14(%rbx)
jl 0x5020e
cmpl %ecx, 0x14(%r14)
jl 0x5022d
testl %eax, %eax
jle 0x501c9
movq 0x18(%rbx), %rcx
movq 0x18(%r14), %rdx
xorl %esi, %esi
movb (%rcx,%rsi), %dil
cmpb (%rdx,%rsi), %dil
jne 0x501d0
incq %rsi
cmpq %rsi, %rax
jne 0x501b7
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1cfb9(%rip), %rdi     # 0x6d190
leaq 0x1cf41(%rip), %rsi     # 0x6d11f
leaq 0x1cf51(%rip), %rcx     # 0x6d136
movl $0x3a, %edx
callq 0x123f0
leaq 0x1cf08(%rip), %rdi     # 0x6d0fe
leaq 0x1cf22(%rip), %rsi     # 0x6d11f
leaq 0x1cf32(%rip), %rcx     # 0x6d136
movl $0x35, %edx
callq 0x123f0
leaq 0x1cf33(%rip), %rdi     # 0x6d148
leaq 0x1cf03(%rip), %rsi     # 0x6d11f
leaq 0x1cf13(%rip), %rcx     # 0x6d136
movl $0x36, %edx
callq 0x123f0
leaq 0x1cf38(%rip), %rdi     # 0x6d16c
leaq 0x1cee4(%rip), %rsi     # 0x6d11f
leaq 0x1cef4(%rip), %rcx     # 0x6d136
movl $0x37, %edx
callq 0x123f0
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/boot/number_test.c
// Function: number_test
int number_test() {

    test_valid_str("1.0");
    test_valid_str("1");
    test_valid_str("2.1");
    test_valid_str("1e10");
    test_valid_str("2e10");
    test_valid_str("1e-10");
    test_valid_str("2e-10");
    test_valid_str("1.123123e10");
    test_valid_str("1.123123e-10");
    test_valid_str("-1.23e2");
    test_valid_str("-4.5e15");
    test_valid_str("-4.5e151");
    test_valid_str("-4.5e200");
    test_valid_str("-4.5e123");
    test_valid_str("123123123123123123132123");
    test_valid_str("0000000011111111111111111111111111");
    test_valid_str(".112312333333323123123123123123123");

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x1cf5e(%rip), %rdi     # 0x6d1b5
callq 0x50320
leaq 0x1ccbc(%rip), %rdi     # 0x6cf1f
callq 0x50320
leaq 0x1cf4a(%rip), %rdi     # 0x6d1b9
callq 0x50320
leaq 0x1cf42(%rip), %rdi     # 0x6d1bd
callq 0x50320
leaq 0x1cf3b(%rip), %rdi     # 0x6d1c2
callq 0x50320
leaq 0x1cf34(%rip), %rdi     # 0x6d1c7
callq 0x50320
leaq 0x1cf2e(%rip), %rdi     # 0x6d1cd
callq 0x50320
leaq 0x1cf28(%rip), %rdi     # 0x6d1d3
callq 0x50320
leaq 0x1cf28(%rip), %rdi     # 0x6d1df
callq 0x50320
leaq 0x1cf29(%rip), %rdi     # 0x6d1ec
callq 0x50320
leaq 0x1cf25(%rip), %rdi     # 0x6d1f4
callq 0x50320
leaq 0x1cf21(%rip), %rdi     # 0x6d1fc
callq 0x50320
leaq 0x1cf1e(%rip), %rdi     # 0x6d205
callq 0x50320
leaq 0x1cf1b(%rip), %rdi     # 0x6d20e
callq 0x50320
leaq 0x1cf18(%rip), %rdi     # 0x6d217
callq 0x50320
leaq 0x1cf25(%rip), %rdi     # 0x6d230
callq 0x50320
leaq 0x1cf3c(%rip), %rdi     # 0x6d253
callq 0x50320
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/src/boot/number_test.c
// Function: test_valid_str
static void test_valid_str(const char *str) {
    int err;
    double cnum, jnum;
    jnum = 0.0;
    cnum = atof(str);
    err = janet_scan_number((const uint8_t *) str, (int32_t) strlen(str), &jnum);
    assert(!err);
    assert(cnum == jnum);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq -0x20(%rbp), %r14
movq $0x0, (%r14)
callq 0x12200
movsd %xmm0, -0x18(%rbp)
movq %rbx, %rdi
callq 0x12310
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x46a87
testl %eax, %eax
jne 0x50373
movsd -0x18(%rbp), %xmm0
ucomisd -0x20(%rbp), %xmm0
jne 0x50392
jp 0x50392
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1cefc(%rip), %rdi     # 0x6d276
leaq 0x1cefa(%rip), %rsi     # 0x6d27b
leaq 0x1cf0a(%rip), %rcx     # 0x6d292
movl $0x2a, %edx
callq 0x123f0
leaq 0x1cf1b(%rip), %rdi     # 0x6d2b4
leaq 0x1cedb(%rip), %rsi     # 0x6d27b
leaq 0x1ceeb(%rip), %rcx     # 0x6d292
movl $0x2b, %edx
callq 0x123f0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/CSerxzm[P]WindowstoLinuxInterface/src/FIND.c
// Function: main
int main(int argc, char** argv)
{
	char lines[argc+1][255];
    predealLine(argc, argv, lines);
   	char* filename = lines[1];
    char* findstr = lines[2];
   	char fileline[1024]; 
   	int linecnt = 1;
   	FILE *src = fopen(filename, "r");
   	while(!feof(src)) {
   		fgets(fileline, 1024, src);
   		if(feof(src)) {
			break;
		}
   		if(strstr(fileline, findstr) != NULL) {
   			printf("[%d]%s", linecnt, fileline);
   		}
   		linecnt++;
   	}
   	printf("\n");
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
leal 0x1(%rdi), %eax
movq %rax, %rcx
shlq $0x8, %rcx
subq %rax, %rcx
addq $0xf, %rcx
movabsq $0x1fffffffff0, %r14    # imm = 0x1FFFFFFFFF0
andq %rcx, %r14
movq %rsp, %r15
movq %r15, %rbx
subq %r14, %rbx
movq %rbx, %rsp
movq %rbx, %rdx
callq 0x11bc
negq %r14
leaq (%r15,%r14), %rdi
addq $0xff, %rdi
leaq 0xcf0(%rip), %rsi       # 0x2004
callq 0x1080
movq %rax, %r14
movq %rax, %rdi
callq 0x1070
testl %eax, %eax
jne 0x138e
addq $0x1fe, %rbx            # imm = 0x1FE
movl $0x1, %r15d
leaq -0x430(%rbp), %r12
leaq 0xcc3(%rip), %r13       # 0x2006
movq %r12, %rdi
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdx
callq 0x1060
movq %r14, %rdi
callq 0x1070
testl %eax, %eax
jne 0x138e
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1090
testq %rax, %rax
je 0x137f
movq %r13, %rdi
movl %r15d, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x1050
incl %r15d
movq %r14, %rdi
callq 0x1070
testl %eax, %eax
je 0x1343
movl $0xa, %edi
callq 0x1030
xorl %eax, %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-port.cc
// Function: testing::internal::BoolFromGTestEnv(char const*, bool)
bool BoolFromGTestEnv(const char* flag, bool default_value) {
#if defined(GTEST_GET_BOOL_FROM_ENV_)
  return GTEST_GET_BOOL_FROM_ENV_(flag, default_value);
#endif  // defined(GTEST_GET_BOOL_FROM_ENV_)
  const std::string env_var = FlagToEnvVar(flag);
  const char* const string_value = posix::GetEnv(env_var.c_str());
  return string_value == NULL ?
      default_value : strcmp(string_value, "0") != 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x26f7a
movq (%r14), %r14
movq %r14, %rdi
callq 0xc7c0
testq %rax, %rax
je 0x106f9
leaq 0x4441c(%rip), %rsi     # 0x54b08
movq %rax, %rdi
callq 0xc900
testl %eax, %eax
setne %bl
leaq 0x18(%rsp), %rax
cmpq %rax, %r14
je 0x10713
movq 0x18(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0xc600
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-port.cc
// Function: testing::internal::StringFromGTestEnv[abi:cxx11](char const*, char const*)
std::string StringFromGTestEnv(const char* flag, const char* default_value) {
#if defined(GTEST_GET_STRING_FROM_ENV_)
  return GTEST_GET_STRING_FROM_ENV_(flag, default_value);
#endif  // defined(GTEST_GET_STRING_FROM_ENV_)
  const std::string env_var = FlagToEnvVar(flag);
  const char* value = posix::GetEnv(env_var.c_str());
  if (value != NULL) {
    return value;
  }

  // As a special case for the 'output' flag, if GTEST_OUTPUT is not
  // set, we look for XML_OUTPUT_FILE, which is set by the Bazel build
  // system.  The value of XML_OUTPUT_FILE is a filename without the
  // "xml:" prefix of GTEST_OUTPUT.
  //
  // The net priority order after flag processing is thus:
  //   --gtest_output command line flag
  //   GTEST_OUTPUT environment variable
  //   XML_OUTPUT_FILE environment variable
  //   'default_value'
  if (strcmp(flag, "output") == 0) {
    value = posix::GetEnv("XML_OUTPUT_FILE");
    if (value != NULL) {
      return std::string("xml:") + value;
    }
  }
  return default_value;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x26f7a
movq (%r12), %rdi
callq 0xc7c0
testq %rax, %rax
je 0x10771
movq %rax, %r12
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r12, %rdi
callq 0xc260
movq %r12, %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2ee64
jmp 0x10794
leaq 0x419c6(%rip), %rsi     # 0x5213e
movq %r15, %rdi
callq 0xc900
testl %eax, %eax
je 0x107be
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x28b72
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x107af
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x43bb2(%rip), %rdi     # 0x54377
callq 0xc7c0
testq %rax, %rax
je 0x10784
movq %rax, %r15
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x43ba5(%rip), %rsi     # 0x54387
leaq 0x43ba2(%rip), %rdx     # 0x5438b
leaq 0x8(%rsp), %rdi
callq 0x2ee64
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0xcca0
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x10822
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x10828
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x10794
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x10794
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x10882
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x10882
jmp 0x1087f
jmp 0x1087f
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1089d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-port.cc
// Function: testing::internal::Int32FromGTestEnv(char const*, int)
Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
#if defined(GTEST_GET_INT32_FROM_ENV_)
  return GTEST_GET_INT32_FROM_ENV_(flag, default_value);
#endif  // defined(GTEST_GET_INT32_FROM_ENV_)
  const std::string env_var = FlagToEnvVar(flag);
  const char* const string_value = posix::GetEnv(env_var.c_str());
  if (string_value == NULL) {
    // The environment variable is not set.
    return default_value;
  }

  Int32 result = default_value;
  if (!ParseInt32(Message() << "Environment variable " << env_var,
                  string_value, &result)) {
    printf("The default value %s is used.\n",
           (Message() << default_value).GetString().c_str());
    fflush(stdout);
    return default_value;
  }

  return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x26f7a
movq (%r14), %rdi
callq 0xc7c0
testq %rax, %rax
je 0x109c4
movq %rax, %r15
movl %ebx, 0x4(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x12eee
movq 0x10(%rsp), %r14
leaq 0x10(%r14), %r12
leaq 0x43a4d(%rip), %rsi     # 0x54342
movl $0x15, %edx
movq %r12, %rdi
callq 0xc700
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %r12, %rdi
callq 0xc700
leaq 0x10(%rsp), %rdi
leaq 0x4(%rsp), %rdx
movq %r15, %rsi
callq 0x1f0ce
movl %eax, %ebp
testq %r14, %r14
je 0x1093f
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x10(%rsp)
testb %bpl, %bpl
je 0x1094a
movl 0x4(%rsp), %ebx
jmp 0x109c4
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x8(%rsp), %r14
leaq 0x10(%r14), %rdi
movl %ebx, %esi
callq 0xcb70
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x13163
leaq 0x20(%rsp), %r15
movq -0x10(%r15), %rsi
leaq 0x439d7(%rip), %rdi     # 0x54358
xorl %eax, %eax
callq 0xc090
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x1099e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xc600
testq %r14, %r14
je 0x109b5
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x625d4(%rip), %rax     # 0x72f90
movq (%rax), %rdi
callq 0xc740
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x109df
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x10a0c
movq %rax, %rbx
testq %r14, %r14
je 0x10a2b
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
jmp 0x10a2b
movq %rax, %rbx
jmp 0x10a2b
movq %rax, %rbx
testq %r14, %r14
je 0x10a2b
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq $0x0, 0x10(%rsp)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10a46
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::internal::Random::Generate(unsigned int)
UInt32 Random::Generate(UInt32 range) {
  // These constants are the same as are used in glibc's rand(3).
  // Use wider types than necessary to prevent unsigned overflow diagnostics.
  state_ = static_cast<UInt32>(1103515245ULL*state_ + 12345U) % kMaxRange;

  GTEST_CHECK_(range > 0)
      << "Cannot generate a number in the range [0, 0).";
  GTEST_CHECK_(range <= kMaxRange)
      << "Generation of a number in [0, " << range << ") was requested, "
      << "but this can only generate numbers in [0, " << kMaxRange << ").";

  // Converting via modulus introduces a bit of downward bias, but
  // it's simple, and a linear congruential generator isn't too good
  // to begin with.
  return state_ % range;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r14
imull $0x41c64e6d, (%rdi), %eax # imm = 0x41C64E6D
addl $0x3039, %eax           # imm = 0x3039
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, (%rdi)
testl %esi, %esi
jne 0x10ac7
leaq 0x42558(%rip), %rdx     # 0x52fd1
leaq 0xc(%rsp), %rdi
movl $0x3, %esi
movl $0x13c, %ecx            # imm = 0x13C
callq 0x26c0e
movq 0x6255c(%rip), %rdi     # 0x72ff0
leaq 0x42562(%rip), %rsi     # 0x52ffd
movl $0x1c, %edx
callq 0xc700
movq 0x62544(%rip), %rdi     # 0x72ff0
leaq 0x42567(%rip), %rsi     # 0x5301a
movl $0x2d, %edx
callq 0xc700
leaq 0xc(%rsp), %rdi
callq 0x26d50
cmpl $0x80000001, %ebx       # imm = 0x80000001
jb 0x10b82
leaq 0x424f7(%rip), %rdx     # 0x52fd1
leaq 0x8(%rsp), %rdi
movl $0x3, %esi
movl $0x13e, %ecx            # imm = 0x13E
callq 0x26c0e
movq 0x624fb(%rip), %rdi     # 0x72ff0
leaq 0x4254c(%rip), %rsi     # 0x53048
movl $0x25, %edx
callq 0xc700
movq 0x624e3(%rip), %rdi     # 0x72ff0
leaq 0x4255a(%rip), %rsi     # 0x5306e
movl $0x1e, %edx
callq 0xc700
movl %ebx, %esi
movq 0x624c9(%rip), %rdi     # 0x72ff0
callq 0xc3c0
movq %rax, %r15
leaq 0x42557(%rip), %rsi     # 0x5308d
movl $0x11, %edx
movq %rax, %rdi
callq 0xc700
leaq 0x42555(%rip), %rsi     # 0x5309f
movl $0x2a, %edx
movq %r15, %rdi
callq 0xc700
movl $0x80000000, %esi       # imm = 0x80000000
movq %r15, %rdi
callq 0xc3c0
leaq 0x424da(%rip), %rsi     # 0x53045
movl $0x2, %edx
movq %rax, %rdi
callq 0xc700
leaq 0x8(%rsp), %rdi
callq 0x26d50
movl (%r14), %eax
xorl %edx, %edx
divl %ebx
movl %edx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0xc(%rsp), %rdi
jmp 0x10ba7
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x26d50
movq %rbx, %rdi
callq 0xcbb0
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::internal::AssertHelper::operator=(testing::Message const&) const
void AssertHelper::operator=(const Message& message) const {
  UnitTest::GetInstance()->
    AddTestPartResult(data_->type, data_->file, data_->line,
                      AppendUserMessage(data_->message, message),
                      UnitTest::GetInstance()->impl()
                      ->CurrentOsStackTraceExceptTop(1)
                      // Skips the stack frame for this function itself.
                      );  // NOLINT
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x10d48
movq (%rbx), %rsi
movl (%rsi), %ebx
movq 0x8(%rsi), %r14
movl 0x10(%rsi), %ebp
addq $0x18, %rsi
leaq 0x28(%rsp), %rdi
movq %r15, %rdx
callq 0x1118a
callq 0x10d48
movq 0x62bcc(%rip), %rsi     # 0x73860
leaq 0x8(%rsp), %rdi
movl $0x1, %edx
callq 0x112ca
leaq 0x62b76(%rip), %rdi     # 0x73820
leaq 0x28(%rsp), %r8
leaq 0x8(%rsp), %r9
movl %ebx, %esi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x10db8
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10cdb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10cf6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10d24
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x10d24
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10d3f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop
// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest.cc
// Function: testing::UnitTest::GetInstance()
UnitTest* UnitTest::GetInstance() {
  // When compiled with MSVC 7.1 in optimized mode, destroying the
  // UnitTest object upon exiting the program messes up the exit code,
  // causing successful tests to appear failed.  We have to use a
  // different implementation in this case to bypass the compiler bug.
  // This implementation makes the compiler happy, at the cost of
  // leaking the UnitTest object.

  // CodeGear C++Builder insists on a public destructor for the
  // default implementation.  Use this implementation to keep good OO
  // design with private destructor.

#if (_MSC_VER == 1310 && !defined(_DEBUG)) || defined(__BORLANDC__)
  static UnitTest* const instance = new UnitTest;
  return instance;
#else
  static UnitTest instance;
  return &instance;
#endif  // (_MSC_VER == 1310 && !defined(_DEBUG)) || defined(__BORLANDC__)
}

// Assembly:
pushq %rbx
movb 0x62b19(%rip), %al      # 0x73868
testb %al, %al
je 0x10d5c
leaq 0x62ac6(%rip), %rax     # 0x73820
popq %rbx
retq
leaq 0x62b05(%rip), %rdi     # 0x73868
callq 0xcc00
testl %eax, %eax
je 0x10d53
leaq 0x62aad(%rip), %rdi     # 0x73820
callq 0x1e042
leaq 0xd329(%rip), %rdi      # 0x1e0a8
leaq 0x62a9a(%rip), %rsi     # 0x73820
leaq 0x628fb(%rip), %rdx     # 0x73688
callq 0xc500
leaq 0x62acf(%rip), %rdi     # 0x73868
callq 0xc390
jmp 0x10d53
movq %rax, %rbx
leaq 0x62abe(%rip), %rdi     # 0x73868
callq 0xc380
movq %rbx, %rdi
callq 0xcbb0
nop