// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_triangle
NK_API void
nk_stroke_triangle(struct nk_command_buffer *b, float x0, float y0, float x1,
    float y1, float x2, float y2, float line_thickness, struct nk_color c)
{
    struct nk_command_triangle *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0 || line_thickness <= 0) 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*)
        nk_command_buffer_push(b, NK_COMMAND_TRIANGLE, sizeof(*cmd));
    if (!cmd) return;
    cmd->line_thickness = (unsigned short)line_thickness;
    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 $0x48, %rsp
movl %esi, 0x44(%rsp)
movq %rdi, 0x38(%rsp)
movss %xmm0, 0x34(%rsp)
movss %xmm1, 0x30(%rsp)
movss %xmm2, 0x2c(%rsp)
movss %xmm3, 0x28(%rsp)
movss %xmm4, 0x24(%rsp)
movss %xmm5, 0x20(%rsp)
movss %xmm6, 0x1c(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x33032
movq 0x91fea(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7e390(%rip), %rsi     # 0xb13a0
leaq 0x7e3a7(%rip), %rdx     # 0xb13be
movl $0x2401, %ecx           # imm = 0x2401
movb $0x0, %al
callq 0x13ec0
movq 0x91fc6(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x33034
cmpq $0x0, 0x38(%rsp)
je 0x33050
movzbl 0x47(%rsp), %eax
cmpl $0x0, %eax
je 0x33050
xorps %xmm0, %xmm0
ucomiss 0x1c(%rsp), %xmm0
jb 0x33055
jmp 0x33263
movq 0x38(%rsp), %rax
cmpl $0x0, 0x18(%rax)
je 0x331af
movq 0x38(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movss (%rax), %xmm1
movss 0x34(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x330dc
movss 0x34(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss (%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x330dc
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x30(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x330dc
movss 0x30(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x331ad
movq 0x8(%rsp), %rax
movss (%rax), %xmm1
movss 0x2c(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33142
movss 0x2c(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss (%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x33142
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x28(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x33142
movss 0x28(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x331ad
movq 0x8(%rsp), %rax
movss (%rax), %xmm1
movss 0x24(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x331a8
movss 0x24(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss (%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x331a8
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x20(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jb 0x331a8
movss 0x20(%rsp), %xmm1
movq 0x8(%rsp), %rax
movss 0x4(%rax), %xmm0
movq 0x8(%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x331ad
jmp 0x33263
jmp 0x331af
movq 0x38(%rsp), %rdi
movl $0xb, %esi
movl $0x28, %edx
callq 0x31f50
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x331d5
jmp 0x33263
cvttss2si 0x1c(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x10(%rax)
cvttss2si 0x34(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x12(%rax)
cvttss2si 0x30(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x14(%rax)
cvttss2si 0x2c(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x16(%rax)
cvttss2si 0x28(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x18(%rax)
cvttss2si 0x24(%rsp), %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x1a(%rax)
movss 0x20(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x10(%rsp), %rax
movw %cx, 0x1c(%rax)
movq 0x10(%rsp), %rax
movl 0x44(%rsp), %ecx
movl %ecx, 0x1e(%rax)
addq $0x48, %rsp
retq
nopl (%rax,%rax)