	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iceland_get_dependency_volt_by_clk
_iceland_get_dependency_volt_by_clk:    ## @iceland_get_dependency_volt_by_clk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.1:
	movq	8(%rsi), %rsi
	leaq	8(%rsi), %rdi
	movq	%r8, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, -8(%rdi)
	jae	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdi
	decq	%rax
	jne	LBB0_2
## %bb.5:
	shlq	$4, %r8
	movq	-8(%r8,%rsi), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %rax
LBB0_6:
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iceland_get_dependency_volt_by_clk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iceland_get_dependency_volt_by_clk
_iceland_get_dependency_volt_by_clk:    ; @iceland_get_dependency_volt_by_clk
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x9, [x1, #8]
	add	x10, x9, #8
	mov	x11, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x10, #-8]
	cmp	x12, x2
	b.hs	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #16
	subs	x11, x11, #1
	b.ne	LBB0_2
; %bb.4:
	mov	w0, #0
	add	x8, x9, x8, lsl #4
	ldur	x8, [x8, #-8]
	str	x8, [x3]
	ret
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	mov	w0, #0
	ldr	x8, [x10]
	str	x8, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iceland_get_dependency_volt_by_clk
.subsections_via_symbols
