LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_height
NK_API float
nk_window_get_height(const struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current) return 0;
    return ctx->current->bounds.h;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c2f0
movq 0x4ad25(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34ac7(%rip), %rsi     # 0x70d9c
leaq 0x34ade(%rip), %rdx     # 0x70dba
movl $0x5055, %ecx           # imm = 0x5055
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c334
movq 0x4aced(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34a8f(%rip), %rsi     # 0x70d9c
leaq 0x34aa6(%rip), %rdx     # 0x70dba
movl $0x5056, %ecx           # imm = 0x5056
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c341
movss 0x58(%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorps %xmm0, %xmm0
jmp 0x3c339
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_content_region
NK_API struct nk_rect
nk_window_get_content_region(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current) return nk_rect(0,0,0,0);
    return ctx->current->layout->clip;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c37e
movq 0x4ac97(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34a39(%rip), %rsi     # 0x70d9c
leaq 0x34a50(%rip), %rdx     # 0x70dba
movl $0x505d, %ecx           # imm = 0x505D
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c3c2
movq 0x4ac5f(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34a01(%rip), %rsi     # 0x70d9c
leaq 0x34a18(%rip), %rdx     # 0x70dba
movl $0x505e, %ecx           # imm = 0x505E
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c3db
movq 0xa8(%rax), %rax
movsd 0x44(%rax), %xmm0
movsd 0x4c(%rax), %xmm1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
jmp 0x3c3d3
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_content_region_min
NK_API struct nk_vec2
nk_window_get_content_region_min(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current) return nk_vec2(0,0);
    return nk_vec2(ctx->current->layout->clip.x, ctx->current->layout->clip.y);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c41b
movq 0x4abfa(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3499c(%rip), %rsi     # 0x70d9c
leaq 0x349b3(%rip), %rdx     # 0x70dba
movl $0x5065, %ecx           # imm = 0x5065
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c45a
movq 0x4abc2(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34964(%rip), %rsi     # 0x70d9c
leaq 0x3497b(%rip), %rdx     # 0x70dba
movl $0x5066, %ecx           # imm = 0x5066
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3c49c
movq 0x4ab85(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34927(%rip), %rsi     # 0x70d9c
leaq 0x3493e(%rip), %rdx     # 0x70dba
movl $0x5067, %ecx           # imm = 0x5067
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c4b0
movq 0xa8(%rax), %rax
movsd 0x44(%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorps %xmm0, %xmm0
jmp 0x3c4a8
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_content_region_max
NK_API struct nk_vec2
nk_window_get_content_region_max(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current) return nk_vec2(0,0);
    return nk_vec2(ctx->current->layout->clip.x + ctx->current->layout->clip.w,
        ctx->current->layout->clip.y + ctx->current->layout->clip.h);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c4ed
movq 0x4ab28(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x348ca(%rip), %rsi     # 0x70d9c
leaq 0x348e1(%rip), %rdx     # 0x70dba
movl $0x506e, %ecx           # imm = 0x506E
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c52c
movq 0x4aaf0(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34892(%rip), %rsi     # 0x70d9c
leaq 0x348a9(%rip), %rdx     # 0x70dba
movl $0x506f, %ecx           # imm = 0x506F
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3c56e
movq 0x4aab3(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34855(%rip), %rsi     # 0x70d9c
leaq 0x3486c(%rip), %rdx     # 0x70dba
movl $0x5070, %ecx           # imm = 0x5070
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c58a
movq 0xa8(%rax), %rax
movsd 0x44(%rax), %xmm1
movsd 0x4c(%rax), %xmm0
addps %xmm1, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorps %xmm0, %xmm0
jmp 0x3c582
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_content_region_size
NK_API struct nk_vec2
nk_window_get_content_region_size(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current) return nk_vec2(0,0);
    return nk_vec2(ctx->current->layout->clip.w, ctx->current->layout->clip.h);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c5c7
movq 0x4aa4e(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x347f0(%rip), %rsi     # 0x70d9c
leaq 0x34807(%rip), %rdx     # 0x70dba
movl $0x5078, %ecx           # imm = 0x5078
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c606
movq 0x4aa16(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x347b8(%rip), %rsi     # 0x70d9c
leaq 0x347cf(%rip), %rdx     # 0x70dba
movl $0x5079, %ecx           # imm = 0x5079
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3c648
movq 0x4a9d9(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3477b(%rip), %rsi     # 0x70d9c
leaq 0x34792(%rip), %rdx     # 0x70dba
movl $0x507a, %ecx           # imm = 0x507A
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c65c
movq 0xa8(%rax), %rax
movsd 0x4c(%rax), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorps %xmm0, %xmm0
jmp 0x3c654
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_canvas
NK_API struct nk_command_buffer*
nk_window_get_canvas(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current) return 0;
    return &ctx->current->buffer;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c699
movq 0x4a97c(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3471e(%rip), %rsi     # 0x70d9c
leaq 0x34735(%rip), %rdx     # 0x70dba
movl $0x5081, %ecx           # imm = 0x5081
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rcx
testq %rcx, %rcx
jne 0x3c6d8
movq 0x4a944(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x346e6(%rip), %rsi     # 0x70d9c
leaq 0x346fd(%rip), %rdx     # 0x70dba
movl $0x5082, %ecx           # imm = 0x5082
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rcx
cmpq $0x0, 0xa8(%rcx)
jne 0x3c715
movq 0x4a907(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x346a9(%rip), %rsi     # 0x70d9c
leaq 0x346c0(%rip), %rdx     # 0x70dba
movl $0x5083, %ecx           # imm = 0x5083
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rcx
leaq 0x68(%rcx), %rax
testq %rcx, %rcx
cmoveq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_panel
NK_API struct nk_panel*
nk_window_get_panel(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current) return 0;
    return ctx->current->layout;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c761
movq 0x4a8b4(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34656(%rip), %rsi     # 0x70d9c
leaq 0x3466d(%rip), %rdx     # 0x70dba
movl $0x508a, %ecx           # imm = 0x508A
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c7a8
movq 0x4a87c(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3461e(%rip), %rsi     # 0x70d9c
leaq 0x34635(%rip), %rdx     # 0x70dba
xorl %r14d, %r14d
movl $0x508b, %ecx           # imm = 0x508B
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c7af
movq 0xa8(%rax), %r14
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_get_scroll
NK_API void
nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y)
{
    struct nk_window *win;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return ;
    win = ctx->current;
    if (offset_x)
      *offset_x = win->scrollbar.x;
    if (offset_y)
      *offset_y = win->scrollbar.y;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x3c7fc
movq 0x4a81b(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x345bc(%rip), %rsi     # 0x70d9c
leaq 0x345d3(%rip), %rdx     # 0x70dba
movl $0x5093, %ecx           # imm = 0x5093
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%r15), %rax
testq %rax, %rax
jne 0x3c842
movq 0x4a7e1(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x34582(%rip), %rsi     # 0x70d9c
leaq 0x34599(%rip), %rdx     # 0x70dba
movl $0x5094, %ecx           # imm = 0x5094
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%r15), %rax
testq %rax, %rax
je 0x3c857
testq %r14, %r14
je 0x3c84d
movl 0x5c(%rax), %ecx
movl %ecx, (%r14)
testq %rbx, %rbx
je 0x3c857
movl 0x60(%rax), %eax
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_has_focus
NK_API nk_bool
nk_window_has_focus(const struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current) return 0;
    return ctx->current == ctx->active;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c89b
movq 0x4a77a(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3451c(%rip), %rsi     # 0x70d9c
leaq 0x34533(%rip), %rdx     # 0x70dba
movl $0x50a0, %ecx           # imm = 0x50A0
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c8da
movq 0x4a742(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x344e4(%rip), %rsi     # 0x70d9c
leaq 0x344fb(%rip), %rdx     # 0x70dba
movl $0x50a1, %ecx           # imm = 0x50A1
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3c91e
movq 0x4a705(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x344a7(%rip), %rsi     # 0x70d9c
leaq 0x344be(%rip), %rdx     # 0x70dba
xorl %ebp, %ebp
movl $0x50a2, %ecx           # imm = 0x50A2
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3c92b
xorl %ebp, %ebp
cmpq 0x4778(%rbx), %rax
sete %bpl
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_is_hovered
NK_API nk_bool
nk_window_is_hovered(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current || (ctx->current->flags & NK_WINDOW_HIDDEN))
        return 0;
    else {
        struct nk_rect actual_bounds = ctx->current->bounds;
        if (ctx->begin->flags & NK_WINDOW_MINIMIZED) {
            actual_bounds.h = ctx->current->layout->header_height;
        }
        return nk_input_is_mouse_hovering_rect(&ctx->input, actual_bounds);
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3c96a
movq 0x4a6ab(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3444d(%rip), %rsi     # 0x70d9c
leaq 0x34464(%rip), %rdx     # 0x70dba
movl $0x50a9, %ecx           # imm = 0x50A9
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3c9b0
movq 0x4a673(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x34415(%rip), %rsi     # 0x70d9c
leaq 0x3442c(%rip), %rdx     # 0x70dba
xorl %ebp, %ebp
movl $0x50aa, %ecx           # imm = 0x50AA
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3ca22
xorl %ebp, %ebp
testb $0x20, 0x49(%rax)
jne 0x3ca22
movsd 0x4c(%rax), %xmm0
movsd 0x54(%rax), %xmm1
movq 0x4768(%rbx), %rcx
testb $-0x80, 0x49(%rcx)
je 0x3c9e5
movq 0xa8(%rax), %rax
movss 0x38(%rax), %xmm2
movlhps %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
shufps $0xe2, %xmm1, %xmm2     # xmm2 = xmm2[2,0],xmm1[2,3]
movaps %xmm2, %xmm1
movss 0x144(%rbx), %xmm2
ucomiss %xmm0, %xmm2
jb 0x3ca22
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x3ca22
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
movss 0x148(%rbx), %xmm2
ucomiss %xmm3, %xmm2
jb 0x3ca22
addps %xmm1, %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
xorl %ebp, %ebp
ucomiss %xmm2, %xmm0
seta %bpl
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_is_any_hovered
NK_API nk_bool
nk_window_is_any_hovered(struct nk_context *ctx)
{
    struct nk_window *iter;
    NK_ASSERT(ctx);
    if (!ctx) return 0;
    iter = ctx->begin;
    while (iter) {
        /* check if window is being hovered */
        if(!(iter->flags & NK_WINDOW_HIDDEN)) {
            /* check if window popup is being hovered */
            if (iter->popup.active && iter->popup.win && nk_input_is_mouse_hovering_rect(&ctx->input, iter->popup.win->bounds))
                return 1;

            if (iter->flags & NK_WINDOW_MINIMIZED) {
                struct nk_rect header = iter->bounds;
                header.h = ctx->style.font->height + 2 * ctx->style.window.header.padding.y;
                if (nk_input_is_mouse_hovering_rect(&ctx->input, header))
                    return 1;
            } else if (nk_input_is_mouse_hovering_rect(&ctx->input, iter->bounds)) {
                return 1;
            }
        }
        iter = iter->next;
    }
    return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3cb41
movq 0x4768(%rdi), %rax
xorl %ebx, %ebx
testq %rax, %rax
je 0x3cb76
movl 0x48(%rax), %ecx
btl $0xd, %ecx
jb 0x3cb35
cmpl $0x0, 0x15c(%rax)
je 0x3cab1
movq 0x120(%rax), %rdx
testq %rdx, %rdx
je 0x3cab1
movsd 0x4c(%rdx), %xmm0
movss 0x144(%rdi), %xmm2
ucomiss %xmm0, %xmm2
jb 0x3cab1
movsd 0x54(%rdx), %xmm1
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x3cab1
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
movss 0x148(%rdi), %xmm2
ucomiss %xmm3, %xmm2
jb 0x3cab1
addps %xmm1, %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
ucomiss %xmm2, %xmm0
ja 0x3cb71
movsd 0x4c(%rax), %xmm0
movsd 0x54(%rax), %xmm1
movss 0x144(%rdi), %xmm2
addps %xmm0, %xmm1
movaps %xmm0, %xmm3
cmpleps %xmm2, %xmm3
cmpltps %xmm1, %xmm2
andps %xmm3, %xmm2
movd %xmm2, %edx
testw %cx, %cx
js 0x3cafe
testb $0x1, %dl
je 0x3cb35
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movss 0x148(%rdi), %xmm2
ucomiss %xmm0, %xmm2
jb 0x3cb35
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
ucomiss %xmm2, %xmm1
jbe 0x3cb35
jmp 0x3cb71
testb $0x1, %dl
je 0x3cb35
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movss 0x148(%rdi), %xmm1
ucomiss %xmm0, %xmm1
jb 0x3cb35
movss 0x2408(%rdi), %xmm2
movq 0x168(%rdi), %rcx
addss %xmm2, %xmm2
addss 0x8(%rcx), %xmm2
addss %xmm2, %xmm0
ucomiss %xmm1, %xmm0
ja 0x3cb71
movq 0x1c8(%rax), %rax
jmp 0x3ca3f
movq 0x4a4a8(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3424a(%rip), %rsi     # 0x70d9c
leaq 0x34261(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x50b9, %ecx           # imm = 0x50B9
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
jmp 0x3cb76
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_is_collapsed
NK_API nk_bool
nk_window_is_collapsed(struct nk_context *ctx, const char *name)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return 0;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (!win) return 0;
    return win->flags & NK_WINDOW_MINIMIZED;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3cbdf
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x12f10
movq %rbx, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %r14, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq 0x3a515
testq %rax, %rax
je 0x3cc0f
movl $0x8000, %ebx           # imm = 0x8000
andl 0x48(%rax), %ebx
jmp 0x3cc11
movq 0x4a40a(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x341ac(%rip), %rsi     # 0x70d9c
leaq 0x341c3(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x50dd, %ecx           # imm = 0x50DD
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
jmp 0x3cc11
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_is_closed
NK_API nk_bool
nk_window_is_closed(struct nk_context *ctx, const char *name)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return 1;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (!win) return 1;
    return (win->flags & NK_WINDOW_CLOSED);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3cc60
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x12f10
movq %rbx, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %r14, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq 0x3a515
testq %rax, %rax
je 0x3cc8c
movq %rax, %rcx
movl $0x4000, %eax           # imm = 0x4000
andl 0x48(%rcx), %eax
jmp 0x3cc91
movq 0x4a389(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x3412b(%rip), %rsi     # 0x70d9c
leaq 0x34142(%rip), %rdx     # 0x70dba
movl $0x50ec, %ecx           # imm = 0x50EC
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_is_active
NK_API nk_bool
nk_window_is_active(struct nk_context *ctx, const char *name)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return 0;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (!win) return 0;
    return win == ctx->active;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3cd5e
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x12f10
movq %r14, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x3a515
xorl %ebp, %ebp
testq %rax, %rax
je 0x3cd8c
cmpq 0x4778(%rbx), %rax
sete %bpl
jmp 0x3cd8c
movq 0x4a28b(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x3402d(%rip), %rsi     # 0x70d9c
leaq 0x34044(%rip), %rdx     # 0x70dba
xorl %ebp, %ebp
movl $0x510a, %ecx           # imm = 0x510A
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_close
NK_API void
nk_window_close(struct nk_context *ctx, const char *name)
{
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return;
    win = nk_window_find(ctx, name);
    if (!win) return;
    NK_ASSERT(ctx->current != win && "You cannot close a currently active window");
    if (ctx->current == win) return;
    win->flags |= NK_WINDOW_HIDDEN;
    win->flags |= NK_WINDOW_CLOSED;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3ce31
movq %rdi, %rbx
callq 0x12a00
testq %rax, %rax
je 0x3ce2b
movq %rax, %r14
movq 0x4780(%rbx), %rax
cmpq %r14, %rax
jne 0x3ce21
movq 0x4a1fb(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x33f9d(%rip), %rsi     # 0x70d9c
leaq 0x33fb4(%rip), %rdx     # 0x70dba
movl $0x5124, %ecx           # imm = 0x5124
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq %r14, %rax
je 0x3ce2b
orb $0x60, 0x49(%r14)
popq %rbx
popq %r14
popq %r15
retq
movq 0x4a1b8(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x33f5a(%rip), %rsi     # 0x70d9c
leaq 0x33f71(%rip), %rdx     # 0x70dba
movl $0x5120, %ecx           # imm = 0x5120
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_set_bounds
NK_API void
nk_window_set_bounds(struct nk_context *ctx,
    const char *name, struct nk_rect bounds)
{
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return;
    win = nk_window_find(ctx, name);
    if (!win) return;
    NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
    win->bounds = bounds;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x3ced2
movq %rdi, %r14
movaps %xmm0, (%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0x12a00
testq %rax, %rax
je 0x3ceca
movq %rax, %rbx
cmpq %rax, 0x4780(%r14)
jne 0x3cebc
movq 0x4a159(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x33efb(%rip), %rsi     # 0x70d9c
leaq 0x33f12(%rip), %rdx     # 0x70dba
movl $0x5132, %ecx           # imm = 0x5132
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movaps (%rsp), %xmm0
unpcklpd 0x10(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
movups %xmm0, 0x4c(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x4a117(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x33eb9(%rip), %rsi     # 0x70d9c
leaq 0x33ed0(%rip), %rdx     # 0x70dba
movl $0x512e, %ecx           # imm = 0x512E
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_set_scroll
NK_API void
nk_window_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y)
{
    struct nk_window *win;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return;
    win = ctx->current;
    win->scrollbar.x = offset_x;
    win->scrollbar.y = offset_y;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
testq %rdi, %rdi
jne 0x3cf82
movq 0x4a093(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x33e35(%rip), %rsi     # 0x70d9c
leaq 0x33e4c(%rip), %rdx     # 0x70dba
movl $0x514b, %ecx           # imm = 0x514B
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
testq %rax, %rax
jne 0x3cfc6
movq 0x4a05b(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x33dfd(%rip), %rsi     # 0x70d9c
leaq 0x33e14(%rip), %rdx     # 0x70dba
movl $0x514c, %ecx           # imm = 0x514C
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
testq %rax, %rax
je 0x3cfcc
movl %ebp, 0x5c(%rax)
movl %ebx, 0x60(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_collapse
NK_API void
nk_window_collapse(struct nk_context *ctx, const char *name,
                    enum nk_collapse_states c)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (!win) return;
    if (c == NK_MINIMIZED)
        win->flags |= NK_WINDOW_MINIMIZED;
    else win->flags &= ~(nk_flags)NK_WINDOW_MINIMIZED;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3d021
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x12f10
movq %r14, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %r15, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x3a515
testq %rax, %rax
je 0x3d05b
movl 0x48(%rax), %ecx
testl %ebx, %ebx
je 0x3d052
andl $0xffff7fff, %ecx       # imm = 0xFFFF7FFF
jmp 0x3d058
movq 0x49fc8(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x33d6a(%rip), %rsi     # 0x70d9c
leaq 0x33d81(%rip), %rdx     # 0x70dba
movl $0x515a, %ecx           # imm = 0x515A
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x13780
orl $0x8000, %ecx           # imm = 0x8000
movl %ecx, 0x48(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_show
NK_API void
nk_window_show(struct nk_context *ctx, const char *name, enum nk_show_states s)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (!win) return;
    if (s == NK_HIDDEN) {
        win->flags |= NK_WINDOW_HIDDEN;
    } else win->flags &= ~(nk_flags)NK_WINDOW_HIDDEN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3d0e7
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x12f10
movq %r14, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %r15, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x3a515
testq %rax, %rax
je 0x3d121
movl 0x48(%rax), %ecx
testl %ebx, %ebx
je 0x3d118
andl $0xffffdfff, %ecx       # imm = 0xFFFFDFFF
jmp 0x3d11e
movq 0x49f02(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x33ca4(%rip), %rsi     # 0x70d9c
leaq 0x33cbb(%rip), %rdx     # 0x70dba
movl $0x5173, %ecx           # imm = 0x5173
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x13780
orl $0x2000, %ecx           # imm = 0x2000
movl %ecx, 0x48(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_window_set_focus
NK_API void
nk_window_set_focus(struct nk_context *ctx, const char *name)
{
    int title_len;
    nk_hash title_hash;
    struct nk_window *win;
    NK_ASSERT(ctx);
    if (!ctx) return;

    title_len = (int)nk_strlen(name);
    title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE);
    win = nk_find_window(ctx, title_hash, name);
    if (win && ctx->end != win) {
        nk_remove_window(ctx, win);
        nk_insert_window(ctx, win, NK_INSERT_BACK);
    }
    ctx->active = win;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3d1ce
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x12f10
movq %r14, %rdi
movl %eax, %esi
movl $0x40, %edx
callq 0x12560
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x3a515
movq %rax, %r14
testq %rax, %rax
je 0x3d1bf
cmpq %r14, 0x4770(%rbx)
je 0x3d1bf
movq %rbx, %rdi
movq %r14, %rsi
callq 0x39cdf
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3a5ba
movq %r14, 0x4778(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x49e1b(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x33bbd(%rip), %rsi     # 0x70d9c
leaq 0x33bd4(%rip), %rdx     # 0x70dba
movl $0x518d, %ecx           # imm = 0x518D
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_rule_horizontal
NK_API void
nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding)
{
    struct nk_rect space;
    enum nk_widget_layout_states state = nk_widget(&space, ctx);
    struct nk_command_buffer *canvas = nk_window_get_canvas(ctx);
    if (!state) return;
    nk_fill_rect(canvas, space, rounding && space.h > 1.5f ? space.h / 2.0f : 0, color);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movl %esi, %ebx
movq %rdi, %r14
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x128e0
movl %eax, %r15d
movq %r14, %rdi
callq 0x13710
testl %r15d, %r15d
je 0x3d270
testl %ebp, %ebp
jne 0x3d238
xorps %xmm2, %xmm2
jmp 0x3d25a
movss 0x14(%rsp), %xmm0
movss 0x3065a(%rip), %xmm1    # 0x6d8a0
mulss %xmm0, %xmm1
movss 0x30682(%rip), %xmm2    # 0x6d8d4
cmpltss %xmm0, %xmm2
andps %xmm1, %xmm2
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movq %rax, %rdi
movl %ebx, %esi
callq 0x12de0
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_popup_close
NK_API void
nk_popup_close(struct nk_context *ctx)
{
    struct nk_window *popup;
    NK_ASSERT(ctx);
    if (!ctx || !ctx->current) return;

    popup = ctx->current;
    NK_ASSERT(popup->parent);
    NK_ASSERT((int)popup->layout->type & (int)NK_PANEL_SET_POPUP);
    popup->flags |= NK_WINDOW_HIDDEN;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3d999
movq 0x4780(%rdi), %rbx
testq %rbx, %rbx
je 0x3d991
cmpq $0x0, 0x1d8(%rbx)
jne 0x3d955
movq 0x496c0(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x33462(%rip), %rsi     # 0x70d9c
leaq 0x33479(%rip), %rdx     # 0x70dba
movl $0x5266, %ecx           # imm = 0x5266
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0xa8(%rbx), %rax
testb $-0xc, (%rax)
jne 0x3d98d
movq 0x49688(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3342a(%rip), %rsi     # 0x70d9c
leaq 0x33441(%rip), %rdx     # 0x70dba
movl $0x5267, %ecx           # imm = 0x5267
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
orb $0x20, 0x49(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x49650(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x333f2(%rip), %rsi     # 0x70d9c
leaq 0x33409(%rip), %rdx     # 0x70dba
movl $0x5262, %ecx           # imm = 0x5262
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_popup_end
NK_API void
nk_popup_end(struct nk_context *ctx)
{
    struct nk_window *win;
    struct nk_window *popup;

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

    popup = ctx->current;
    if (!popup->parent) return;
    win = popup->parent;
    if (popup->flags & NK_WINDOW_HIDDEN) {
        struct nk_panel *root;
        root = win->layout;
        while (root) {
            root->flags |= NK_WINDOW_REMOVE_ROM;
            root = root->parent;
        }
        win->popup.active = 0;
    }
    nk_push_scissor(&popup->buffer, nk_null_rect);
    nk_end(ctx);

    win->buffer = popup->buffer;
    nk_finish_popup(ctx, win);
    ctx->current = win;
    nk_push_scissor(&win->buffer, win->layout->clip);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3da05
movq 0x49610(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x333b2(%rip), %rsi     # 0x70d9c
leaq 0x333c9(%rip), %rdx     # 0x70dba
movl $0x5270, %ecx           # imm = 0x5270
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r14
testq %r14, %r14
jne 0x3da44
movq 0x495d8(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3337a(%rip), %rsi     # 0x70d9c
leaq 0x33391(%rip), %rdx     # 0x70dba
movl $0x5271, %ecx           # imm = 0x5271
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r14
cmpq $0x0, 0xa8(%r14)
jne 0x3da86
movq 0x4959b(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3333d(%rip), %rsi     # 0x70d9c
leaq 0x33354(%rip), %rdx     # 0x70dba
movl $0x5272, %ecx           # imm = 0x5272
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %r14
testq %r14, %r14
je 0x3dabc
cmpq $0x0, 0xa8(%r14)
je 0x3dabc
movq 0x1d8(%r14), %r15
testq %r15, %r15
je 0x3dabc
testb $0x20, 0x49(%r14)
je 0x3dacd
movq 0xa8(%r15), %rax
testq %rax, %rax
je 0x3dac2
orb $0x1, 0x6(%rax)
movq 0x1c8(%rax), %rax
jmp 0x3daaa
popq %rbx
popq %r14
popq %r15
retq
movl $0x0, 0x15c(%r15)
leaq 0x68(%r14), %rdi
movaps 0x2fa18(%rip), %xmm0    # 0x6d4f0
movaps 0x2fa21(%rip), %xmm1    # 0x6d500
callq 0x13a50
movq %rbx, %rdi
callq 0x12fd0
leaq 0x68(%r15), %rdi
movups 0x68(%r14), %xmm0
movups 0x78(%r14), %xmm1
movups 0x88(%r14), %xmm2
movups 0x98(%r14), %xmm3
movups %xmm3, 0x98(%r15)
movups %xmm2, 0x88(%r15)
movups %xmm1, 0x78(%r15)
movups %xmm0, 0x68(%r15)
movdqu 0x98(%r15), %xmm0
pshufd $0x4e, %xmm0, %xmm0     # xmm0 = xmm0[2,3,0,1]
movdqu %xmm0, 0x140(%r15)
movq %r15, 0x4780(%rbx)
movq 0xa8(%r15), %rax
movsd 0x44(%rax), %xmm0
movsd 0x4c(%rax), %xmm1
popq %rbx
popq %r14
popq %r15
jmp 0x13a50
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_popup_get_scroll
NK_API void
nk_popup_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y)
{
    struct nk_window *popup;

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

    popup = ctx->current;
    if (offset_x)
      *offset_x = popup->scrollbar.x;
    if (offset_y)
      *offset_y = popup->scrollbar.y;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x3dba1
movq 0x49476(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x33217(%rip), %rsi     # 0x70d9c
leaq 0x3322e(%rip), %rdx     # 0x70dba
movl $0x528f, %ecx           # imm = 0x528F
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%r15), %rax
testq %rax, %rax
jne 0x3dbe2
movq 0x4943c(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x331dd(%rip), %rsi     # 0x70d9c
leaq 0x331f4(%rip), %rdx     # 0x70dba
movl $0x5290, %ecx           # imm = 0x5290
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%r15), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3dc26
movq 0x493fd(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x3319e(%rip), %rsi     # 0x70d9c
leaq 0x331b5(%rip), %rdx     # 0x70dba
movl $0x5291, %ecx           # imm = 0x5291
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%r15), %rax
testq %rax, %rax
je 0x3dc45
cmpq $0x0, 0xa8(%rax)
je 0x3dc45
testq %r14, %r14
je 0x3dc3b
movl 0x5c(%rax), %ecx
movl %ecx, (%r14)
testq %rbx, %rbx
je 0x3dc45
movl 0x60(%rax), %eax
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_popup_set_scroll
NK_API void
nk_popup_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y)
{
    struct nk_window *popup;

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

    popup = ctx->current;
    popup->scrollbar.x = offset_x;
    popup->scrollbar.y = offset_y;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
testq %rdi, %rdi
jne 0x3dc90
movq 0x49385(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x33127(%rip), %rsi     # 0x70d9c
leaq 0x3313e(%rip), %rdx     # 0x70dba
movl $0x52a0, %ecx           # imm = 0x52A0
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
testq %rax, %rax
jne 0x3dccf
movq 0x4934d(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x330ef(%rip), %rsi     # 0x70d9c
leaq 0x33106(%rip), %rdx     # 0x70dba
movl $0x52a1, %ecx           # imm = 0x52A1
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3dd11
movq 0x49310(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x330b2(%rip), %rsi     # 0x70d9c
leaq 0x330c9(%rip), %rdx     # 0x70dba
movl $0x52a2, %ecx           # imm = 0x52A2
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%r14), %rax
testq %rax, %rax
je 0x3dd21
cmpq $0x0, 0xa8(%rax)
je 0x3dd21
movl %ebp, 0x5c(%rax)
movl %ebx, 0x60(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_contextual_item_text
NK_API nk_bool
nk_contextual_item_text(struct nk_context *ctx, const char *text, int len,
    nk_flags alignment)
{
    struct nk_window *win;
    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 0;

    win = ctx->current;
    style = &ctx->style;
    state = nk_widget_fitting(&bounds, ctx, style->contextual_button.padding);
    if (!state) return nk_false;

    in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    if (nk_do_button_text(&ctx->last_widget_state, &win->buffer, bounds,
        text, len, alignment, NK_BUTTON_DEFAULT, &style->contextual_button, in, style->font)) {
        nk_contextual_close(ctx);
        return nk_true;
    }
    return nk_false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3e3b3
movq 0x48c64(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x32a05(%rip), %rsi     # 0x70d9c
leaq 0x32a1c(%rip), %rdx     # 0x70dba
movl $0x52fe, %ecx           # imm = 0x52FE
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
jne 0x3e3f4
movq 0x48c2a(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x329cb(%rip), %rsi     # 0x70d9c
leaq 0x329e2(%rip), %rdx     # 0x70dba
movl $0x52ff, %ecx           # imm = 0x52FF
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
cmpq $0x0, 0xa8(%r12)
jne 0x3e440
movq 0x48bea(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x3298b(%rip), %rsi     # 0x70d9c
leaq 0x329a2(%rip), %rdx     # 0x70dba
xorl %r13d, %r13d
movl $0x5300, %ecx           # imm = 0x5300
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x3e4da
cmpq $0x0, 0xa8(%r12)
je 0x3e471
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x12270
movl %eax, %r13d
testl %eax, %eax
je 0x3e4da
leaq 0x2a8(%rbx), %rax
cmpl $0x2, %r13d
jne 0x3e476
xorl %r10d, %r10d
jmp 0x3e489
xorl %r13d, %r13d
jmp 0x3e4da
movq 0xa8(%r12), %rcx
xorl %r10d, %r10d
testb $0x10, 0x5(%rcx)
cmoveq %rbx, %r10
leaq 0x2598(%rbx), %rdi
addq $0x68, %r12
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subq $0x8, %rsp
xorl %r13d, %r13d
movq %r12, %rsi
movq %r15, %rdx
movl %r14d, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
pushq 0x168(%rbx)
pushq %r10
pushq %rax
callq 0x3e5cb
addq $0x20, %rsp
testl %eax, %eax
je 0x3e4da
movq %rbx, %rdi
callq 0x134e0
movl $0x1, %r13d
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_fitting
NK_API enum nk_widget_layout_states
nk_widget_fitting(struct nk_rect *bounds, struct nk_context *ctx,
    struct nk_vec2 item_padding)
{
    /* update the bounds to stand without padding  */
    enum nk_widget_layout_states state;
    NK_UNUSED(item_padding);

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

    state = nk_widget(bounds, ctx);
    return state;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
jne 0x3e528
movq 0x48aed(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3288f(%rip), %rsi     # 0x70d9c
leaq 0x328a6(%rip), %rdx     # 0x70dba
movl $0x5b18, %ecx           # imm = 0x5B18
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3e567
movq 0x48ab5(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x32857(%rip), %rsi     # 0x70d9c
leaq 0x3286e(%rip), %rdx     # 0x70dba
movl $0x5b19, %ecx           # imm = 0x5B19
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3e5a9
movq 0x48a78(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3281a(%rip), %rsi     # 0x70d9c
leaq 0x32831(%rip), %rdx     # 0x70dba
movl $0x5b1a, %ecx           # imm = 0x5B1A
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3e5c3
cmpq $0x0, 0xa8(%rax)
je 0x3e5c3
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x128e0
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_contextual_close
NK_API void
nk_contextual_close(struct nk_context *ctx)
{
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout) return;
    nk_popup_close(ctx);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3e876
movq 0x4879f(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x32541(%rip), %rsi     # 0x70d9c
leaq 0x32558(%rip), %rdx     # 0x70dba
movl $0x5361, %ecx           # imm = 0x5361
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x3e8b5
movq 0x48767(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x32509(%rip), %rsi     # 0x70d9c
leaq 0x32520(%rip), %rdx     # 0x70dba
movl $0x5362, %ecx           # imm = 0x5362
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x3e8f7
movq 0x4872a(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x324cc(%rip), %rsi     # 0x70d9c
leaq 0x324e3(%rip), %rdx     # 0x70dba
movl $0x5363, %ecx           # imm = 0x5363
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x3e910
cmpq $0x0, 0xa8(%rax)
je 0x3e910
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x140d0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_contextual_item_image_text
NK_API nk_bool
nk_contextual_item_image_text(struct nk_context *ctx, struct nk_image img,
    const char *text, int len, nk_flags align)
{
    struct nk_window *win;
    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 0;

    win = ctx->current;
    style = &ctx->style;
    state = nk_widget_fitting(&bounds, ctx, style->contextual_button.padding);
    if (!state) return nk_false;

    in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    if (nk_do_button_text_image(&ctx->last_widget_state, &win->buffer, bounds,
        img, text, len, align, NK_BUTTON_DEFAULT, &style->contextual_button, style->font, in)){
        nk_contextual_close(ctx);
        return nk_true;
    }
    return nk_false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x3e98d
movq 0x4868a(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x3242b(%rip), %rsi     # 0x70d9c
leaq 0x32442(%rip), %rdx     # 0x70dba
movl $0x5321, %ecx           # imm = 0x5321
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
jne 0x3e9ce
movq 0x48650(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x323f1(%rip), %rsi     # 0x70d9c
leaq 0x32408(%rip), %rdx     # 0x70dba
movl $0x5322, %ecx           # imm = 0x5322
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
cmpq $0x0, 0xa8(%r12)
jne 0x3ea1a
movq 0x48610(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x323b1(%rip), %rsi     # 0x70d9c
leaq 0x323c8(%rip), %rdx     # 0x70dba
xorl %r13d, %r13d
movl $0x5323, %ecx           # imm = 0x5323
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
movq 0x4780(%rbx), %r12
testq %r12, %r12
je 0x3ead3
cmpq $0x0, 0xa8(%r12)
je 0x3ea56
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x12270
movl %eax, %r13d
testl %eax, %eax
je 0x3ead3
leaq 0x80(%rsp), %rcx
leaq 0x2a8(%rbx), %rax
cmpl $0x2, %r13d
jne 0x3ea5b
xorl %edx, %edx
jmp 0x3ea6d
xorl %r13d, %r13d
jmp 0x3ead3
movq 0xa8(%r12), %rsi
xorl %edx, %edx
testb $0x10, 0x5(%rsi)
cmoveq %rbx, %rdx
leaq 0x2598(%rbx), %rdi
addq $0x68, %r12
movq 0x168(%rbx), %rsi
movsd 0x38(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movq 0x10(%rcx), %r8
movq %r8, 0x10(%rsp)
movups (%rcx), %xmm2
movups %xmm2, (%rsp)
movq %rdx, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rax, 0x18(%rsp)
xorl %r13d, %r13d
movq %r12, %rsi
movq %r15, %rdx
movl %r14d, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3eae5
testl %eax, %eax
je 0x3ead3
movq %rbx, %rdi
callq 0x134e0
movl $0x1, %r13d
movl %r13d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq