// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_slider_float
NK_API nk_bool
nk_slider_float(struct nk_context *ctx, float min_value, float *value, float max_value,
    float value_step)
{
    struct nk_window *win;
    struct nk_panel *layout;
    struct nk_input *in;
    const struct nk_style *style;

    int ret = 0;
    float old_value;
    struct nk_rect bounds;
    enum nk_widget_layout_states state;

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

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

    state = nk_widget(&bounds, ctx);
    if (!state) return ret;
    in = (/*state == NK_WIDGET_ROM || */ state == NK_WIDGET_DISABLED || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input;

    old_value = *value;
    *value = nk_do_slider(&ctx->last_widget_state, &win->buffer, bounds, min_value,
                old_value, max_value, value_step, &style->slider, in, style->font);
    return (old_value > *value || old_value < *value);
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movss %xmm0, 0x64(%rsp)
movq %rsi, 0x58(%rsp)
movss %xmm1, 0x54(%rsp)
movss %xmm2, 0x50(%rsp)
movl $0x0, 0x2c(%rsp)
cmpq $0x0, 0x68(%rsp)
jne 0x6e213
movq 0x56e09(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x431af(%rip), %rsi     # 0xb13a0
leaq 0x431c6(%rip), %rdx     # 0xb13be
movl $0x6464, %ecx           # imm = 0x6464
movb $0x0, %al
callq 0x13ec0
movq 0x56de5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6e215
jmp 0x6e217
movq 0x68(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6e259
movq 0x56dc3(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x43169(%rip), %rsi     # 0xb13a0
leaq 0x43180(%rip), %rdx     # 0xb13be
movl $0x6465, %ecx           # imm = 0x6465
movb $0x0, %al
callq 0x13ec0
movq 0x56d9f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6e25b
jmp 0x6e25d
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x6e2a6
movq 0x56d76(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4311c(%rip), %rsi     # 0xb13a0
leaq 0x43133(%rip), %rdx     # 0xb13be
movl $0x6466, %ecx           # imm = 0x6466
movb $0x0, %al
callq 0x13ec0
movq 0x56d52(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6e2a8
jmp 0x6e2aa
cmpq $0x0, 0x58(%rsp)
jne 0x6e2e5
movq 0x56d37(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x430dd(%rip), %rsi     # 0xb13a0
leaq 0x430f4(%rip), %rdx     # 0xb13be
movl $0x6467, %ecx           # imm = 0x6467
movb $0x0, %al
callq 0x13ec0
movq 0x56d13(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6e2e7
cmpq $0x0, 0x68(%rsp)
je 0x6e31c
movq 0x68(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x6e31c
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
je 0x6e31c
cmpq $0x0, 0x58(%rsp)
jne 0x6e329
movl 0x2c(%rsp), %eax
movl %eax, 0x74(%rsp)
jmp 0x6e461
movq 0x68(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x68(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
movq %rax, 0x30(%rsp)
movq 0x48(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x68(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x139c0
movl %eax, 0x14(%rsp)
cmpl $0x0, 0x14(%rsp)
jne 0x6e382
movl 0x2c(%rsp), %eax
movl %eax, 0x74(%rsp)
jmp 0x6e461
cmpl $0x3, 0x14(%rsp)
je 0x6e39b
movq 0x40(%rsp), %rax
movl 0x4(%rax), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x6e3a4
xorl %eax, %eax
movq %rax, 0x8(%rsp)
jmp 0x6e3ae
movq 0x68(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rax
movss (%rax), %xmm0
movss %xmm0, 0x28(%rsp)
movq 0x68(%rsp), %rdi
addq $0x2598, %rdi           # imm = 0x2598
movq 0x48(%rsp), %rsi
addq $0x68, %rsi
movss 0x64(%rsp), %xmm2
movss 0x28(%rsp), %xmm3
movss 0x54(%rsp), %xmm4
movss 0x50(%rsp), %xmm5
movq 0x30(%rsp), %rax
movq %rax, %rdx
addq $0x680, %rdx            # imm = 0x680
movq 0x38(%rsp), %rcx
movq (%rax), %r8
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
callq 0x6e470
movq 0x58(%rsp), %rax
movss %xmm0, (%rax)
movss 0x28(%rsp), %xmm0
movq 0x58(%rsp), %rcx
movb $0x1, %al
ucomiss (%rcx), %xmm0
movb %al, 0x7(%rsp)
ja 0x6e454
movss 0x28(%rsp), %xmm1
movq 0x58(%rsp), %rax
movss (%rax), %xmm0
ucomiss %xmm1, %xmm0
seta %al
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x74(%rsp)
movl 0x74(%rsp), %eax
addq $0x78, %rsp
retq
nopw (%rax,%rax)