	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sumo_construct_sclk_voltage_mapping_table ## -- Begin function sumo_construct_sclk_voltage_mapping_table
	.p2align	4, 0x90
_sumo_construct_sclk_voltage_mapping_table: ## @sumo_construct_sclk_voltage_mapping_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SUMO_MAX_HARDWARE_POWERLEVELS@GOTPCREL(%rip), %r8
	movq	(%r8), %r10
	testq	%r10, %r10
	je	LBB0_1
## %bb.2:
	addq	$8, %rdx
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	addq	$16, %rdx
	cmpq	%r10, %rax
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx), %r11
	cmpq	%rdi, %r11
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsi), %r10
	movq	%r9, %rdi
	shlq	$4, %rdi
	movq	%r11, (%r10,%rdi)
	movl	(%rdx), %ecx
	movl	%ecx, 8(%r10,%rdi)
	incq	%r9
	movq	(%r8), %r10
	movq	%r11, %rdi
	jmp	LBB0_5
LBB0_1:
	xorl	%r9d, %r9d
LBB0_6:
	movq	%r9, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUMO_MAX_HARDWARE_POWERLEVELS,8,3 ## @SUMO_MAX_HARDWARE_POWERLEVELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sumo_construct_sclk_voltage_mapping_table ; -- Begin function sumo_construct_sclk_voltage_mapping_table
	.p2align	2
_sumo_construct_sclk_voltage_mapping_table: ; @sumo_construct_sclk_voltage_mapping_table
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _SUMO_MAX_HARDWARE_POWERLEVELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUMO_MAX_HARDWARE_POWERLEVELS@GOTPAGEOFF]
	ldr	x12, [x9]
	cbz	x12, LBB0_6
; %bb.1:
	mov	x13, #0
	mov	x8, #0
	mov	x10, #0
	add	x11, x2, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	add	x11, x11, #16
	cmp	x10, x12
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x11, #-8]
	cmp	x14, x13
	b.ls	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x1, #8]
	add	x12, x12, x8, lsl #4
	str	x14, [x12]
	ldr	w13, [x11]
	str	w13, [x12, #8]
	add	x8, x8, #1
	ldr	x12, [x9]
	mov	x13, x14
	b	LBB0_2
LBB0_5:
	str	x8, [x1]
	ret
LBB0_6:
	str	xzr, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SUMO_MAX_HARDWARE_POWERLEVELS,8,3 ; @SUMO_MAX_HARDWARE_POWERLEVELS
.subsections_via_symbols
