	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function chart_ramp_array
LCPI0_0:
	.long	0x477fff00                      ## float 65535
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_chart_ramp_array:                      ## @chart_ramp_array
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NK_CHART_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_nk_rgb
	movl	$65535, (%rsp)                  ## imm = 0xFFFF
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	callq	_nk_chart_begin_colored
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.2:
	movl	%r13d, %r12d
	xorl	%ebx, %ebx
	leaq	-1072(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	(%r14,%rbx,2), %esi
	movq	%r15, %rdi
	callq	_nk_chart_push
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14,%rbx,2), %r8d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r8d, %xmm0
	divss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movzwl	%ax, %r9d
	movq	%r13, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_nk_tooltip
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_nk_chart_end
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NK_CHART_LINES,4,2             ## @NK_CHART_LINES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#%u: %u (%0.5f) "

	.no_dead_strip	_chart_ramp_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chart_ramp_array
_chart_ramp_array:                      ; @chart_ramp_array
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1040
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _NK_CHART_LINES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NK_CHART_LINES@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_nk_rgb
	mov	x3, x0
	and	x2, x21, #0xffffffff
	mov	x0, x20
	mov	x1, x23
	mov	x4, x22
	mov	w5, #0
	mov	w6, #65535
	bl	_nk_chart_begin_colored
	cbz	x0, LBB0_7
; %bb.1:
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x21, #0
	mov	w23, w22
	mov	w24, #65280
	movk	w24, #18303, lsl #16
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x23, x21
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrh	w1, [x19, x21, lsl #1]
	mov	x0, x20
	bl	_nk_chart_push
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrh	w4, [x19, x21, lsl #1]
	ucvtf	s0, w4
	fmov	s1, w24
	fdiv	s0, s0, s1
	fcvtzs	w5, s0
	add	x0, sp, #8
	mov	w1, #1024
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #8
	mov	x0, x20
	bl	_nk_tooltip
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	bl	_nk_chart_end
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NK_CHART_LINES,4,2             ; @NK_CHART_LINES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#%u: %u (%0.5f) "

	.no_dead_strip	_chart_ramp_array
.subsections_via_symbols
