// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_plot
NK_API void
nk_plot(struct nk_context *ctx, enum nk_chart_type type, const float *values,
    int count, int offset)
{
    int i = 0;
    float min_value;
    float max_value;

    NK_ASSERT(ctx);
    NK_ASSERT(values);
    if (!ctx || !values || !count) return;

    min_value = values[offset];
    max_value = values[offset];
    for (i = 0; i < count; ++i) {
        min_value = NK_MIN(values[i + offset], min_value);
        max_value = NK_MAX(values[i + offset], max_value);
    }

    if (nk_chart_begin(ctx, type, count, min_value, max_value)) {
        for (i = 0; i < count; ++i)
            nk_chart_push(ctx, values[i + offset]);
        nk_chart_end(ctx);
    }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl %esi, 0x2c(%rsp)
movq %rdx, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movl %r8d, 0x18(%rsp)
movl $0x0, 0x14(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x76c5e
movq 0x4e3be(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3a764(%rip), %rsi     # 0xb13a0
leaq 0x3a77b(%rip), %rdx     # 0xb13be
movl $0x70c9, %ecx           # imm = 0x70C9
movb $0x0, %al
callq 0x13ec0
movq 0x4e39a(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x76c60
jmp 0x76c62
cmpq $0x0, 0x20(%rsp)
jne 0x76c9d
movq 0x4e37f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x3a725(%rip), %rsi     # 0xb13a0
leaq 0x3a73c(%rip), %rdx     # 0xb13be
movl $0x70ca, %ecx           # imm = 0x70CA
movb $0x0, %al
callq 0x13ec0
movq 0x4e35b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x76c9f
cmpq $0x0, 0x30(%rsp)
je 0x76cb6
cmpq $0x0, 0x20(%rsp)
je 0x76cb6
cmpl $0x0, 0x1c(%rsp)
jne 0x76cbb
jmp 0x76e20
movq 0x20(%rsp), %rax
movslq 0x18(%rsp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movslq 0x18(%rsp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0xc(%rsp)
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jge 0x76db5
movq 0x20(%rsp), %rax
movl 0x14(%rsp), %ecx
addl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1
movss 0x10(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x76d38
movq 0x20(%rsp), %rax
movl 0x14(%rsp), %ecx
addl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0x8(%rsp)
jmp 0x76d44
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
movss 0x8(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movl 0x14(%rsp), %ecx
addl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1
movss 0xc(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x76d7e
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x4(%rsp)
jmp 0x76d99
movq 0x20(%rsp), %rax
movl 0x14(%rsp), %ecx
addl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0x4(%rsp)
movss 0x4(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x76ced
movq 0x30(%rsp), %rdi
movl 0x2c(%rsp), %esi
movl 0x1c(%rsp), %edx
movss 0x10(%rsp), %xmm0
movss 0xc(%rsp), %xmm1
callq 0x13970
cmpl $0x0, %eax
je 0x76e20
movl $0x0, 0x14(%rsp)
movl 0x14(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jge 0x76e16
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rax
movl 0x14(%rsp), %ecx
addl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
callq 0x13d70
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x76de0
movq 0x30(%rsp), %rdi
callq 0x151f0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)