LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_nine_slice_ptr
NK_API struct nk_nine_slice
nk_nine_slice_ptr(void *ptr, nk_ushort l, nk_ushort t, nk_ushort r, nk_ushort b)
{
    struct nk_nine_slice s;
    struct nk_image *i = &s.img;
    nk_zero(&s, sizeof(s));
    NK_ASSERT(ptr);
    i->handle.ptr = ptr;
    i->w = 0; i->h = 0;
    i->region[0] = 0;
    i->region[1] = 0;
    i->region[2] = 0;
    i->region[3] = 0;
    s.l = l; s.t = t; s.r = r; s.b = b;
    return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movl %r8d, %ebp
movl %ecx, %r14d
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %r15
pushq $0x20
popq %rsi
callq 0x23ed0
testq %r13, %r13
jne 0x42996
movq 0x42686(%rip), %rax     # 0x84ff0
movq (%rax), %rdi
leaq 0x27398(%rip), %rsi     # 0x69d0c
leaq 0x273af(%rip), %rdx     # 0x69d2a
movl $0x5dba, %ecx           # imm = 0x5DBA
xorl %eax, %eax
callq 0x12ea0
movq 0x42662(%rip), %rax     # 0x84ff0
movq (%rax), %rdi
callq 0x13960
movq %r13, (%r15)
andq $0x0, 0x8(%r15)
andl $0x0, 0x10(%r15)
movw %r12w, 0x18(%r15)
movw %r14w, 0x1a(%r15)
movw %bp, 0x1c(%r15)
movw %bx, 0x1e(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_nine_slice_id
NK_API struct nk_nine_slice
nk_nine_slice_id(int id, nk_ushort l, nk_ushort t, nk_ushort r, nk_ushort b)
{
    struct nk_nine_slice s;
    struct nk_image *i = &s.img;
    nk_zero(&s, sizeof(s));
    i->handle.id = id;
    i->w = 0; i->h = 0;
    i->region[0] = 0;
    i->region[1] = 0;
    i->region[2] = 0;
    i->region[3] = 0;
    s.l = l; s.t = t; s.r = r; s.b = b;
    return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movl %r8d, %ebp
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r13
pushq $0x20
popq %rsi
callq 0x23ed0
movl %r12d, (%r13)
andq $0x0, 0x8(%r13)
andl $0x0, 0x10(%r13)
movw %r15w, 0x18(%r13)
movw %r14w, 0x1a(%r13)
movw %bp, 0x1c(%r13)
movw %bx, 0x1e(%r13)
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_push_behavior
NK_API nk_bool
nk_button_push_behavior(struct nk_context *ctx, enum nk_button_behavior behavior)
{
    struct nk_config_stack_button_behavior *button_stack;
    struct nk_config_stack_button_behavior_element *element;

    NK_ASSERT(ctx);
    if (!ctx) return 0;

    button_stack = &ctx->stacks.button_behaviors;
    NK_ASSERT(button_stack->head < (int)NK_LEN(button_stack->elements));
    if (button_stack->head >= (int)NK_LEN(button_stack->elements))
        return 0;

    element = &button_stack->elements[button_stack->head++];
    element->address = &ctx->button_behavior;
    element->old_value = ctx->button_behavior;
    ctx->button_behavior = behavior;
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x42b46
movl %esi, %ebx
movq %rdi, %r14
movl 0x3050(%rdi), %eax
cmpl $0x8, %eax
jl 0x42b0c
movq 0x42517(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x27229(%rip), %rsi     # 0x69d0c
leaq 0x27240(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x5f7a, %ecx           # imm = 0x5F7A
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movl 0x3050(%r14), %eax
cmpl $0x7, %eax
jg 0x42b74
leal 0x1(%rax), %ecx
movl %ecx, 0x3050(%r14)
cltq
shlq $0x4, %rax
leaq 0x259c(%r14), %rcx
movq %rcx, 0x3058(%r14,%rax)
movl 0x259c(%r14), %ecx
movl %ecx, 0x3060(%r14,%rax)
movl %ebx, 0x259c(%r14)
pushq $0x1
popq %rbp
jmp 0x42b74
movq 0x424a3(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x271b5(%rip), %rsi     # 0x69d0c
leaq 0x271cc(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x5f76, %ecx           # imm = 0x5F76
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_pop_behavior
NK_API nk_bool
nk_button_pop_behavior(struct nk_context *ctx)
{
    struct nk_config_stack_button_behavior *button_stack;
    struct nk_config_stack_button_behavior_element *element;

    NK_ASSERT(ctx);
    if (!ctx) return 0;

    button_stack = &ctx->stacks.button_behaviors;
    NK_ASSERT(button_stack->head > 0);
    if (button_stack->head < 1)
        return 0;

    element = &button_stack->elements[--button_stack->head];
    *element->address = element->old_value;
    return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x42bf1
movq %rdi, %rbx
movl 0x3050(%rdi), %eax
testl %eax, %eax
jg 0x42bcf
movq 0x42452(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x27164(%rip), %rsi     # 0x69d0c
leaq 0x2717b(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x5f8e, %ecx           # imm = 0x5F8E
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movl 0x3050(%rbx), %eax
testl %eax, %eax
jle 0x42c1f
decl %eax
movl %eax, 0x3050(%rbx)
shlq $0x4, %rax
movl 0x3060(%rbx,%rax), %ecx
movq 0x3058(%rbx,%rax), %rax
movl %ecx, (%rax)
pushq $0x1
popq %rbp
jmp 0x42c1f
movq 0x423f8(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x2710a(%rip), %rsi     # 0x69d0c
leaq 0x27121(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x5f8a, %ecx           # imm = 0x5F8A
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_text_styled
NK_API nk_bool
nk_button_text_styled(struct nk_context *ctx,
    const struct nk_style_button *style, const char *title, int len)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

    win = ctx->current;
    layout = win->layout;
    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_button_text(&ctx->last_widget_state, &win->buffer, bounds,
                    title, len, style->text_alignment, ctx->button_behavior,
                    style, in, ctx->style.font);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x42c72
movq 0x423a5(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x270b6(%rip), %rsi     # 0x69d0c
leaq 0x270cd(%rip), %rdx     # 0x69d2a
movl $0x5fa1, %ecx           # imm = 0x5FA1
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %rbx, %rbx
jne 0x42ca5
movq 0x42372(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x27083(%rip), %rsi     # 0x69d0c
leaq 0x2709a(%rip), %rdx     # 0x69d2a
movl $0x5fa2, %ecx           # imm = 0x5FA2
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%r14), %rax
testq %rax, %rax
jne 0x42ce6
movq 0x42338(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x27049(%rip), %rsi     # 0x69d0c
leaq 0x27060(%rip), %rdx     # 0x69d2a
movl $0x5fa3, %ecx           # imm = 0x5FA3
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%r14), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x42d1e
movq 0x422f9(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x2700a(%rip), %rsi     # 0x69d0c
leaq 0x27021(%rip), %rdx     # 0x69d2a
movl $0x5fa4, %ecx           # imm = 0x5FA4
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %rbx, %rbx
sete %cl
testq %r14, %r14
sete %dl
xorl %eax, %eax
orb %cl, %dl
jne 0x42db5
movq 0x4780(%r14), %r12
testq %r12, %r12
je 0x42db5
movq 0xa8(%r12), %r13
testq %r13, %r13
je 0x42db5
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
testl %eax, %eax
je 0x42db5
cmpl $0x1, %eax
jne 0x42d70
xorl %eax, %eax
testb $0x10, 0x5(%r13)
cmoveq %r14, %rax
jmp 0x42d72
xorl %eax, %eax
leaq 0x2598(%r14), %rdi
addq $0x68, %r12
movl 0x90(%rbx), %r8d
movl 0x259c(%r14), %r9d
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subq $0x8, %rsp
movq %r12, %rsi
movq %r15, %rdx
movl %ebp, %ecx
pushq 0x168(%r14)
pushq %rax
pushq %rbx
callq 0x3af80
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_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_do_button
NK_LIB nk_bool
nk_do_button(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r,
    const struct nk_style_button *style, const struct nk_input *in,
    enum nk_button_behavior behavior, struct nk_rect *content)
{
    struct nk_rect bounds;
    NK_ASSERT(style);
    NK_ASSERT(state);
    NK_ASSERT(out);
    if (!out || !style)
        return nk_false;

    /* calculate button content space */
    content->x = r.x + style->padding.x + style->border + style->rounding;
    content->y = r.y + style->padding.y + style->border + style->rounding;
    content->w = r.w - (2 * (style->padding.x + style->border + style->rounding));
    content->h = r.h - (2 * (style->padding.y + style->border + style->rounding));

    /* execute button behavior */
    bounds.x = r.x - style->touch_padding.x;
    bounds.y = r.y - style->touch_padding.y;
    bounds.w = r.w + 2 * style->touch_padding.x;
    bounds.h = r.h + 2 * style->touch_padding.y;
    return nk_button_behavior(state, bounds, in, behavior);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r12
movl %r8d, 0xc(%rsp)
movq %rcx, %r14
movq %rdx, %r13
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, 0x20(%rsp)
movq %rsi, %rbp
movq %rdi, %r15
testq %rdx, %rdx
jne 0x43063
movq 0x41fb2(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x26cc4(%rip), %rsi     # 0x69d0c
leaq 0x26cdb(%rip), %rdx     # 0x69d2a
movl $0x5e53, %ecx           # imm = 0x5E53
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
testq %r15, %r15
jne 0x43094
movq 0x41f81(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x26c93(%rip), %rsi     # 0x69d0c
leaq 0x26caa(%rip), %rdx     # 0x69d2a
movl $0x5e54, %ecx           # imm = 0x5E54
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
testq %rbp, %rbp
je 0x43125
testq %r13, %r13
je 0x43151
movsd 0xa0(%r13), %xmm4
movaps %xmm4, %xmm1
movaps 0x20(%rsp), %xmm0
addps %xmm0, %xmm1
movss 0x98(%r13), %xmm2
movss 0x9c(%r13), %xmm3
shufps $0x0, %xmm2, %xmm2      # xmm2 = xmm2[0,0,0,0]
addps %xmm2, %xmm1
shufps $0x0, %xmm3, %xmm3      # xmm3 = xmm3[0,0,0,0]
addps %xmm3, %xmm1
addps %xmm4, %xmm2
addps %xmm3, %xmm2
addps %xmm2, %xmm2
movaps 0x10(%rsp), %xmm4
movaps %xmm4, %xmm3
subps %xmm2, %xmm3
movlhps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
movups %xmm1, (%r12)
movsd 0xb0(%r13), %xmm1
subps %xmm1, %xmm0
addps %xmm1, %xmm1
addps %xmm4, %xmm1
movq %r15, %rdi
movq %r14, %rsi
movl 0xc(%rsp), %edx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4c99d
movq 0x41ec4(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x26bd6(%rip), %rsi     # 0x69d0c
leaq 0x26bed(%rip), %rdx     # 0x69d2a
movl $0x5e55, %ecx           # imm = 0x5E55
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_button
NK_LIB const struct nk_style_item*
nk_draw_button(struct nk_command_buffer *out,
    const struct nk_rect *bounds, nk_flags state,
    const struct nk_style_button *style)
{
    const struct nk_style_item *background;
    if (state & NK_WIDGET_STATE_HOVER)
        background = &style->hover;
    else if (state & NK_WIDGET_STATE_ACTIVED)
        background = &style->active;
    else background = &style->normal;

    switch (background->type) {
        case NK_STYLE_ITEM_IMAGE:
            nk_draw_image(out, *bounds, &background->data.image, nk_rgb_factor(nk_white, style->color_factor_background));
            break;
        case NK_STYLE_ITEM_NINE_SLICE:
            nk_draw_nine_slice(out, *bounds, &background->data.slice, nk_rgb_factor(nk_white, style->color_factor_background));
            break;
        case NK_STYLE_ITEM_COLOR:
            nk_fill_rect(out, *bounds, style->rounding, nk_rgb_factor(background->data.color, style->color_factor_background));
            nk_stroke_rect(out, *bounds, style->rounding, style->border, nk_rgb_factor(style->border_color, style->color_factor_background));
            break;
    }
    return background;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r12
movq %rsi, %r14
xorl %eax, %eax
testb $0x20, %dl
pushq $0x50
popq %rcx
cmoveq %rax, %rcx
testb $0x10, %dl
pushq $0x28
popq %rax
cmoveq %rcx, %rax
movq %rdi, %r15
leaq (%r12,%rax), %rbx
movl (%r12,%rax), %eax
testl %eax, %eax
je 0x43208
cmpl $0x2, %eax
je 0x431d8
cmpl $0x1, %eax
jne 0x43294
leaq 0x8(%rbx), %r13
movss 0x7c(%r12), %xmm0
pushq $-0x1
popq %rdi
callq 0x140a0
movsd (%r14), %xmm0
movsd 0x8(%r14), %xmm1
movq %r15, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x13660
jmp 0x43294
leaq 0x8(%rbx), %r13
movss 0x7c(%r12), %xmm0
pushq $-0x1
popq %rdi
callq 0x140a0
movsd (%r14), %xmm0
movsd 0x8(%r14), %xmm1
movq %r15, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x14230
jmp 0x43294
movss 0x7c(%r12), %xmm0
movss 0x9c(%r12), %xmm1
movss %xmm1, 0x8(%rsp)
movl 0x8(%rbx), %edi
callq 0x140a0
movsd (%r14), %xmm0
movsd 0x8(%r14), %xmm1
movq %r15, %rdi
movss 0x8(%rsp), %xmm2
movl %eax, %esi
callq 0x12f00
movss 0x9c(%r12), %xmm0
movss %xmm0, 0x8(%rsp)
movss 0x98(%r12), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x7c(%r12), %xmm0
movl 0x78(%r12), %edi
callq 0x140a0
movsd (%r14), %xmm0
movsd 0x8(%r14), %xmm1
movq %r15, %rdi
movss 0x8(%rsp), %xmm2
movss 0xc(%rsp), %xmm3
movl %eax, %esi
callq 0x12070
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_symbol_styled
NK_API nk_bool
nk_button_symbol_styled(struct nk_context *ctx,
    const struct nk_style_button *style, enum nk_symbol_type symbol)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

    win = ctx->current;
    layout = win->layout;
    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_button_symbol(&ctx->last_widget_state, &win->buffer, bounds,
            symbol, ctx->button_behavior, style, in, ctx->style.font);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x432ec
movq 0x41d29(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x26a3b(%rip), %rsi     # 0x69d0c
leaq 0x26a52(%rip), %rdx     # 0x69d2a
movl $0x5fef, %ecx           # imm = 0x5FEF
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
testq %r15, %r15
jne 0x4332b
movq 0x41cf1(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x26a03(%rip), %rsi     # 0x69d0c
leaq 0x26a1a(%rip), %rdx     # 0x69d2a
movl $0x5ff0, %ecx           # imm = 0x5FF0
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
cmpq $0x0, 0xa8(%r15)
jne 0x43370
movq 0x41cb4(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x269c6(%rip), %rsi     # 0x69d0c
leaq 0x269dd(%rip), %rdx     # 0x69d2a
xorl %r12d, %r12d
movl $0x5ff1, %ecx           # imm = 0x5FF1
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
testq %r15, %r15
je 0x433e0
movq 0xa8(%r15), %r13
testq %r13, %r13
je 0x433dd
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
movl %eax, %r12d
testl %eax, %eax
je 0x433e0
xorl %r9d, %r9d
cmpl $0x1, %r12d
jne 0x433a2
testb $0x10, 0x5(%r13)
cmoveq %r14, %r9
leaq 0x2598(%r14), %rdi
addq $0x68, %r15
movl 0x259c(%r14), %ecx
movq 0x168(%r14), %rax
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movq %rax, (%rsp)
movq %r15, %rsi
movl %ebp, %edx
movq %rbx, %r8
callq 0x3c90b
movl %eax, %r12d
jmp 0x433e0
xorl %r12d, %r12d
movl %r12d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_image_styled
NK_API nk_bool
nk_button_image_styled(struct nk_context *ctx, const struct nk_style_button *style,
    struct nk_image img)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    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_button_image(&ctx->last_widget_state, &win->buffer, bounds,
                img, ctx->button_behavior, style, in);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x43479
movq 0x41b9c(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x268ae(%rip), %rsi     # 0x69d0c
leaq 0x268c5(%rip), %rdx     # 0x69d2a
movl $0x600f, %ecx           # imm = 0x600F
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
testq %r15, %r15
jne 0x434b8
movq 0x41b64(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x26876(%rip), %rsi     # 0x69d0c
leaq 0x2688d(%rip), %rdx     # 0x69d2a
movl $0x6010, %ecx           # imm = 0x6010
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
cmpq $0x0, 0xa8(%r15)
jne 0x434fc
movq 0x41b27(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x26839(%rip), %rsi     # 0x69d0c
leaq 0x26850(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x6011, %ecx           # imm = 0x6011
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movq 0x4780(%r14), %r15
testq %r15, %r15
je 0x43574
movq 0xa8(%r15), %r12
testq %r12, %r12
je 0x43572
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
movl %eax, %ebp
testl %eax, %eax
je 0x43574
leaq 0x60(%rsp), %rax
xorl %r8d, %r8d
cmpl $0x1, %ebp
jne 0x43532
testb $0x10, 0x5(%r12)
cmoveq %r14, %r8
addq $0x68, %r15
movl 0x259c(%r14), %edx
addq $0x2598, %r14           # imm = 0x2598
movsd 0x20(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movups (%rax), %xmm2
movups %xmm2, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq 0x3c5dd
movl %eax, %ebp
jmp 0x43574
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_symbol_text_styled
NK_API nk_bool
nk_button_symbol_text_styled(struct nk_context *ctx,
    const struct nk_style_button *style, enum nk_symbol_type symbol,
    const char *text, int len, nk_flags align)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    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_button_text_symbol(&ctx->last_widget_state, &win->buffer, bounds,
                symbol, text, len, align, ctx->button_behavior,
                style, ctx->style.font, in);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %r12d
movl %r8d, %r13d
movq %rcx, %rbp
movl %edx, 0x4(%rsp)
movq %rsi, %r15
movq %rdi, %r14
testq %rdi, %rdi
jne 0x43617
movq 0x419fe(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x26710(%rip), %rsi     # 0x69d0c
leaq 0x26727(%rip), %rdx     # 0x69d2a
movl $0x6031, %ecx           # imm = 0x6031
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq %rbp, 0x8(%rsp)
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
jne 0x4365b
movq 0x419c1(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x266d3(%rip), %rsi     # 0x69d0c
leaq 0x266ea(%rip), %rdx     # 0x69d2a
movl $0x6032, %ecx           # imm = 0x6032
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
cmpq $0x0, 0xa8(%rbx)
jne 0x436a3
movq 0x41984(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x26696(%rip), %rsi     # 0x69d0c
leaq 0x266ad(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x6033, %ecx           # imm = 0x6033
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
je 0x43724
movq %r15, 0x10(%rsp)
movq 0xa8(%rbx), %r15
testq %r15, %r15
je 0x43722
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
movl %eax, %ebp
testl %eax, %eax
je 0x43724
xorl %eax, %eax
cmpl $0x1, %ebp
jne 0x436d7
testb $0x10, 0x5(%r15)
cmoveq %r14, %rax
movq 0x8(%rsp), %rcx
movl 0x4(%rsp), %edx
leaq 0x2598(%r14), %rdi
addq $0x68, %rbx
movl 0x259c(%r14), %r10d
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
movq %rbx, %rsi
movl %r13d, %r8d
movl %r12d, %r9d
pushq %rax
pushq 0x168(%r14)
pushq 0x20(%rsp)
pushq %r10
callq 0x3b97e
addq $0x20, %rsp
movl %eax, %ebp
jmp 0x43724
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_image_text_styled
NK_API nk_bool
nk_button_image_text_styled(struct nk_context *ctx,
    const struct nk_style_button *style, struct nk_image img, const char *text,
    int len, nk_flags align)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    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_button_text_image(&ctx->last_widget_state, &win->buffer,
            bounds, img, text, len, align, ctx->button_behavior,
            style, ctx->style.font, in);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r8d, %ebp
movl %ecx, %r14d
movq %rdx, %r15
movq %rsi, 0x40(%rsp)
movq %rdi, %r12
testq %rdi, %rdi
jne 0x43843
movq 0x417d2(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x264e4(%rip), %rsi     # 0x69d0c
leaq 0x264fb(%rip), %rdx     # 0x69d2a
movl $0x6060, %ecx           # imm = 0x6060
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r12), %r13
testq %r13, %r13
jne 0x43884
movq 0x41799(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x264ab(%rip), %rsi     # 0x69d0c
leaq 0x264c2(%rip), %rdx     # 0x69d2a
movl $0x6061, %ecx           # imm = 0x6061
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r12), %r13
cmpq $0x0, 0xa8(%r13)
jne 0x438cf
movq 0x4175b(%rip), %r13     # 0x84ff0
movq (%r13), %rdi
leaq 0x2646c(%rip), %rsi     # 0x69d0c
leaq 0x26483(%rip), %rdx     # 0x69d2a
xorl %ebx, %ebx
movl $0x6062, %ecx           # imm = 0x6062
xorl %eax, %eax
callq 0x12ea0
movq (%r13), %rdi
callq 0x13960
movq 0x4780(%r12), %r13
testq %r13, %r13
je 0x43972
movl %ebp, 0x3c(%rsp)
movq 0xa8(%r13), %rbp
testq %rbp, %rbp
je 0x43970
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
callq 0x12990
movl %eax, %ebx
testl %eax, %eax
je 0x43972
leaq 0x90(%rsp), %rax
xorl %ecx, %ecx
cmpl $0x1, %ebx
jne 0x4390d
testb $0x10, 0x5(%rbp)
cmoveq %r12, %rcx
movq 0x40(%rsp), %r8
leaq 0x2598(%r12), %rdi
addq $0x68, %r13
movl 0x259c(%r12), %r9d
movq 0x168(%r12), %rdx
movsd 0x48(%rsp), %xmm0
movsd 0x50(%rsp), %xmm1
movq 0x10(%rax), %rsi
movq %rsi, 0x10(%rsp)
movups (%rax), %xmm2
movups %xmm2, (%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq %r13, %rsi
movq %r15, %rdx
movl %r14d, %ecx
movl 0x3c(%rsp), %r8d
callq 0x3b495
movl %eax, %ebx
jmp 0x43972
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_check_text
NK_API nk_bool
nk_check_text(struct nk_context *ctx, const char *text, int len, nk_bool active)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    state = nk_widget(&bounds, ctx);
    if (!state) return active;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &active,
        text, len, NK_TOGGLE_CHECK, &style->checkbox, in, style->font, NK_WIDGET_LEFT, NK_TEXT_LEFT);
    return active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movl %ecx, 0x4(%rsp)
testq %rdi, %rdi
jne 0x43a51
movq 0x415c6(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x262d7(%rip), %rsi     # 0x69d0c
leaq 0x262ee(%rip), %rdx     # 0x69d2a
movl $0x6155, %ecx           # imm = 0x6155
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
testq %r12, %r12
jne 0x43a92
movq 0x4158c(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x2629d(%rip), %rsi     # 0x69d0c
leaq 0x262b4(%rip), %rdx     # 0x69d2a
movl $0x6156, %ecx           # imm = 0x6156
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
cmpq $0x0, 0xa8(%r12)
jne 0x43adb
movq 0x4154c(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x2625d(%rip), %rsi     # 0x69d0c
leaq 0x26274(%rip), %rdx     # 0x69d2a
movl $0x6157, %ecx           # imm = 0x6157
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x43b60
movq 0xa8(%r12), %r13
testq %r13, %r13
je 0x43b60
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x12990
testl %eax, %eax
je 0x43b60
cmpl $0x1, %eax
jne 0x43b0b
xorl %eax, %eax
testb $0x10, 0x5(%r13)
cmoveq %rbx, %rax
jmp 0x43b0d
xorl %eax, %eax
leaq 0x2598(%rbx), %rdi
addq $0x68, %r12
leaq 0x578(%rbx), %r10
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subq $0x8, %rsp
pushq $0x11
popq %r11
leaq 0xc(%rsp), %r15
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movl %ebp, %r8d
xorl %r9d, %r9d
pushq %r11
pushq %r11
pushq 0x168(%rbx)
pushq %rax
pushq %r10
callq 0x43b72
addq $0x30, %rsp
movl (%r15), %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_check_text_align
NK_API nk_bool
nk_check_text_align(struct nk_context *ctx, const char *text, int len, nk_bool active, nk_flags widget_alignment, nk_flags text_alignment)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    state = nk_widget(&bounds, ctx);
    if (!state) return active;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &active,
        text, len, NK_TOGGLE_CHECK, &style->checkbox, in, style->font, widget_alignment, text_alignment);
    return active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebp
movl %r8d, %r15d
movl %ecx, %r13d
movl %edx, %r12d
movq %rsi, 0x10(%rsp)
movq %rdi, %r14
movl %ecx, 0x4(%rsp)
testq %rdi, %rdi
jne 0x44319
movq 0x40cfc(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x25a0e(%rip), %rsi     # 0x69d0c
leaq 0x25a25(%rip), %rdx     # 0x69d2a
movl $0x6171, %ecx           # imm = 0x6171
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
jne 0x44358
movq 0x40cc4(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x259d6(%rip), %rsi     # 0x69d0c
leaq 0x259ed(%rip), %rdx     # 0x69d2a
movl $0x6172, %ecx           # imm = 0x6172
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
cmpq $0x0, 0xa8(%rbx)
jne 0x4439e
movq 0x40c87(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x25999(%rip), %rsi     # 0x69d0c
leaq 0x259b0(%rip), %rdx     # 0x69d2a
movl $0x6173, %ecx           # imm = 0x6173
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
je 0x44428
movq %r15, 0x8(%rsp)
movq 0xa8(%rbx), %r15
testq %r15, %r15
je 0x44428
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
testl %eax, %eax
je 0x44428
cmpl $0x1, %eax
jne 0x443d2
xorl %eax, %eax
testb $0x10, 0x5(%r15)
cmoveq %r14, %rax
jmp 0x443d4
xorl %eax, %eax
leaq 0x2598(%r14), %rdi
addq $0x68, %rbx
leaq 0x578(%r14), %r10
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
subq $0x8, %rsp
leaq 0xc(%rsp), %r13
movq %rbx, %rsi
movq %r13, %rdx
movq 0x18(%rsp), %rcx
movl %r12d, %r8d
xorl %r9d, %r9d
pushq %rbp
pushq 0x18(%rsp)
pushq 0x168(%r14)
pushq %rax
pushq %r10
callq 0x43b72
addq $0x30, %rsp
movl (%r13), %r13d
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_check_flags_text
NK_API unsigned int
nk_check_flags_text(struct nk_context *ctx, const char *text, int len,
    unsigned int flags, unsigned int value)
{
    int old_active;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    if (!ctx || !text) return flags;
    old_active = (int)((flags & value) & value);
    if (nk_check_text(ctx, text, len, old_active))
        flags |= value;
    else flags &= ~value;
    return flags;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rsi, %r14
testq %rdi, %rdi
je 0x44471
testq %r14, %r14
je 0x444a2
movl %r8d, %ebp
movl %r8d, %ecx
andl %ebx, %ecx
movq %r14, %rsi
callq 0x13540
movl %ebp, %ecx
orl %ebx, %ecx
notl %ebp
andl %ebx, %ebp
testl %eax, %eax
cmovnel %ecx, %ebp
movl %ebp, %ebx
jmp 0x444ce
movq 0x40b78(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x2588a(%rip), %rsi     # 0x69d0c
leaq 0x258a1(%rip), %rdx     # 0x69d2a
movl $0x6187, %ecx           # imm = 0x6187
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
testq %r14, %r14
jne 0x444ce
movq 0x40b47(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x25859(%rip), %rsi     # 0x69d0c
leaq 0x25870(%rip), %rdx     # 0x69d2a
movl $0x6188, %ecx           # imm = 0x6188
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_checkbox_text
NK_API nk_bool
nk_checkbox_text(struct nk_context *ctx, const char *text, int len, nk_bool *active)
{
    int old_val;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    NK_ASSERT(active);
    if (!ctx || !text || !active) return 0;
    old_val = *active;
    *active = nk_check_text(ctx, text, len, *active);
    return old_val != *active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x44524
movq 0x40af3(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x25804(%rip), %rsi     # 0x69d0c
leaq 0x2581b(%rip), %rdx     # 0x69d2a
movl $0x6194, %ecx           # imm = 0x6194
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %r14, %r14
jne 0x44557
movq 0x40ac0(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x257d1(%rip), %rsi     # 0x69d0c
leaq 0x257e8(%rip), %rdx     # 0x69d2a
movl $0x6195, %ecx           # imm = 0x6195
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %rbx, %rbx
je 0x44590
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
xorl %r12d, %r12d
orb %al, %cl
jne 0x445bf
movl (%rbx), %r13d
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r13d, %ecx
callq 0x13540
movl %eax, (%rbx)
xorl %r12d, %r12d
cmpl %eax, %r13d
setne %r12b
jmp 0x445bf
movq 0x40a59(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x2576b(%rip), %rsi     # 0x69d0c
leaq 0x25782(%rip), %rdx     # 0x69d2a
xorl %r12d, %r12d
movl $0x6196, %ecx           # imm = 0x6196
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_checkbox_text_align
NK_API nk_bool
nk_checkbox_text_align(struct nk_context *ctx, const char *text, int len, nk_bool *active, nk_flags widget_alignment, nk_flags text_alignment)
{
    int old_val;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    NK_ASSERT(active);
    if (!ctx || !text || !active) return 0;
    old_val = *active;
    *active = nk_check_text_align(ctx, text, len, *active, widget_alignment, text_alignment);
    return old_val != *active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebp
movl %r8d, 0x4(%rsp)
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r13
testq %rdi, %rdi
jne 0x44621
movq 0x409f4(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x25706(%rip), %rsi     # 0x69d0c
leaq 0x2571d(%rip), %rdx     # 0x69d2a
movl $0x61a0, %ecx           # imm = 0x61A0
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
testq %r12, %r12
jne 0x44652
movq 0x409c3(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x256d5(%rip), %rsi     # 0x69d0c
leaq 0x256ec(%rip), %rdx     # 0x69d2a
movl $0x61a1, %ecx           # imm = 0x61A1
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
testq %rbx, %rbx
je 0x44692
movl %ebp, %r9d
testq %r12, %r12
sete %al
testq %r13, %r13
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x446c0
movl (%rbx), %r14d
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
movl %r14d, %ecx
movl 0x4(%rsp), %r8d
callq 0x13270
movl %eax, (%rbx)
xorl %ebp, %ebp
cmpl %eax, %r14d
setne %bpl
jmp 0x446c0
movq 0x40957(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x25669(%rip), %rsi     # 0x69d0c
leaq 0x25680(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x61a2, %ecx           # imm = 0x61A2
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_checkbox_flags_text
NK_API nk_bool
nk_checkbox_flags_text(struct nk_context *ctx, const char *text, int len,
    unsigned int *flags, unsigned int value)
{
    nk_bool active;
    NK_ASSERT(ctx);
    NK_ASSERT(text);
    NK_ASSERT(flags);
    if (!ctx || !text || !flags) return 0;

    active = (int)((*flags & value) & value);
    if (nk_checkbox_text(ctx, text, len, &active)) {
        if (active) *flags |= value;
        else *flags &= ~value;
        return 1;
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r12
testq %rdi, %rdi
jne 0x4471d
movq 0x408fa(%rip), %r13     # 0x84ff0
movq (%r13), %rdi
leaq 0x2560b(%rip), %rsi     # 0x69d0c
leaq 0x25622(%rip), %rdx     # 0x69d2a
movl $0x61ad, %ecx           # imm = 0x61AD
xorl %eax, %eax
callq 0x12ea0
movq (%r13), %rdi
callq 0x13960
testq %r15, %r15
jne 0x44750
movq 0x408c7(%rip), %r13     # 0x84ff0
movq (%r13), %rdi
leaq 0x255d8(%rip), %rsi     # 0x69d0c
leaq 0x255ef(%rip), %rdx     # 0x69d2a
movl $0x61ae, %ecx           # imm = 0x61AE
xorl %eax, %eax
callq 0x12ea0
movq (%r13), %rdi
callq 0x13960
testq %r14, %r14
je 0x44791
testq %r15, %r15
sete %al
testq %r12, %r12
sete %cl
xorl %r13d, %r13d
orb %al, %cl
jne 0x447ce
movl (%r14), %eax
andl %ebx, %eax
leaq 0x4(%rsp), %rcx
movl %eax, (%rcx)
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x12350
testl %eax, %eax
je 0x447ce
cmpl $0x0, 0x4(%rsp)
je 0x447c2
orl (%r14), %ebx
jmp 0x447c7
movq 0x40858(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x2556a(%rip), %rsi     # 0x69d0c
leaq 0x25581(%rip), %rdx     # 0x69d2a
xorl %r13d, %r13d
movl $0x61af, %ecx           # imm = 0x61AF
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
jmp 0x447ce
notl %ebx
andl (%r14), %ebx
movl %ebx, (%r14)
pushq $0x1
popq %r13
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_option_text
NK_API nk_bool
nk_option_text(struct nk_context *ctx, const char *text, int len, nk_bool is_active)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    state = nk_widget(&bounds, ctx);
    if (!state) return (int)state;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &is_active,
        text, len, NK_TOGGLE_OPTION, &style->option, in, style->font, NK_WIDGET_LEFT, NK_TEXT_LEFT);
    return is_active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movl %ecx, 0x4(%rsp)
testq %rdi, %rdi
jne 0x4492e
movq 0x406e9(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x253fa(%rip), %rsi     # 0x69d0c
leaq 0x25411(%rip), %rdx     # 0x69d2a
movl $0x61e0, %ecx           # imm = 0x61E0
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
testq %r12, %r12
jne 0x4496f
movq 0x406af(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x253c0(%rip), %rsi     # 0x69d0c
leaq 0x253d7(%rip), %rdx     # 0x69d2a
movl $0x61e1, %ecx           # imm = 0x61E1
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
cmpq $0x0, 0xa8(%r12)
jne 0x449b8
movq 0x4066f(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x25380(%rip), %rsi     # 0x69d0c
leaq 0x25397(%rip), %rdx     # 0x69d2a
movl $0x61e2, %ecx           # imm = 0x61E2
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x44a3e
movq 0xa8(%r12), %r13
testq %r13, %r13
je 0x44a3e
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x12990
movl %eax, %r15d
testl %eax, %eax
je 0x44a3e
xorl %eax, %eax
cmpl $0x1, %r15d
jne 0x449ea
testb $0x10, 0x5(%r13)
cmoveq %rbx, %rax
leaq 0x2598(%rbx), %rdi
addq $0x68, %r12
leaq 0x458(%rbx), %r10
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subq $0x8, %rsp
pushq $0x11
popq %r11
leaq 0xc(%rsp), %r15
pushq $0x1
popq %r9
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movl %ebp, %r8d
pushq %r11
pushq %r11
pushq 0x168(%rbx)
pushq %rax
pushq %r10
callq 0x43b72
addq $0x30, %rsp
movl (%r15), %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_option_text_align
NK_API nk_bool
nk_option_text_align(struct nk_context *ctx, const char *text, int len, nk_bool is_active, nk_flags widget_alignment, nk_flags text_alignment)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;
    const struct nk_style *style;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    state = nk_widget(&bounds, ctx);
    if (!state) return (int)state;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &is_active,
        text, len, NK_TOGGLE_OPTION, &style->option, in, style->font, widget_alignment, text_alignment);
    return is_active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebp
movl %r8d, %r15d
movl %ecx, %r13d
movl %edx, %r12d
movq %rsi, 0x10(%rsp)
movq %rdi, %r14
movl %ecx, 0x4(%rsp)
testq %rdi, %rdi
jne 0x44aa7
movq 0x4056e(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x25280(%rip), %rsi     # 0x69d0c
leaq 0x25297(%rip), %rdx     # 0x69d2a
movl $0x61fc, %ecx           # imm = 0x61FC
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
jne 0x44ae6
movq 0x40536(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x25248(%rip), %rsi     # 0x69d0c
leaq 0x2525f(%rip), %rdx     # 0x69d2a
movl $0x61fd, %ecx           # imm = 0x61FD
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
cmpq $0x0, 0xa8(%rbx)
jne 0x44b2c
movq 0x404f9(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x2520b(%rip), %rsi     # 0x69d0c
leaq 0x25222(%rip), %rdx     # 0x69d2a
movl $0x61fe, %ecx           # imm = 0x61FE
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movq 0x4780(%r14), %rbx
testq %rbx, %rbx
je 0x44bb7
movq %r15, 0x8(%rsp)
movq 0xa8(%rbx), %r15
testq %r15, %r15
je 0x44bb7
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x12990
movl %eax, %r13d
testl %eax, %eax
je 0x44bb7
xorl %eax, %eax
cmpl $0x1, %r13d
jne 0x44b62
testb $0x10, 0x5(%r15)
cmoveq %r14, %rax
leaq 0x2598(%r14), %rdi
addq $0x68, %rbx
leaq 0x458(%r14), %r10
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
subq $0x8, %rsp
leaq 0xc(%rsp), %r13
pushq $0x1
popq %r9
movq %rbx, %rsi
movq %r13, %rdx
movq 0x18(%rsp), %rcx
movl %r12d, %r8d
pushq %rbp
pushq 0x18(%rsp)
pushq 0x168(%r14)
pushq %rax
pushq %r10
callq 0x43b72
addq $0x30, %rsp
movl (%r13), %r13d
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x44c12
movq 0x40405(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x25116(%rip), %rsi     # 0x69d0c
leaq 0x2512d(%rip), %rdx     # 0x69d2a
movl $0x6211, %ecx           # imm = 0x6211
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %r14, %r14
jne 0x44c45
movq 0x403d2(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x250e3(%rip), %rsi     # 0x69d0c
leaq 0x250fa(%rip), %rdx     # 0x69d2a
movl $0x6212, %ecx           # imm = 0x6212
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %rbx, %rbx
je 0x44c7e
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
xorl %r12d, %r12d
orb %al, %cl
jne 0x44cad
movl (%rbx), %r13d
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r13d, %ecx
callq 0x13b20
movl %eax, (%rbx)
xorl %r12d, %r12d
cmpl %eax, %r13d
setne %r12b
jmp 0x44cad
movq 0x4036b(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x2507d(%rip), %rsi     # 0x69d0c
leaq 0x25094(%rip), %rdx     # 0x69d2a
xorl %r12d, %r12d
movl $0x6213, %ecx           # imm = 0x6213
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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, %ebp
movl %r8d, 0x4(%rsp)
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r13
testq %rdi, %rdi
jne 0x44d0f
movq 0x40306(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x25018(%rip), %rsi     # 0x69d0c
leaq 0x2502f(%rip), %rdx     # 0x69d2a
movl $0x621d, %ecx           # imm = 0x621D
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
testq %r12, %r12
jne 0x44d40
movq 0x402d5(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x24fe7(%rip), %rsi     # 0x69d0c
leaq 0x24ffe(%rip), %rdx     # 0x69d2a
movl $0x621e, %ecx           # imm = 0x621E
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
testq %rbx, %rbx
je 0x44d80
movl %ebp, %r9d
testq %r12, %r12
sete %al
testq %r13, %r13
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x44dae
movl (%rbx), %r14d
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
movl %r14d, %ecx
movl 0x4(%rsp), %r8d
callq 0x13b80
movl %eax, (%rbx)
xorl %ebp, %ebp
cmpl %eax, %r14d
setne %bpl
jmp 0x44dae
movq 0x40269(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x24f7b(%rip), %rsi     # 0x69d0c
leaq 0x24f92(%rip), %rdx     # 0x69d2a
xorl %ebp, %ebp
movl $0x621f, %ecx           # imm = 0x621F
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq