// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x48, %rsp
movlpd %xmm0, 0x38(%rsp)
movlpd %xmm1, 0x40(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x3453a
movq 0x90ae2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x7ce88(%rip), %rsi     # 0xb13a0
leaq 0x7ce9f(%rip), %rdx     # 0xb13be
movl $0x24da, %ecx           # imm = 0x24DA
movb $0x0, %al
callq 0x13ec0
movq 0x90abe(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x3453c
cmpq $0x0, 0x28(%rsp)
jne 0x34549
jmp 0x346f2
movq 0x28(%rsp), %rax
cmpl $0x0, 0x18(%rax)
je 0x3460e
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movss 0x8(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x3457f
jp 0x3457f
jmp 0x34607
movq 0x10(%rsp), %rax
movss 0xc(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x34595
jp 0x34595
jmp 0x34607
movq 0x10(%rsp), %rax
movss (%rax), %xmm1
movss 0x38(%rsp), %xmm0
addss 0x40(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x34607
movss 0x38(%rsp), %xmm1
movq 0x10(%rsp), %rax
movss (%rax), %xmm0
movq 0x10(%rsp), %rax
addss 0x8(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x34607
movq 0x10(%rsp), %rax
movss 0x4(%rax), %xmm1
movss 0x3c(%rsp), %xmm0
addss 0x44(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x34607
movss 0x3c(%rsp), %xmm1
movq 0x10(%rsp), %rax
movss 0x4(%rax), %xmm0
movq 0x10(%rsp), %rax
addss 0xc(%rax), %xmm0
ucomiss %xmm1, %xmm0
ja 0x3460c
jmp 0x346f2
jmp 0x3460e
movq 0x28(%rsp), %rdi
movl $0x12, %esi
movl $0x28, %edx
callq 0x31f50
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x34634
jmp 0x346f2
cvttss2si 0x38(%rsp), %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x10(%rax)
movss 0x3c(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x12(%rax)
movss 0x40(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x34678
movss 0x40(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x34683
xorps %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x34683
movss 0xc(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x14(%rax)
movss 0x44(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x346b5
movss 0x44(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x346c0
xorps %xmm0, %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x346c0
movss 0x8(%rsp), %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq 0x18(%rsp), %rax
movw %cx, 0x16(%rax)
movq 0x18(%rsp), %rax
movq 0x30(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x20(%rax)
addq $0x48, %rsp
retq
nopw (%rax,%rax)