	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_get_dal_power_level
_smu8_get_dal_power_level:              ## @smu8_get_dal_power_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %r8
	movl	12(%rdi), %eax
	movl	%eax, 8(%rsi)
	movl	8(%rdi), %eax
	movl	%eax, 4(%rsi)
	movq	(%r8), %rcx
	movq	%rcx, %r9
	shlq	$4, %r9
	orq	$8, %r9
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rcx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-16(%r9), %rdx
	movq	(%rdi), %r10
	movq	8(%r8), %rax
	cmpq	-24(%rax,%r9), %r10
	movq	%rdx, %r9
	jl	LBB0_1
## %bb.3:
	movl	(%rax,%rdx), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smu8_get_dal_power_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_get_dal_power_level
_smu8_get_dal_power_level:              ; @smu8_get_dal_power_level
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	d0, [x0, #8]
	stur	d0, [x1, #4]
	ldr	x9, [x8]
	lsl	x10, x9, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sub	x9, x9, #1
	cbz	x9, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x11, x10, #16
	ldr	x13, [x0]
	ldr	x12, [x8, #8]
	add	x10, x12, x10
	ldur	x14, [x10, #-16]
	mov	x10, x11
	cmp	x13, x14
	b.lt	LBB0_1
; %bb.3:
	mov	w0, #0
	add	x8, x12, x11
	ldr	w8, [x8, #8]
	str	w8, [x1]
	ret
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smu8_get_dal_power_level
.subsections_via_symbols
