// File: /workspace/github_c_makefile_star2_O1/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:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x457ae
movq 0x42867(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x2c5f9(%rip), %rsi     # 0x71d8c
leaq 0x2c610(%rip), %rdx     # 0x71daa
movl $0x5b46, %ecx           # imm = 0x5B46
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
cmpq $0x0, 0x4780(%rbx)
jne 0x457e4
movq 0x42831(%rip), %r14     # 0x87ff0
movq (%r14), %rdi
leaq 0x2c5c3(%rip), %rsi     # 0x71d8c
leaq 0x2c5da(%rip), %rdx     # 0x71daa
movl $0x5b47, %ecx           # imm = 0x5B47
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
testq %rbx, %rbx
je 0x45a67
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x45a67
movl $0x1, 0x1b0(%rax)
movss 0x288(%rbx), %xmm0
movss 0x360(%rbx), %xmm1
movss %xmm0, 0x264(%rbx)
movss %xmm0, 0x24c(%rbx)
movss 0x1670(%rbx), %xmm0
movss %xmm0, 0x166c(%rbx)
movss 0x678(%rbx), %xmm0
movss %xmm0, 0x674(%rbx)
movss 0x21b8(%rbx), %xmm0
movss %xmm0, 0x21b4(%rbx)
movss 0x2168(%rbx), %xmm0
movss %xmm0, 0x2144(%rbx)
movss %xmm0, 0x212c(%rbx)
movss %xmm1, 0x33c(%rbx)
movss %xmm1, 0x324(%rbx)
movss 0x1620(%rbx), %xmm0
movss %xmm0, 0x161c(%rbx)
movss 0x13f8(%rbx), %xmm0
movss %xmm0, 0x13f4(%rbx)
movss 0x438(%rbx), %xmm0
movss 0x558(%rbx), %xmm1
movss %xmm0, 0x414(%rbx)
movss %xmm0, 0x3fc(%rbx)
movss %xmm1, 0x554(%rbx)
movss 0xc08(%rbx), %xmm0
movss %xmm0, 0xc04(%rbx)
movss 0xccc(%rbx), %xmm0
movss %xmm0, 0xcc8(%rbx)
movss 0x1150(%rbx), %xmm0
movss %xmm0, 0x112c(%rbx)
movss %xmm0, 0x1114(%rbx)
movss 0x1228(%rbx), %xmm0
movss %xmm0, 0x1204(%rbx)
movss %xmm0, 0x11ec(%rbx)
movss 0x1090(%rbx), %xmm0
movss %xmm0, 0x108c(%rbx)
movss 0x1790(%rbx), %xmm0
movss %xmm0, 0x178c(%rbx)
movss 0x1850(%rbx), %xmm0
movss %xmm0, 0x182c(%rbx)
movss %xmm0, 0x1814(%rbx)
movss 0x1928(%rbx), %xmm0
movss %xmm0, 0x1904(%rbx)
movss %xmm0, 0x18ec(%rbx)
movss 0x1a80(%rbx), %xmm0
movss %xmm0, 0x1a7c(%rbx)
movss 0x1b40(%rbx), %xmm0
movss %xmm0, 0x1b1c(%rbx)
movss %xmm0, 0x1b04(%rbx)
movss 0x1c18(%rbx), %xmm0
movss %xmm0, 0x1bf4(%rbx)
movss %xmm0, 0x1bdc(%rbx)
movss 0x7c8(%rbx), %xmm0
movss %xmm0, 0x7c4(%rbx)
movss 0x918(%rbx), %xmm0
movss %xmm0, 0x914(%rbx)
movss 0x9d8(%rbx), %xmm0
movss %xmm0, 0x9b4(%rbx)
movss %xmm0, 0x99c(%rbx)
movss 0xab0(%rbx), %xmm0
movss %xmm0, 0xa8c(%rbx)
movss %xmm0, 0xa74(%rbx)
movss 0x2010(%rbx), %xmm0
movss %xmm0, 0x200c(%rbx)
movss 0x1ef0(%rbx), %xmm0
movss %xmm0, 0x1ecc(%rbx)
movss 0x1fc8(%rbx), %xmm0
movss %xmm0, 0x1fa4(%rbx)
movss 0x1d40(%rbx), %xmm0
movss %xmm0, 0x1d1c(%rbx)
movss %xmm0, 0x1d04(%rbx)
movss 0x1e18(%rbx), %xmm0
movss %xmm0, 0x1df4(%rbx)
movss %xmm0, 0x1ddc(%rbx)
movss 0x1cc(%rbx), %xmm0
movss %xmm0, 0x1c8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq