	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as3722_regnode_get_volt
_as3722_regnode_get_volt:               ## @as3722_regnode_get_volt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_regnode_get_softc
	movq	%rax, %rbx
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_as3722_read_sel
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_AS3722_REG_ID_LDO6@GOTPCREL(%rip), %rsi
	movq	-24(%rbp), %rdx
	cmpq	(%rsi), %rcx
	jne	LBB0_4
## %bb.2:
	movq	_AS3722_LDO6_SEL_BYPASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_4
## %bb.3:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	8(%rax), %esi
	movl	12(%rax), %edi
	movq	%r14, %rcx
	callq	_regulator_range_sel8_to_volt
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AS3722_REG_ID_LDO6,8,3         ## @AS3722_REG_ID_LDO6
	.comm	_AS3722_LDO6_SEL_BYPASS,8,3     ## @AS3722_LDO6_SEL_BYPASS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_as3722_regnode_get_volt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as3722_regnode_get_volt
_as3722_regnode_get_volt:               ; @as3722_regnode_get_volt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_regnode_get_softc
	mov	x20, x0
	add	x1, sp, #8
	bl	_as3722_read_sel
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _AS3722_REG_ID_LDO6@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AS3722_REG_ID_LDO6@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x11, _AS3722_LDO6_SEL_BYPASS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AS3722_LDO6_SEL_BYPASS@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x2, x11, #0, eq
	b.eq	LBB0_3
; %bb.2:
	ldp	w1, w0, [x8, #8]
	mov	x3, x19
	bl	_regulator_range_sel8_to_volt
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AS3722_REG_ID_LDO6,8,3         ; @AS3722_REG_ID_LDO6
	.comm	_AS3722_LDO6_SEL_BYPASS,8,3     ; @AS3722_LDO6_SEL_BYPASS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_as3722_regnode_get_volt
.subsections_via_symbols
