LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/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 0x267f6
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x267f0
cmpl $0x0, 0x18(%rdi)
je 0x2676d
movss 0x8(%rdi), %xmm7
ucomiss %xmm7, %xmm0
jb 0x26713
movss 0x10(%rdi), %xmm6
addss %xmm7, %xmm6
ucomiss %xmm0, %xmm6
jbe 0x26713
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm1
jb 0x26713
addss 0x14(%rdi), %xmm6
ucomiss %xmm1, %xmm6
ja 0x2676d
ucomiss %xmm7, %xmm2
jb 0x2673a
movss 0x10(%rdi), %xmm6
addss %xmm7, %xmm6
ucomiss %xmm2, %xmm6
jbe 0x2673a
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm3
jb 0x2673a
addss 0x14(%rdi), %xmm6
ucomiss %xmm3, %xmm6
ja 0x2676d
ucomiss %xmm7, %xmm4
jb 0x267f0
addss 0x10(%rdi), %xmm7
ucomiss %xmm4, %xmm7
jbe 0x267f0
movss 0xc(%rdi), %xmm6
ucomiss %xmm6, %xmm5
jb 0x267f0
addss 0x14(%rdi), %xmm6
ucomiss %xmm5, %xmm6
jbe 0x267f0
pushq $0xc
popq %rsi
pushq $0x20
popq %rdx
movaps %xmm5, 0x50(%rsp)
movaps %xmm4, 0x40(%rsp)
movaps %xmm2, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm3, (%rsp)
callq 0x25a51
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 0x267f0
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 0x5e7f3(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x43505(%rip), %rsi     # 0x69d0c
leaq 0x4351c(%rip), %rdx     # 0x69d2a
movl $0x241c, %ecx           # imm = 0x241C
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x60, %rsp
popq %rbx
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x2687c
movq 0x5e7a7(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x434b8(%rip), %rsi     # 0x69d0c
leaq 0x434cf(%rip), %rdx     # 0x69d2a
movl $0x243a, %ecx           # imm = 0x243A
xorl %eax, %eax
movss %xmm0, 0xc(%rsp)
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movss 0xc(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jae 0x268fd
testq %r15, %r15
je 0x268fd
cmpl $0x1000000, %ebp        # imm = 0x1000000
jb 0x268fd
movslq %ebx, %rax
leaq 0x20(,%rax,4), %rdx
pushq $0xd
popq %rsi
movq %r15, %rdi
movss %xmm0, 0xc(%rsp)
callq 0x25a51
movss 0xc(%rsp), %xmm0
testq %rax, %rax
je 0x268fd
movl %ebp, %ecx
shrl $0x18, %ecx
movw %bp, 0x10(%rax)
shrl $0x10, %ebp
movb %bpl, 0x12(%rax)
movb %cl, 0x13(%rax)
cvttss2si %xmm0, %ecx
movw %cx, 0x14(%rax)
movw %bx, 0x16(%rax)
xorl %ecx, %ecx
testl %ebx, %ebx
cmovlel %ecx, %ebx
cmpq %rcx, %rbx
je 0x268fd
movsd (%r14,%rcx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x18(%rax,%rcx,4)
incq %rcx
jmp 0x268de
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_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 0x2697c
movl %ecx, %ebp
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x26977
movl %edx, %ebx
movq %rsi, %r14
movslq %edx, %rax
leaq 0x20(,%rax,4), %rdx
pushq $0xe
popq %rsi
callq 0x25a51
testq %rax, %rax
je 0x26977
movl %ebp, %ecx
shrl $0x18, %ecx
movw %bp, 0x10(%rax)
shrl $0x10, %ebp
movb %bpl, 0x12(%rax)
movb %cl, 0x13(%rax)
movw %bx, 0x14(%rax)
xorl %ecx, %ecx
testl %ebx, %ebx
cmovlel %ecx, %ebx
cmpq %rcx, %rbx
je 0x26977
movsd (%r14,%rcx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x16(%rax,%rcx,4)
incq %rcx
jmp 0x26958
popq %rbx
popq %r14
popq %rbp
retq
movq 0x5e66d(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x4337f(%rip), %rsi     # 0x69d0c
leaq 0x43396(%rip), %rdx     # 0x69d2a
movl $0x244f, %ecx           # imm = 0x244F
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
jne 0x26a01
movq 0x5e622(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x43333(%rip), %rsi     # 0x69d0c
leaq 0x4334a(%rip), %rdx     # 0x69d2a
movl $0x2464, %ecx           # imm = 0x2464
xorl %eax, %eax
movss %xmm0, 0xc(%rsp)
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
movss 0xc(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jae 0x26a82
testq %r15, %r15
je 0x26a82
cmpl $0x1000000, %ebp        # imm = 0x1000000
jb 0x26a82
movslq %ebx, %rax
leaq 0x20(,%rax,4), %rdx
pushq $0xf
popq %rsi
movq %r15, %rdi
movss %xmm0, 0xc(%rsp)
callq 0x25a51
movss 0xc(%rsp), %xmm0
testq %rax, %rax
je 0x26a82
movl %ebp, %ecx
shrl $0x18, %ecx
movw %bp, 0x10(%rax)
shrl $0x10, %ebp
movb %bpl, 0x12(%rax)
movb %cl, 0x13(%rax)
movw %bx, 0x16(%rax)
cvttss2si %xmm0, %ecx
movw %cx, 0x14(%rax)
xorl %ecx, %ecx
testl %ebx, %ebx
cmovlel %ecx, %ebx
cmpq %rcx, %rbx
je 0x26a82
movsd (%r14,%rcx,8), %xmm0
cvttps2dq %xmm0, %xmm0
pshuflw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3,4,5,6,7]
movd %xmm0, 0x18(%rax,%rcx,4)
incq %rcx
jmp 0x26a63
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_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 0x26b6f
movl %edx, %ebx
movq %rsi, %r14
cmpl $0x0, 0x18(%rdi)
je 0x26b0f
movss 0x10(%rdi), %xmm4
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm4
jne 0x26abd
jnp 0x26b67
movss 0x14(%rdi), %xmm5
ucomiss %xmm2, %xmm5
jne 0x26acd
jnp 0x26b67
movss 0x8(%rdi), %xmm2
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x26b67
addss %xmm2, %xmm4
ucomiss %xmm0, %xmm4
jbe 0x26b67
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm2
addps %xmm1, %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm3, %xmm2
jbe 0x26b67
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm3, %xmm5
ucomiss %xmm2, %xmm5
jbe 0x26b67
pushq $0x11
popq %rsi
pushq $0x38
popq %rdx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x25a51
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x26b67
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 0x5e47a(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x4318c(%rip), %rsi     # 0x69d0c
leaq 0x431a3(%rip), %rdx     # 0x69d2a
movl $0x2476, %ecx           # imm = 0x2476
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 0x2709d
movq %rdx, %r14
movq %rsi, %rbx
cmpl $0x0, 0x18(%rdi)
je 0x27048
movss 0x10(%rdi), %xmm4
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm4
jne 0x26ffa
jnp 0x27095
movss 0x14(%rdi), %xmm5
ucomiss %xmm2, %xmm5
jne 0x2700a
jnp 0x27095
movss 0x8(%rdi), %xmm2
movaps %xmm0, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm2, %xmm3
jbe 0x27095
addss %xmm2, %xmm4
ucomiss %xmm0, %xmm4
jbe 0x27095
movss 0xc(%rdi), %xmm3
movaps %xmm0, %xmm2
addps %xmm1, %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
ucomiss %xmm3, %xmm2
jbe 0x27095
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm3, %xmm5
ucomiss %xmm2, %xmm5
jbe 0x27095
pushq $0x12
popq %rsi
pushq $0x28
popq %rdx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x25a51
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testq %rax, %rax
je 0x27095
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 0x5df4c(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x42c5e(%rip), %rsi     # 0x69d0c
leaq 0x42c75(%rip), %rdx     # 0x69d2a
movl $0x24da, %ecx           # imm = 0x24DA
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x27526
movq %rdi, %rbx
movl $0xf0, %esi
callq 0x23ed0
xorl %r14d, %r14d
cmpq $0xc, %r14
je 0x2751e
cvtsi2ss %r14, %xmm0
divss 0x3f36f(%rip), %xmm0    # 0x66858
addss %xmm0, %xmm0
mulss 0x3f367(%rip), %xmm0    # 0x6685c
movss %xmm0, 0x4(%rsp)
callq 0x127f0
movss %xmm0, 0x10(%rbx,%r14,8)
movss 0x4(%rsp), %xmm0
callq 0x122f0
movss %xmm0, 0x14(%rbx,%r14,8)
incq %r14
jmp 0x274d6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x5dac3(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x427d5(%rip), %rsi     # 0x69d0c
leaq 0x427ec(%rip), %rdx     # 0x69d2a
movl $0x2524, %ecx           # imm = 0x2524
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 0x27765
cmpq $0x0, 0x70(%rsi)
je 0x27761
cmpl $0x0, 0xd0(%rdi)
je 0x27761
movq 0x48(%rsi), %rbx
subq 0xd8(%rdi), %rbx
addq 0x40(%rsi), %rbx
jmp 0x27793
xorl %ebx, %ebx
jmp 0x27793
movq 0x5d884(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x42596(%rip), %rsi     # 0x69d0c
leaq 0x425ad(%rip), %rdx     # 0x69d2a
xorl %ebx, %ebx
movl $0x2550, %ecx           # imm = 0x2550
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x277d1
testq %r14, %r14
je 0x27804
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 0x27832
movq 0x5d818(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x4252a(%rip), %rsi     # 0x69d0c
leaq 0x42541(%rip), %rdx     # 0x69d2a
xorl %ebx, %ebx
movl $0x2561, %ecx           # imm = 0x2561
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
testq %r14, %r14
jne 0x27832
movq 0x5d7e5(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x424f7(%rip), %rsi     # 0x69d0c
leaq 0x4250e(%rip), %rdx     # 0x69d2a
xorl %ebx, %ebx
movl $0x2562, %ecx           # imm = 0x2562
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x2787f
movq 0x5d798(%rip), %r12     # 0x84ff0
movq (%r12), %rdi
leaq 0x424a9(%rip), %rsi     # 0x69d0c
leaq 0x424c0(%rip), %rdx     # 0x69d2a
movl $0x2572, %ecx           # imm = 0x2572
xorl %eax, %eax
callq 0x12ea0
movq (%r12), %rdi
callq 0x13960
testq %r14, %r14
je 0x278c3
testq %r15, %r15
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x278f4
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 0x278f7
movq 0x5d726(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x42438(%rip), %rsi     # 0x69d0c
leaq 0x4244f(%rip), %rdx     # 0x69d2a
xorl %r14d, %r14d
movl $0x2573, %ecx           # imm = 0x2573
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
callq 0x13960
jmp 0x278f7
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x2403e
movq %rax, %rbx
testq %rax, %rax
je 0x28425
addl 0xcc(%r15), %r14d
movl %r14d, 0xcc(%r15)
cmpl $0xffff, %r14d          # imm = 0xFFFF
jb 0x28425
movq 0x5cbf0(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x41902(%rip), %rsi     # 0x69d0c
leaq 0x41919(%rip), %rdx     # 0x69d2a
movl $0x2603, %ecx           # imm = 0x2603
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x2
popq %rcx
xorl %esi, %esi
callq 0x2403e
movq %rax, %r15
testq %rax, %rax
je 0x28467
movq %r14, %rdi
callq 0x28dbd
addl %ebx, 0xc8(%r14)
addl %ebx, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0x28c29
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
xorl %esi, %esi
callq 0x12850
andq $0x0, 0xe0(%rbx)
popq %rbx
retq
movq 0x5c3c0(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x410d2(%rip), %rsi     # 0x69d0c
leaq 0x410e9(%rip), %rdx     # 0x69d2a
movl $0x2822, %ecx           # imm = 0x2822
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
popq %rbx
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 0x28d00
movq %rdi, %rbx
movaps %xmm0, (%rsp)
cmpl $0x0, 0xd0(%rdi)
jne 0x28c8c
movaps 0x3d873(%rip), %xmm0    # 0x664f0
movaps 0x3d87c(%rip), %xmm1    # 0x66500
movq %rbx, %rdi
callq 0x28d33
movq %rbx, %rdi
callq 0x28dbd
testq %rax, %rax
je 0x28cae
movq 0x88(%rbx), %rsi
cmpq %rsi, 0x18(%rax)
je 0x28cae
movq %rbx, %rdi
callq 0x28e35
movq 0xb0(%rbx), %rdi
pushq $0x8
popq %rdx
pushq $0x4
popq %rcx
xorl %esi, %esi
callq 0x2403e
testq %rax, %rax
je 0x28cf8
movq %rax, %r14
cmpl $0x0, 0xe4(%rbx)
jne 0x28cea
movq 0xb0(%rbx), %rdi
callq 0x131d0
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 0x5c2e9(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40ffb(%rip), %rsi     # 0x69d0c
leaq 0x41012(%rip), %rdx     # 0x69d2a
movl $0x282d, %ecx           # imm = 0x282D
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 0x28d78
movq %rdi, %rbx
cmpl $0x0, 0xd0(%rdi)
je 0x28da9
movq %rbx, %rdi
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x28dbd
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
cmpl $0x0, (%rax)
jne 0x28d72
movaps %xmm0, %xmm2
movlhps %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movups %xmm2, 0x4(%rax)
movq 0x18(%rax), %rsi
jmp 0x28db0
movq 0x5c271(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40f83(%rip), %rsi     # 0x69d0c
leaq 0x40f9a(%rip), %rdx     # 0x69d2a
movl $0x25c7, %ecx           # imm = 0x25C7
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x20, %rsp
popq %rbx
jmp 0x13960
movq 0x88(%rbx), %rsi
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0x4f1d1
// File: /workspace/github_c_makefile_star2_O2/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 0x28df9
movq 0x5c21c(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x40f2e(%rip), %rsi     # 0x69d0c
leaq 0x40f45(%rip), %rdx     # 0x69d2a
movl $0x25bd, %ecx           # imm = 0x25BD
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq 0xb0(%rbx), %rdi
callq 0x131d0
movq %rax, %r14
movq 0xb0(%rbx), %rdi
callq 0x14280
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_O2/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 0x28e66
movq %r14, %rdi
callq 0x28dbd
cmpl $0x0, (%rax)
je 0x28e86
cmpl %ebx, 0x18(%rax)
je 0x28e8a
movsd 0x4(%rax), %xmm0
movsd 0xc(%rax), %xmm1
jmp 0x28e74
movaps 0x3d683(%rip), %xmm0    # 0x664f0
movaps 0x3d68c(%rip), %xmm1    # 0x66500
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4f1d1
movq %rbx, 0x18(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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
movaps %xmm1, (%rsp)
movaps %xmm0, 0x10(%rsp)
testq %rdi, %rdi
je 0x28ebf
cmpl %edx, %esi
jle 0x28ef8
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x5c12a(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40e3c(%rip), %rsi     # 0x69d0c
leaq 0x40e53(%rip), %rdx     # 0x69d2a
movl $0x283f, %ecx           # imm = 0x283F
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x13960
movq %rdi, %rbx
movslq %esi, %r14
movslq %edx, %r15
movaps (%rsp), %xmm0
shufps $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movaps %xmm0, (%rsp)
leaq 0x10(%rdi,%r14,8), %r12
pushq $0xc
popq %r13
movq %r14, %rax
xorl %edx, %edx
divq %r13
cmpq %r15, %r14
jg 0x28eb1
imulq $-0x60, %rax, %rax
movsd (%r12,%rax), %xmm0
mulps (%rsp), %xmm0
addps 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq 0x12a20
incq %r14
addq $0x8, %r12
jmp 0x28f16
// File: /workspace/github_c_makefile_star2_O2/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 0x29283
movq 0x5bd92(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x40aa4(%rip), %rsi     # 0x69d0c
leaq 0x40abb(%rip), %rdx     # 0x69d2a
movl $0x2896, %ecx           # imm = 0x2896
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
cmpl $0x0, 0xe0(%r14)
jne 0x292c7
movq 0x5bd5c(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x40a6e(%rip), %rsi     # 0x69d0c
leaq 0x40a85(%rip), %rdx     # 0x69d2a
movl $0x2897, %ecx           # imm = 0x2897
xorl %eax, %eax
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
cmpl $0x0, 0xe0(%r14)
je 0x2939e
cmpl $0x1, %ebx
adcl $0x0, %ebx
movq 0xb0(%r14), %rdi
callq 0x131d0
movl 0xe0(%r14), %ecx
movl 0xe4(%r14), %edx
addq %rax, %rdx
decl %ecx
movsd (%rdx,%rcx,8), %xmm0
movaps %xmm0, 0x10(%rsp)
cvtsi2ss %rbx, %xmm0
movss 0x3d531(%rip), %xmm1    # 0x66834
divss %xmm0, %xmm1
movss %xmm1, 0xc(%rsp)
pushq $0x1
popq %rbp
cmpl %ebx, %ebp
ja 0x2939e
movl %ebp, %eax
cvtsi2ss %rax, %xmm3
mulss 0xc(%rsp), %xmm3
movss 0x3d507(%rip), %xmm4    # 0x66834
subss %xmm3, %xmm4
movaps %xmm4, %xmm2
mulss %xmm4, %xmm2
mulss %xmm4, %xmm2
movaps %xmm4, %xmm1
mulss 0x3d52d(%rip), %xmm1    # 0x66874
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 0x12a20
incl %ebp
jmp 0x29310
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_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 0x293e7
movl %esi, %ebp
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
callq 0x131d0
movl 0x78(%rbx), %r8d
movl 0xe0(%rbx), %edx
movq %rbx, %rdi
movq %rax, %rsi
movl %ebp, %ecx
callq 0x123d0
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x12040
movq 0x5bc02(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40914(%rip), %rsi     # 0x69d0c
leaq 0x4092b(%rip), %rdx     # 0x69d2a
movl $0x28ad, %ecx           # imm = 0x28AD
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/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 0x29471
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movq 0xb0(%rdi), %rdi
movss %xmm0, 0xc(%rsp)
callq 0x131d0
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 0x13b00
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x12040
movq 0x5bb78(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x4088a(%rip), %rsi     # 0x69d0c
leaq 0x408a1(%rip), %rdx     # 0x69d2a
movl $0x28b8, %ecx           # imm = 0x28B8
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13960
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_stroke_line
NK_API void
nk_draw_list_stroke_line(struct nk_draw_list *list, struct nk_vec2 a,
    struct nk_vec2 b, struct nk_color col, float thickness)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;
    if (list->line_AA == NK_ANTI_ALIASING_ON) {
        nk_draw_list_path_line_to(list, a);
        nk_draw_list_path_line_to(list, b);
    } else {
        nk_draw_list_path_line_to(list, nk_vec2_sub(a,nk_vec2(0.5f,0.5f)));
        nk_draw_list_path_line_to(list, nk_vec2_sub(b,nk_vec2(0.5f,0.5f)));
    }
    nk_draw_list_path_stroke(list,  col, NK_STROKE_OPEN, thickness);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x294e1
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x29514
movq %rdi, %r14
movaps %xmm1, 0x10(%rsp)
movss %xmm2, 0xc(%rsp)
cmpl $0x1, 0xe8(%rdi)
jne 0x2951c
movq %r14, %rdi
callq 0x12a20
movaps 0x10(%rsp), %xmm0
jmp 0x29537
movq 0x5bb08(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x4081a(%rip), %rsi     # 0x69d0c
leaq 0x40831(%rip), %rdx     # 0x69d2a
movl $0x28c3, %ecx           # imm = 0x28C3
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x28, %rsp
popq %rbx
popq %r14
retq
addps 0x3d0ed(%rip), %xmm0    # 0x66610
movq %r14, %rdi
callq 0x12a20
movaps 0x10(%rsp), %xmm0
addps 0x3d0d9(%rip), %xmm0    # 0x66610
movq %r14, %rdi
callq 0x12a20
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movss 0xc(%rsp), %xmm0
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13d80
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_fill_rect
NK_API void
nk_draw_list_fill_rect(struct nk_draw_list *list, struct nk_rect rect,
    struct nk_color col, float rounding)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;

    if (list->line_AA == NK_ANTI_ALIASING_ON) {
        nk_draw_list_path_rect_to(list, nk_vec2(rect.x, rect.y),
            nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding);
    } else {
        nk_draw_list_path_rect_to(list, nk_vec2(rect.x-0.5f, rect.y-0.5f),
            nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding);
    } nk_draw_list_path_fill(list,  col);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x2958a
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x295bd
movq %rdi, %r14
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
cmpl $0x1, 0xe8(%rdi)
je 0x295c5
movaps 0x3d08b(%rip), %xmm4    # 0x66610
addps %xmm0, %xmm4
jmp 0x295c8
movq 0x5ba5f(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40771(%rip), %rsi     # 0x69d0c
leaq 0x40788(%rip), %rdx     # 0x69d2a
movl $0x28d2, %ecx           # imm = 0x28D2
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movaps %xmm0, %xmm4
movlhps %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
shufps $0xe2, %xmm0, %xmm3     # xmm3 = xmm3[2,0],xmm0[2,3]
addps %xmm1, %xmm3
movq %r14, %rdi
movaps %xmm4, %xmm0
movaps %xmm3, %xmm1
callq 0x131b0
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x128b0
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_stroke_rect
NK_API void
nk_draw_list_stroke_rect(struct nk_draw_list *list, struct nk_rect rect,
    struct nk_color col, float rounding, float thickness)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;
    if (list->line_AA == NK_ANTI_ALIASING_ON) {
        nk_draw_list_path_rect_to(list, nk_vec2(rect.x, rect.y),
            nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding);
    } else {
        nk_draw_list_path_rect_to(list, nk_vec2(rect.x-0.5f, rect.y-0.5f),
            nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding);
    } nk_draw_list_path_stroke(list,  col, NK_STROKE_CLOSED, thickness);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x29629
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x2965c
movq %rdi, %r14
movss %xmm3, 0x4(%rsp)
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
cmpl $0x1, 0xe8(%rdi)
je 0x29664
movaps 0x3cfec(%rip), %xmm4    # 0x66610
addps %xmm0, %xmm4
jmp 0x29667
movq 0x5b9c0(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x406d2(%rip), %rsi     # 0x69d0c
leaq 0x406e9(%rip), %rdx     # 0x69d2a
movl $0x28e1, %ecx           # imm = 0x28E1
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movaps %xmm0, %xmm4
movlhps %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
shufps $0xe2, %xmm0, %xmm3     # xmm3 = xmm3[2,0],xmm0[2,3]
addps %xmm1, %xmm3
movq %r14, %rdi
movaps %xmm4, %xmm0
movaps %xmm3, %xmm1
callq 0x131b0
pushq $0x1
popq %rdx
movq %r14, %rdi
movl %ebx, %esi
movss 0x4(%rsp), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13d80
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_fill_triangle
NK_API void
nk_draw_list_fill_triangle(struct nk_draw_list *list, struct nk_vec2 a,
    struct nk_vec2 b, struct nk_vec2 c, struct nk_color col)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;
    nk_draw_list_path_line_to(list, a);
    nk_draw_list_path_line_to(list, b);
    nk_draw_list_path_line_to(list, c);
    nk_draw_list_path_fill(list, col);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x298b5
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x298e8
movq %rdi, %r14
movaps %xmm2, 0x10(%rsp)
movaps %xmm1, (%rsp)
callq 0x12a20
movq %r14, %rdi
movaps (%rsp), %xmm0
callq 0x12a20
movq %r14, %rdi
movaps 0x10(%rsp), %xmm0
callq 0x12a20
movq %r14, %rdi
movl %ebx, %esi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x128b0
movq 0x5b734(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40446(%rip), %rsi     # 0x69d0c
leaq 0x4045d(%rip), %rdx     # 0x69d2a
movl $0x2911, %ecx           # imm = 0x2911
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x28, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_stroke_triangle
NK_API void
nk_draw_list_stroke_triangle(struct nk_draw_list *list, struct nk_vec2 a,
    struct nk_vec2 b, struct nk_vec2 c, struct nk_color col, float thickness)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;
    nk_draw_list_path_line_to(list, a);
    nk_draw_list_path_line_to(list, b);
    nk_draw_list_path_line_to(list, c);
    nk_draw_list_path_stroke(list, col, NK_STROKE_CLOSED, thickness);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
testq %rdi, %rdi
je 0x29952
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x29985
movq %rdi, %r14
movss %xmm3, 0xc(%rsp)
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0x12a20
movq %r14, %rdi
movaps 0x10(%rsp), %xmm0
callq 0x12a20
movq %r14, %rdi
movaps 0x20(%rsp), %xmm0
callq 0x12a20
pushq $0x1
popq %rdx
movq %r14, %rdi
movl %ebx, %esi
movss 0xc(%rsp), %xmm0
addq $0x38, %rsp
popq %rbx
popq %r14
jmp 0x13d80
movq 0x5b697(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x403a9(%rip), %rsi     # 0x69d0c
leaq 0x403c0(%rip), %rdx     # 0x69d2a
movl $0x291c, %ecx           # imm = 0x291C
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x38, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x38, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_fill_circle
NK_API void
nk_draw_list_fill_circle(struct nk_draw_list *list, struct nk_vec2 center,
    float radius, struct nk_color col, unsigned int segs)
{
    float a_max;
    NK_ASSERT(list);
    if (!list || !col.a) return;
    a_max = NK_PI * 2.0f * ((float)segs - 1.0f) / (float)segs;
    nk_draw_list_path_arc_to(list, center, radius, 0.0f, a_max, segs);
    nk_draw_list_path_fill(list, col);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x299dd
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x29a10
movq %rdi, %r14
movl %edx, %eax
cvtsi2ss %rax, %xmm2
movss 0x3ce92(%rip), %xmm3    # 0x66844
addss %xmm2, %xmm3
mulss 0x3ceba(%rip), %xmm3    # 0x66878
divss %xmm2, %xmm3
xorps %xmm2, %xmm2
movl %edx, %esi
callq 0x13610
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x128b0
movq 0x5b60c(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x4031e(%rip), %rsi     # 0x69d0c
leaq 0x40335(%rip), %rdx     # 0x69d2a
movl $0x2928, %ecx           # imm = 0x2928
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_stroke_circle
NK_API void
nk_draw_list_stroke_circle(struct nk_draw_list *list, struct nk_vec2 center,
    float radius, struct nk_color col, unsigned int segs, float thickness)
{
    float a_max;
    NK_ASSERT(list);
    if (!list || !col.a) return;
    a_max = NK_PI * 2.0f * ((float)segs - 1.0f) / (float)segs;
    nk_draw_list_path_arc_to(list, center, radius, 0.0f, a_max, segs);
    nk_draw_list_path_stroke(list, col, NK_STROKE_CLOSED, thickness);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x29a77
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x29aaa
movq %rdi, %r14
movl %edx, %eax
movss %xmm2, 0x4(%rsp)
cvtsi2ss %rax, %xmm2
movss 0x3ce01(%rip), %xmm3    # 0x66844
addss %xmm2, %xmm3
mulss 0x3ce29(%rip), %xmm3    # 0x66878
divss %xmm2, %xmm3
xorps %xmm2, %xmm2
movl %edx, %esi
callq 0x13610
pushq $0x1
popq %rdx
movq %r14, %rdi
movl %ebx, %esi
movss 0x4(%rsp), %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13d80
movq 0x5b572(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x40284(%rip), %rsi     # 0x69d0c
leaq 0x4029b(%rip), %rdx     # 0x69d2a
movl $0x2933, %ecx           # imm = 0x2933
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13960
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_stroke_curve
NK_API void
nk_draw_list_stroke_curve(struct nk_draw_list *list, struct nk_vec2 p0,
    struct nk_vec2 cp0, struct nk_vec2 cp1, struct nk_vec2 p1,
    struct nk_color col, unsigned int segments, float thickness)
{
    NK_ASSERT(list);
    if (!list || !col.a) return;
    nk_draw_list_path_line_to(list, p0);
    nk_draw_list_path_curve_to(list, cp0, cp1, p1, segments);
    nk_draw_list_path_stroke(list, col, NK_STROKE_OPEN, thickness);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
testq %rdi, %rdi
je 0x29b1f
movl %esi, %ebx
cmpl $0x1000000, %esi        # imm = 0x1000000
jb 0x29b53
movl %edx, %ebp
movq %rdi, %r14
movss %xmm4, 0xc(%rsp)
movaps %xmm3, 0x30(%rsp)
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0x12a20
movq %r14, %rdi
movaps 0x10(%rsp), %xmm0
movaps 0x20(%rsp), %xmm1
movaps 0x30(%rsp), %xmm2
movl %ebp, %esi
callq 0x13fe0
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movss 0xc(%rsp), %xmm0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13d80
movq 0x5b4ca(%rip), %rbx     # 0x84ff0
movq (%rbx), %rdi
leaq 0x401dc(%rip), %rsi     # 0x69d0c
leaq 0x401f3(%rip), %rdx     # 0x69d2a
movl $0x293e, %ecx           # imm = 0x293E
xorl %eax, %eax
callq 0x12ea0
movq (%rbx), %rdi
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x13960
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq