// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_do_button_text_symbol
NK_LIB nk_bool
nk_do_button_text_symbol(nk_flags *state,
    struct nk_command_buffer *out, struct nk_rect bounds,
    enum nk_symbol_type symbol, const char *str, int len, nk_flags align,
    enum nk_button_behavior behavior, const struct nk_style_button *style,
    const struct nk_user_font *font, const struct nk_input *in)
{
    int ret;
    struct nk_rect tri = {0,0,0,0};
    struct nk_rect content;

    NK_ASSERT(style);
    NK_ASSERT(out);
    NK_ASSERT(font);
    if (!out || !style || !font)
        return nk_false;

    ret = nk_do_button(state, out, bounds, style, in, behavior, &content);
    tri.y = content.y + (content.h/2) - font->height/2;
    tri.w = font->height; tri.h = font->height;
    if (align & NK_TEXT_ALIGN_LEFT) {
        tri.x = (content.x + content.w) - (2 * style->padding.x + tri.w);
        tri.x = NK_MAX(tri.x, 0);
    } else tri.x = content.x + 2 * style->padding.x;

    /* draw button */
    if (style->draw_begin) style->draw_begin(out, style->userdata);
    nk_draw_button_text_symbol(out, &bounds, &content, &tri,
        *state, style, str, len, symbol, font);
    if (style->draw_end) style->draw_end(out, style->userdata);
    return ret;
}

// Assembly:
pushq %rbx
subq $0x90, %rsp
movq 0xb8(%rsp), %rax
movq 0xb0(%rsp), %rax
movq 0xa8(%rsp), %rax
movl 0xa0(%rsp), %eax
movlpd %xmm0, 0x7c(%rsp)
movlpd %xmm1, 0x84(%rsp)
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movl %edx, 0x64(%rsp)
movq %rcx, 0x58(%rsp)
movl %r8d, 0x54(%rsp)
movl %r9d, 0x50(%rsp)
leaq 0x3c(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x13c40
cmpq $0x0, 0xa8(%rsp)
jne 0x5d192
movq 0x67e8a(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54230(%rip), %rsi     # 0xb13a0
leaq 0x54247(%rip), %rdx     # 0xb13be
movl $0x5f16, %ecx           # imm = 0x5F16
movb $0x0, %al
callq 0x13ec0
movq 0x67e66(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5d194
jmp 0x5d196
cmpq $0x0, 0x68(%rsp)
jne 0x5d1d1
movq 0x67e4b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x541f1(%rip), %rsi     # 0xb13a0
leaq 0x54208(%rip), %rdx     # 0xb13be
movl $0x5f17, %ecx           # imm = 0x5F17
movb $0x0, %al
callq 0x13ec0
movq 0x67e27(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5d1d3
jmp 0x5d1d5
cmpq $0x0, 0xb0(%rsp)
jne 0x5d213
movq 0x67e09(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x541af(%rip), %rsi     # 0xb13a0
leaq 0x541c6(%rip), %rdx     # 0xb13be
movl $0x5f18, %ecx           # imm = 0x5F18
movb $0x0, %al
callq 0x13ec0
movq 0x67de5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5d215
cmpq $0x0, 0x68(%rsp)
je 0x5d233
cmpq $0x0, 0xa8(%rsp)
je 0x5d233
cmpq $0x0, 0xb0(%rsp)
jne 0x5d243
movl $0x0, 0x8c(%rsp)
jmp 0x5d446
movq 0x70(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0xb8(%rsp), %rcx
movl 0xa0(%rsp), %r8d
movsd 0x7c(%rsp), %xmm0
movsd 0x84(%rsp), %xmm1
leaq 0x2c(%rsp), %r9
callq 0x69770
movl %eax, 0x4c(%rsp)
movss 0x30(%rsp), %xmm0
movss 0x38(%rsp), %xmm1
movss 0x5024e(%rip), %xmm2    # 0xad4e4
divss %xmm2, %xmm1
addss %xmm1, %xmm0
movq 0xb0(%rsp), %rax
movss 0x8(%rax), %xmm1
movss 0x50231(%rip), %xmm2    # 0xad4e4
divss %xmm2, %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x40(%rsp)
movq 0xb0(%rsp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, 0x44(%rsp)
movq 0xb0(%rsp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, 0x48(%rsp)
movl 0x50(%rsp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5d356
movss 0x2c(%rsp), %xmm0
addss 0x34(%rsp), %xmm0
movq 0xa8(%rsp), %rax
movss 0xa0(%rax), %xmm1
movss 0x44(%rsp), %xmm2
addss %xmm1, %xmm1
addss %xmm2, %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x3c(%rsp)
xorps %xmm0, %xmm0
ucomiss 0x3c(%rsp), %xmm0
jbe 0x5d33c
xorps %xmm0, %xmm0
movss %xmm0, 0x28(%rsp)
jmp 0x5d348
movss 0x3c(%rsp), %xmm0
movss %xmm0, 0x28(%rsp)
movss 0x28(%rsp), %xmm0
movss %xmm0, 0x3c(%rsp)
jmp 0x5d37a
movss 0x2c(%rsp), %xmm1
movq 0xa8(%rsp), %rax
movss 0xa0(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x3c(%rsp)
movq 0xa8(%rsp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x5d3b1
movq 0xa8(%rsp), %rax
movq 0xc8(%rax), %rax
movq 0x68(%rsp), %rdi
movq 0xa8(%rsp), %rcx
movq 0xc0(%rcx), %rsi
callq *%rax
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rax
movl (%rax), %r8d
movq 0xa8(%rsp), %r9
movq 0x58(%rsp), %rbx
movl 0x54(%rsp), %r11d
movl 0x64(%rsp), %r10d
movq 0xb0(%rsp), %rax
leaq 0x7c(%rsp), %rsi
leaq 0x2c(%rsp), %rdx
leaq 0x3c(%rsp), %rcx
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x89570
movq 0xa8(%rsp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x5d43b
movq 0xa8(%rsp), %rax
movq 0xd0(%rax), %rax
movq 0x68(%rsp), %rdi
movq 0xa8(%rsp), %rcx
movq 0xc0(%rcx), %rsi
callq *%rax
movl 0x4c(%rsp), %eax
movl %eax, 0x8c(%rsp)
movl 0x8c(%rsp), %eax
addq $0x90, %rsp
popq %rbx
retq
nopw %cs:(%rax,%rax)