// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movl %esi, 0x34(%rsp)
movq %rdi, 0x28(%rsp)
movss %xmm0, 0x24(%rsp)
movss %xmm1, 0x20(%rsp)
movss %xmm2, 0x1c(%rsp)
movss %xmm3, 0x18(%rsp)
movss %xmm4, 0x14(%rsp)
movss %xmm5, 0x10(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x332dc
movq 0x91d40(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7e0e6(%rip), %rsi     # 0xb13a0
leaq 0x7e0fd(%rip), %rdx     # 0xb13be
movl $0x241c, %ecx           # imm = 0x241C
movb $0x0, %al
callq 0x13ec0
movq 0x91d1c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x332de
cmpq $0x0, 0x28(%rsp)
je 0x332f0
movzbl 0x37(%rsp), %eax
cmpl $0x0, %eax
jne 0x332f5
jmp 0x334e8
cmpq $0x0, 0x28(%rsp)
jne 0x33302
jmp 0x334e8
movq 0x28(%rsp), %rax
cmpl $0x0, 0x18(%rax)
je 0x33449
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, (%rsp)
movq (%rsp), %rax
movss (%rax), %xmm1
movss 0x24(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33382
movss 0x24(%rsp), %xmm1
movq (%rsp), %rax
movss (%rax), %xmm0
movq (%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x33382
movq (%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x20(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33382
movss 0x20(%rsp), %xmm1
movq (%rsp), %rax
movss 0x4(%rax), %xmm0
movq (%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x33447
movq (%rsp), %rax
movss (%rax), %xmm1
movss 0x1c(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x333e2
movss 0x1c(%rsp), %xmm1
movq (%rsp), %rax
movss (%rax), %xmm0
movq (%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x333e2
movq (%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x18(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x333e2
movss 0x18(%rsp), %xmm1
movq (%rsp), %rax
movss 0x4(%rax), %xmm0
movq (%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x33447
movq (%rsp), %rax
movss (%rax), %xmm1
movss 0x14(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33442
movss 0x14(%rsp), %xmm1
movq (%rsp), %rax
movss (%rax), %xmm0
movq (%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x33442
movq (%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x10(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33442
movss 0x10(%rsp), %xmm1
movq (%rsp), %rax
movss 0x4(%rax), %xmm0
movq (%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x33447
jmp 0x334e8
jmp 0x33449
movq 0x28(%rsp), %rdi
movl $0xc, %esi
movl $0x20, %edx
callq 0x31f50
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x3346c
jmp 0x334e8
cvttss2si 0x24(%rsp), %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x10(%rax)
cvttss2si 0x20(%rsp), %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x12(%rax)
cvttss2si 0x1c(%rsp), %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x14(%rax)
cvttss2si 0x18(%rsp), %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x16(%rax)
cvttss2si 0x14(%rsp), %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x18(%rax)
movss 0x10(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x8(%rsp), %rax
movw %cx, 0x1a(%rax)
movq 0x8(%rsp), %rax
movl 0x34(%rsp), %ecx
movl %ecx, 0x1c(%rax)
addq $0x38, %rsp
retq
nopl (%rax)