// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_menu_begin_symbol_text
NK_API nk_bool
nk_menu_begin_symbol_text(struct nk_context *ctx, const char *title, int len,
    nk_flags align, enum nk_symbol_type sym, struct nk_vec2 size)
{
    struct nk_window *win;
    struct nk_rect header;
    const struct nk_input *in;
    int is_clicked = nk_false;
    nk_flags state;

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

    win = ctx->current;
    state = nk_widget(&header, ctx);
    if (!state) return 0;

    in = (state == NK_WIDGET_ROM || state == NK_WIDGET_DISABLED || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;
    if (nk_do_button_text_symbol(&ctx->last_widget_state, &win->buffer,
        header, sym, title, len, align, NK_BUTTON_DEFAULT, &ctx->style.menu_button,
        ctx->style.font, in)) is_clicked = nk_true;
    return nk_menu_begin(ctx, win, title, is_clicked, header, size);
}

// Assembly:
pushq %rbx
subq $0x80, %rsp
movlpd %xmm0, 0x74(%rsp)
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movl %edx, 0x5c(%rsp)
movl %ecx, 0x58(%rsp)
movl %r8d, 0x54(%rsp)
movl $0x0, 0x2c(%rsp)
cmpq $0x0, 0x68(%rsp)
jne 0x5eed8
movq 0x66144(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x524ea(%rip), %rsi     # 0xb13a0
leaq 0x52501(%rip), %rdx     # 0xb13be
movl $0x5477, %ecx           # imm = 0x5477
movb $0x0, %al
callq 0x13ec0
movq 0x66120(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5eeda
jmp 0x5eedc
movq 0x68(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x5ef1e
movq 0x660fe(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x524a4(%rip), %rsi     # 0xb13a0
leaq 0x524bb(%rip), %rdx     # 0xb13be
movl $0x5478, %ecx           # imm = 0x5478
movb $0x0, %al
callq 0x13ec0
movq 0x660da(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5ef20
jmp 0x5ef22
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x5ef6b
movq 0x660b1(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x52457(%rip), %rsi     # 0xb13a0
leaq 0x5246e(%rip), %rdx     # 0xb13be
movl $0x5479, %ecx           # imm = 0x5479
movb $0x0, %al
callq 0x13ec0
movq 0x6608d(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x5ef6d
cmpq $0x0, 0x68(%rsp)
je 0x5ef9a
movq 0x68(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x5ef9a
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x5efa7
movl $0x0, 0x7c(%rsp)
jmp 0x5f0c5
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x68(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x139c0
movl %eax, 0x28(%rsp)
cmpl $0x0, 0x28(%rsp)
jne 0x5efdf
movl $0x0, 0x7c(%rsp)
jmp 0x5f0c5
cmpl $0x2, 0x28(%rsp)
je 0x5f006
cmpl $0x3, 0x28(%rsp)
je 0x5f006
movq 0x48(%rsp), %rax
movq 0xa8(%rax), %rax
movl 0x4(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x5f00f
xorl %eax, %eax
movq %rax, 0x20(%rsp)
jmp 0x5f019
movq 0x68(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x68(%rsp), %rax
movq %rax, %rdi
addq $0x2598, %rdi           # imm = 0x2598
movq 0x48(%rsp), %rsi
addq $0x68, %rsi
movl 0x54(%rsp), %edx
movq 0x60(%rsp), %rcx
movl 0x5c(%rsp), %r8d
movl 0x58(%rsp), %r9d
movq %rax, %r10
addq $0x380, %r10            # imm = 0x380
movq 0x168(%rax), %r11
movq 0x30(%rsp), %rbx
movsd 0x38(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movq %rsp, %rax
movq %rbx, 0x18(%rax)
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movl $0x0, (%rax)
callq 0x5d0f0
cmpl $0x0, %eax
je 0x5f097
movl $0x1, 0x2c(%rsp)
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x60(%rsp), %rdx
movl 0x2c(%rsp), %ecx
movsd 0x38(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movsd 0x74(%rsp), %xmm2
callq 0x5df20
movl %eax, 0x7c(%rsp)
movl 0x7c(%rsp), %eax
addq $0x80, %rsp
popq %rbx
retq
nopw %cs:(%rax,%rax)