// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_button_text_styled
NK_API nk_bool
nk_button_text_styled(struct nk_context *ctx,
    const struct nk_style_button *style, const char *title, int len)
{
    struct nk_window *win;
    struct nk_panel *layout;
    const struct nk_input *in;

    struct nk_rect bounds;
    enum nk_widget_layout_states state;

    NK_ASSERT(ctx);
    NK_ASSERT(style);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!style || !ctx || !ctx->current || !ctx->current->layout) return 0;

    win = ctx->current;
    layout = win->layout;
    state = nk_widget(&bounds, ctx);

    if (!state) return 0;
    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    return nk_do_button_text(&ctx->last_widget_state, &win->buffer, bounds,
                    title, len, style->text_alignment, ctx->button_behavior,
                    style, in, ctx->style.font);
}

// Assembly:
pushq %rbx
subq $0x80, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movl %ecx, 0x5c(%rsp)
cmpq $0x0, 0x70(%rsp)
jne 0x69096
movq 0x5bf86(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4832c(%rip), %rsi     # 0xb13a0
leaq 0x48343(%rip), %rdx     # 0xb13be
movl $0x5fa1, %ecx           # imm = 0x5FA1
movb $0x0, %al
callq 0x13ec0
movq 0x5bf62(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x69098
jmp 0x6909a
cmpq $0x0, 0x68(%rsp)
jne 0x690d5
movq 0x5bf47(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x482ed(%rip), %rsi     # 0xb13a0
leaq 0x48304(%rip), %rdx     # 0xb13be
movl $0x5fa2, %ecx           # imm = 0x5FA2
movb $0x0, %al
callq 0x13ec0
movq 0x5bf23(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x690d7
jmp 0x690d9
movq 0x70(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6911b
movq 0x5bf01(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x482a7(%rip), %rsi     # 0xb13a0
leaq 0x482be(%rip), %rdx     # 0xb13be
movl $0x5fa3, %ecx           # imm = 0x5FA3
movb $0x0, %al
callq 0x13ec0
movq 0x5bedd(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6911d
jmp 0x6911f
movq 0x70(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x69168
movq 0x5beb4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4825a(%rip), %rsi     # 0xb13a0
leaq 0x48271(%rip), %rdx     # 0xb13be
movl $0x5fa4, %ecx           # imm = 0x5FA4
movb $0x0, %al
callq 0x13ec0
movq 0x5be90(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6916a
cmpq $0x0, 0x68(%rsp)
je 0x6919f
cmpq $0x0, 0x70(%rsp)
je 0x6919f
movq 0x70(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x6919f
movq 0x70(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x691ac
movl $0x0, 0x7c(%rsp)
jmp 0x69295
movq 0x70(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x70(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x139c0
movl %eax, 0x2c(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x691f5
movl $0x0, 0x7c(%rsp)
jmp 0x69295
cmpl $0x2, 0x2c(%rsp)
je 0x69215
cmpl $0x3, 0x2c(%rsp)
je 0x69215
movq 0x48(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x6921e
xorl %eax, %eax
movq %rax, 0x20(%rsp)
jmp 0x69228
movq 0x70(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x70(%rsp), %rax
movq %rax, %rdi
addq $0x2598, %rdi           # imm = 0x2598
movq 0x50(%rsp), %rsi
addq $0x68, %rsi
movq 0x60(%rsp), %rdx
movl 0x5c(%rsp), %ecx
movq 0x68(%rsp), %r10
movl 0x90(%r10), %r8d
movl 0x259c(%rax), %r9d
movq 0x40(%rsp), %r11
movq 0x168(%rax), %rbx
movsd 0x30(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
movq %rsp, %rax
movq %rbx, 0x10(%rax)
movq %r11, 0x8(%rax)
movq %r10, (%rax)
callq 0x5c360
movl %eax, 0x7c(%rsp)
movl 0x7c(%rsp), %eax
addq $0x80, %rsp
popq %rbx
retq
nopw %cs:(%rax,%rax)