	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm8xxx_read_channel_rsv
_pm8xxx_read_channel_rsv:               ## @pm8xxx_read_channel_rsv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	movl	16(%rsi), %edx
	movq	8(%rsi), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %r9d
	callq	_dev_dbg
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movq	_ADC_AMUX_SEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%rax), %esi
	shll	%cl, %esi
	movl	4(%rax), %edx
	movq	_ADC_AMUX_PREMUX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%esi, %edx
	movl	%edx, -44(%rbp)
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_AMUX_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.1:
	movq	_ADC_ARB_USRP_RSV_RST@GOTPCREL(%rip), %rax
	movq	_ADC_ARB_USRP_RSV_DTEST0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ADC_ARB_USRP_RSV_DTEST1@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_ADC_ARB_USRP_RSV_OP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.2:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movq	_PM8XXX_CHANNEL_MUXOFF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.4:
	movq	_ADC_ARB_USRP_RSV_IP_SEL0@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	cmpl	$255, %r13d
	jne	LBB0_7
## %bb.6:
	movl	(%r12), %r13d
LBB0_7:
	movq	_ADC_RSV_IP_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	movq	_ADC_ARB_USRP_RSV_TRM@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_10
LBB0_8:
	movq	_ADC_ARB_USRP_RSV_IP_SEL1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %r13d
LBB0_10:
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_RSV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%edx
	movl	%r13d, %ecx
	callq	_regmap_update_bits
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_ANA_PARAM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ADC_ARB_USRP_ANA_PARAM_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.12:
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_DIG_PARAM@GOTPCREL(%rip), %rax
	movq	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0@GOTPCREL(%rip), %rcx
	movq	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	_ADC_DIG_PARAM_DEC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movl	4(%r15), %edi
	movl	(%r14), %esi
	movq	_ADC_ARB_USRP_ANA_PARAM_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_CNTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ADC_ARB_USRP_CNTRL_EN_ARB@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movl	4(%r15), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	leaq	12(%r15), %r14
	movq	%r14, %rdi
	callq	_reinit_completion
	movl	4(%r15), %edi
	movl	(%r12), %esi
	movq	_ADC_ARB_USRP_CNTRL_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r13), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_VADC_CONV_TIME_MAX_US@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wait_for_completion_timeout
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.20:
	movl	-44(%rbp), %r14d
	movl	4(%r15), %edi
	movq	_ADC_ARB_USRP_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.21:
	movl	-44(%rbp), %eax
	shll	$8, %eax
	orl	%r14d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	4(%r15), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.22:
	movl	4(%r15), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_23:
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read channel \"%s\", amux %d, prescale/mux: %d, rsv %d\n"

	.comm	_ADC_AMUX_SEL_SHIFT,4,2         ## @ADC_AMUX_SEL_SHIFT
	.comm	_ADC_AMUX_PREMUX_SHIFT,4,2      ## @ADC_AMUX_PREMUX_SHIFT
	.comm	_ADC_ARB_USRP_AMUX_CNTRL,4,2    ## @ADC_ARB_USRP_AMUX_CNTRL
	.comm	_ADC_ARB_USRP_RSV_RST,4,2       ## @ADC_ARB_USRP_RSV_RST
	.comm	_ADC_ARB_USRP_RSV_DTEST0,4,2    ## @ADC_ARB_USRP_RSV_DTEST0
	.comm	_ADC_ARB_USRP_RSV_DTEST1,4,2    ## @ADC_ARB_USRP_RSV_DTEST1
	.comm	_ADC_ARB_USRP_RSV_OP,4,2        ## @ADC_ARB_USRP_RSV_OP
	.comm	_PM8XXX_CHANNEL_MUXOFF,4,2      ## @PM8XXX_CHANNEL_MUXOFF
	.comm	_ADC_ARB_USRP_RSV_IP_SEL0,4,2   ## @ADC_ARB_USRP_RSV_IP_SEL0
	.comm	_ADC_ARB_USRP_RSV_IP_SEL1,4,2   ## @ADC_ARB_USRP_RSV_IP_SEL1
	.comm	_ADC_RSV_IP_SEL_SHIFT,4,2       ## @ADC_RSV_IP_SEL_SHIFT
	.comm	_ADC_ARB_USRP_RSV_TRM,4,2       ## @ADC_ARB_USRP_RSV_TRM
	.comm	_ADC_ARB_USRP_RSV,4,2           ## @ADC_ARB_USRP_RSV
	.comm	_ADC_ARB_USRP_ANA_PARAM,4,2     ## @ADC_ARB_USRP_ANA_PARAM
	.comm	_ADC_ARB_USRP_ANA_PARAM_DIS,4,2 ## @ADC_ARB_USRP_ANA_PARAM_DIS
	.comm	_ADC_ARB_USRP_DIG_PARAM,4,2     ## @ADC_ARB_USRP_DIG_PARAM
	.comm	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0,4,2 ## @ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0
	.comm	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1,4,2 ## @ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1
	.comm	_ADC_DIG_PARAM_DEC_SHIFT,4,2    ## @ADC_DIG_PARAM_DEC_SHIFT
	.comm	_ADC_ARB_USRP_ANA_PARAM_EN,4,2  ## @ADC_ARB_USRP_ANA_PARAM_EN
	.comm	_ADC_ARB_USRP_CNTRL,4,2         ## @ADC_ARB_USRP_CNTRL
	.comm	_ADC_ARB_USRP_CNTRL_EN_ARB,4,2  ## @ADC_ARB_USRP_CNTRL_EN_ARB
	.comm	_ADC_ARB_USRP_CNTRL_REQ,4,2     ## @ADC_ARB_USRP_CNTRL_REQ
	.comm	_VADC_CONV_TIME_MAX_US,4,2      ## @VADC_CONV_TIME_MAX_US
L_.str.1:                               ## @.str.1
	.asciz	"conversion timed out\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_ADC_ARB_USRP_DATA0,4,2         ## @ADC_ARB_USRP_DATA0
	.comm	_ADC_ARB_USRP_DATA1,4,2         ## @ADC_ARB_USRP_DATA1
	.no_dead_strip	_pm8xxx_read_channel_rsv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm8xxx_read_channel_rsv
_pm8xxx_read_channel_rsv:               ; @pm8xxx_read_channel_rsv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	w2, [x1, #16]
	ldr	x8, [x1, #8]
	ldp	w3, w4, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x5, x22
	bl	_dev_dbg
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x21, #8]
Lloh2:
	adrp	x9, _ADC_AMUX_SEL_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADC_AMUX_SEL_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldp	w10, w8, [x8]
	lsl	w9, w10, w9
Lloh5:
	adrp	x10, _ADC_AMUX_PREMUX_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ADC_AMUX_PREMUX_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _ADC_ARB_USRP_AMUX_CNTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADC_ARB_USRP_AMUX_CNTRL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.1:
Lloh11:
	adrp	x8, _ADC_ARB_USRP_RSV_RST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADC_ARB_USRP_RSV_RST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ADC_ARB_USRP_RSV_DTEST0@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV_DTEST0@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _ADC_ARB_USRP_RSV_DTEST1@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV_DTEST1@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _ADC_ARB_USRP_RSV_OP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV_OP@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cbnz	w24, LBB0_5
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x21, #8]
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _PM8XXX_CHANNEL_MUXOFF@GOTPAGE
Lloh24:
	ldr	x10, [x10, _PM8XXX_CHANNEL_MUXOFF@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.4:
Lloh26:
	adrp	x9, _ADC_ARB_USRP_RSV_IP_SEL0@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV_IP_SEL0@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x9]
	b	LBB0_10
LBB0_5:
	cmp	w22, #255
	b.ne	LBB0_8
; %bb.6:
	ldr	w9, [x21]
Lloh29:
	adrp	x10, _ADC_RSV_IP_SEL_SHIFT@GOTPAGE
Lloh30:
	ldr	x10, [x10, _ADC_RSV_IP_SEL_SHIFT@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	b	LBB0_9
LBB0_7:
Lloh32:
	adrp	x9, _ADC_ARB_USRP_RSV_IP_SEL1@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV_IP_SEL1@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x9]
	b	LBB0_10
LBB0_8:
Lloh35:
	adrp	x9, _ADC_RSV_IP_SEL_SHIFT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ADC_RSV_IP_SEL_SHIFT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	lsl	w9, w22, w9
LBB0_9:
Lloh38:
	adrp	x10, _ADC_ARB_USRP_RSV_TRM@GOTPAGE
Lloh39:
	ldr	x10, [x10, _ADC_ARB_USRP_RSV_TRM@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	orr	w3, w9, w10
LBB0_10:
	ldr	w0, [x19, #4]
Lloh41:
	adrp	x9, _ADC_ARB_USRP_RSV@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ADC_ARB_USRP_RSV@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x9]
	mvn	w2, w8
	bl	_regmap_update_bits
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.11:
	ldr	w0, [x19, #4]
Lloh44:
	adrp	x22, _ADC_ARB_USRP_ANA_PARAM@GOTPAGE
Lloh45:
	ldr	x22, [x22, _ADC_ARB_USRP_ANA_PARAM@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh46:
	adrp	x8, _ADC_ARB_USRP_ANA_PARAM_DIS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ADC_ARB_USRP_ANA_PARAM_DIS@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.12:
	ldr	w0, [x19, #4]
Lloh49:
	adrp	x8, _ADC_ARB_USRP_DIG_PARAM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ADC_ARB_USRP_DIG_PARAM@GOTPAGEOFF]
Lloh51:
	adrp	x9, _ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0@GOTPAGE
Lloh52:
	ldr	x9, [x9, _ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	ldr	w8, [x9]
Lloh55:
	adrp	x9, _ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1@GOTPAGE
Lloh56:
	ldr	x9, [x9, _ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21, #4]
Lloh58:
	adrp	x10, _ADC_DIG_PARAM_DEC_SHIFT@GOTPAGE
Lloh59:
	ldr	x10, [x10, _ADC_DIG_PARAM_DEC_SHIFT@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.13:
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
Lloh61:
	adrp	x8, _ADC_ARB_USRP_ANA_PARAM_EN@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ADC_ARB_USRP_ANA_PARAM_EN@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.14:
	ldr	w0, [x19, #4]
Lloh64:
	adrp	x22, _ADC_ARB_USRP_CNTRL@GOTPAGE
Lloh65:
	ldr	x22, [x22, _ADC_ARB_USRP_CNTRL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh66:
	adrp	x24, _ADC_ARB_USRP_CNTRL_EN_ARB@GOTPAGE
Lloh67:
	ldr	x24, [x24, _ADC_ARB_USRP_CNTRL_EN_ARB@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.15:
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	ldr	w2, [x24]
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.16:
	add	x21, x19, #12
	mov	x0, x21
	bl	_reinit_completion
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	ldr	w8, [x24]
Lloh68:
	adrp	x9, _ADC_ARB_USRP_CNTRL_REQ@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ADC_ARB_USRP_CNTRL_REQ@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_regmap_write
	mov	x23, x0
	cbz	w0, LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
Lloh71:
	adrp	x8, _VADC_CONV_TIME_MAX_US@GOTPAGE
Lloh72:
	ldr	x8, [x8, _VADC_CONV_TIME_MAX_US@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wait_for_completion_timeout
	cbz	w0, LBB0_23
; %bb.19:
	ldr	w0, [x19, #4]
Lloh74:
	adrp	x8, _ADC_ARB_USRP_DATA0@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ADC_ARB_USRP_DATA0@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.20:
	ldr	w21, [sp, #12]
	ldr	w0, [x19, #4]
Lloh77:
	adrp	x8, _ADC_ARB_USRP_DATA1@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ADC_ARB_USRP_DATA1@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.21:
	ldr	w8, [sp, #12]
	orr	w8, w21, w8, lsl #8
	str	w8, [x20]
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_regmap_write
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.22:
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_regmap_write
	mov	x23, x0
	b	LBB0_17
LBB0_23:
	ldr	w0, [x19, #8]
Lloh80:
	adrp	x1, l_.str.1@PAGE
Lloh81:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh82:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh53
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read channel \"%s\", amux %d, prescale/mux: %d, rsv %d\n"

	.comm	_ADC_AMUX_SEL_SHIFT,4,2         ; @ADC_AMUX_SEL_SHIFT
	.comm	_ADC_AMUX_PREMUX_SHIFT,4,2      ; @ADC_AMUX_PREMUX_SHIFT
	.comm	_ADC_ARB_USRP_AMUX_CNTRL,4,2    ; @ADC_ARB_USRP_AMUX_CNTRL
	.comm	_ADC_ARB_USRP_RSV_RST,4,2       ; @ADC_ARB_USRP_RSV_RST
	.comm	_ADC_ARB_USRP_RSV_DTEST0,4,2    ; @ADC_ARB_USRP_RSV_DTEST0
	.comm	_ADC_ARB_USRP_RSV_DTEST1,4,2    ; @ADC_ARB_USRP_RSV_DTEST1
	.comm	_ADC_ARB_USRP_RSV_OP,4,2        ; @ADC_ARB_USRP_RSV_OP
	.comm	_PM8XXX_CHANNEL_MUXOFF,4,2      ; @PM8XXX_CHANNEL_MUXOFF
	.comm	_ADC_ARB_USRP_RSV_IP_SEL0,4,2   ; @ADC_ARB_USRP_RSV_IP_SEL0
	.comm	_ADC_ARB_USRP_RSV_IP_SEL1,4,2   ; @ADC_ARB_USRP_RSV_IP_SEL1
	.comm	_ADC_RSV_IP_SEL_SHIFT,4,2       ; @ADC_RSV_IP_SEL_SHIFT
	.comm	_ADC_ARB_USRP_RSV_TRM,4,2       ; @ADC_ARB_USRP_RSV_TRM
	.comm	_ADC_ARB_USRP_RSV,4,2           ; @ADC_ARB_USRP_RSV
	.comm	_ADC_ARB_USRP_ANA_PARAM,4,2     ; @ADC_ARB_USRP_ANA_PARAM
	.comm	_ADC_ARB_USRP_ANA_PARAM_DIS,4,2 ; @ADC_ARB_USRP_ANA_PARAM_DIS
	.comm	_ADC_ARB_USRP_DIG_PARAM,4,2     ; @ADC_ARB_USRP_DIG_PARAM
	.comm	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0,4,2 ; @ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT0
	.comm	_ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1,4,2 ; @ADC_ARB_USRP_DIG_PARAM_SEL_SHIFT1
	.comm	_ADC_DIG_PARAM_DEC_SHIFT,4,2    ; @ADC_DIG_PARAM_DEC_SHIFT
	.comm	_ADC_ARB_USRP_ANA_PARAM_EN,4,2  ; @ADC_ARB_USRP_ANA_PARAM_EN
	.comm	_ADC_ARB_USRP_CNTRL,4,2         ; @ADC_ARB_USRP_CNTRL
	.comm	_ADC_ARB_USRP_CNTRL_EN_ARB,4,2  ; @ADC_ARB_USRP_CNTRL_EN_ARB
	.comm	_ADC_ARB_USRP_CNTRL_REQ,4,2     ; @ADC_ARB_USRP_CNTRL_REQ
	.comm	_VADC_CONV_TIME_MAX_US,4,2      ; @VADC_CONV_TIME_MAX_US
l_.str.1:                               ; @.str.1
	.asciz	"conversion timed out\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_ADC_ARB_USRP_DATA0,4,2         ; @ADC_ARB_USRP_DATA0
	.comm	_ADC_ARB_USRP_DATA1,4,2         ; @ADC_ARB_USRP_DATA1
	.no_dead_strip	_pm8xxx_read_channel_rsv
.subsections_via_symbols
