// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_draw_list_path_rect_to
NK_API void
nk_draw_list_path_rect_to(struct nk_draw_list *list, struct nk_vec2 a,
    struct nk_vec2 b, float rounding)
{
    float r;
    NK_ASSERT(list);
    if (!list) return;
    r = rounding;
    r = NK_MIN(r, ((b.x-a.x) < 0) ? -(b.x-a.x): (b.x-a.x));
    r = NK_MIN(r, ((b.y-a.y) < 0) ? -(b.y-a.y): (b.y-a.y));

    if (r == 0.0f) {
        nk_draw_list_path_line_to(list, a);
        nk_draw_list_path_line_to(list, nk_vec2(b.x,a.y));
        nk_draw_list_path_line_to(list, b);
        nk_draw_list_path_line_to(list, nk_vec2(a.x,b.y));
    } else {
        nk_draw_list_path_arc_to_fast(list, nk_vec2(a.x + r, a.y + r), r, 6, 9);
        nk_draw_list_path_arc_to_fast(list, nk_vec2(b.x - r, a.y + r), r, 9, 12);
        nk_draw_list_path_arc_to_fast(list, nk_vec2(b.x - r, b.y - r), r, 0, 3);
        nk_draw_list_path_arc_to_fast(list, nk_vec2(a.x + r, b.y - r), r, 3, 6);
    }
}

// Assembly:
subq $0xa8, %rsp
movlpd %xmm0, 0xa0(%rsp)
movlpd %xmm1, 0x98(%rsp)
movq %rdi, 0x90(%rsp)
movss %xmm2, 0x8c(%rsp)
cmpq $0x0, 0x90(%rsp)
jne 0x38e18
movq 0x8c204(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x785aa(%rip), %rsi     # 0xb13a0
leaq 0x785c1(%rip), %rdx     # 0xb13be
movl $0x287c, %ecx           # imm = 0x287C
movb $0x0, %al
callq 0x13ec0
movq 0x8c1e0(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x38e1a
cmpq $0x0, 0x90(%rsp)
jne 0x38e2a
jmp 0x39274
movss 0x8c(%rsp), %xmm0
movss %xmm0, 0x88(%rsp)
movss 0x88(%rsp), %xmm0
movss %xmm0, 0x54(%rsp)
movss 0x98(%rsp), %xmm1
subss 0xa0(%rsp), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x38e8c
movss 0x98(%rsp), %xmm0
subss 0xa0(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, 0x50(%rsp)
jmp 0x38ea4
movss 0x98(%rsp), %xmm0
subss 0xa0(%rsp), %xmm0
movss %xmm0, 0x50(%rsp)
movss 0x54(%rsp), %xmm1
movss 0x50(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x38ec6
movss 0x88(%rsp), %xmm0
movss %xmm0, 0x4c(%rsp)
jmp 0x38f2b
movss 0x98(%rsp), %xmm1
subss 0xa0(%rsp), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x38f07
movss 0x98(%rsp), %xmm0
subss 0xa0(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, 0x48(%rsp)
jmp 0x38f1f
movss 0x98(%rsp), %xmm0
subss 0xa0(%rsp), %xmm0
movss %xmm0, 0x48(%rsp)
movss 0x48(%rsp), %xmm0
movss %xmm0, 0x4c(%rsp)
movss 0x4c(%rsp), %xmm0
movss %xmm0, 0x88(%rsp)
movss 0x88(%rsp), %xmm0
movss %xmm0, 0x44(%rsp)
movss 0x9c(%rsp), %xmm1
subss 0xa4(%rsp), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x38f8a
movss 0x9c(%rsp), %xmm0
subss 0xa4(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, 0x40(%rsp)
jmp 0x38fa2
movss 0x9c(%rsp), %xmm0
subss 0xa4(%rsp), %xmm0
movss %xmm0, 0x40(%rsp)
movss 0x44(%rsp), %xmm1
movss 0x40(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x38fc4
movss 0x88(%rsp), %xmm0
movss %xmm0, 0x3c(%rsp)
jmp 0x39029
movss 0x9c(%rsp), %xmm1
subss 0xa4(%rsp), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jbe 0x39005
movss 0x9c(%rsp), %xmm0
subss 0xa4(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, 0x38(%rsp)
jmp 0x3901d
movss 0x9c(%rsp), %xmm0
subss 0xa4(%rsp), %xmm0
movss %xmm0, 0x38(%rsp)
movss 0x38(%rsp), %xmm0
movss %xmm0, 0x3c(%rsp)
movss 0x3c(%rsp), %xmm0
movss %xmm0, 0x88(%rsp)
movss 0x88(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x390fe
jp 0x390fe
movq 0x90(%rsp), %rdi
movsd 0xa0(%rsp), %xmm0
callq 0x13a50
movq 0x90(%rsp), %rax
movq %rax, 0x28(%rsp)
movss 0x98(%rsp), %xmm0
movss 0xa4(%rsp), %xmm1
callq 0x13460
movq 0x28(%rsp), %rdi
movlpd %xmm0, 0x80(%rsp)
movsd 0x80(%rsp), %xmm0
callq 0x13a50
movq 0x90(%rsp), %rdi
movsd 0x98(%rsp), %xmm0
callq 0x13a50
movq 0x90(%rsp), %rax
movq %rax, 0x30(%rsp)
movss 0xa0(%rsp), %xmm0
movss 0x9c(%rsp), %xmm1
callq 0x13460
movq 0x30(%rsp), %rdi
movlpd %xmm0, 0x78(%rsp)
movsd 0x78(%rsp), %xmm0
callq 0x13a50
jmp 0x39274
movq 0x90(%rsp), %rax
movq %rax, (%rsp)
movss 0x88(%rsp), %xmm2
movss 0xa0(%rsp), %xmm0
movss 0xa4(%rsp), %xmm1
addss %xmm2, %xmm0
addss %xmm2, %xmm1
callq 0x13460
movq (%rsp), %rdi
movlpd %xmm0, 0x70(%rsp)
movss 0x88(%rsp), %xmm1
movsd 0x70(%rsp), %xmm0
movl $0x6, %esi
movl $0x9, %edx
movl %edx, 0x14(%rsp)
callq 0x13fe0
movq 0x90(%rsp), %rax
movq %rax, 0x8(%rsp)
movss 0x98(%rsp), %xmm0
movss 0x88(%rsp), %xmm2
subss %xmm2, %xmm0
movss 0xa4(%rsp), %xmm1
addss %xmm2, %xmm1
callq 0x13460
movq 0x8(%rsp), %rdi
movl 0x14(%rsp), %esi
movlpd %xmm0, 0x68(%rsp)
movss 0x88(%rsp), %xmm1
movsd 0x68(%rsp), %xmm0
movl $0xc, %edx
callq 0x13fe0
movq 0x90(%rsp), %rax
movq %rax, 0x18(%rsp)
movss 0x88(%rsp), %xmm2
movss 0x98(%rsp), %xmm0
movss 0x9c(%rsp), %xmm1
subss %xmm2, %xmm0
subss %xmm2, %xmm1
callq 0x13460
movq 0x18(%rsp), %rdi
movlpd %xmm0, 0x60(%rsp)
movss 0x88(%rsp), %xmm1
movsd 0x60(%rsp), %xmm0
xorl %esi, %esi
movl $0x3, %edx
callq 0x13fe0
movq 0x90(%rsp), %rax
movq %rax, 0x20(%rsp)
movss 0xa0(%rsp), %xmm0
movss 0x88(%rsp), %xmm2
addss %xmm2, %xmm0
movss 0x9c(%rsp), %xmm1
subss %xmm2, %xmm1
callq 0x13460
movq 0x20(%rsp), %rdi
movlpd %xmm0, 0x58(%rsp)
movss 0x88(%rsp), %xmm1
movsd 0x58(%rsp), %xmm0
movl $0x3, %esi
movl $0x6, %edx
callq 0x13fe0
addq $0xa8, %rsp
retq
nopl (%rax)