	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_speed_points
_build_speed_points:                    ## @build_speed_points
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_cpu_freq_tbl@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_nitems
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	leal	(,%rax,4), %edi
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, 8(%r15)
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	movl	%edx, 4(%rax,%rbx,8)
	movl	(%rcx,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_freq_to_voltage
	movl	%eax, %ecx
	movq	8(%r15), %rax
	movl	%ecx, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_freq_tbl,8,3               ## @cpu_freq_tbl
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.no_dead_strip	_build_speed_points
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_speed_points
_build_speed_points:                    ; @build_speed_points
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _cpu_freq_tbl@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cpu_freq_tbl@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_nitems
	str	w0, [x19]
	lsl	w0, w0, #2
Lloh2:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_malloc
	str	x0, [x19, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x22, #2
	ldr	w10, [x8, x9]
	add	x11, x0, x21
	str	w10, [x11, #4]
	ldr	w1, [x8, x9]
	mov	x0, x19
	bl	_freq_to_voltage
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	w8, [x0, x21]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_freq_tbl,8,3               ; @cpu_freq_tbl
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.no_dead_strip	_build_speed_points
.subsections_via_symbols
