// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_chart_add_slot_colored
NK_API void
nk_chart_add_slot_colored(struct nk_context *ctx, const enum nk_chart_type type,
    struct nk_color color, struct nk_color highlight,
    int count, float min_value, float max_value)
{
    const struct nk_style_chart* style;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    NK_ASSERT(ctx->current->layout->chart.slot < NK_CHART_MAX_SLOT);
    if (!ctx || !ctx->current || !ctx->current->layout) return;
    if (ctx->current->layout->chart.slot >= NK_CHART_MAX_SLOT) return;

    style = &ctx->style.chart;

    /* add another slot into the graph */
    {struct nk_chart *chart = &ctx->current->layout->chart;
    struct nk_chart_slot *slot = &chart->slots[chart->slot++];
    slot->type = type;
    slot->count = count;
    slot->color = nk_rgb_factor(color, style->color_factor);
    slot->highlight = highlight;
    slot->min = NK_MIN(min_value, max_value);
    slot->max = NK_MAX(min_value, max_value);
    slot->range = slot->max - slot->min;
    slot->show_markers = style->show_markers;}
}

// Assembly:
subq $0x58, %rsp
movl %edx, 0x54(%rsp)
movl %ecx, 0x50(%rsp)
movq %rdi, 0x48(%rsp)
movl %esi, 0x44(%rsp)
movl %r8d, 0x40(%rsp)
movss %xmm0, 0x3c(%rsp)
movss %xmm1, 0x38(%rsp)
cmpq $0x0, 0x48(%rsp)
jne 0x757d1
movq 0x4f84b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3bbf1(%rip), %rsi     # 0xb13a0
leaq 0x3bc08(%rip), %rdx     # 0xb13be
movl $0x6ffe, %ecx           # imm = 0x6FFE
movb $0x0, %al
callq 0x13ec0
movq 0x4f827(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x757d3
jmp 0x757d5
movq 0x48(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x75817
movq 0x4f805(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3bbab(%rip), %rsi     # 0xb13a0
leaq 0x3bbc2(%rip), %rdx     # 0xb13be
movl $0x6fff, %ecx           # imm = 0x6FFF
movb $0x0, %al
callq 0x13ec0
movq 0x4f7e1(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x75819
jmp 0x7581b
movq 0x48(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x75864
movq 0x4f7b8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3bb5e(%rip), %rsi     # 0xb13a0
leaq 0x3bb75(%rip), %rdx     # 0xb13be
movl $0x7000, %ecx           # imm = 0x7000
movb $0x0, %al
callq 0x13ec0
movq 0x4f794(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x75866
jmp 0x75868
movq 0x48(%rsp), %rax
movq 0x4780(%rax), %rax
movq 0xa8(%rax), %rax
cmpl $0x4, 0xf8(%rax)
jl 0x758b7
movq 0x4f765(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3bb0b(%rip), %rsi     # 0xb13a0
leaq 0x3bb22(%rip), %rdx     # 0xb13be
movl $0x7001, %ecx           # imm = 0x7001
movb $0x0, %al
callq 0x13ec0
movq 0x4f741(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x758b9
cmpq $0x0, 0x48(%rsp)
je 0x758e6
movq 0x48(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x758e6
movq 0x48(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x758eb
jmp 0x75a5c
movq 0x48(%rsp), %rax
movq 0x4780(%rax), %rax
movq 0xa8(%rax), %rax
cmpl $0x4, 0xf8(%rax)
jl 0x7590c
jmp 0x75a5c
movq 0x48(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
addq $0x14c0, %rax           # imm = 0x14C0
movq %rax, 0x30(%rsp)
movq 0x48(%rsp), %rax
movq 0x4780(%rax), %rax
movq 0xa8(%rax), %rax
addq $0xf8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
addq $0x14, %rax
movq 0x28(%rsp), %rdx
movl (%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, (%rdx)
movslq %ecx, %rcx
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x20(%rsp)
movl 0x44(%rsp), %ecx
movq 0x20(%rsp), %rax
movl %ecx, (%rax)
movl 0x40(%rsp), %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x18(%rax)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movss 0x44(%rax), %xmm0
movl 0x54(%rsp), %edi
callq 0x15100
movl %eax, %ecx
movq 0x10(%rsp), %rax
movl %ecx, 0x1c(%rsp)
movl 0x1c(%rsp), %ecx
movl %ecx, 0x4(%rax)
movq 0x20(%rsp), %rax
movl 0x50(%rsp), %ecx
movl %ecx, 0x8(%rax)
movss 0x3c(%rsp), %xmm1
movss 0x38(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x759d7
movss 0x3c(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x759e3
movss 0x38(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0xc(%rsp), %xmm0
movq 0x20(%rsp), %rax
movss %xmm0, 0xc(%rax)
movss 0x3c(%rsp), %xmm1
movss 0x38(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x75a12
movss 0x38(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x75a1e
movss 0x3c(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
movss 0x8(%rsp), %xmm0
movq 0x20(%rsp), %rax
movss %xmm0, 0x10(%rax)
movq 0x20(%rsp), %rax
movss 0x10(%rax), %xmm0
movq 0x20(%rsp), %rax
subss 0xc(%rax), %xmm0
movq 0x20(%rsp), %rax
movss %xmm0, 0x14(%rax)
movq 0x30(%rsp), %rax
movl 0x4c(%rax), %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x28(%rax)
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)