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

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

    ret = nk_do_button(state, out, bounds, style, in, behavior, &content);
    if (style->draw_begin) style->draw_begin(out, style->userdata);
    nk_draw_button_text(out, &bounds, &content, *state, style, string, len, align, font);
    if (style->draw_end) style->draw_end(out, style->userdata);
    return ret;
}

// Assembly:
subq $0x68, %rsp
movq 0x80(%rsp), %rax
movq 0x78(%rsp), %rax
movq 0x70(%rsp), %rax
movlpd %xmm0, 0x54(%rsp)
movlpd %xmm1, 0x5c(%rsp)
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movl %ecx, 0x34(%rsp)
movl %r8d, 0x30(%rsp)
movl %r9d, 0x2c(%rsp)
movl $0x0, 0x18(%rsp)
cmpq $0x0, 0x48(%rsp)
jne 0x5c3e2
movq 0x68c3a(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54fe0(%rip), %rsi     # 0xb13a0
leaq 0x54ff7(%rip), %rdx     # 0xb13be
movl $0x5e89, %ecx           # imm = 0x5E89
movb $0x0, %al
callq 0x13ec0
movq 0x68c16(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5c3e4
jmp 0x5c3e6
cmpq $0x0, 0x70(%rsp)
jne 0x5c421
movq 0x68bfb(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54fa1(%rip), %rsi     # 0xb13a0
leaq 0x54fb8(%rip), %rdx     # 0xb13be
movl $0x5e8a, %ecx           # imm = 0x5E8A
movb $0x0, %al
callq 0x13ec0
movq 0x68bd7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5c423
jmp 0x5c425
cmpq $0x0, 0x40(%rsp)
jne 0x5c460
movq 0x68bbc(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54f62(%rip), %rsi     # 0xb13a0
leaq 0x54f79(%rip), %rdx     # 0xb13be
movl $0x5e8b, %ecx           # imm = 0x5E8B
movb $0x0, %al
callq 0x13ec0
movq 0x68b98(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5c462
jmp 0x5c464
cmpq $0x0, 0x38(%rsp)
jne 0x5c49f
movq 0x68b7d(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54f23(%rip), %rsi     # 0xb13a0
leaq 0x54f3a(%rip), %rdx     # 0xb13be
movl $0x5e8c, %ecx           # imm = 0x5E8C
movb $0x0, %al
callq 0x13ec0
movq 0x68b59(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5c4a1
jmp 0x5c4a3
cmpq $0x0, 0x80(%rsp)
jne 0x5c4e1
movq 0x68b3b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x54ee1(%rip), %rsi     # 0xb13a0
leaq 0x54ef8(%rip), %rdx     # 0xb13be
movl $0x5e8d, %ecx           # imm = 0x5E8D
movb $0x0, %al
callq 0x13ec0
movq 0x68b17(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5c4e3
cmpq $0x0, 0x40(%rsp)
je 0x5c506
cmpq $0x0, 0x70(%rsp)
je 0x5c506
cmpq $0x0, 0x80(%rsp)
je 0x5c506
cmpq $0x0, 0x38(%rsp)
jne 0x5c513
movl $0x0, 0x64(%rsp)
jmp 0x5c5ef
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x78(%rsp), %rcx
movl 0x2c(%rsp), %r8d
movsd 0x54(%rsp), %xmm0
movsd 0x5c(%rsp), %xmm1
leaq 0x1c(%rsp), %r9
callq 0x69770
movl %eax, 0x18(%rsp)
movq 0x70(%rsp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x5c574
movq 0x70(%rsp), %rax
movq 0xc8(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x70(%rsp), %rcx
movq 0xc0(%rcx), %rsi
callq *%rax
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rax
movl (%rax), %ecx
movq 0x70(%rsp), %r8
movq 0x38(%rsp), %r9
movl 0x34(%rsp), %r11d
movl 0x30(%rsp), %r10d
movq 0x80(%rsp), %rax
leaq 0x54(%rsp), %rsi
leaq 0x1c(%rsp), %rdx
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x893a0
movq 0x70(%rsp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x5c5e7
movq 0x70(%rsp), %rax
movq 0xd0(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x70(%rsp), %rcx
movq 0xc0(%rcx), %rsi
callq *%rax
movl 0x18(%rsp), %eax
movl %eax, 0x64(%rsp)
movl 0x64(%rsp), %eax
addq $0x68, %rsp
retq
nopl (%rax,%rax)