	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nau7802_probe
_nau7802_probe:                         ## @nau7802_probe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	8(%rdi), %r12
	movq	16(%rdi), %r14
	movl	$0, -44(%rbp)
	testq	%r14, %r14
	je	LBB0_19
## %bb.1:
	movq	%rdi, %r13
	movq	%r12, %rdi
	movl	$48, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r12, 40(%rbx)
	movq	16(%r13), %rax
	movq	%rax, 32(%rbx)
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_dev_name
	movl	%eax, 28(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_nau7802_info@GOTPCREL(%rip), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%rbx)
	movq	%r13, 32(%r15)
	movq	_NAU7802_REG_PUCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_NAU7802_PUCTRL_RR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_23
## %bb.3:
	movq	32(%r15), %rdi
	movl	(%rbx), %esi
	movq	_NAU7802_PUCTRL_PUD_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_23
## %bb.4:
	movl	$210, %edi
	callq	_udelay
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	32(%r15), %rdi
	movl	(%rbx), %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_22
## %bb.5:
	movq	_NAU7802_PUCTRL_PUR_BIT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_22
## %bb.6:
	movq	%rbx, %r15
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	movl	-44(%rbp), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	_NAU7802_PUCTRL_PUA_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAU7802_PUCTRL_PUD_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_NAU7802_PUCTRL_CS_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	$2400, -44(%rbp)                ## imm = 0x960
	jl	LBB0_8
## %bb.7:
	movq	_NAU7802_PUCTRL_AVDDS_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %edx
	movq	32(%rbx), %rdi
	movl	(%r15), %esi
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_23
## %bb.9:
	movq	32(%rbx), %rdi
	movq	_NAU7802_REG_ADC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_23
## %bb.10:
	movl	-44(%rbp), %eax
	cmpl	$2400, %eax                     ## imm = 0x960
	jl	LBB0_12
## %bb.11:
	movl	$4500, %ecx                     ## imm = 0x1194
	subl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$458129845, %rax, %rdi          ## imm = 0x1B4E81B5
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NAU7802_CTRL1_VLDO
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rdi
	movq	_NAU7802_REG_CTRL1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_23
LBB0_12:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	imulq	$1000000000, %rax, %rax         ## imm = 0x3B9ACA00
	leal	23(%rbx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rax
	movq	8(%r15), %rdi
	movq	%rax, (%rdi,%rbx,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	leaq	40(%r15), %rdi
	callq	_init_completion
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	movq	%r15, %rbx
	je	LBB0_18
## %bb.16:
	movq	_nau7802_eoc_trigger@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_28
## %bb.17:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	movq	$0, (%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:
	movq	_NAU7802_SAMP_FREQ_320@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 24(%rbx)
	movq	32(%rbx), %r12
	movq	_NAU7802_REG_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_NAU7802_CTRL2_CRS
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_i2c_smbus_write_byte_data
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_31
	jmp	LBB0_29
LBB0_19:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_23:
	movl	%eax, %r12d
	jmp	LBB0_22
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_21:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_22:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	(%r13), %rdi
	callq	_disable_irq
	cmpq	$0, (%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
LBB0_29:
	movq	_nau7802_chan_array@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, (%r14)
	movq	(%r15), %rax
	movq	%rax, 8(%r14)
	leaq	20(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_init
	addq	$16, %rbx
	movq	%rbx, %r15
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_iio_device_register
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jns	LBB0_22
## %bb.30:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_destroy
	movq	%r15, %rdi
	callq	_mutex_destroy
	movl	%ebx, %r12d
LBB0_31:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.32:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_free_irq
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No device tree node available.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_nau7802_info,4,2               ## @nau7802_info
	.comm	_NAU7802_REG_PUCTRL,4,2         ## @NAU7802_REG_PUCTRL
	.comm	_NAU7802_PUCTRL_RR_BIT,4,2      ## @NAU7802_PUCTRL_RR_BIT
	.comm	_NAU7802_PUCTRL_PUD_BIT,4,2     ## @NAU7802_PUCTRL_PUD_BIT
	.comm	_NAU7802_PUCTRL_PUR_BIT,4,2     ## @NAU7802_PUCTRL_PUR_BIT
L_.str.1:                               ## @.str.1
	.asciz	"nuvoton,vldo"

	.comm	_NAU7802_PUCTRL_PUA_BIT,4,2     ## @NAU7802_PUCTRL_PUA_BIT
	.comm	_NAU7802_PUCTRL_CS_BIT,4,2      ## @NAU7802_PUCTRL_CS_BIT
	.comm	_NAU7802_PUCTRL_AVDDS_BIT,4,2   ## @NAU7802_PUCTRL_AVDDS_BIT
	.comm	_NAU7802_REG_ADC_CTRL,4,2       ## @NAU7802_REG_ADC_CTRL
	.comm	_NAU7802_REG_CTRL1,4,2          ## @NAU7802_REG_CTRL1
	.comm	_nau7802_eoc_trigger,4,2        ## @nau7802_eoc_trigger
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate IRQ, using polling mode\n"

	.comm	_NAU7802_SAMP_FREQ_320,4,2      ## @NAU7802_SAMP_FREQ_320
	.comm	_NAU7802_REG_CTRL2,4,2          ## @NAU7802_REG_CTRL2
	.comm	_nau7802_chan_array,8,3         ## @nau7802_chan_array
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't register the device.\n"

	.no_dead_strip	_nau7802_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nau7802_probe
_nau7802_probe:                         ; @nau7802_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	add	x21, x0, #8
	ldr	x23, [x0, #16]
	str	wzr, [sp, #12]
	cbz	x23, LBB0_17
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	mov	w1, #48
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_19
; %bb.2:
	mov	x20, x0
	bl	_iio_priv
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	ldr	x8, [x19, #16]
	stp	x8, x21, [x20, #32]
	mov	x0, x21
	bl	_dev_name
Lloh0:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #24]
Lloh3:
	adrp	x8, _nau7802_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nau7802_info@GOTPAGEOFF]
	str	x8, [x20, #16]
	str	x19, [x22, #32]
Lloh5:
	adrp	x25, _NAU7802_REG_PUCTRL@GOTPAGE
Lloh6:
	ldr	x25, [x25, _NAU7802_REG_PUCTRL@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh7:
	adrp	x8, _NAU7802_PUCTRL_RR_BIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NAU7802_PUCTRL_RR_BIT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_18
; %bb.3:
	ldr	x0, [x22, #32]
	ldr	w1, [x25]
Lloh10:
	adrp	x26, _NAU7802_PUCTRL_PUD_BIT@GOTPAGE
Lloh11:
	ldr	x26, [x26, _NAU7802_PUCTRL_PUD_BIT@GOTPAGEOFF]
	ldr	w2, [x26]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_18
; %bb.4:
	mov	w0, #210
	bl	_udelay
	ldr	x0, [x22, #32]
	ldr	w1, [x25]
	bl	_i2c_smbus_read_byte_data
	mov	x24, x0
	tbnz	w0, #31, LBB0_21
; %bb.5:
Lloh12:
	adrp	x8, _NAU7802_PUCTRL_PUR_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NAU7802_PUCTRL_PUR_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_21
; %bb.6:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x23
	bl	_of_property_read_u32
	ldr	w8, [sp, #12]
	str	w8, [x22]
	ldr	w8, [x26]
Lloh17:
	adrp	x9, _NAU7802_PUCTRL_PUA_BIT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NAU7802_PUCTRL_PUA_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _NAU7802_PUCTRL_CS_BIT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _NAU7802_PUCTRL_CS_BIT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh22:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
Lloh23:
	adrp	x10, _NAU7802_PUCTRL_AVDDS_BIT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _NAU7802_PUCTRL_AVDDS_BIT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	w9, #2399
	csel	w9, w10, wzr, gt
	orr	w2, w8, w9
	ldr	x0, [x22, #32]
	ldr	w1, [x25]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_18
; %bb.7:
	ldr	x0, [x22, #32]
Lloh26:
	adrp	x8, _NAU7802_REG_ADC_CTRL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NAU7802_REG_ADC_CTRL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #48
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_18
; %bb.8:
	ldr	w8, [sp, #12]
	cmp	w8, #2400
	b.lt	LBB0_10
; %bb.9:
	mov	w9, #4500
	sub	w8, w9, w8
	mov	w9, #33205
	movk	w9, #6990, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #5
	bl	_NAU7802_CTRL1_VLDO
	mov	x2, x0
	ldr	x0, [x22, #32]
Lloh29:
	adrp	x8, _NAU7802_REG_CTRL1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NAU7802_REG_CTRL1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_18
LBB0_10:
	ldr	x0, [x22, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x23, #0
	mov	w24, #51712
	movk	w24, #15258, lsl #16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	mul	x8, x8, x24
	add	x9, x23, #23
	lsr	x8, x8, x9
	ldr	x0, [x22, #8]
	str	x8, [x0, x23, lsl #3]
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_12
LBB0_13:
	add	x0, x22, #40
	bl	_init_completion
	ldr	x0, [x19]
	cbz	x0, LBB0_16
; %bb.14:
Lloh32:
	adrp	x8, _nau7802_eoc_trigger@GOTPAGE
Lloh33:
	ldr	x8, [x8, _nau7802_eoc_trigger@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x8, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	x8, [x21]
	ldr	w4, [x8]
	mov	x1, #0
	mov	x5, x20
	bl	_request_threaded_irq
	cbz	w0, LBB0_22
; %bb.15:
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	str	xzr, [x19]
LBB0_16:
Lloh43:
	adrp	x8, _NAU7802_SAMP_FREQ_320@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NAU7802_SAMP_FREQ_320@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	str	w0, [x22, #24]
	ldr	x23, [x22, #32]
Lloh46:
	adrp	x8, _NAU7802_REG_CTRL2@GOTPAGE
Lloh47:
	ldr	x8, [x8, _NAU7802_REG_CTRL2@GOTPAGEOFF]
Lloh48:
	ldr	w24, [x8]
	bl	_NAU7802_CTRL2_CRS
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_i2c_smbus_write_byte_data
	mov	x24, x0
	cbnz	w0, LBB0_26
	b	LBB0_23
LBB0_17:
Lloh49:
	adrp	x1, l_.str@PAGE
Lloh50:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh51:
	adrp	x8, _EINVAL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	mov	x24, x0
	b	LBB0_21
LBB0_19:
Lloh53:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_21:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_22:
	ldr	x0, [x19]
	bl	_disable_irq
	ldr	x8, [x19]
	cbz	x8, LBB0_16
LBB0_23:
Lloh55:
	adrp	x23, _nau7802_chan_array@GOTPAGE
Lloh56:
	ldr	x23, [x23, _nau7802_chan_array@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	str	w0, [x20]
	ldr	x8, [x23]
	str	x8, [x20, #8]
	add	x23, x22, #20
	mov	x0, x23
	bl	_mutex_init
	add	x22, x22, #16
	mov	x0, x22
	bl	_mutex_init
	mov	x0, x20
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_25
; %bb.24:
	mov	w24, #0
	b	LBB0_21
LBB0_25:
	mov	x24, x0
Lloh57:
	adrp	x1, l_.str.3@PAGE
Lloh58:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x0, x23
	bl	_mutex_destroy
	mov	x0, x22
	bl	_mutex_destroy
LBB0_26:
	ldr	x0, [x19]
	cbz	x0, LBB0_21
; %bb.27:
	mov	x1, x20
	bl	_free_irq
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No device tree node available.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_nau7802_info,4,2               ; @nau7802_info
	.comm	_NAU7802_REG_PUCTRL,4,2         ; @NAU7802_REG_PUCTRL
	.comm	_NAU7802_PUCTRL_RR_BIT,4,2      ; @NAU7802_PUCTRL_RR_BIT
	.comm	_NAU7802_PUCTRL_PUD_BIT,4,2     ; @NAU7802_PUCTRL_PUD_BIT
	.comm	_NAU7802_PUCTRL_PUR_BIT,4,2     ; @NAU7802_PUCTRL_PUR_BIT
l_.str.1:                               ; @.str.1
	.asciz	"nuvoton,vldo"

	.comm	_NAU7802_PUCTRL_PUA_BIT,4,2     ; @NAU7802_PUCTRL_PUA_BIT
	.comm	_NAU7802_PUCTRL_CS_BIT,4,2      ; @NAU7802_PUCTRL_CS_BIT
	.comm	_NAU7802_PUCTRL_AVDDS_BIT,4,2   ; @NAU7802_PUCTRL_AVDDS_BIT
	.comm	_NAU7802_REG_ADC_CTRL,4,2       ; @NAU7802_REG_ADC_CTRL
	.comm	_NAU7802_REG_CTRL1,4,2          ; @NAU7802_REG_CTRL1
	.comm	_nau7802_eoc_trigger,4,2        ; @nau7802_eoc_trigger
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate IRQ, using polling mode\n"

	.comm	_NAU7802_SAMP_FREQ_320,4,2      ; @NAU7802_SAMP_FREQ_320
	.comm	_NAU7802_REG_CTRL2,4,2          ; @NAU7802_REG_CTRL2
	.comm	_nau7802_chan_array,8,3         ; @nau7802_chan_array
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't register the device.\n"

	.no_dead_strip	_nau7802_probe
.subsections_via_symbols
