LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_radio_text
NK_API nk_bool
nk_radio_text(struct nk_context *ctx, const char *text, int len, nk_bool *active)
{
    int old_value;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    NK_ASSERT(active);
    if (!ctx || !text || !active) return 0;
    old_value = *active;
    *active = nk_option_text(ctx, text, len, old_value);
    return old_value != *active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x4936c
movq 0x3ecab(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x28a3c(%rip), %rsi     # 0x71d8c
leaq 0x28a53(%rip), %rdx     # 0x71daa
movl $0x6211, %ecx           # imm = 0x6211
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r14, %r14
jne 0x4939f
movq 0x3ec78(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x28a09(%rip), %rsi     # 0x71d8c
leaq 0x28a20(%rip), %rdx     # 0x71daa
movl $0x6212, %ecx           # imm = 0x6212
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x493d2
movq 0x3ec45(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x289d6(%rip), %rsi     # 0x71d8c
leaq 0x289ed(%rip), %rdx     # 0x71daa
movl $0x6213, %ecx           # imm = 0x6213
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %rbx, %rbx
sete %cl
testq %r14, %r14
sete %al
testq %r15, %r15
sete %dl
orb %al, %dl
xorl %eax, %eax
orb %cl, %dl
jne 0x4940b
movl (%rbx), %r12d
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r12d, %ecx
callq 0x13920
movl %eax, %ecx
movl %eax, (%rbx)
xorl %eax, %eax
cmpl %ecx, %r12d
setne %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_radio_text_align
NK_API nk_bool
nk_radio_text_align(struct nk_context *ctx, const char *text, int len, nk_bool *active, nk_flags widget_alignment, nk_flags text_alignment)
{
    int old_value;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    NK_ASSERT(active);
    if (!ctx || !text || !active) return 0;
    old_value = *active;
    *active = nk_option_text_align(ctx, text, len, old_value, widget_alignment, text_alignment);
    return old_value != *active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movl %r8d, %r14d
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r13
testq %rdi, %rdi
jne 0x49466
movq 0x3ebb1(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x28942(%rip), %rsi     # 0x71d8c
leaq 0x28959(%rip), %rdx     # 0x71daa
movl $0x621d, %ecx           # imm = 0x621D
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r12, %r12
jne 0x49499
movq 0x3eb7e(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x2890f(%rip), %rsi     # 0x71d8c
leaq 0x28926(%rip), %rdx     # 0x71daa
movl $0x621e, %ecx           # imm = 0x621E
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x494cc
movq 0x3eb4b(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x288dc(%rip), %rsi     # 0x71d8c
leaq 0x288f3(%rip), %rdx     # 0x71daa
movl $0x621f, %ecx           # imm = 0x621F
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %rbx, %rbx
sete %cl
testq %r12, %r12
sete %al
testq %r13, %r13
sete %dl
orb %al, %dl
xorl %eax, %eax
orb %cl, %dl
jne 0x4950b
movl (%rbx), %ebp
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
movl %ebp, %ecx
movl %r14d, %r8d
movl 0x4(%rsp), %r9d
callq 0x13980
movl %eax, %ecx
movl %eax, (%rbx)
xorl %eax, %eax
cmpl %ecx, %ebp
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_selectable_text
NK_API nk_bool
nk_selectable_text(struct nk_context *ctx, const char *str, int len,
    nk_flags align, nk_bool *value)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    enum nk_widget_layout_states state;
    struct nk_rect bounds;

    NK_ASSERT(ctx);
    NK_ASSERT(value);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout || !value)
        return 0;

    win = ctx->current;
    layout = win->layout;
    style = &ctx->style;

    state = nk_widget(&bounds, ctx);
    if (!state) return 0;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    return nk_do_selectable(&ctx->last_widget_state, &win->buffer, bounds,
                str, len, align, value, &style->selectable, in, style->font);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movl %ecx, %ebp
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r14
testq %rdi, %rdi
jne 0x49635
movq 0x3e9e2(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x28773(%rip), %rsi     # 0x71d8c
leaq 0x2878a(%rip), %rdx     # 0x71daa
movl $0x630d, %ecx           # imm = 0x630D
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x49668
movq 0x3e9af(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x28740(%rip), %rsi     # 0x71d8c
leaq 0x28757(%rip), %rdx     # 0x71daa
movl $0x630e, %ecx           # imm = 0x630E
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%r14)
jne 0x496a0
movq 0x3e977(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x28708(%rip), %rsi     # 0x71d8c
leaq 0x2871f(%rip), %rdx     # 0x71daa
movl $0x630f, %ecx           # imm = 0x630F
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x496df
movq 0x3e938(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x286c9(%rip), %rsi     # 0x71d8c
leaq 0x286e0(%rip), %rdx     # 0x71daa
movl $0x6310, %ecx           # imm = 0x6310
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
xorl %eax, %eax
testq %r14, %r14
je 0x4977f
movq 0x4780(%r14), %r13
testq %r13, %r13
je 0x4977f
movl %ebp, 0x4(%rsp)
testq %rbx, %rbx
sete %cl
movq 0xa8(%r13), %rbp
testq %rbp, %rbp
sete %dl
orb %cl, %dl
jne 0x4977f
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x128e0
testl %eax, %eax
je 0x4977f
cmpl $0x1, %eax
jne 0x49737
xorl %eax, %eax
testb $0x10, 0x5(%rbp)
cmoveq %r14, %rax
jmp 0x49739
xorl %eax, %eax
leaq 0x2598(%r14), %rdi
addq $0x68, %r13
leaq 0x698(%r14), %r10
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subq $0x8, %rsp
movq %r13, %rsi
movq %r12, %rdx
movl %r15d, %ecx
movl 0xc(%rsp), %r8d
movq %rbx, %r9
pushq 0x168(%r14)
pushq %rax
pushq %r10
callq 0x4978e
addq $0x20, %rsp
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_selectable_image_text
NK_API nk_bool
nk_selectable_image_text(struct nk_context *ctx, struct nk_image img,
    const char *str, int len, nk_flags align, nk_bool *value)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    enum nk_widget_layout_states state;
    struct nk_rect bounds;

    NK_ASSERT(ctx);
    NK_ASSERT(value);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout || !value)
        return 0;

    win = ctx->current;
    layout = win->layout;
    style = &ctx->style;

    state = nk_widget(&bounds, ctx);
    if (!state) return 0;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    return nk_do_selectable_image(&ctx->last_widget_state, &win->buffer, bounds,
                str, len, align, value, &img, &style->selectable, in, style->font);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movl %ecx, %ebp
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r14
testq %rdi, %rdi
jne 0x49a9c
movq 0x3e57b(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x2830c(%rip), %rsi     # 0x71d8c
leaq 0x28323(%rip), %rdx     # 0x71daa
movl $0x632a, %ecx           # imm = 0x632A
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x49acf
movq 0x3e548(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x282d9(%rip), %rsi     # 0x71d8c
leaq 0x282f0(%rip), %rdx     # 0x71daa
movl $0x632b, %ecx           # imm = 0x632B
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%r14)
jne 0x49b07
movq 0x3e510(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x282a1(%rip), %rsi     # 0x71d8c
leaq 0x282b8(%rip), %rdx     # 0x71daa
movl $0x632c, %ecx           # imm = 0x632C
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x49b46
movq 0x3e4d1(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x28262(%rip), %rsi     # 0x71d8c
leaq 0x28279(%rip), %rdx     # 0x71daa
movl $0x632d, %ecx           # imm = 0x632D
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
xorl %eax, %eax
testq %r14, %r14
je 0x49be9
movq 0x4780(%r14), %r13
testq %r13, %r13
je 0x49be9
movl %ebp, 0x4(%rsp)
testq %rbx, %rbx
sete %cl
movq 0xa8(%r13), %rbp
testq %rbp, %rbp
sete %dl
orb %cl, %dl
jne 0x49be9
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x128e0
testl %eax, %eax
je 0x49be9
leaq 0x50(%rsp), %r10
cmpl $0x1, %eax
jne 0x49ba3
xorl %eax, %eax
testb $0x10, 0x5(%rbp)
cmoveq %r14, %rax
jmp 0x49ba5
xorl %eax, %eax
leaq 0x2598(%r14), %rdi
addq $0x68, %r13
leaq 0x698(%r14), %r11
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movq %r13, %rsi
movq %r12, %rdx
movl %r15d, %ecx
movl 0x4(%rsp), %r8d
movq %rbx, %r9
pushq 0x168(%r14)
pushq %rax
pushq %r11
pushq %r10
callq 0x49bf8
addq $0x20, %rsp
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_slider_int
NK_API nk_bool
nk_slider_int(struct nk_context *ctx, int min, int *val, int max, int step)
{
    int ret;
    float value = (float)*val;
    ret = nk_slider_float(ctx, (float)min, &value, (float)max, (float)step);
    *val =  (int)value;
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
cvtsi2ssl (%rdx), %xmm2
cvtsi2ss %esi, %xmm0
leaq 0x4(%rsp), %r14
cvtsi2ss %ecx, %xmm1
movss %xmm2, (%r14)
xorps %xmm2, %xmm2
cvtsi2ss %r8d, %xmm2
movq %r14, %rsi
callq 0x13320
cvttss2si (%r14), %ecx
movl %ecx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_delete
NK_API void
nk_textedit_delete(struct nk_text_edit *state, int where, int len)
{
    /* delete characters while updating undo */
    nk_textedit_makeundo_delete(state, where, len);
    nk_str_delete_runes(&state->string, where, len);
    state->has_preferred_x = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
movq %rdi, 0x18(%rsp)
addq $0xc0, %rdi
movl %esi, 0xc(%rsp)
xorl %ecx, %ecx
callq 0x58bcf
movq %rax, %r15
testq %rax, %rax
sete %al
movl %ebx, 0x10(%rsp)
testl %ebx, %ebx
setle %cl
orb %al, %cl
jne 0x4b7ff
movq 0x18(%rsp), %rax
leaq 0x18(%rax), %r12
movl 0x10(%rsp), %ebx
movl 0xc(%rsp), %ebp
xorl %r13d, %r13d
leaq 0x24(%rsp), %r14
movl $0x0, 0x14(%rsp)
leal (%rbp,%r13), %esi
movq %r12, %rdi
leaq 0x14(%rsp), %rdx
movq %r14, %rcx
callq 0x13f60
movl 0x14(%rsp), %eax
movl %eax, (%r15,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x4b7d2
movq 0x18(%rsp), %rbx
leaq 0x18(%rbx), %rdi
movl 0xc(%rsp), %esi
movl 0x10(%rsp), %edx
callq 0x12d10
movb $0x0, 0xb7(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_delete_selection
NK_API void
nk_textedit_delete_selection(struct nk_text_edit *state)
{
    /* delete the section */
    nk_textedit_clamp(state);
    if (NK_TEXT_HAS_SELECTION(state)) {
        if (state->select_start < state->select_end) {
            nk_textedit_delete(state, state->select_start,
                state->select_end - state->select_start);
            state->select_end = state->cursor = state->select_start;
        } else {
            nk_textedit_delete(state, state->select_end,
                state->select_start - state->select_end);
            state->select_start = state->cursor = state->select_end;
        }
        state->has_preferred_x = 0;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x4b88d
movl 0xac(%rbx), %esi
movl 0xb0(%rbx), %edx
movl %esi, %eax
subl %edx, %eax
je 0x4b88b
jge 0x4b866
subl %esi, %edx
movq %rbx, %rdi
callq 0x12360
movl 0xac(%rbx), %eax
movl %eax, 0xa8(%rbx)
movl %eax, 0xb0(%rbx)
jmp 0x4b884
movq %rbx, %rdi
movl %edx, %esi
movl %eax, %edx
callq 0x12360
movl 0xb0(%rbx), %eax
movl %eax, 0xa8(%rbx)
movl %eax, 0xac(%rbx)
movb $0x0, 0xb7(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_clamp
NK_INTERN void
nk_textedit_clamp(struct nk_text_edit *state)
{
    /* make the selection/cursor state valid if client altered the string */
    int n = state->string.len;
    if (NK_TEXT_HAS_SELECTION(state)) {
        if (state->select_start > n) state->select_start = n;
        if (state->select_end   > n) state->select_end = n;
        /* if clamping forced them to be equal, move the cursor to match */
        if (state->select_start == state->select_end)
            state->cursor = state->select_start;
    }
    if (state->cursor > n) state->cursor = n;
}

// Assembly:
movl 0x90(%rdi), %eax
movl 0xac(%rdi), %edx
movl 0xb0(%rdi), %ecx
cmpl %ecx, %edx
je 0x4b8cb
cmpl %eax, %edx
jle 0x4b8ad
movl %eax, 0xac(%rdi)
cmpl %eax, %ecx
jle 0x4b8b7
movl %eax, 0xb0(%rdi)
movl 0xac(%rdi), %ecx
cmpl 0xb0(%rdi), %ecx
jne 0x4b8cb
movl %ecx, 0xa8(%rdi)
cmpl %eax, 0xa8(%rdi)
jle 0x4b8d9
movl %eax, 0xa8(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_cut
NK_API nk_bool
nk_textedit_cut(struct nk_text_edit *state)
{
    /* API cut: delete selection */
    if (state->mode == NK_TEXT_EDIT_MODE_VIEW)
        return 0;
    if (NK_TEXT_HAS_SELECTION(state)) {
        nk_textedit_delete_selection(state); /* implicitly clamps */
        state->has_preferred_x = 0;
        return 1;
    }
   return 0;
}

// Assembly:
xorl %eax, %eax
cmpb $0x0, 0xb4(%rdi)
je 0x4b90c
pushq %rbx
movq %rdi, %rbx
movl 0xac(%rdi), %ecx
cmpl 0xb0(%rdi), %ecx
je 0x4b90b
movq %rbx, %rdi
callq 0x13e30
movb $0x0, 0xb7(%rbx)
movl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_paste
NK_API nk_bool
nk_textedit_paste(struct nk_text_edit *state, char const *ctext, int len)
{
    /* API paste: replace existing selection with passed-in text */
    int glyphs;
    const char *text = (const char *) ctext;
    if (state->mode == NK_TEXT_EDIT_MODE_VIEW) return 0;

    /* if there's a selection, the paste should delete it */
    nk_textedit_clamp(state);
    nk_textedit_delete_selection(state);

    /* try to insert the characters */
    glyphs = nk_utf_len(ctext, len);
    if (nk_str_insert_text_char(&state->string, state->cursor, text, len)) {
        nk_textedit_makeundo_insert(state, state->cursor, glyphs);
        state->cursor += len;
        state->has_preferred_x = 0;
        return 1;
    }
    /* remove the undo since we didn't actually insert the characters */
    if (state->undo.undo_point)
        --state->undo.undo_point;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
xorl %ebp, %ebp
cmpb $0x0, 0xb4(%rdi)
je 0x4b99e
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
callq 0x4b88d
movq %rbx, %rdi
callq 0x13e30
movq %r15, %rdi
movl %r14d, %esi
callq 0x12730
movl %eax, %r12d
leaq 0x18(%rbx), %rdi
movl 0xa8(%rbx), %esi
movq %r15, %rdx
movl %r14d, %ecx
callq 0x139a0
testl %eax, %eax
je 0x4b989
movl 0xa8(%rbx), %esi
leaq 0xc0(%rbx), %rdi
xorl %edx, %edx
movl %r12d, %ecx
callq 0x58bcf
addl %r14d, 0xa8(%rbx)
movb $0x0, 0xb7(%rbx)
movl $0x1, %ebp
jmp 0x4b99e
movzwl 0x1500(%rbx), %eax
testw %ax, %ax
je 0x4b99e
decl %eax
movw %ax, 0x1500(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_init_fixed
NK_API void
nk_textedit_init_fixed(struct nk_text_edit *state, void *memory, nk_size size)
{
    NK_ASSERT(state);
    NK_ASSERT(memory);
    if (!state || !memory || !size) return;
    NK_MEMSET(state, 0, sizeof(struct nk_text_edit));
    nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0);
    nk_str_init_fixed(&state->string, memory, size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x4c092
movq 0x3bf85(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x25d16(%rip), %rsi     # 0x71d8c
leaq 0x25d2d(%rip), %rdx     # 0x71daa
movl $0x6a3f, %ecx           # imm = 0x6A3F
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r15, %r15
jne 0x4c0c5
movq 0x3bf52(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x25ce3(%rip), %rsi     # 0x71d8c
leaq 0x25cfa(%rip), %rdx     # 0x71daa
movl $0x6a40, %ecx           # imm = 0x6A40
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %rbx, %rbx
je 0x4c18a
testq %r15, %r15
je 0x4c18a
testq %r14, %r14
je 0x4c18a
movq %rbx, %r12
andq $0x3, %r12
je 0x4c10b
movl $0x4, %r13d
subq %r12, %r13
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
callq 0x12b50
orq $0x1504, %r12           # imm = 0x1504
addq %rbx, %r13
jmp 0x4c114
movl $0x1508, %r12d          # imm = 0x1508
movq %rbx, %r13
movl %r12d, %ebp
andl $-0x4, %ebp
movq %r13, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x12b50
andq $0x3, %r12
je 0x4c13d
addq %rbp, %r13
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x12b50
movabsq $0x3e7000000630000, %rax # imm = 0x3E7000000630000
movq %rax, 0x1500(%rbx)
movaps 0x226fb(%rip), %xmm0    # 0x6e850
movups %xmm0, 0xa8(%rbx)
xorl %ebp, %ebp
movl %ebp, 0xbc(%rbx)
movb $0x1, 0xb8(%rbx)
leaq 0x18(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x98(%rbx)
movq %r15, %rsi
movq %r14, %rdx
callq 0x12680
movl %ebp, 0x90(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_init
NK_API void
nk_textedit_init(struct nk_text_edit *state, struct nk_allocator *alloc, nk_size size)
{
    NK_ASSERT(state);
    NK_ASSERT(alloc);
    if (!state || !alloc) return;
    NK_MEMSET(state, 0, sizeof(struct nk_text_edit));
    nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0);
    nk_str_init(&state->string, alloc, size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x4c1de
movq 0x3be37(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x25bc9(%rip), %rsi     # 0x71d8c
leaq 0x25be0(%rip), %rdx     # 0x71daa
movl $0x6a49, %ecx           # imm = 0x6A49
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
testq %r15, %r15
jne 0x4c20f
movq 0x3be06(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x25b98(%rip), %rsi     # 0x71d8c
leaq 0x25baf(%rip), %rdx     # 0x71daa
movl $0x6a4a, %ecx           # imm = 0x6A4A
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
testq %r15, %r15
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x4c2d5
movq %r12, (%rsp)
movq %rbx, %r12
andq $0x3, %r12
je 0x4c252
movl $0x4, %r13d
subq %r12, %r13
movq %rbx, %rdi
xorl %esi, %esi
movq %r13, %rdx
callq 0x12b50
orq $0x1504, %r12           # imm = 0x1504
addq %rbx, %r13
jmp 0x4c25b
movl $0x1508, %r12d          # imm = 0x1508
movq %rbx, %r13
movl %r12d, %ebp
andl $-0x4, %ebp
xorl %r14d, %r14d
movq %r13, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x12b50
andq $0x3, %r12
je 0x4c287
addq %rbp, %r13
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x12b50
movabsq $0x3e7000000630000, %rax # imm = 0x3E7000000630000
movq %rax, 0x1500(%rbx)
movaps 0x225b1(%rip), %xmm0    # 0x6e850
movups %xmm0, 0xa8(%rbx)
movl %r14d, 0xbc(%rbx)
movb $0x1, 0xb8(%rbx)
leaq 0x18(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x98(%rbx)
movq %r15, %rsi
movq (%rsp), %rdx
callq 0x12d60
movl %r14d, 0x90(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_textedit_init_default
NK_API void
nk_textedit_init_default(struct nk_text_edit *state)
{
    NK_ASSERT(state);
    if (!state) return;
    NK_MEMSET(state, 0, sizeof(struct nk_text_edit));
    nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0);
    nk_str_init_default(&state->string);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
testq %rdi, %rdi
je 0x4c323
movq %rdi, %rbx
movq %rdi, %r14
andq $0x3, %r14
je 0x4c35b
movl $0x4, %r15d
subq %r14, %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x12b50
orq $0x1504, %r14           # imm = 0x1504
addq %rbx, %r15
jmp 0x4c364
movq 0x3bcc6(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x25a58(%rip), %rsi     # 0x71d8c
leaq 0x25a6f(%rip), %rdx     # 0x71daa
movl $0x6a54, %ecx           # imm = 0x6A54
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x13780
movl $0x1508, %r14d          # imm = 0x1508
movq %rbx, %r15
movl %r14d, %r12d
andl $-0x4, %r12d
xorl %ebp, %ebp
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x12b50
andq $0x3, %r14
je 0x4c390
addq %r12, %r15
movq %r15, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x12b50
movabsq $0x3e7000000630000, %rax # imm = 0x3E7000000630000
movq %rax, 0x1500(%rbx)
movaps 0x224a8(%rip), %xmm0    # 0x6e850
movups %xmm0, 0xa8(%rbx)
movl %ebp, 0xbc(%rbx)
movb $0x1, 0xb8(%rbx)
leaq 0x18(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x98(%rbx)
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
leaq -0x2723f(%rip), %rax    # 0x2519e
movq %rax, 0x8(%rsi)
leaq -0x27242(%rip), %rax    # 0x251a6
movq %rax, 0x10(%rsi)
movl $0x20, %edx
callq 0x12d60
movl %ebp, 0x90(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_edit_focus
NK_API void
nk_edit_focus(struct nk_context *ctx, nk_flags flags)
{
    nk_hash hash;
    struct nk_window *win;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current) return;

    win = ctx->current;
    hash = win->edit.seq;
    win->edit.active = nk_true;
    win->edit.name = hash;
    if (flags & NK_EDIT_ALWAYS_INSERT_MODE)
        win->edit.mode = NK_TEXT_EDIT_MODE_INSERT;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x4c557
movq 0x3babe(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x25850(%rip), %rsi     # 0x71d8c
leaq 0x25867(%rip), %rdx     # 0x71daa
movl $0x6d11, %ecx           # imm = 0x6D11
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%r14)
jne 0x4c58d
movq 0x3ba88(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x2581a(%rip), %rsi     # 0x71d8c
leaq 0x25831(%rip), %rdx     # 0x71daa
movl $0x6d12, %ecx           # imm = 0x6D12
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
testq %r14, %r14
je 0x4c5c1
movq 0x4780(%r14), %rax
testq %rax, %rax
je 0x4c5c1
movl 0x184(%rax), %ecx
movl $0x1, 0x18c(%rax)
movl %ecx, 0x180(%rax)
btl $0x9, %ebx
jae 0x4c5c1
movb $0x1, 0x1a8(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_edit_unfocus
NK_API void
nk_edit_unfocus(struct nk_context *ctx)
{
    struct nk_window *win;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current) return;

    win = ctx->current;
    win->edit.active = nk_false;
    win->edit.name = 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x4c5ff
movq 0x3ba16(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x257a8(%rip), %rsi     # 0x71d8c
leaq 0x257bf(%rip), %rdx     # 0x71daa
movl $0x6d20, %ecx           # imm = 0x6D20
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%rbx)
jne 0x4c635
movq 0x3b9e0(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x25772(%rip), %rsi     # 0x71d8c
leaq 0x25789(%rip), %rdx     # 0x71daa
movl $0x6d21, %ecx           # imm = 0x6D21
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
testq %rbx, %rbx
je 0x4c654
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x4c654
xorl %ecx, %ecx
movl %ecx, 0x18c(%rax)
movl %ecx, 0x180(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_edit_string_zero_terminated
NK_API nk_flags
nk_edit_string_zero_terminated(struct nk_context *ctx, nk_flags flags,
    char *buffer, int max, nk_plugin_filter filter)
{
    nk_flags result;
    int len = nk_strlen(buffer);
    result = nk_edit_string(ctx, flags, buffer, &len, max, filter);
    buffer[NK_MIN(NK_MAX(max-1,0), len)] = '\0';
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
movq %rdx, %rdi
callq 0x12f10
leaq 0x4(%rsp), %r13
movl %eax, (%r13)
movq %r12, %rdi
movl %r15d, %esi
movq %rbx, %rdx
movq %r13, %rcx
movl %ebp, %r8d
movq %r14, %r9
callq 0x13ea0
cmpl $0x2, %ebp
movl $0x1, %ecx
cmovgel %ebp, %ecx
movl (%r13), %edx
leal -0x1(%rcx), %esi
cmpl %edx, %ecx
cmovgl %edx, %esi
movslq %esi, %rcx
movb $0x0, (%rbx,%rcx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_property_int
NK_API void
nk_property_int(struct nk_context *ctx, const char *name,
    int min, int *val, int max, int step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);
    NK_ASSERT(val);

    if (!ctx || !ctx->current || !name || !val) return;
    variant = nk_property_variant_int(*val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_INT);
    *val = variant.value.i;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm0, 0xc(%rsp)
movl %r9d, 0x8(%rsp)
movl %r8d, %r15d
movq %rcx, %rbx
movl %edx, %r13d
movq %rsi, %r14
movq %rdi, %r12
testq %rdi, %rdi
jne 0x4e5e1
movq 0x39a36(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x237c7(%rip), %rsi     # 0x71d8c
leaq 0x237de(%rip), %rdx     # 0x71daa
movl $0x6f54, %ecx           # imm = 0x6F54
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r14, %r14
jne 0x4e614
movq 0x39a03(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x23794(%rip), %rsi     # 0x71d8c
leaq 0x237ab(%rip), %rdx     # 0x71daa
movl $0x6f55, %ecx           # imm = 0x6F55
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x4e647
movq 0x399d0(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x23761(%rip), %rsi     # 0x71d8c
leaq 0x23778(%rip), %rdx     # 0x71daa
movl $0x6f56, %ecx           # imm = 0x6F56
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r12, %r12
je 0x4e69c
testq %rbx, %rbx
je 0x4e69c
testq %r14, %r14
je 0x4e69c
cmpq $0x0, 0x4780(%r12)
je 0x4e69c
movl (%rbx), %eax
leaq 0x10(%rsp), %rbp
movl $0x0, (%rbp)
movl %eax, 0x8(%rbp)
movl %r13d, 0x10(%rbp)
movl %r15d, 0x18(%rbp)
movl 0x8(%rsp), %eax
movl %eax, 0x20(%rbp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movss 0xc(%rsp), %xmm0
xorl %ecx, %ecx
callq 0x4e6ab
movl 0x8(%rbp), %eax
movl %eax, (%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_property_float
NK_API void
nk_property_float(struct nk_context *ctx, const char *name,
    float min, float *val, float max, float step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);
    NK_ASSERT(val);

    if (!ctx || !ctx->current || !name || !val) return;
    variant = nk_property_variant_float(*val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT);
    *val = variant.value.f;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm3, 0xc(%rsp)
movss %xmm2, 0x8(%rsp)
movss %xmm1, 0x4(%rsp)
movq %rdx, %rbx
movss %xmm0, (%rsp)
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x4fa47
movq 0x385d0(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x22361(%rip), %rsi     # 0x71d8c
leaq 0x22378(%rip), %rdx     # 0x71daa
movl $0x6f62, %ecx           # imm = 0x6F62
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r14, %r14
jne 0x4fa7a
movq 0x3859d(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x2232e(%rip), %rsi     # 0x71d8c
leaq 0x22345(%rip), %rdx     # 0x71daa
movl $0x6f63, %ecx           # imm = 0x6F63
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x4faad
movq 0x3856a(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x222fb(%rip), %rsi     # 0x71d8c
leaq 0x22312(%rip), %rdx     # 0x71daa
movl $0x6f64, %ecx           # imm = 0x6F64
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r15, %r15
je 0x4fb28
testq %rbx, %rbx
je 0x4fb28
testq %r14, %r14
je 0x4fb28
cmpq $0x0, 0x4780(%r15)
je 0x4fb28
movss (%rbx), %xmm0
leaq 0x10(%rsp), %r12
movl $0x1, (%r12)
movss %xmm0, 0x8(%r12)
movss (%rsp), %xmm0
movss %xmm0, 0x10(%r12)
movss 0x4(%rsp), %xmm0
movss %xmm0, 0x18(%r12)
movss 0x8(%rsp), %xmm0
movss %xmm0, 0x20(%r12)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movss 0xc(%rsp), %xmm0
movl $0x1, %ecx
callq 0x4e6ab
movss 0x8(%r12), %xmm0
movss %xmm0, (%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_property_double
NK_API void
nk_property_double(struct nk_context *ctx, const char *name,
    double min, double *val, double max, double step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);
    NK_ASSERT(val);

    if (!ctx || !ctx->current || !name || !val) return;
    variant = nk_property_variant_double(*val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT);
    *val = variant.value.d;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movss %xmm3, 0x4(%rsp)
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
movq %rdx, %rbx
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x4fb93
movq 0x38484(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x22215(%rip), %rsi     # 0x71d8c
leaq 0x2222c(%rip), %rdx     # 0x71daa
movl $0x6f70, %ecx           # imm = 0x6F70
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r14, %r14
jne 0x4fbc6
movq 0x38451(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x221e2(%rip), %rsi     # 0x71d8c
leaq 0x221f9(%rip), %rdx     # 0x71daa
movl $0x6f71, %ecx           # imm = 0x6F71
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %rbx, %rbx
jne 0x4fbf9
movq 0x3841e(%rip), %r12     # 0x87ff0
movq (%r12), %rdi
leaq 0x221af(%rip), %rsi     # 0x71d8c
leaq 0x221c6(%rip), %rdx     # 0x71daa
movl $0x6f72, %ecx           # imm = 0x6F72
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r15, %r15
je 0x4fc75
testq %rbx, %rbx
je 0x4fc75
testq %r14, %r14
je 0x4fc75
cmpq $0x0, 0x4780(%r15)
je 0x4fc75
movsd (%rbx), %xmm0
leaq 0x20(%rsp), %r12
movl $0x2, (%r12)
movsd %xmm0, 0x8(%r12)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%r12)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x18(%r12)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x20(%r12)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movss 0x4(%rsp), %xmm0
movl $0x1, %ecx
callq 0x4e6ab
movsd 0x8(%r12), %xmm0
movsd %xmm0, (%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_propertyi
NK_API int
nk_propertyi(struct nk_context *ctx, const char *name, int min, int val,
    int max, int step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);

    if (!ctx || !ctx->current || !name) return val;
    variant = nk_property_variant_int(val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_INT);
    val = variant.value.i;
    return val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm0, 0xc(%rsp)
movl %r9d, 0x8(%rsp)
movl %r8d, %r15d
movl %ecx, %ebx
movl %edx, %r13d
movq %rsi, %r14
movq %rdi, %r12
testq %rdi, %rdi
jne 0x4fcdb
movq 0x3833c(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x220cd(%rip), %rsi     # 0x71d8c
leaq 0x220e4(%rip), %rdx     # 0x71daa
movl $0x6f7e, %ecx           # imm = 0x6F7E
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r14, %r14
jne 0x4fd0e
movq 0x38309(%rip), %rbp     # 0x87ff0
movq (%rbp), %rdi
leaq 0x2209a(%rip), %rsi     # 0x71d8c
leaq 0x220b1(%rip), %rdx     # 0x71daa
movl $0x6f7f, %ecx           # imm = 0x6F7F
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
testq %r12, %r12
je 0x4fd5a
testq %r14, %r14
je 0x4fd5a
cmpq $0x0, 0x4780(%r12)
je 0x4fd5a
leaq 0x10(%rsp), %rbp
movl $0x0, (%rbp)
movl %ebx, 0x8(%rbp)
movl %r13d, 0x10(%rbp)
movl %r15d, 0x18(%rbp)
movl 0x8(%rsp), %eax
movl %eax, 0x20(%rbp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movss 0xc(%rsp), %xmm0
xorl %ecx, %ecx
callq 0x4e6ab
movl 0x8(%rbp), %ebx
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_propertyf
NK_API float
nk_propertyf(struct nk_context *ctx, const char *name, float min,
    float val, float max, float step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);

    if (!ctx || !ctx->current || !name) return val;
    variant = nk_property_variant_float(val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT);
    val = variant.value.f;
    return val;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movss %xmm4, 0x14(%rsp)
movss %xmm3, 0x10(%rsp)
movss %xmm2, 0xc(%rsp)
movss %xmm0, 0x8(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x4fdcf
movq 0x38252(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x21fe4(%rip), %rsi     # 0x71d8c
leaq 0x21ffb(%rip), %rdx     # 0x71daa
movl $0x6f8c, %ecx           # imm = 0x6F8C
xorl %eax, %eax
movss %xmm1, 0x4(%rsp)
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movss 0x4(%rsp), %xmm1
testq %rbx, %rbx
jne 0x4fe0c
movq 0x38215(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x21fa7(%rip), %rsi     # 0x71d8c
leaq 0x21fbe(%rip), %rdx     # 0x71daa
movl $0x6f8d, %ecx           # imm = 0x6F8D
xorl %eax, %eax
movss %xmm1, 0x4(%rsp)
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movss 0x4(%rsp), %xmm1
testq %r14, %r14
je 0x4fe75
testq %rbx, %rbx
je 0x4fe75
cmpq $0x0, 0x4780(%r14)
je 0x4fe75
leaq 0x18(%rsp), %r15
movl $0x1, (%r15)
movss %xmm1, 0x8(%r15)
movss 0x8(%rsp), %xmm0
movss %xmm0, 0x10(%r15)
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x18(%r15)
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x20(%r15)
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movss 0x14(%rsp), %xmm0
movl $0x1, %ecx
callq 0x4e6ab
movss 0x8(%r15), %xmm1
movaps %xmm1, %xmm0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_propertyd
NK_API double
nk_propertyd(struct nk_context *ctx, const char *name, double min,
    double val, double max, double step, float inc_per_pixel)
{
    struct nk_property_variant variant;
    NK_ASSERT(ctx);
    NK_ASSERT(name);

    if (!ctx || !ctx->current || !name) return val;
    variant = nk_property_variant_double(val, min, max, step);
    nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT);
    val = variant.value.d;
    return val;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movss %xmm4, 0xc(%rsp)
movsd %xmm3, 0x20(%rsp)
movsd %xmm2, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x4fee4
movq 0x3813b(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x21ecd(%rip), %rsi     # 0x71d8c
leaq 0x21ee4(%rip), %rdx     # 0x71daa
movl $0x6f9a, %ecx           # imm = 0x6F9A
xorl %eax, %eax
movsd %xmm1, (%rsp)
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movsd (%rsp), %xmm1
testq %rbx, %rbx
jne 0x4ff1f
movq 0x38100(%rip), %r15     # 0x87ff0
movq (%r15), %rdi
leaq 0x21e92(%rip), %rsi     # 0x71d8c
leaq 0x21ea9(%rip), %rdx     # 0x71daa
movl $0x6f9b, %ecx           # imm = 0x6F9B
xorl %eax, %eax
movsd %xmm1, (%rsp)
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movsd (%rsp), %xmm1
testq %r14, %r14
je 0x4ff88
testq %rbx, %rbx
je 0x4ff88
cmpq $0x0, 0x4780(%r14)
je 0x4ff88
leaq 0x28(%rsp), %r15
movl $0x2, (%r15)
movsd %xmm1, 0x8(%r15)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x10(%r15)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x18(%r15)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x20(%r15)
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movss 0xc(%rsp), %xmm0
movl $0x1, %ecx
callq 0x4e6ab
movsd 0x8(%r15), %xmm1
movaps %xmm1, %xmm0
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_chart_end
NK_API void
nk_chart_end(struct nk_context *ctx)
{
    struct nk_window *win;
    struct nk_chart *chart;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return;

    win = ctx->current;
    chart = &win->layout->chart;
    NK_MEMSET(chart, 0, sizeof(*chart));
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x50cdf
movq 0x37336(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x210c8(%rip), %rsi     # 0x71d8c
leaq 0x210df(%rip), %rdx     # 0x71daa
movl $0x70b7, %ecx           # imm = 0x70B7
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%rbx)
jne 0x50d15
movq 0x37300(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x21092(%rip), %rsi     # 0x71d8c
leaq 0x210a9(%rip), %rdx     # 0x71daa
movl $0x70b8, %ecx           # imm = 0x70B8
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
testq %rbx, %rbx
je 0x50d92
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x50d92
movl $0xf8, %ebx
addq 0xa8(%rax), %rbx
movq %rbx, %r14
andq $0x3, %r14
je 0x50d5d
movl $0x4, %r15d
subq %r14, %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x12b50
orq $0xc0, %r14
addq %r15, %rbx
jmp 0x50d63
movl $0xc4, %r14d
movl %r14d, %r15d
andl $-0x4, %r15d
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x12b50
andq $0x3, %r14
je 0x50d92
addq %r15, %rbx
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x12b50
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_plot
NK_API void
nk_plot(struct nk_context *ctx, enum nk_chart_type type, const float *values,
    int count, int offset)
{
    int i = 0;
    float min_value;
    float max_value;

    NK_ASSERT(ctx);
    NK_ASSERT(values);
    if (!ctx || !values || !count) return;

    min_value = values[offset];
    max_value = values[offset];
    for (i = 0; i < count; ++i) {
        min_value = NK_MIN(values[i + offset], min_value);
        max_value = NK_MAX(values[i + offset], max_value);
    }

    if (nk_chart_begin(ctx, type, count, min_value, max_value)) {
        for (i = 0; i < count; ++i)
            nk_chart_push(ctx, values[i + offset]);
        nk_chart_end(ctx);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %r12d
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x50de4
movq 0x37233(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x20fc4(%rip), %rsi     # 0x71d8c
leaq 0x20fdb(%rip), %rdx     # 0x71daa
movl $0x70c9, %ecx           # imm = 0x70C9
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
testq %r14, %r14
jne 0x50e17
movq 0x37200(%rip), %r13     # 0x87ff0
movq (%r13), %rdi
leaq 0x20f91(%rip), %rsi     # 0x71d8c
leaq 0x20fa8(%rip), %rdx     # 0x71daa
movl $0x70ca, %ecx           # imm = 0x70CA
xorl %eax, %eax
callq 0x12d80
movq (%r13), %rdi
callq 0x13780
testq %rbx, %rbx
je 0x50ebc
testq %r14, %r14
je 0x50ebc
testl %ebp, %ebp
je 0x50ebc
movslq %r12d, %r13
movss (%r14,%r13,4), %xmm1
movl %ebp, %r12d
jle 0x50e62
leaq (%r14,%r13,4), %rax
xorl %ecx, %ecx
movaps %xmm1, %xmm2
movss (%rax,%rcx,4), %xmm0
maxss %xmm0, %xmm1
minss %xmm2, %xmm0
incq %rcx
movaps %xmm0, %xmm2
cmpq %rcx, %r12
jne 0x50e48
jmp 0x50e65
movaps %xmm1, %xmm0
movl 0x1654(%rbx), %ecx
movl 0x1658(%rbx), %edx
movq %rbx, %rdi
movl %r15d, %esi
movl %ebp, %r8d
callq 0x12330
testl %eax, %eax
je 0x50ebc
testl %ebp, %ebp
jle 0x50ea6
leaq (%r14,%r13,4), %r14
xorl %r15d, %r15d
movss (%r14,%r15,4), %xmm0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x12400
incq %r15
cmpq %r15, %r12
jne 0x50e8e
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x13f40
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_plot_function
NK_API void
nk_plot_function(struct nk_context *ctx, enum nk_chart_type type, void *userdata,
    float(*value_getter)(void* user, int index), int count, int offset)
{
    int i = 0;
    float min_value;
    float max_value;

    NK_ASSERT(ctx);
    NK_ASSERT(value_getter);
    if (!ctx || !value_getter || !count) return;

    max_value = min_value = value_getter(userdata, offset);
    for (i = 0; i < count; ++i) {
        float value = value_getter(userdata, i + offset);
        min_value = NK_MIN(value, min_value);
        max_value = NK_MAX(value, max_value);
    }

    if (nk_chart_begin(ctx, type, count, min_value, max_value)) {
        for (i = 0; i < count; ++i)
            nk_chart_push(ctx, value_getter(userdata, i + offset));
        nk_chart_end(ctx);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %r13d
movl %r8d, %r12d
movq %rcx, %r14
movq %rdx, %r15
movl %esi, 0x4(%rsp)
movq %rdi, %rbp
testq %rdi, %rdi
jne 0x50f1d
movq 0x370f8(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20e8a(%rip), %rsi     # 0x71d8c
leaq 0x20ea1(%rip), %rdx     # 0x71daa
movl $0x70e2, %ecx           # imm = 0x70E2
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
testq %r14, %r14
jne 0x50f4e
movq 0x370c7(%rip), %rbx     # 0x87ff0
movq (%rbx), %rdi
leaq 0x20e59(%rip), %rsi     # 0x71d8c
leaq 0x20e70(%rip), %rdx     # 0x71daa
movl $0x70e3, %ecx           # imm = 0x70E3
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
testq %rbp, %rbp
je 0x51014
testq %r14, %r14
je 0x51014
testl %r12d, %r12d
je 0x51014
movq %rbp, 0x10(%rsp)
movq %r15, %rdi
movl %r13d, %esi
callq *%r14
movaps %xmm0, %xmm1
testl %r12d, %r12d
jle 0x50fb7
movl %r13d, %ebx
movl %r12d, %ebp
movaps %xmm1, %xmm2
movss %xmm2, 0x8(%rsp)
movss %xmm1, 0xc(%rsp)
movq %r15, %rdi
movl %ebx, %esi
callq *%r14
movss 0xc(%rsp), %xmm1
maxss %xmm0, %xmm1
minss 0x8(%rsp), %xmm0
incl %ebx
movaps %xmm0, %xmm2
decl %ebp
jne 0x50f88
jmp 0x50fba
movaps %xmm1, %xmm0
movq 0x10(%rsp), %rbx
movl 0x1654(%rbx), %ecx
movl 0x1658(%rbx), %edx
movq %rbx, %rdi
movl 0x4(%rsp), %esi
movl %r12d, %r8d
callq 0x12330
testl %eax, %eax
je 0x51014
testl %r12d, %r12d
jle 0x50ffe
movq %r15, %rdi
movl %r13d, %esi
callq *%r14
movq %rbx, %rdi
xorl %esi, %esi
callq 0x12400
incl %r13d
decl %r12d
jne 0x50fe3
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x13f40
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_behavior
NK_LIB nk_bool
nk_button_behavior(nk_flags *state, struct nk_rect r,
    const struct nk_input *i, enum nk_button_behavior behavior)
{
    int ret = 0;
    nk_widget_state_reset(state);
    if (!i) return 0;
    if (nk_input_is_mouse_hovering_rect(i, r)) {
        *state = NK_WIDGET_STATE_HOVERED;
        if (nk_input_is_mouse_down(i, NK_BUTTON_LEFT))
            *state = NK_WIDGET_STATE_ACTIVE;
        if (nk_input_has_mouse_click_in_button_rect(i, NK_BUTTON_LEFT, r)) {
            ret = (behavior != NK_BUTTON_DEFAULT) ?
                nk_input_is_mouse_down(i, NK_BUTTON_LEFT):
#ifdef NK_BUTTON_TRIGGER_ON_RELEASE
                nk_input_is_mouse_released(i, NK_BUTTON_LEFT);
#else
                nk_input_is_mouse_pressed(i, NK_BUTTON_LEFT);
#endif
        }
    }
    if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(i, r))
        *state |= NK_WIDGET_STATE_ENTERED;
    else if (nk_input_is_mouse_prev_hovering_rect(i, r))
        *state |= NK_WIDGET_STATE_LEFT;
    return ret;
}

// Assembly:
movl (%rdi), %eax
andl $0x2, %eax
orl $0x4, %eax
movl %eax, (%rdi)
testq %rsi, %rsi
je 0x522ae
movss 0x144(%rsi), %xmm3
xorl %eax, %eax
ucomiss %xmm0, %xmm3
movaps %xmm1, %xmm2
addss %xmm0, %xmm2
jb 0x5226f
ucomiss %xmm3, %xmm2
jbe 0x5226f
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
movss 0x148(%rsi), %xmm5
ucomiss %xmm3, %xmm5
jb 0x5226f
movaps %xmm0, %xmm4
addps %xmm1, %xmm4
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
ucomiss %xmm5, %xmm4
jbe 0x5226f
movl $0x12, (%rdi)
xorl %ecx, %ecx
cmpl $0x0, 0x104(%rsi)
setne %cl
shll $0x4, %ecx
addl $0x12, %ecx
movl %ecx, (%rdi)
movss 0x10c(%rsi), %xmm5
ucomiss %xmm0, %xmm5
jb 0x5226f
ucomiss %xmm5, %xmm2
jbe 0x5226f
movss 0x110(%rsi), %xmm5
ucomiss %xmm3, %xmm5
jb 0x5226f
ucomiss %xmm5, %xmm4
jbe 0x5226f
movl 0x104(%rsi), %eax
testl %edx, %edx
jne 0x5226f
testl %eax, %eax
je 0x5226d
movl $0x1, %eax
cmpl $0x0, 0x108(%rsi)
jne 0x5226f
xorl %eax, %eax
movl (%rdi), %ecx
testb $0x10, %cl
jne 0x522b1
movss 0x14c(%rsi), %xmm3
ucomiss %xmm0, %xmm3
jb 0x522ad
ucomiss %xmm3, %xmm2
jbe 0x522ad
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
movss 0x150(%rsi), %xmm2
ucomiss %xmm3, %xmm2
jb 0x522ad
addps %xmm1, %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movl $0x40, %edx
ucomiss %xmm2, %xmm0
ja 0x522eb
retq
xorl %eax, %eax
retq
movss 0x14c(%rsi), %xmm3
ucomiss %xmm0, %xmm3
movl $0x8, %edx
jb 0x522eb
ucomiss %xmm3, %xmm2
jbe 0x522eb
movaps %xmm0, %xmm4
shufps $0x55, %xmm0, %xmm4     # xmm4 = xmm4[1,1],xmm0[1,1]
movss 0x150(%rsi), %xmm3
ucomiss %xmm4, %xmm3
jb 0x522eb
movaps %xmm0, %xmm4
addps %xmm1, %xmm4
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
ucomiss %xmm3, %xmm4
ja 0x52276
orl %edx, %ecx
movl %ecx, (%rdi)
retq