// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_stroke_rect
NK_API void
nk_stroke_rect(struct nk_command_buffer *b, struct nk_rect rect,
    float rounding, float line_thickness, struct nk_color c)
{
    struct nk_command_rect *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0 || rect.w == 0 || rect.h == 0 || line_thickness <= 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*)
        nk_command_buffer_push(b, NK_COMMAND_RECT, sizeof(*cmd));
    if (!cmd) return;
    cmd->rounding = (unsigned short)rounding;
    cmd->line_thickness = (unsigned short)line_thickness;
    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->color = c;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %esi, %ebx
movaps %xmm2, 0x30(%rsp)
movq %rdi, %r14
testq %rdi, %rdi
jne 0x25d49
movq 0x5f2e8(%rip), %r15     # 0x84ff0
movq (%r15), %rdi
leaq 0x43ffa(%rip), %rsi     # 0x69d0c
leaq 0x44011(%rip), %rdx     # 0x69d2a
movl $0x236c, %ecx           # imm = 0x236C
xorl %eax, %eax
movaps %xmm1, 0x20(%rsp)
movaps %xmm3, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x12ea0
movq (%r15), %rdi
callq 0x13960
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm3
movaps 0x20(%rsp), %xmm1
xorps %xmm2, %xmm2
ucomiss %xmm3, %xmm2
jae 0x25e65
testq %r14, %r14
je 0x25e65
cmpl $0x1000000, %ebx        # imm = 0x1000000
jb 0x25e65
ucomiss %xmm2, %xmm1
jne 0x25d75
jnp 0x25e65
movaps %xmm1, %xmm5
shufps $0x55, %xmm1, %xmm5     # xmm5 = xmm5[1,1],xmm1[1,1]
ucomiss %xmm2, %xmm5
jne 0x25d87
jnp 0x25e65
cmpl $0x0, 0x18(%r14)
je 0x25ddc
movss 0x8(%r14), %xmm4
movaps %xmm0, %xmm2
addss %xmm1, %xmm2
ucomiss %xmm4, %xmm2
jbe 0x25e65
addss 0x10(%r14), %xmm4
ucomiss %xmm0, %xmm4
jbe 0x25e65
movss 0xc(%r14), %xmm4
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
addss %xmm2, %xmm5
ucomiss %xmm4, %xmm5
jbe 0x25e65
addss 0x14(%r14), %xmm4
ucomiss %xmm2, %xmm4
jbe 0x25e65
pushq $0x4
popq %rsi
pushq $0x20
popq %rdx
movq %r14, %rdi
movaps %xmm1, 0x20(%rsp)
movaps %xmm3, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x25a51
movaps (%rsp), %xmm1
movaps 0x10(%rsp), %xmm0
movaps 0x20(%rsp), %xmm2
testq %rax, %rax
je 0x25e65
movl %ebx, %ecx
shrl $0x18, %ecx
unpcklpd 0x30(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
shufps $0x42, %xmm1, %xmm0     # xmm0 = xmm0[2,0],xmm1[0,1]
cvttps2dq %xmm0, %xmm0
movdqa %xmm0, %xmm1
packssdw %xmm1, %xmm1
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
pshufd $0x6c, %xmm0, %xmm0     # xmm0 = xmm0[0,3,2,1]
pshuflw $0xec, %xmm0, %xmm0     # xmm0 = xmm0[0,3,2,3,4,5,6,7]
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
pshuflw $0x78, %xmm0, %xmm0     # xmm0 = xmm0[0,2,3,1,4,5,6,7]
movq %xmm0, 0x10(%rax)
pxor %xmm0, %xmm0
maxps %xmm0, %xmm2
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 $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq