LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_rect_multi_color
NK_API void
nk_fill_rect_multi_color(struct nk_command_buffer *b, struct nk_rect rect,
    struct nk_color left, struct nk_color top, struct nk_color right,
    struct nk_color bottom)
{
    struct nk_command_rect_multi_color *cmd;
    NK_ASSERT(b);
    if (!b || rect.w == 0 || rect.h == 0) return;
    if (b->use_clipping) {
        const struct nk_rect *clip = &b->clip;
        if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h,
            clip->x, clip->y, clip->w, clip->h)) return;
    }

    cmd = (struct nk_command_rect_multi_color*)
        nk_command_buffer_push(b, NK_COMMAND_RECT_MULTI_COLOR, sizeof(*cmd));
    if (!cmd) return;
    cmd->x = (short)rect.x;
    cmd->y = (short)rect.y;
    cmd->w = (unsigned short)NK_MAX(0, rect.w);
    cmd->h = (unsigned short)NK_MAX(0, rect.h);
    cmd->left = left;
    cmd->top = top;
    cmd->right = right;
    cmd->bottom = bottom;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x278c0
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm1
jne 0x277fd
jnp 0x278b5
movaps %xmm1, %xmm4
shufps $0x55, %xmm1, %xmm4     # xmm4 = xmm4[1,1],xmm1[1,1]
ucomiss %xmm2, %xmm4
jne 0x2780f
jnp 0x278b5
movl %r8d, %ebx
movl %ecx, %ebp
movl %edx, %r14d
movl %esi, %r15d
cmpl $0x0, 0x18(%rdi)
je 0x2785e
movss 0x8(%rdi), %xmm3
movaps %xmm0, %xmm2
addss %xmm1, %xmm2
ucomiss %xmm3, %xmm2
jbe 0x278b5
addss 0x10(%rdi), %xmm3
ucomiss %xmm0, %xmm3
jbe 0x278b5
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm2, %xmm4
ucomiss %xmm3, %xmm4
jbe 0x278b5
addss 0x14(%rdi), %xmm3
ucomiss %xmm2, %xmm3
jbe 0x278b5
movl $0x28, %edx
movl $0x6, %esi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x27250
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x278b5
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x10(%rax)
pxor %xmm0, %xmm0
maxps %xmm0, %xmm1
cvttps2dq %xmm1, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x14(%rax)
movl %r15d, 0x18(%rax)
movl %r14d, 0x1c(%rax)
movl %ebp, 0x24(%rax)
movl %ebx, 0x20(%rax)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x5f729(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x494cb(%rip), %rsi     # 0x70d9c
leaq 0x494e2(%rip), %rdx     # 0x70dba
movl $0x239b, %ecx           # imm = 0x239B
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_circle
NK_API void
nk_stroke_circle(struct nk_command_buffer *b, struct nk_rect r,
    float line_thickness, struct nk_color c)
{
    struct nk_command_circle *cmd;
    if (!b || r.w == 0 || r.h == 0 || line_thickness <= 0) return;
    if (b->use_clipping) {
        const struct nk_rect *clip = &b->clip;
        if (!NK_INTERSECT(r.x, r.y, r.w, r.h, clip->x, clip->y, clip->w, clip->h))
            return;
    }

    cmd = (struct nk_command_circle*)
        nk_command_buffer_push(b, NK_COMMAND_CIRCLE, sizeof(*cmd));
    if (!cmd) return;
    cmd->line_thickness = (unsigned short)line_thickness;
    cmd->x = (short)r.x;
    cmd->y = (short)r.y;
    cmd->w = (unsigned short)NK_MAX(r.w, 0);
    cmd->h = (unsigned short)NK_MAX(r.h, 0);
    cmd->color = c;
}

// Assembly:
xorps %xmm3, %xmm3
ucomiss %xmm2, %xmm3
jae 0x279f9
testq %rdi, %rdi
je 0x279f9
ucomiss %xmm3, %xmm1
jne 0x27916
jnp 0x279f9
movaps %xmm1, %xmm6
shufps $0x55, %xmm1, %xmm6     # xmm6 = xmm6[1,1],xmm1[1,1]
ucomiss %xmm3, %xmm6
jne 0x27928
jnp 0x279f9
pushq %rbx
subq $0x40, %rsp
movl %esi, %ebx
cmpl $0x0, 0x18(%rdi)
je 0x2797e
movss 0x8(%rdi), %xmm3
movaps %xmm1, %xmm4
addss %xmm0, %xmm4
ucomiss %xmm3, %xmm4
jbe 0x279f4
addss 0x10(%rdi), %xmm3
ucomiss %xmm0, %xmm3
jbe 0x279f4
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm5
shufps $0x55, %xmm0, %xmm5     # xmm5 = xmm5[1,1],xmm0[1,1]
movaps %xmm5, %xmm4
addss %xmm6, %xmm4
ucomiss %xmm3, %xmm4
jbe 0x279f4
addss 0x14(%rdi), %xmm3
ucomiss %xmm5, %xmm3
jbe 0x279f4
movl $0x20, %edx
movl $0x7, %esi
movaps %xmm0, 0x30(%rsp)
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm6, (%rsp)
callq 0x27250
movaps (%rsp), %xmm5
movaps 0x10(%rsp), %xmm4
movaps 0x20(%rsp), %xmm3
movaps 0x30(%rsp), %xmm2
testq %rax, %rax
je 0x279f4
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
maxss %xmm4, %xmm1
movlhps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
shufps $0x24, %xmm1, %xmm2     # xmm2 = xmm2[0,1],xmm1[2,0]
cvttps2dq %xmm2, %xmm1
pshuflw $0xe8, %xmm1, %xmm2     # xmm2 = xmm1[0,2,2,3,4,5,6,7]
pshufhw $0xe8, %xmm1, %xmm1     # xmm1 = xmm1[0,1,2,3,4,6,6,7]
pshufd $0xaa, %xmm1, %xmm1     # xmm1 = xmm1[2,2,2,2]
punpckldq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
movq %xmm2, 0x10(%rax)
maxss %xmm5, %xmm0
cvttss2si %xmm0, %ecx
movw %cx, 0x18(%rax)
movl %ebx, 0x1a(%rax)
addq $0x40, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_circle
NK_API void
nk_fill_circle(struct nk_command_buffer *b, struct nk_rect r, struct nk_color c)
{
    struct nk_command_circle_filled *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0 || r.w == 0 || r.h == 0) return;
    if (b->use_clipping) {
        const struct nk_rect *clip = &b->clip;
        if (!NK_INTERSECT(r.x, r.y, r.w, r.h, clip->x, clip->y, clip->w, clip->h))
            return;
    }

    cmd = (struct nk_command_circle_filled*)
        nk_command_buffer_push(b, NK_COMMAND_CIRCLE_FILLED, sizeof(*cmd));
    if (!cmd) return;
    cmd->x = (short)r.x;
    cmd->y = (short)r.y;
    cmd->w = (unsigned short)NK_MAX(r.w, 0);
    cmd->h = (unsigned short)NK_MAX(r.h, 0);
    cmd->color = c;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
movq %rdi, %r14
testq %rdi, %rdi
jne 0x27a4b
movq 0x5f5dc(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x4937e(%rip), %rsi     # 0x70d9c
leaq 0x49395(%rip), %rdx     # 0x70dba
movl $0x23c9, %ecx           # imm = 0x23C9
xorl %eax, %eax
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %r14, %r14
je 0x27b27
cmpl $0x1000000, %ebx        # imm = 0x1000000
jb 0x27b27
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm1
jne 0x27a6e
jnp 0x27b27
movaps %xmm1, %xmm4
shufps $0x55, %xmm1, %xmm4     # xmm4 = xmm4[1,1],xmm1[1,1]
ucomiss %xmm2, %xmm4
jne 0x27a80
jnp 0x27b27
cmpl $0x0, 0x18(%r14)
je 0x27ac9
movss 0x8(%r14), %xmm3
movaps %xmm0, %xmm2
addss %xmm1, %xmm2
ucomiss %xmm3, %xmm2
jbe 0x27b27
addss 0x10(%r14), %xmm3
ucomiss %xmm0, %xmm3
jbe 0x27b27
movss 0xc(%r14), %xmm3
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm2, %xmm4
ucomiss %xmm3, %xmm4
jbe 0x27b27
addss 0x14(%r14), %xmm3
ucomiss %xmm2, %xmm3
jbe 0x27b27
movl $0x20, %edx
movq %r14, %rdi
movl $0x8, %esi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x27250
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x27b27
movl %ebx, %ecx
shrl $0x18, %ecx
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x10(%rax)
pxor %xmm0, %xmm0
maxps %xmm1, %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x14(%rax)
movw %bx, 0x18(%rax)
shrl $0x10, %ebx
movb %bl, 0x1a(%rax)
movb %cl, 0x1b(%rax)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_arc
NK_API void
nk_stroke_arc(struct nk_command_buffer *b, float cx, float cy, float radius,
    float a_min, float a_max, float line_thickness, struct nk_color c)
{
    struct nk_command_arc *cmd;
    if (!b || c.a == 0 || line_thickness <= 0) return;
    cmd = (struct nk_command_arc*)
        nk_command_buffer_push(b, NK_COMMAND_ARC, sizeof(*cmd));
    if (!cmd) return;
    cmd->line_thickness = (unsigned short)line_thickness;
    cmd->cx = (short)cx;
    cmd->cy = (short)cy;
    cmd->r = (unsigned short)radius;
    cmd->a[0] = a_min;
    cmd->a[1] = a_max;
    cmd->color = c;
}

// Assembly:
xorps %xmm6, %xmm6
ucomiss %xmm5, %xmm6
jae 0x27bf3
testq %rdi, %rdi
je 0x27bf3
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x27bee
movl $0x28, %edx
movl $0x9, %esi
movss %xmm4, 0xc(%rsp)
movss %xmm3, 0x8(%rsp)
movaps %xmm2, 0x40(%rsp)
movaps %xmm5, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0x27250
movaps 0x10(%rsp), %xmm5
movaps 0x20(%rsp), %xmm4
movaps 0x30(%rsp), %xmm1
movaps 0x40(%rsp), %xmm0
movss 0x8(%rsp), %xmm3
movss 0xc(%rsp), %xmm2
testq %rax, %rax
je 0x27bee
movl %ebx, %ecx
shrl $0x18, %ecx
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
unpcklps %xmm5, %xmm4            # xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
movlhps %xmm0, %xmm4            # xmm4 = xmm4[0],xmm0[0]
cvttps2dq %xmm4, %xmm0
pshuflw $0xe8, %xmm0, %xmm1     # xmm1 = xmm0[0,2,2,3,4,5,6,7]
pshufhw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,6,6,7]
pshufd $0xaa, %xmm0, %xmm0     # xmm0 = xmm0[2,2,2,2]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movq %xmm1, 0x10(%rax)
movss %xmm3, 0x18(%rax)
movss %xmm2, 0x1c(%rax)
movw %bx, 0x20(%rax)
shrl $0x10, %ebx
movb %bl, 0x22(%rax)
movb %cl, 0x23(%rax)
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_arc
NK_API void
nk_fill_arc(struct nk_command_buffer *b, float cx, float cy, float radius,
    float a_min, float a_max, struct nk_color c)
{
    struct nk_command_arc_filled *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0) return;
    cmd = (struct nk_command_arc_filled*)
        nk_command_buffer_push(b, NK_COMMAND_ARC_FILLED, sizeof(*cmd));
    if (!cmd) return;
    cmd->cx = (short)cx;
    cmd->cy = (short)cy;
    cmd->r = (unsigned short)radius;
    cmd->a[0] = a_min;
    cmd->a[1] = a_max;
    cmd->color = c;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
testq %rdi, %rdi
je 0x27c9a
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x27c94
movl $0x28, %edx
movl $0xa, %esi
movss %xmm4, 0xc(%rsp)
movss %xmm3, 0x8(%rsp)
movss %xmm2, 0x4(%rsp)
movaps %xmm1, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
callq 0x27250
movdqa 0x10(%rsp), %xmm4
movdqa 0x20(%rsp), %xmm0
movss 0x4(%rsp), %xmm3
movss 0x8(%rsp), %xmm2
movss 0xc(%rsp), %xmm1
testq %rax, %rax
je 0x27c94
movl %ebx, %ecx
shrl $0x18, %ecx
punpckldq %xmm0, %xmm4    # xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
cvttps2dq %xmm4, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
cvttss2si %xmm3, %edx
movd %xmm0, 0x10(%rax)
movw %dx, 0x14(%rax)
movss %xmm2, 0x18(%rax)
movss %xmm1, 0x1c(%rax)
movw %bx, 0x20(%rax)
shrl $0x10, %ebx
movb %bl, 0x22(%rax)
movb %cl, 0x23(%rax)
addq $0x30, %rsp
popq %rbx
retq
movq 0x5f34f(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x490f1(%rip), %rsi     # 0x70d9c
leaq 0x49108(%rip), %rdx     # 0x70dba
movl $0x23f0, %ecx           # imm = 0x23F0
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x30, %rsp
popq %rbx
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_triangle
NK_API void
nk_fill_triangle(struct nk_command_buffer *b, float x0, float y0, float x1,
    float y1, float x2, float y2, struct nk_color c)
{
    struct nk_command_triangle_filled *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0) return;
    if (!b) return;
    if (b->use_clipping) {
        const struct nk_rect *clip = &b->clip;
        if (!NK_INBOX(x0, y0, clip->x, clip->y, clip->w, clip->h) &&
            !NK_INBOX(x1, y1, clip->x, clip->y, clip->w, clip->h) &&
            !NK_INBOX(x2, y2, clip->x, clip->y, clip->w, clip->h))
            return;
    }

    cmd = (struct nk_command_triangle_filled*)
        nk_command_buffer_push(b, NK_COMMAND_TRIANGLE_FILLED, sizeof(*cmd));
    if (!cmd) return;
    cmd->a.x = (short)x0;
    cmd->a.y = (short)y0;
    cmd->b.x = (short)x1;
    cmd->b.y = (short)y1;
    cmd->c.x = (short)x2;
    cmd->c.y = (short)y2;
    cmd->color = c;
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
testq %rdi, %rdi
je 0x27fb8
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x27fb2
cmpl $0x0, 0x18(%rdi)
je 0x27f2b
movss 0x8(%rdi), %xmm7
ucomiss %xmm7, %xmm0
jb 0x27ed1
movss 0x10(%rdi), %xmm6
addss %xmm7, %xmm6
ucomiss %xmm0, %xmm6
jbe 0x27ed1
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm1
jb 0x27ed1
addss 0x14(%rdi), %xmm6
ucomiss %xmm1, %xmm6
ja 0x27f2b
ucomiss %xmm7, %xmm2
jb 0x27ef8
movss 0x10(%rdi), %xmm6
addss %xmm7, %xmm6
ucomiss %xmm2, %xmm6
jbe 0x27ef8
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm3
jb 0x27ef8
addss 0x14(%rdi), %xmm6
ucomiss %xmm3, %xmm6
ja 0x27f2b
ucomiss %xmm7, %xmm4
jb 0x27fb2
addss 0x10(%rdi), %xmm7
ucomiss %xmm4, %xmm7
jbe 0x27fb2
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm5
jb 0x27fb2
addss 0x14(%rdi), %xmm6
ucomiss %xmm5, %xmm6
jbe 0x27fb2
movl $0x20, %edx
movl $0xc, %esi
movaps %xmm5, 0x50(%rsp)
movaps %xmm4, 0x40(%rsp)
movaps %xmm2, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm3, (%rsp)
callq 0x27250
movaps (%rsp), %xmm5
movaps 0x10(%rsp), %xmm4
movaps 0x20(%rsp), %xmm3
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm2
movaps 0x50(%rsp), %xmm1
testq %rax, %rax
je 0x27fb2
movl %ebx, %ecx
shrl $0x18, %ecx
unpcklps %xmm5, %xmm0            # xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
unpcklps %xmm4, %xmm3            # xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
movlhps %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
cvttps2dq %xmm3, %xmm0
packssdw %xmm0, %xmm0
movq %xmm0, 0x10(%rax)
unpcklps %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
cvttps2dq %xmm2, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x18(%rax)
movw %bx, 0x1c(%rax)
shrl $0x10, %ebx
movb %bl, 0x1e(%rax)
movb %cl, 0x1f(%rax)
addq $0x60, %rsp
popq %rbx
retq
movq 0x5f031(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48dd3(%rip), %rsi     # 0x70d9c
leaq 0x48dea(%rip), %rdx     # 0x70dba
movl $0x241c, %ecx           # imm = 0x241C
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x60, %rsp
popq %rbx
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_polygon
NK_API void
nk_stroke_polygon(struct nk_command_buffer *b,  float *points, int point_count,
    float line_thickness, struct nk_color col)
{
    int i;
    nk_size size = 0;
    struct nk_command_polygon *cmd;

    NK_ASSERT(b);
    if (!b || col.a == 0 || line_thickness <= 0) return;
    size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count;
    cmd = (struct nk_command_polygon*) nk_command_buffer_push(b, NK_COMMAND_POLYGON, size);
    if (!cmd) return;
    cmd->color = col;
    cmd->line_thickness = (unsigned short)line_thickness;
    cmd->point_count = (unsigned short)point_count;
    for (i = 0; i < point_count; ++i) {
        cmd->points[i].x = (short)points[i*2];
        cmd->points[i].y = (short)points[i*2+1];
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x2808d
movl %ecx, %r14d
cmpl $0x1000000, %ecx        # imm = 0x1000000
setb %al
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
setae %cl
orb %al, %cl
jne 0x28084
movl %edx, %ebp
movq %rsi, %rbx
movslq %edx, %rax
leaq 0x20(,%rax,4), %rdx
movl $0xd, %esi
movss %xmm0, 0xc(%rsp)
callq 0x27250
movss 0xc(%rsp), %xmm0
testq %rax, %rax
je 0x28084
movl %r14d, %ecx
shrl $0x18, %ecx
movw %r14w, 0x10(%rax)
shrl $0x10, %r14d
movb %r14b, 0x12(%rax)
cvttss2si %xmm0, %edx
movb %cl, 0x13(%rax)
movw %dx, 0x14(%rax)
movw %bp, 0x16(%rax)
testl %ebp, %ebp
jle 0x28084
movl %ebp, %ecx
xorl %edx, %edx
movsd (%rbx,%rdx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x18(%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x28068
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x5ef5c(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48cfe(%rip), %rsi     # 0x70d9c
leaq 0x48d15(%rip), %rdx     # 0x70dba
movl $0x243a, %ecx           # imm = 0x243A
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_polygon
NK_API void
nk_fill_polygon(struct nk_command_buffer *b, float *points, int point_count,
    struct nk_color col)
{
    int i;
    nk_size size = 0;
    struct nk_command_polygon_filled *cmd;

    NK_ASSERT(b);
    if (!b || col.a == 0) return;
    size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count;
    cmd = (struct nk_command_polygon_filled*)
        nk_command_buffer_push(b, NK_COMMAND_POLYGON_FILLED, size);
    if (!cmd) return;
    cmd->color = col;
    cmd->point_count = (unsigned short)point_count;
    for (i = 0; i < point_count; ++i) {
        cmd->points[i].x = (short)points[i*2+0];
        cmd->points[i].y = (short)points[i*2+1];
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x28137
movl %ecx, %r14d
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x28132
movl %edx, %ebp
movq %rsi, %rbx
movslq %edx, %rax
leaq 0x20(,%rax,4), %rdx
movl $0xe, %esi
callq 0x27250
testq %rax, %rax
je 0x28132
movl %r14d, %ecx
shrl $0x18, %ecx
movw %r14w, 0x10(%rax)
shrl $0x10, %r14d
movb %r14b, 0x12(%rax)
movb %cl, 0x13(%rax)
movw %bp, 0x14(%rax)
testl %ebp, %ebp
jle 0x28132
movl %ebp, %ecx
xorl %edx, %edx
movsd (%rbx,%rdx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x16(%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x28116
popq %rbx
popq %r14
popq %rbp
retq
movq 0x5eeb2(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48c54(%rip), %rsi     # 0x70d9c
leaq 0x48c6b(%rip), %rdx     # 0x70dba
movl $0x244f, %ecx           # imm = 0x244F
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_polyline
NK_API void
nk_stroke_polyline(struct nk_command_buffer *b, float *points, int point_count,
    float line_thickness, struct nk_color col)
{
    int i;
    nk_size size = 0;
    struct nk_command_polyline *cmd;

    NK_ASSERT(b);
    if (!b || col.a == 0 || line_thickness <= 0) return;
    size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count;
    cmd = (struct nk_command_polyline*) nk_command_buffer_push(b, NK_COMMAND_POLYLINE, size);
    if (!cmd) return;
    cmd->color = col;
    cmd->point_count = (unsigned short)point_count;
    cmd->line_thickness = (unsigned short)line_thickness;
    for (i = 0; i < point_count; ++i) {
        cmd->points[i].x = (short)points[i*2];
        cmd->points[i].y = (short)points[i*2+1];
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x2820b
movl %ecx, %r14d
cmpl $0x1000000, %ecx        # imm = 0x1000000
setb %al
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
setae %cl
orb %al, %cl
jne 0x28202
movl %edx, %ebp
movq %rsi, %rbx
movslq %edx, %rax
leaq 0x20(,%rax,4), %rdx
movl $0xf, %esi
movss %xmm0, 0xc(%rsp)
callq 0x27250
movss 0xc(%rsp), %xmm0
testq %rax, %rax
je 0x28202
movl %r14d, %ecx
shrl $0x18, %ecx
movw %r14w, 0x10(%rax)
shrl $0x10, %r14d
movb %r14b, 0x12(%rax)
movb %cl, 0x13(%rax)
movw %bp, 0x16(%rax)
cvttss2si %xmm0, %ecx
movw %cx, 0x14(%rax)
testl %ebp, %ebp
jle 0x28202
movl %ebp, %ecx
xorl %edx, %edx
movsd (%rbx,%rdx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x18(%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x281e6
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x5edde(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48b80(%rip), %rsi     # 0x70d9c
leaq 0x48b97(%rip), %rdx     # 0x70dba
movl $0x2464, %ecx           # imm = 0x2464
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_image
NK_API void
nk_draw_image(struct nk_command_buffer *b, struct nk_rect r,
    const struct nk_image *img, struct nk_color col)
{
    struct nk_command_image *cmd;
    NK_ASSERT(b);
    if (!b) return;
    if (b->use_clipping) {
        const struct nk_rect *c = &b->clip;
        if (c->w == 0 || c->h == 0 || !NK_INTERSECT(r.x, r.y, r.w, r.h, c->x, c->y, c->w, c->h))
            return;
    }

    cmd = (struct nk_command_image*)
        nk_command_buffer_push(b, NK_COMMAND_IMAGE, sizeof(*cmd));
    if (!cmd) return;
    cmd->x = (short)r.x;
    cmd->y = (short)r.y;
    cmd->w = (unsigned short)NK_MAX(0, r.w);
    cmd->h = (unsigned short)NK_MAX(0, r.h);
    cmd->img = *img;
    cmd->col = col;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x28327
movl %edx, %ebx
movq %rsi, %r14
cmpl $0x0, 0x18(%rdi)
je 0x282c3
movss 0x10(%rdi), %xmm4
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm4
jne 0x2826d
jnp 0x2831f
movss 0x14(%rdi), %xmm5
ucomiss %xmm2, %xmm5
jne 0x2827d
jnp 0x2831f
movss 0x8(%rdi), %xmm2
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x2831f
addss %xmm2, %xmm4
ucomiss %xmm0, %xmm4
jbe 0x2831f
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm2
addps %xmm1, %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm3, %xmm2
jbe 0x2831f
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm3, %xmm5
ucomiss %xmm2, %xmm5
jbe 0x2831f
movl $0x38, %edx
movl $0x11, %esi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x27250
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x2831f
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x10(%rax)
pxor %xmm0, %xmm0
maxps %xmm0, %xmm1
cvttps2dq %xmm1, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x14(%rax)
movups (%r14), %xmm0
movups %xmm0, 0x18(%rax)
movq 0x10(%r14), %rcx
movq %rcx, 0x28(%rax)
movl %ebx, 0x30(%rax)
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x5ecc2(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48a64(%rip), %rsi     # 0x70d9c
leaq 0x48a7b(%rip), %rdx     # 0x70dba
movl $0x2476, %ecx           # imm = 0x2476
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_push_custom
NK_API void
nk_push_custom(struct nk_command_buffer *b, struct nk_rect r,
    nk_command_custom_callback cb, nk_handle usr)
{
    struct nk_command_custom *cmd;
    NK_ASSERT(b);
    if (!b) return;
    if (b->use_clipping) {
        const struct nk_rect *c = &b->clip;
        if (c->w == 0 || c->h == 0 || !NK_INTERSECT(r.x, r.y, r.w, r.h, c->x, c->y, c->w, c->h))
            return;
    }

    cmd = (struct nk_command_custom*)
        nk_command_buffer_push(b, NK_COMMAND_CUSTOM, sizeof(*cmd));
    if (!cmd) return;
    cmd->x = (short)r.x;
    cmd->y = (short)r.y;
    cmd->w = (unsigned short)NK_MAX(0, r.w);
    cmd->h = (unsigned short)NK_MAX(0, r.h);
    cmd->callback_data = usr;
    cmd->callback = cb;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x28886
movq %rdx, %r14
movq %rsi, %rbx
cmpl $0x0, 0x18(%rdi)
je 0x2882d
movss 0x10(%rdi), %xmm4
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm4
jne 0x287df
jnp 0x2887e
movss 0x14(%rdi), %xmm5
ucomiss %xmm2, %xmm5
jne 0x287ef
jnp 0x2887e
movss 0x8(%rdi), %xmm2
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x2887e
addss %xmm2, %xmm4
ucomiss %xmm0, %xmm4
jbe 0x2887e
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm2
addps %xmm1, %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm3, %xmm2
jbe 0x2887e
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm3, %xmm5
ucomiss %xmm2, %xmm5
jbe 0x2887e
movl $0x28, %edx
movl $0x12, %esi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x27250
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x2887e
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x10(%rax)
pxor %xmm0, %xmm0
maxps %xmm0, %xmm1
cvttps2dq %xmm1, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x14(%rax)
movq %r14, 0x18(%rax)
movq %rbx, 0x20(%rax)
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x5e763(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x48505(%rip), %rsi     # 0x70d9c
leaq 0x4851c(%rip), %rdx     # 0x70dba
movl $0x24da, %ecx           # imm = 0x24DA
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_draw_list_init
NK_API void
nk_draw_list_init(struct nk_draw_list *list)
{
    nk_size i = 0;
    NK_ASSERT(list);
    if (!list) return;
    nk_zero(list, sizeof(*list));
    for (i = 0; i < NK_LEN(list->circle_vtx); ++i) {
        const float a = ((float)i / (float)NK_LEN(list->circle_vtx)) * 2 * NK_PI;
        list->circle_vtx[i].x = (float)NK_COS(a);
        list->circle_vtx[i].y = (float)NK_SIN(a);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x28d41
movq %rdi, %rbx
movq %rdi, %r14
andq $0x3, %r14
je 0x28d76
movl $0x4, %r15d
subq %r14, %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x12b50
leaq (%rbx,%r15), %rdi
movl $0xec, %edx
xorl %esi, %esi
callq 0x12b50
leaq (%rbx,%r15), %rdi
addq $0xec, %rdi
xorl %esi, %esi
movq %r14, %rdx
jmp 0x28d80
movq 0x5e2a8(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x4804a(%rip), %rsi     # 0x70d9c
leaq 0x48061(%rip), %rdx     # 0x70dba
movl $0x2524, %ecx           # imm = 0x2524
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x13780
movl $0xf0, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x12b50
xorl %r14d, %r14d
xorps %xmm0, %xmm0
cvtsi2ss %r14, %xmm0
divss 0x44b30(%rip), %xmm0    # 0x6d8c8
addss %xmm0, %xmm0
mulss 0x44b28(%rip), %xmm0    # 0x6d8cc
movss %xmm0, 0xc(%rsp)
callq 0x12770
movss %xmm0, 0x10(%rbx,%r14,8)
movss 0xc(%rsp), %xmm0
callq 0x122b0
movss %xmm0, 0x14(%rbx,%r14,8)
incq %r14
cmpq $0xc, %r14
jne 0x28d88
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk__draw_list_begin
NK_API const struct nk_draw_command*
nk__draw_list_begin(const struct nk_draw_list *canvas, const struct nk_buffer *buffer)
{
    nk_byte *memory;
    nk_size offset;
    const struct nk_draw_command *cmd;

    NK_ASSERT(buffer);
    if (!buffer || !buffer->size || !canvas->cmd_count)
        return 0;

    memory = (nk_byte*)buffer->memory.ptr;
    offset = buffer->memory.size - canvas->cmd_offset;
    cmd = nk_ptr_add(const struct nk_draw_command, memory, offset);
    return cmd;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x28fee
cmpq $0x0, 0x70(%rsi)
je 0x28fea
cmpl $0x0, 0xd0(%rdi)
je 0x28fea
movq 0x48(%rsi), %rbx
subq 0xd8(%rdi), %rbx
addq 0x40(%rsi), %rbx
jmp 0x2901c
xorl %ebx, %ebx
jmp 0x2901c
movq 0x5dffb(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x47d9d(%rip), %rsi     # 0x70d9c
leaq 0x47db4(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x2550, %ecx           # imm = 0x2550
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq %rbx, %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__draw_list_end
NK_API const struct nk_draw_command*
nk__draw_list_end(const struct nk_draw_list *canvas, const struct nk_buffer *buffer)
{
    nk_size size;
    nk_size offset;
    nk_byte *memory;
    const struct nk_draw_command *end;

    NK_ASSERT(buffer);
    NK_ASSERT(canvas);
    if (!buffer || !canvas)
        return 0;

    memory = (nk_byte*)buffer->memory.ptr;
    size = buffer->memory.size;
    offset = size - canvas->cmd_offset;
    end = nk_ptr_add(const struct nk_draw_command, memory, offset);
    end -= (canvas->cmd_count-1);
    return end;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x2905a
testq %r14, %r14
je 0x2908d
movq 0x48(%rsi), %rbx
subq 0xd8(%r14), %rbx
addq 0x40(%rsi), %rbx
movl 0xd0(%r14), %eax
decl %eax
shlq $0x5, %rax
subq %rax, %rbx
jmp 0x290bb
movq 0x5df8f(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x47d31(%rip), %rsi     # 0x70d9c
leaq 0x47d48(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x2561, %ecx           # imm = 0x2561
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
testq %r14, %r14
jne 0x290bb
movq 0x5df5c(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x47cfe(%rip), %rsi     # 0x70d9c
leaq 0x47d15(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x2562, %ecx           # imm = 0x2562
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk__draw_list_next
NK_API const struct nk_draw_command*
nk__draw_list_next(const struct nk_draw_command *cmd,
    const struct nk_buffer *buffer, const struct nk_draw_list *canvas)
{
    const struct nk_draw_command *end;
    NK_ASSERT(buffer);
    NK_ASSERT(canvas);
    if (!cmd || !buffer || !canvas)
        return 0;

    end = nk__draw_list_end(canvas, buffer);
    if (cmd <= end) return 0;
    return (cmd-1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rsi, %rsi
jne 0x29108
movq 0x5df0f(%rip), %r12     # 0x86ff0
movq (%r12), %rdi
leaq 0x47cb0(%rip), %rsi     # 0x70d9c
leaq 0x47cc7(%rip), %rdx     # 0x70dba
movl $0x2572, %ecx           # imm = 0x2572
xorl %eax, %eax
callq 0x12d80
movq (%r12), %rdi
callq 0x13780
testq %r14, %r14
je 0x2914c
testq %r15, %r15
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x2917d
movq 0x48(%r15), %rax
subq 0xd8(%r14), %rax
addq 0x40(%r15), %rax
movl 0xd0(%r14), %ecx
decl %ecx
shlq $0x5, %rcx
subq %rcx, %rax
leaq -0x20(%rbx), %rcx
xorl %r14d, %r14d
cmpq %rbx, %rax
cmovbq %rcx, %r14
jmp 0x29180
movq 0x5de9d(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x47c3f(%rip), %rsi     # 0x70d9c
leaq 0x47c56(%rip), %rdx     # 0x70dba
xorl %r14d, %r14d
movl $0x2573, %ecx           # imm = 0x2573
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
callq 0x13780
jmp 0x29180
xorl %r14d, %r14d
movq %r14, %rax
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_draw_list_alloc_vertices
NK_INTERN void*
nk_draw_list_alloc_vertices(struct nk_draw_list *list, nk_size count)
{
    void *vtx;
    NK_ASSERT(list);
    if (!list) return 0;
    vtx = nk_buffer_alloc(list->vertices, NK_BUFFER_FRONT,
        list->config.vertex_size*count, list->config.vertex_alignment);
    if (!vtx) return 0;
    list->vertex_count += (unsigned int)count;

    /* This assert triggers because your are drawing a lot of stuff and nuklear
     * defined `nk_draw_index` as `nk_ushort` to safe space be default.
     *
     * So you reached the maximum number of indices or rather vertexes.
     * To solve this issue please change typedef `nk_draw_index` to `nk_uint`
     * and don't forget to specify the new element size in your drawing
     * backend (OpenGL, DirectX, ...). For example in OpenGL for `glDrawElements`
     * instead of specifying `GL_UNSIGNED_SHORT` you have to define `GL_UNSIGNED_INT`.
     * Sorry for the inconvenience. */
    if(sizeof(nk_draw_index)==2) NK_ASSERT((list->vertex_count < NK_USHORT_MAX &&
        "To many vertices for 16-bit vertex indices. Please read comment above on how to solve this problem"));
    return vtx;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0xa8(%rdi), %rcx
movq 0xb8(%rdi), %rdi
movq 0xa0(%r15), %rdx
imulq %rsi, %rdx
xorl %esi, %esi
callq 0x256b9
movq %rax, %rbx
testq %rax, %rax
je 0x29d22
addl 0xcc(%r15), %r14d
movl %r14d, 0xcc(%r15)
cmpl $0xffff, %r14d          # imm = 0xFFFF
jb 0x29d22
movq 0x5d2f3(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x47095(%rip), %rsi     # 0x70d9c
leaq 0x470ac(%rip), %rdx     # 0x70dba
movl $0x2603, %ecx           # imm = 0x2603
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_alloc_elements
NK_INTERN nk_draw_index*
nk_draw_list_alloc_elements(struct nk_draw_list *list, nk_size count)
{
    nk_draw_index *ids;
    struct nk_draw_command *cmd;
    NK_STORAGE const nk_size elem_align = NK_ALIGNOF(nk_draw_index);
    NK_STORAGE const nk_size elem_size = sizeof(nk_draw_index);
    NK_ASSERT(list);
    if (!list) return 0;

    ids = (nk_draw_index*)
        nk_buffer_alloc(list->elements, NK_BUFFER_FRONT, elem_size*count, elem_align);
    if (!ids) return 0;
    cmd = nk_draw_list_command_last(list);
    list->element_count += (unsigned int)count;
    cmd->elem_count += (unsigned int)count;
    return ids;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0xc0(%rdi), %rdi
leaq (%rsi,%rsi), %rdx
movl $0x2, %ecx
xorl %esi, %esi
callq 0x256b9
movq %rax, %r15
testq %rax, %rax
je 0x29d66
movq %r14, %rdi
callq 0x2a720
addl %ebx, 0xc8(%r14)
addl %ebx, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_path_clear
NK_API void
nk_draw_list_path_clear(struct nk_draw_list *list)
{
    NK_ASSERT(list);
    if (!list) return;
    nk_buffer_reset(list->buffer, NK_BUFFER_FRONT);
    list->path_count = 0;
    list->path_offset = 0;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x2a588
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
xorl %esi, %esi
callq 0x127a0
movq $0x0, 0xe0(%rbx)
popq %rbx
retq
movq 0x5ca61(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x46803(%rip), %rsi     # 0x70d9c
leaq 0x4681a(%rip), %rdx     # 0x70dba
movl $0x2822, %ecx           # imm = 0x2822
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
popq %rbx
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_path_line_to
NK_API void
nk_draw_list_path_line_to(struct nk_draw_list *list, struct nk_vec2 pos)
{
    struct nk_vec2 *points = 0;
    struct nk_draw_command *cmd = 0;
    NK_ASSERT(list);
    if (!list) return;
    if (!list->cmd_count)
        nk_draw_list_add_clip(list, nk_null_rect);

    cmd = nk_draw_list_command_last(list);
    if (cmd && cmd->texture.ptr != list->config.tex_null.texture.ptr)
        nk_draw_list_push_image(list, list->config.tex_null.texture);

    points = nk_draw_list_alloc_path(list, 1);
    if (!points) return;
    points[0] = pos;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
testq %rdi, %rdi
je 0x2a663
movq %rdi, %rbx
movaps %xmm0, (%rsp)
cmpl $0x0, 0xd0(%rdi)
jne 0x2a5eb
movaps 0x42f14(%rip), %xmm0    # 0x6d4f0
movaps 0x42f1d(%rip), %xmm1    # 0x6d500
movq %rbx, %rdi
callq 0x2a696
movq %rbx, %rdi
callq 0x2a720
testq %rax, %rax
je 0x2a60d
movq 0x88(%rbx), %rsi
cmpq %rsi, 0x18(%rax)
je 0x2a60d
movq %rbx, %rdi
callq 0x2a798
movq 0xb0(%rbx), %rdi
movl $0x8, %edx
movl $0x4, %ecx
xorl %esi, %esi
callq 0x256b9
testq %rax, %rax
je 0x2a65b
movq %rax, %r14
cmpl $0x0, 0xe4(%rbx)
jne 0x2a64d
movq 0xb0(%rbx), %rdi
callq 0x13080
movl %r14d, %ecx
subl %eax, %ecx
movl %ecx, 0xe4(%rbx)
incl 0xe0(%rbx)
movaps (%rsp), %xmm0
movlps %xmm0, (%r14)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq 0x5c986(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x46728(%rip), %rsi     # 0x70d9c
leaq 0x4673f(%rip), %rdx     # 0x70dba
movl $0x282d, %ecx           # imm = 0x282D
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_add_clip
NK_INTERN void
nk_draw_list_add_clip(struct nk_draw_list *list, struct nk_rect rect)
{
    NK_ASSERT(list);
    if (!list) return;
    if (!list->cmd_count) {
        nk_draw_list_push_command(list, rect, list->config.tex_null.texture);
    } else {
        struct nk_draw_command *prev = nk_draw_list_command_last(list);
        if (prev->elem_count == 0)
            prev->clip_rect = rect;
        nk_draw_list_push_command(list, rect, prev->texture);
    }
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
testq %rdi, %rdi
je 0x2a6db
movq %rdi, %rbx
cmpl $0x0, 0xd0(%rdi)
je 0x2a70c
movq %rbx, %rdi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x2a720
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
cmpl $0x0, (%rax)
jne 0x2a6d5
movaps %xmm0, %xmm2
movlhps %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movups %xmm2, 0x4(%rax)
movq 0x18(%rax), %rsi
jmp 0x2a713
movq 0x5c90e(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x466b0(%rip), %rsi     # 0x70d9c
leaq 0x466c7(%rip), %rdx     # 0x70dba
movl $0x25c7, %ecx           # imm = 0x25C7
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x20, %rsp
popq %rbx
jmp 0x13780
movq 0x88(%rbx), %rsi
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0x54145
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_command_last
NK_INTERN struct nk_draw_command*
nk_draw_list_command_last(struct nk_draw_list *list)
{
    void *memory;
    nk_size size;
    struct nk_draw_command *cmd;
    NK_ASSERT(list->cmd_count);

    memory = nk_buffer_memory(list->buffer);
    size = nk_buffer_total(list->buffer);
    cmd = nk_ptr_add(struct nk_draw_command, memory, size - list->cmd_offset);
    return (cmd - (list->cmd_count-1));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0xd0(%rdi)
jne 0x2a75c
movq 0x5c8b9(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x4665b(%rip), %rsi     # 0x70d9c
leaq 0x46672(%rip), %rdx     # 0x70dba
movl $0x25bd, %ecx           # imm = 0x25BD
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
movq 0xb0(%rbx), %rdi
callq 0x13080
movq %rax, %r14
movq 0xb0(%rbx), %rdi
callq 0x14030
subq 0xd8(%rbx), %rax
addq %r14, %rax
movl 0xd0(%rbx), %ecx
decl %ecx
shlq $0x5, %rcx
subq %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_draw_list_push_image
NK_INTERN void
nk_draw_list_push_image(struct nk_draw_list *list, nk_handle texture)
{
    NK_ASSERT(list);
    if (!list) return;
    if (!list->cmd_count) {
        nk_draw_list_push_command(list, nk_null_rect, texture);
    } else {
        struct nk_draw_command *prev = nk_draw_list_command_last(list);
        if (prev->elem_count == 0) {
            prev->texture = texture;
        #ifdef NK_INCLUDE_COMMAND_USERDATA
            prev->userdata = list->userdata;
        #endif
    } else if (prev->texture.id != texture.id
        #ifdef NK_INCLUDE_COMMAND_USERDATA
            || prev->userdata.id != list->userdata.id
        #endif
        ) nk_draw_list_push_command(list, prev->clip_rect, texture);
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x0, 0xd0(%rdi)
je 0x2a7c9
movq %r14, %rdi
callq 0x2a720
cmpl $0x0, (%rax)
je 0x2a7e9
cmpl %ebx, 0x18(%rax)
je 0x2a7ed
movsd 0x4(%rax), %xmm0
movsd 0xc(%rax), %xmm1
jmp 0x2a7d7
movaps 0x42d20(%rip), %xmm0    # 0x6d4f0
movaps 0x42d29(%rip), %xmm1    # 0x6d500
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x54145
movq %rbx, 0x18(%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_draw_list_path_arc_to_fast
NK_API void
nk_draw_list_path_arc_to_fast(struct nk_draw_list *list, struct nk_vec2 center,
    float radius, int a_min, int a_max)
{
    int a = 0;
    NK_ASSERT(list);
    if (!list) return;
    if (a_min <= a_max) {
        for (a = a_min; a <= a_max; a++) {
            const struct nk_vec2 c = list->circle_vtx[(nk_size)a % NK_LEN(list->circle_vtx)];
            const float x = center.x + c.x * radius;
            const float y = center.y + c.y * radius;
            nk_draw_list_path_line_to(list, nk_vec2(x, y));
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
testq %rdi, %rdi
je 0x2a884
movl %edx, %ebx
cmpl %edx, %esi
jg 0x2a876
movaps %xmm0, %xmm2
movq %rdi, %r14
movslq %esi, %r15
shufps $0x0, %xmm1, %xmm1      # xmm1 = xmm1[0,0,0,0]
leaq (%rdi,%r15,8), %r12
addq $0x10, %r12
subl %esi, %ebx
incl %ebx
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq %r15, %rax
mulq %r13
shlq $0x2, %rdx
andq $-0x20, %rdx
leaq (%rdx,%rdx,2), %rax
negq %rax
movsd (%r12,%rax), %xmm0
mulps %xmm1, %xmm0
addps %xmm2, %xmm0
movq %r14, %rdi
callq 0x12970
movaps (%rsp), %xmm2
movaps 0x10(%rsp), %xmm1
incq %r15
addq $0x8, %r12
decl %ebx
jne 0x2a839
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x5c765(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x46507(%rip), %rsi     # 0x70d9c
leaq 0x4651e(%rip), %rdx     # 0x70dba
movl $0x283f, %ecx           # imm = 0x283F
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_path_curve_to
NK_API void
nk_draw_list_path_curve_to(struct nk_draw_list *list, struct nk_vec2 p2,
    struct nk_vec2 p3, struct nk_vec2 p4, unsigned int num_segments)
{
    float t_step;
    unsigned int i_step;
    struct nk_vec2 p1;

    NK_ASSERT(list);
    NK_ASSERT(list->path_count);
    if (!list || !list->path_count) return;
    num_segments = NK_MAX(num_segments, 1);

    p1 = nk_draw_list_path_last(list);
    t_step = 1.0f/(float)num_segments;
    for (i_step = 1; i_step <= num_segments; ++i_step) {
        float t = t_step * (float)i_step;
        float u = 1.0f - t;
        float w1 = u*u*u;
        float w2 = 3*u*u*t;
        float w3 = 3*u*t*t;
        float w4 = t * t *t;
        float x = w1 * p1.x + w2 * p2.x + w3 * p3.x + w4 * p4.x;
        float y = w1 * p1.y + w2 * p2.y + w3 * p3.y + w4 * p4.y;
        nk_draw_list_path_line_to(list, nk_vec2(x,y));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebx
movaps %xmm2, 0x40(%rsp)
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movq %rdi, %r14
testq %rdi, %rdi
jne 0x2ac81
movq 0x5c394(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x46136(%rip), %rsi     # 0x70d9c
leaq 0x4614d(%rip), %rdx     # 0x70dba
movl $0x2896, %ecx           # imm = 0x2896
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpl $0x0, 0xe0(%r14)
jne 0x2acc5
movq 0x5c35e(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x46100(%rip), %rsi     # 0x70d9c
leaq 0x46117(%rip), %rdx     # 0x70dba
movl $0x2897, %ecx           # imm = 0x2897
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpl $0x0, 0xe0(%r14)
je 0x2ad9f
cmpl $0x1, %ebx
adcl $0x0, %ebx
movq 0xb0(%r14), %rdi
callq 0x13080
movl 0xe0(%r14), %ecx
movl 0xe4(%r14), %edx
addq %rax, %rdx
decl %ecx
movsd (%rdx,%rcx,8), %xmm0
movaps %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2ss %rbx, %xmm0
movss 0x42ba0(%rip), %xmm1    # 0x6d8a4
divss %xmm0, %xmm1
movss %xmm1, 0xc(%rsp)
movl $0x1, %ebp
movl %ebp, %eax
xorps %xmm3, %xmm3
cvtsi2ss %rax, %xmm3
mulss 0xc(%rsp), %xmm3
movss 0x42b79(%rip), %xmm4    # 0x6d8a4
subss %xmm3, %xmm4
movaps %xmm4, %xmm2
mulss %xmm4, %xmm2
mulss %xmm4, %xmm2
movaps %xmm4, %xmm1
mulss 0x42b9f(%rip), %xmm1    # 0x6d8e4
mulss %xmm1, %xmm4
mulss %xmm3, %xmm4
mulss %xmm3, %xmm1
mulss %xmm3, %xmm1
movaps %xmm3, %xmm0
mulss %xmm3, %xmm0
mulss %xmm3, %xmm0
shufps $0x0, %xmm4, %xmm4      # xmm4 = xmm4[0,0,0,0]
mulps 0x20(%rsp), %xmm4
shufps $0x0, %xmm2, %xmm2      # xmm2 = xmm2[0,0,0,0]
mulps 0x10(%rsp), %xmm2
addps %xmm4, %xmm2
shufps $0x0, %xmm1, %xmm1      # xmm1 = xmm1[0,0,0,0]
mulps 0x30(%rsp), %xmm1
addps %xmm2, %xmm1
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
mulps 0x40(%rsp), %xmm0
addps %xmm1, %xmm0
movq %r14, %rdi
callq 0x12970
incl %ebp
cmpl %ebx, %ebp
jbe 0x2ad13
addq $0x58, %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_draw_list_path_fill
NK_API void
nk_draw_list_path_fill(struct nk_draw_list *list, struct nk_color color)
{
    struct nk_vec2 *points;
    NK_ASSERT(list);
    if (!list) return;
    points = (struct nk_vec2*)nk_buffer_memory(list->buffer);
    nk_draw_list_fill_poly_convex(list, points, list->path_count, color, list->config.shape_AA);
    nk_draw_list_path_clear(list);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2adfa
movl %esi, %ebp
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
callq 0x13080
movl 0x78(%rbx), %r8d
movl 0xe0(%rbx), %edx
movq %rbx, %rdi
movq %rax, %rsi
movl %ebp, %ecx
callq 0x12390
movq 0xb0(%rbx), %rdi
xorl %esi, %esi
callq 0x127a0
movq $0x0, 0xe0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq 0x5c1ef(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x45f91(%rip), %rsi     # 0x70d9c
leaq 0x45fa8(%rip), %rdx     # 0x70dba
movl $0x28ad, %ecx           # imm = 0x28AD
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x13780
// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_path_stroke
NK_API void
nk_draw_list_path_stroke(struct nk_draw_list *list, struct nk_color color,
    enum nk_draw_list_stroke closed, float thickness)
{
    struct nk_vec2 *points;
    NK_ASSERT(list);
    if (!list) return;
    points = (struct nk_vec2*)nk_buffer_memory(list->buffer);
    nk_draw_list_stroke_poly_line(list, points, list->path_count, color,
        closed, thickness, list->config.line_AA);
    nk_draw_list_path_clear(list);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x2ae96
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
movss %xmm0, 0xc(%rsp)
callq 0x13080
movl 0x74(%rbx), %r9d
movl 0xe0(%rbx), %edx
movq %rbx, %rdi
movq %rax, %rsi
movl %r14d, %ecx
movl %ebp, %r8d
movss 0xc(%rsp), %xmm0
callq 0x13910
movq 0xb0(%rbx), %rdi
xorl %esi, %esi
callq 0x127a0
movq $0x0, 0xe0(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x5c153(%rip), %rbx     # 0x86ff0
movq (%rbx), %rdi
leaq 0x45ef5(%rip), %rsi     # 0x70d9c
leaq 0x45f0c(%rip), %rdx     # 0x70dba
movl $0x28b8, %ecx           # imm = 0x28B8
xorl %eax, %eax
callq 0x12d80
movq (%rbx), %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13780