	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adc5_get_dt_channel_data
_adc5_get_dt_channel_data:              ## @adc5_get_dt_channel_data
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdx), %r14
	movq	8(%rdi), %r13
	leaq	L_.str(%rip), %rsi
	leaq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %ebx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_2:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rcx
	movq	_ADC5_PARALLEL_ISENSE_VBAT_IDATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movq	-120(%rbp), %r13                ## 8-byte Reload
	ja	LBB0_9
## %bb.3:
	movq	16(%r13), %rax
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_9
## %bb.4:
	movq	%rcx, (%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %r14
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r14), %rax
LBB0_6:
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, 8(%r12)
	leaq	L_.str.5(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	_ADC5_DECIMATION_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	xorl	%eax, %eax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_10:
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_39
## %bb.12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_14:
	movq	-88(%rbp), %rdi
	movl	8(%r13), %esi
	callq	_adc5_decimation_from_dt
	testl	%eax, %eax
	js	LBB0_31
LBB0_15:
	movl	%eax, 16(%r12)
	leaq	L_.str.7(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_18
LBB0_17:
	movq	-64(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_adc5_prescaling_from_dt
	testl	%eax, %eax
	js	LBB0_32
LBB0_18:
	movl	%eax, 20(%r12)
	leaq	L_.str.9(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	movq	_VADC_DEF_HW_SETTLE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	movl	%eax, 24(%r12)
	leaq	L_.str.13(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_26
## %bb.21:
	movq	_VADC_DEF_AVG_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_27
LBB0_22:
	movq	_ADC5_USR_REVISION1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$16, %ecx
	callq	_adc5_read
	testl	%eax, %eax
	js	LBB0_33
## %bb.23:
	movq	-80(%rbp), %rsi
	movq	-72(%rbp), %rdx
	leaq	L_.str.11(%rip), %rdi
	callq	_pr_debug
	movq	-80(%rbp), %rax
	movq	_ADC5_HW_SETTLE_DIFF_MINOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_25
## %bb.24:
	movq	-72(%rbp), %rax
	movq	_ADC5_HW_SETTLE_DIFF_MAJOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_35
LBB0_25:
	movq	-88(%rbp), %rdi
	movl	(%r13), %esi
	jmp	LBB0_36
LBB0_26:
	movq	-88(%rbp), %rdi
	callq	_adc5_avg_samples_from_dt
	testl	%eax, %eax
	js	LBB0_34
LBB0_27:
	movl	%eax, 28(%r12)
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	movq	_ADC5_ABSOLUTE_CAL@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_29:
	movq	_ADC5_RATIOMETRIC_CAL@GOTPCREL(%rip), %rax
LBB0_30:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 36(%r12)
	movq	_ADC5_TIMER_CAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	-104(%rbp), %rdx
	leaq	L_.str.16(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_31:
	movl	%eax, %ebx
	movq	-104(%rbp), %rdx
	movq	-88(%rbp), %rcx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_38
LBB0_32:
	movl	%eax, %ebx
	movq	-104(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	leaq	L_.str.8(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_33:
	leaq	L_.str.10(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ebx
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_34:
	movl	%eax, %ebx
	movq	-104(%rbp), %rdx
	movq	-88(%rbp), %rcx
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_38
LBB0_35:
	movq	-88(%rbp), %rdi
	movl	4(%r13), %esi
LBB0_36:
	callq	_adc5_hw_settle_time_from_dt
	testl	%eax, %eax
	jns	LBB0_20
## %bb.37:
	movl	%eax, %ebx
	movq	-104(%rbp), %rdx
	movq	-88(%rbp), %rcx
	leaq	L_.str.12(%rip), %rsi
LBB0_38:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reg"

L_.str.1:                               ## @.str.1
	.asciz	"invalid channel number %s\n"

	.comm	_ADC5_PARALLEL_ISENSE_VBAT_IDATA,8,3 ## @ADC5_PARALLEL_ISENSE_VBAT_IDATA
L_.str.2:                               ## @.str.2
	.asciz	"%s invalid channel number %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"label"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid channel name\n"

L_.str.5:                               ## @.str.5
	.asciz	"qcom,decimation"

L_.str.6:                               ## @.str.6
	.asciz	"%02x invalid decimation %d\n"

	.comm	_ADC5_DECIMATION_DEFAULT,4,2    ## @ADC5_DECIMATION_DEFAULT
L_.str.7:                               ## @.str.7
	.asciz	"qcom,pre-scaling"

L_.str.8:                               ## @.str.8
	.asciz	"%02x invalid pre-scaling <%d %d>\n"

L_.str.9:                               ## @.str.9
	.asciz	"qcom,hw-settle-time"

	.comm	_ADC5_USR_REVISION1,4,2         ## @ADC5_USR_REVISION1
L_.str.10:                              ## @.str.10
	.asciz	"Invalid dig version read %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"dig_ver:minor:%d, major:%d\n"

	.comm	_ADC5_HW_SETTLE_DIFF_MINOR,8,3  ## @ADC5_HW_SETTLE_DIFF_MINOR
	.comm	_ADC5_HW_SETTLE_DIFF_MAJOR,8,3  ## @ADC5_HW_SETTLE_DIFF_MAJOR
L_.str.12:                              ## @.str.12
	.asciz	"%02x invalid hw-settle-time %d us\n"

	.comm	_VADC_DEF_HW_SETTLE_TIME,4,2    ## @VADC_DEF_HW_SETTLE_TIME
L_.str.13:                              ## @.str.13
	.asciz	"qcom,avg-samples"

L_.str.14:                              ## @.str.14
	.asciz	"%02x invalid avg-samples %d\n"

	.comm	_VADC_DEF_AVG_SAMPLES,4,2       ## @VADC_DEF_AVG_SAMPLES
L_.str.15:                              ## @.str.15
	.asciz	"qcom,ratiometric"

	.comm	_ADC5_RATIOMETRIC_CAL,4,2       ## @ADC5_RATIOMETRIC_CAL
	.comm	_ADC5_ABSOLUTE_CAL,4,2          ## @ADC5_ABSOLUTE_CAL
	.comm	_ADC5_TIMER_CAL,4,2             ## @ADC5_TIMER_CAL
L_.str.16:                              ## @.str.16
	.asciz	"%02x name %s\n"

	.no_dead_strip	_adc5_get_dt_channel_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adc5_get_dt_channel_data
_adc5_get_dt_channel_data:              ; @adc5_get_dt_channel_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	x20, [x2]
	ldr	x19, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #32
	mov	x0, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_3
; %bb.1:
	mov	x24, x0
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_12
LBB0_3:
	ldr	x8, [sp, #32]
Lloh7:
	adrp	x9, _ADC5_PARALLEL_ISENSE_VBAT_IDATA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ADC5_PARALLEL_ISENSE_VBAT_IDATA@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hi	LBB0_10
; %bb.4:
	ldr	x9, [x23, #16]
	ldr	w9, [x9, x8, lsl #2]
	cbz	w9, LBB0_10
; %bb.5:
	str	x8, [x21]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x2, #0
	bl	_of_get_property
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x22]
LBB0_7:
	cbz	x0, LBB0_14
; %bb.8:
	str	x0, [x21, #8]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #24
	mov	x0, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_15
; %bb.9:
Lloh14:
	adrp	x8, _ADC5_DECIMATION_DEFAULT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ADC5_DECIMATION_DEFAULT@GOTPAGEOFF]
Lloh16:
	ldr	w24, [x8]
	b	LBB0_16
LBB0_10:
	stp	x20, x8, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_11:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_12:
	ldr	x8, [sp, #72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.13:
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_14:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	b	LBB0_11
LBB0_15:
	ldr	x0, [sp, #24]
	ldr	w1, [x23, #8]
	bl	_adc5_decimation_from_dt
	mov	x24, x0
	tbnz	w0, #31, LBB0_29
LBB0_16:
	str	w24, [x21, #16]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #56
	mov	x0, x22
	mov	w3, #2
	bl	_of_property_read_u32_array
	cbz	w0, LBB0_18
; %bb.17:
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w24, [x8, x9, lsl #2]
	b	LBB0_19
LBB0_18:
	ldp	x0, x1, [sp, #56]
	bl	_adc5_prescaling_from_dt
	mov	x24, x0
	tbnz	w0, #31, LBB0_30
LBB0_19:
	str	w24, [x21, #20]
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #24
	mov	x0, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_23
; %bb.20:
Lloh31:
	adrp	x8, _VADC_DEF_HW_SETTLE_TIME@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VADC_DEF_HW_SETTLE_TIME@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x21, #24]
LBB0_21:
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x2, sp, #24
	mov	x0, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_27
; %bb.22:
Lloh36:
	adrp	x8, _VADC_DEF_AVG_SAMPLES@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VADC_DEF_AVG_SAMPLES@GOTPAGEOFF]
Lloh38:
	ldr	w24, [x8]
	b	LBB0_28
LBB0_23:
Lloh39:
	adrp	x8, _ADC5_USR_REVISION1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ADC5_USR_REVISION1@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x25
	mov	w3, #16
	bl	_adc5_read
	tbnz	w0, #31, LBB0_31
; %bb.24:
	ldp	x1, x2, [sp, #40]
Lloh42:
	adrp	x0, l_.str.11@PAGE
Lloh43:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_debug
	ldr	x8, [sp, #40]
Lloh44:
	adrp	x9, _ADC5_HW_SETTLE_DIFF_MINOR@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ADC5_HW_SETTLE_DIFF_MINOR@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_26
; %bb.25:
	ldr	x8, [sp, #48]
Lloh47:
	adrp	x9, _ADC5_HW_SETTLE_DIFF_MAJOR@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ADC5_HW_SETTLE_DIFF_MAJOR@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_33
LBB0_26:
	ldr	x0, [sp, #24]
	ldr	w1, [x23]
	b	LBB0_34
LBB0_27:
	ldr	x0, [sp, #24]
	bl	_adc5_avg_samples_from_dt
	mov	x24, x0
	tbnz	w0, #31, LBB0_32
LBB0_28:
	str	w24, [x21, #28]
Lloh50:
	adrp	x1, l_.str.15@PAGE
Lloh51:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
Lloh52:
	adrp	x8, _ADC5_ABSOLUTE_CAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ADC5_ABSOLUTE_CAL@GOTPAGEOFF]
Lloh54:
	adrp	x9, _ADC5_RATIOMETRIC_CAL@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ADC5_RATIOMETRIC_CAL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _ADC5_TIMER_CAL@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ADC5_TIMER_CAL@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #32]
	ldr	x2, [sp, #32]
Lloh59:
	adrp	x1, l_.str.16@PAGE
Lloh60:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_dev_dbg
	mov	w24, #0
	b	LBB0_12
LBB0_29:
	ldp	x9, x8, [sp, #24]
	stp	x8, x9, [sp]
Lloh61:
	adrp	x1, l_.str.6@PAGE
Lloh62:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_30:
	ldr	x8, [sp, #32]
	ldp	x9, x10, [sp, #56]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh63:
	adrp	x1, l_.str.8@PAGE
Lloh64:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_2
LBB0_31:
	mov	x24, x0
	str	x24, [sp]
Lloh65:
	adrp	x1, l_.str.10@PAGE
Lloh66:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_2
LBB0_32:
	ldp	x9, x8, [sp, #24]
	stp	x8, x9, [sp]
Lloh67:
	adrp	x1, l_.str.14@PAGE
Lloh68:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_2
LBB0_33:
	ldr	x0, [sp, #24]
	ldr	w1, [x23, #4]
LBB0_34:
	bl	_adc5_hw_settle_time_from_dt
	mov	x24, x0
	tbnz	w0, #31, LBB0_36
; %bb.35:
	str	w24, [x21, #24]
	b	LBB0_21
LBB0_36:
	ldp	x9, x8, [sp, #24]
	stp	x8, x9, [sp]
Lloh69:
	adrp	x1, l_.str.12@PAGE
Lloh70:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_2
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reg"

l_.str.1:                               ; @.str.1
	.asciz	"invalid channel number %s\n"

	.comm	_ADC5_PARALLEL_ISENSE_VBAT_IDATA,8,3 ; @ADC5_PARALLEL_ISENSE_VBAT_IDATA
l_.str.2:                               ; @.str.2
	.asciz	"%s invalid channel number %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"label"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid channel name\n"

l_.str.5:                               ; @.str.5
	.asciz	"qcom,decimation"

l_.str.6:                               ; @.str.6
	.asciz	"%02x invalid decimation %d\n"

	.comm	_ADC5_DECIMATION_DEFAULT,4,2    ; @ADC5_DECIMATION_DEFAULT
l_.str.7:                               ; @.str.7
	.asciz	"qcom,pre-scaling"

l_.str.8:                               ; @.str.8
	.asciz	"%02x invalid pre-scaling <%d %d>\n"

l_.str.9:                               ; @.str.9
	.asciz	"qcom,hw-settle-time"

	.comm	_ADC5_USR_REVISION1,4,2         ; @ADC5_USR_REVISION1
l_.str.10:                              ; @.str.10
	.asciz	"Invalid dig version read %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"dig_ver:minor:%d, major:%d\n"

	.comm	_ADC5_HW_SETTLE_DIFF_MINOR,8,3  ; @ADC5_HW_SETTLE_DIFF_MINOR
	.comm	_ADC5_HW_SETTLE_DIFF_MAJOR,8,3  ; @ADC5_HW_SETTLE_DIFF_MAJOR
l_.str.12:                              ; @.str.12
	.asciz	"%02x invalid hw-settle-time %d us\n"

	.comm	_VADC_DEF_HW_SETTLE_TIME,4,2    ; @VADC_DEF_HW_SETTLE_TIME
l_.str.13:                              ; @.str.13
	.asciz	"qcom,avg-samples"

l_.str.14:                              ; @.str.14
	.asciz	"%02x invalid avg-samples %d\n"

	.comm	_VADC_DEF_AVG_SAMPLES,4,2       ; @VADC_DEF_AVG_SAMPLES
l_.str.15:                              ; @.str.15
	.asciz	"qcom,ratiometric"

	.comm	_ADC5_RATIOMETRIC_CAL,4,2       ; @ADC5_RATIOMETRIC_CAL
	.comm	_ADC5_ABSOLUTE_CAL,4,2          ; @ADC5_ABSOLUTE_CAL
	.comm	_ADC5_TIMER_CAL,4,2             ; @ADC5_TIMER_CAL
l_.str.16:                              ; @.str.16
	.asciz	"%02x name %s\n"

	.no_dead_strip	_adc5_get_dt_channel_data
.subsections_via_symbols
