// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_disable_begin
NK_API void
nk_widget_disable_begin(struct nk_context* ctx)
{
    struct nk_window* win;
    struct nk_style* style;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);

    if (!ctx || !ctx->current)
        return;

    win = ctx->current;
    style = &ctx->style;

    win->widgets_disabled = nk_true;

    style->button.color_factor_text = style->button.disabled_factor;
    style->button.color_factor_background = style->button.disabled_factor;
    style->chart.color_factor = style->chart.disabled_factor;
    style->checkbox.color_factor = style->checkbox.disabled_factor;
    style->combo.color_factor = style->combo.disabled_factor;
    style->combo.button.color_factor_text = style->combo.button.disabled_factor;
    style->combo.button.color_factor_background = style->combo.button.disabled_factor;
    style->contextual_button.color_factor_text = style->contextual_button.disabled_factor;
    style->contextual_button.color_factor_background = style->contextual_button.disabled_factor;
    style->edit.color_factor = style->edit.disabled_factor;
    style->edit.scrollbar.color_factor = style->edit.scrollbar.disabled_factor;
    style->menu_button.color_factor_text = style->menu_button.disabled_factor;
    style->menu_button.color_factor_background = style->menu_button.disabled_factor;
    style->option.color_factor = style->option.disabled_factor;
    style->progress.color_factor = style->progress.disabled_factor;
    style->property.color_factor = style->property.disabled_factor;
    style->property.inc_button.color_factor_text = style->property.inc_button.disabled_factor;
    style->property.inc_button.color_factor_background = style->property.inc_button.disabled_factor;
    style->property.dec_button.color_factor_text = style->property.dec_button.disabled_factor;
    style->property.dec_button.color_factor_background = style->property.dec_button.disabled_factor;
    style->property.edit.color_factor = style->property.edit.disabled_factor;
    style->scrollh.color_factor = style->scrollh.disabled_factor;
    style->scrollh.inc_button.color_factor_text = style->scrollh.inc_button.disabled_factor;
    style->scrollh.inc_button.color_factor_background = style->scrollh.inc_button.disabled_factor;
    style->scrollh.dec_button.color_factor_text = style->scrollh.dec_button.disabled_factor;
    style->scrollh.dec_button.color_factor_background = style->scrollh.dec_button.disabled_factor;
    style->scrollv.color_factor = style->scrollv.disabled_factor;
    style->scrollv.inc_button.color_factor_text = style->scrollv.inc_button.disabled_factor;
    style->scrollv.inc_button.color_factor_background = style->scrollv.inc_button.disabled_factor;
    style->scrollv.dec_button.color_factor_text = style->scrollv.dec_button.disabled_factor;
    style->scrollv.dec_button.color_factor_background = style->scrollv.dec_button.disabled_factor;
    style->selectable.color_factor = style->selectable.disabled_factor;
    style->slider.color_factor = style->slider.disabled_factor;
    style->slider.inc_button.color_factor_text = style->slider.inc_button.disabled_factor;
    style->slider.inc_button.color_factor_background = style->slider.inc_button.disabled_factor;
    style->slider.dec_button.color_factor_text = style->slider.dec_button.disabled_factor;
    style->slider.dec_button.color_factor_background = style->slider.dec_button.disabled_factor;
    style->tab.color_factor = style->tab.disabled_factor;
    style->tab.node_maximize_button.color_factor_text = style->tab.node_maximize_button.disabled_factor;
    style->tab.node_minimize_button.color_factor_text = style->tab.node_minimize_button.disabled_factor;
    style->tab.tab_maximize_button.color_factor_text = style->tab.tab_maximize_button.disabled_factor;
    style->tab.tab_maximize_button.color_factor_background = style->tab.tab_maximize_button.disabled_factor;
    style->tab.tab_minimize_button.color_factor_text = style->tab.tab_minimize_button.disabled_factor;
    style->tab.tab_minimize_button.color_factor_background = style->tab.tab_minimize_button.disabled_factor;
    style->text.color_factor = style->text.disabled_factor;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x65fb4
movq 0x5f068(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4b40e(%rip), %rsi     # 0xb13a0
leaq 0x4b425(%rip), %rdx     # 0xb13be
movl $0x5b46, %ecx           # imm = 0x5B46
movb $0x0, %al
callq 0x13ec0
movq 0x5f044(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65fb6
jmp 0x65fb8
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x65ffa
movq 0x5f022(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4b3c8(%rip), %rsi     # 0xb13a0
leaq 0x4b3df(%rip), %rdx     # 0xb13be
movl $0x5b47, %ecx           # imm = 0x5B47
movb $0x0, %al
callq 0x13ec0
movq 0x5effe(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65ffc
cmpq $0x0, 0x10(%rsp)
je 0x66013
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x66018
jmp 0x66479
movq 0x10(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
movl $0x1, 0x1b0(%rax)
movq (%rsp), %rax
movss 0x120(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xfc(%rax)
movq (%rsp), %rax
movss 0x120(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xe4(%rax)
movq (%rsp), %rax
movss 0x1508(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1504(%rax)
movq (%rsp), %rax
movss 0x510(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x50c(%rax)
movq (%rsp), %rax
movss 0x2050(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x204c(%rax)
movq (%rsp), %rax
movss 0x2000(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1fdc(%rax)
movq (%rsp), %rax
movss 0x2000(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1fc4(%rax)
movq (%rsp), %rax
movss 0x1f8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1d4(%rax)
movq (%rsp), %rax
movss 0x1f8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1bc(%rax)
movq (%rsp), %rax
movss 0x14b8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x14b4(%rax)
movq (%rsp), %rax
movss 0x1290(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x128c(%rax)
movq (%rsp), %rax
movss 0x2d0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x2ac(%rax)
movq (%rsp), %rax
movss 0x2d0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x294(%rax)
movq (%rsp), %rax
movss 0x3f0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x3ec(%rax)
movq (%rsp), %rax
movss 0xaa0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xa9c(%rax)
movq (%rsp), %rax
movss 0xb64(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xb60(%rax)
movq (%rsp), %rax
movss 0xfe8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xfc4(%rax)
movq (%rsp), %rax
movss 0xfe8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xfac(%rax)
movq (%rsp), %rax
movss 0x10c0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x109c(%rax)
movq (%rsp), %rax
movss 0x10c0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1084(%rax)
movq (%rsp), %rax
movss 0xf28(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0xf24(%rax)
movq (%rsp), %rax
movss 0x1628(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1624(%rax)
movq (%rsp), %rax
movss 0x16e8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x16c4(%rax)
movq (%rsp), %rax
movss 0x16e8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x16ac(%rax)
movq (%rsp), %rax
movss 0x17c0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x179c(%rax)
movq (%rsp), %rax
movss 0x17c0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1784(%rax)
movq (%rsp), %rax
movss 0x1918(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1914(%rax)
movq (%rsp), %rax
movss 0x19d8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x19b4(%rax)
movq (%rsp), %rax
movss 0x19d8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x199c(%rax)
movq (%rsp), %rax
movss 0x1ab0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1a8c(%rax)
movq (%rsp), %rax
movss 0x1ab0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1a74(%rax)
movq (%rsp), %rax
movss 0x660(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x65c(%rax)
movq (%rsp), %rax
movss 0x7b0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x7ac(%rax)
movq (%rsp), %rax
movss 0x870(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x84c(%rax)
movq (%rsp), %rax
movss 0x870(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x834(%rax)
movq (%rsp), %rax
movss 0x948(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x924(%rax)
movq (%rsp), %rax
movss 0x948(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x90c(%rax)
movq (%rsp), %rax
movss 0x1ea8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1ea4(%rax)
movq (%rsp), %rax
movss 0x1d88(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1d64(%rax)
movq (%rsp), %rax
movss 0x1e60(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1e3c(%rax)
movq (%rsp), %rax
movss 0x1bd8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1bb4(%rax)
movq (%rsp), %rax
movss 0x1bd8(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1b9c(%rax)
movq (%rsp), %rax
movss 0x1cb0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1c8c(%rax)
movq (%rsp), %rax
movss 0x1cb0(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x1c74(%rax)
movq (%rsp), %rax
movss 0x64(%rax), %xmm0
movq (%rsp), %rax
movss %xmm0, 0x60(%rax)
addq $0x18, %rsp
retq
nop