// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_fill_rect
NK_API void
nk_fill_rect(struct nk_command_buffer *b, struct nk_rect rect,
    float rounding, struct nk_color c)
{
    struct nk_command_rect_filled *cmd;
    NK_ASSERT(b);
    if (!b || c.a == 0 || 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_filled*)
        nk_command_buffer_push(b, NK_COMMAND_RECT_FILLED, sizeof(*cmd));
    if (!cmd) return;
    cmd->rounding = (unsigned short)rounding;
    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:
subq $0x48, %rsp
movlpd %xmm0, 0x38(%rsp)
movlpd %xmm1, 0x40(%rsp)
movl %esi, 0x34(%rsp)
movq %rdi, 0x28(%rsp)
movss %xmm2, 0x24(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x3260a
movq 0x92a12(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7edb8(%rip), %rsi     # 0xb13a0
leaq 0x7edcf(%rip), %rdx     # 0xb13be
movl $0x2383, %ecx           # imm = 0x2383
movb $0x0, %al
callq 0x13ec0
movq 0x929ee(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3260c
cmpq $0x0, 0x28(%rsp)
je 0x32640
movzbl 0x37(%rsp), %eax
cmpl $0x0, %eax
je 0x32640
movss 0x40(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x32630
jp 0x32630
jmp 0x32640
movss 0x44(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x32645
jp 0x32645
jmp 0x327c1
movq 0x28(%rsp), %rax
cmpl $0x0, 0x18(%rax)
je 0x326db
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movss (%rax), %xmm1
movss 0x38(%rsp), %xmm0
addss 0x40(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x326d4
movss 0x38(%rsp), %xmm1
movq 0x10(%rsp), %rax
movss (%rax), %xmm0
movq 0x10(%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x326d4
movq 0x10(%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x3c(%rsp), %xmm0
addss 0x44(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x326d4
movss 0x3c(%rsp), %xmm1
movq 0x10(%rsp), %rax
movss 0x4(%rax), %xmm0
movq 0x10(%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x326d9
jmp 0x327c1
jmp 0x326db
movq 0x28(%rsp), %rdi
movl $0x5, %esi
movl $0x20, %edx
callq 0x31f50
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x32701
jmp 0x327c1
cvttss2si 0x24(%rsp), %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x10(%rax)
cvttss2si 0x38(%rsp), %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x12(%rax)
movss 0x3c(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x14(%rax)
movss 0x40(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x32757
movss 0x40(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x32762
xorps %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x32762
movss 0xc(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x16(%rax)
movss 0x44(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x32794
movss 0x44(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x3279f
xorps %xmm0, %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x3279f
movss 0x8(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x18(%rax)
movq 0x18(%rsp), %rax
movl 0x34(%rsp), %ecx
movl %ecx, 0x1a(%rax)
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)