	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xadc_probe
_xadc_probe:                            ## @xadc_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	movq	_xadc_of_match_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	$80, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	%rax, 16(%r15)
	movl	%r14d, (%r15)
	leaq	72(%r15), %rdi
	callq	_init_completion
	leaq	68(%r15), %rdi
	callq	_mutex_init
	leaq	64(%r15), %rdi
	callq	_spin_lock_init
	leaq	48(%r15), %r14
	movq	_xadc_zynq_unmask_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_DELAYED_WORK
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 56(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	56(%r15), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	subl	(%rax), %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r12, 48(%r13)
	movl	(%r12), %esi
	movl	%esi, 40(%r13)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r13)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	_xadc_info@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r13)
	leaq	-60(%rbp), %rdx
	movq	%r13, %rdi
	callq	_xadc_parse_dt
	movq	%r13, %rbx
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:
	movq	16(%rbx), %rdi
	callq	_kfree
	jmp	LBB0_12
LBB0_15:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rax
	movq	_XADC_FLAGS_BUFFERED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_21
## %bb.16:
	movq	_iio_pollfunc_store_time@GOTPCREL(%rip), %rsi
	movq	_xadc_trigger_handler@GOTPCREL(%rip), %rdx
	movq	_xadc_buffer_ops@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_iio_triggered_buffer_setup
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.17:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xadc_alloc_trigger
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	24(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	_XADC_FLAGS_BUFFERED@GOTPCREL(%rip), %rbx
	jmp	LBB0_47
LBB0_19:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xadc_alloc_trigger
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	movq	_XADC_FLAGS_BUFFERED@GOTPCREL(%rip), %rbx
	je	LBB0_21
## %bb.20:
	movq	32(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_45
LBB0_21:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 40(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	40(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_43
LBB0_23:
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_43
## %bb.24:
	movl	(%r15), %ebx
	movq	16(%r15), %rax
	movl	16(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_name
	movl	%ebx, %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_request_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_42
## %bb.25:
	movq	16(%r15), %rax
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	*8(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.26:
	xorl	%edi, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$1, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$4, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$2, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$8, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$3, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$12, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$4, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$16, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$5, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$20, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$6, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$24, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$7, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$28, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$8, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$32, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$9, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$36, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$10, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$40, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$11, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$44, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$12, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$48, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$13, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$52, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$14, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$56, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movl	$15, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rdx
	addq	$60, %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_read_adc_reg
	movq	_XADC_REG_CONF0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-60(%rbp), %edx
	movq	%r15, %rdi
	callq	_xadc_write_adc_reg
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.27:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_32
## %bb.28:
	xorl	%ebx, %ebx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_32
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rcx
	cmpb	$115, 4(%rcx,%rbx,8)
	jne	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	(%rcx,%rbx,8), %edi
	callq	_BIT
	orl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	movl	8(%r13), %eax
	jmp	LBB0_29
LBB0_32:
	xorl	%edi, %edi
	callq	_XADC_REG_INPUT_MODE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_xadc_write_adc_reg
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.33:
	movl	$1, %edi
	callq	_XADC_REG_INPUT_MODE
	shrl	$16, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_xadc_write_adc_reg
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.34:
	movq	_XADC_REG_CONF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XADC_CONF1_ALARM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_xadc_update_adc_reg
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.35:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testb	$4, %bl
	movl	$0, %eax
	movl	$65535, %edx                    ## imm = 0xFFFF
	cmovel	%edx, %eax
	cmpq	$7, %rbx
	movq	8(%r15), %rcx
	cmovel	%edx, %eax
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_XADC_REG_THRESHOLD
	movq	8(%r15), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xadc_write_adc_reg
	testl	%eax, %eax
	jne	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	$16, %rcx
	jne	LBB0_36
## %bb.38:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_xadc_postdisable
	movq	%rbx, %rdi
	callq	_iio_device_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.39:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_platform_set_drvdata
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_40:
	movl	%eax, %r13d
LBB0_41:
	movl	(%r15), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_free_irq
	movq	%r14, %rdi
	callq	_cancel_delayed_work_sync
LBB0_42:
	movq	40(%r15), %rdi
	callq	_clk_disable_unprepare
	movq	_XADC_FLAGS_BUFFERED@GOTPCREL(%rip), %rbx
LBB0_43:
	movq	16(%r15), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_45
## %bb.44:
	movq	32(%r15), %rdi
	callq	_iio_trigger_free
LBB0_45:
	movq	16(%r15), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_47
## %bb.46:
	movq	24(%r15), %rdi
	callq	_iio_trigger_free
LBB0_47:
	movq	16(%r15), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_49
## %bb.48:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_iio_triggered_buffer_cleanup
	jmp	LBB0_14
LBB0_49:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_xadc_of_match_table,4,2        ## @xadc_of_match_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_xadc_zynq_unmask_worker,4,2    ## @xadc_zynq_unmask_worker
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xadc"

	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_xadc_info,4,2                  ## @xadc_info
	.comm	_XADC_FLAGS_BUFFERED,4,2        ## @XADC_FLAGS_BUFFERED
	.comm	_iio_pollfunc_store_time,4,2    ## @iio_pollfunc_store_time
	.comm	_xadc_trigger_handler,4,2       ## @xadc_trigger_handler
	.comm	_xadc_buffer_ops,4,2            ## @xadc_buffer_ops
L_.str.1:                               ## @.str.1
	.asciz	"convst"

L_.str.2:                               ## @.str.2
	.asciz	"samplerate"

	.comm	_XADC_REG_CONF0,4,2             ## @XADC_REG_CONF0
	.comm	_XADC_REG_CONF1,4,2             ## @XADC_REG_CONF1
	.comm	_XADC_CONF1_ALARM_MASK,4,2      ## @XADC_CONF1_ALARM_MASK
	.no_dead_strip	_xadc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xadc_probe
_xadc_probe:                            ; @xadc_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
	ldr	w1, [x0]
	cbz	w1, LBB0_6
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _xadc_of_match_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xadc_of_match_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_of_match_node
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	cmp	w0, #0
	b.le	LBB0_8
; %bb.3:
	mov	x23, x0
	mov	x0, x21
	mov	w1, #80
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	ldr	x8, [x22]
	str	x8, [x0, #16]
	str	w23, [x0], #72
	bl	_init_completion
	add	x0, x20, #68
	bl	_mutex_init
	add	x0, x20, #64
	bl	_spin_lock_init
	add	x22, x20, #48
Lloh3:
	adrp	x8, _xadc_zynq_unmask_worker@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xadc_zynq_unmask_worker@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_INIT_DELAYED_WORK
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x21
	bl	_devm_ioremap_resource
	str	x0, [x20, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x0, [x20, #56]
	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
	b	_PTR_ERR
LBB0_6:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh13:
	adrp	x8, _ENXIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_11:
	mov	x0, x23
	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_12:
	str	x21, [x19, #48]
	ldr	w1, [x21]
	str	w1, [x19, #40]
Lloh17:
	adrp	x8, l_.str@PAGE
Lloh18:
	add	x8, x8, l_.str@PAGEOFF
Lloh19:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
	str	x8, [x19]
Lloh21:
	ldr	w8, [x9]
	str	w8, [x19, #32]
Lloh22:
	adrp	x8, _xadc_info@GOTPAGE
Lloh23:
	ldr	x8, [x8, _xadc_info@GOTPAGEOFF]
	str	x8, [x19, #24]
	add	x2, sp, #12
	mov	x0, x19
	bl	_xadc_parse_dt
	mov	x23, x0
	cbz	w0, LBB0_14
LBB0_13:
	ldr	x0, [x19, #16]
	bl	_kfree
	b	LBB0_11
LBB0_14:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
Lloh24:
	adrp	x25, _XADC_FLAGS_BUFFERED@GOTPAGE
Lloh25:
	ldr	x25, [x25, _XADC_FLAGS_BUFFERED@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.15:
Lloh26:
	adrp	x1, _iio_pollfunc_store_time@GOTPAGE
Lloh27:
	ldr	x1, [x1, _iio_pollfunc_store_time@GOTPAGEOFF]
Lloh28:
	adrp	x2, _xadc_trigger_handler@GOTPAGE
Lloh29:
	ldr	x2, [x2, _xadc_trigger_handler@GOTPAGEOFF]
Lloh30:
	adrp	x3, _xadc_buffer_ops@GOTPAGE
Lloh31:
	ldr	x3, [x3, _xadc_buffer_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_iio_triggered_buffer_setup
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.16:
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_xadc_alloc_trigger
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x0, [x20, #24]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_47
LBB0_18:
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_xadc_alloc_trigger
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x0, [x20, #32]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_45
LBB0_20:
	mov	x0, x21
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #40]
	cbz	x8, LBB0_22
; %bb.21:
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_43
LBB0_22:
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_43
; %bb.23:
	ldr	w23, [x20]
	ldr	x8, [x20, #16]
	ldr	w24, [x8, #16]
	mov	x0, x21
	bl	_dev_name
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_42
; %bb.24:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	ldr	w2, [x20]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.25:
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x2, [x20, #8]
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #1
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #4
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #2
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #8
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #3
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #12
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #4
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #16
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #5
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #20
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #6
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #24
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #7
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #28
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #8
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #32
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #9
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #36
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #10
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #40
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #11
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #44
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #12
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #48
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #13
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #52
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #14
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #56
	mov	x0, x20
	bl	_xadc_read_adc_reg
	mov	w0, #15
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	add	x2, x8, #60
	mov	x0, x20
	bl	_xadc_read_adc_reg
Lloh36:
	adrp	x8, _XADC_REG_CONF0@GOTPAGE
Lloh37:
	ldr	x8, [x8, _XADC_REG_CONF0@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [sp, #12]
	mov	x0, x20
	bl	_xadc_write_adc_reg
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.26:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.27:
	mov	x24, #0
	mov	x26, #0
	mov	w23, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x26, x26, #1
	add	x24, x24, #8
	cmp	x26, w8, sxtw
	b.ge	LBB0_32
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	add	x10, x9, x24
	ldrb	w10, [x10, #4]
	cmp	w10, #115
	b.ne	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x9, x24]
	bl	_BIT
	orr	w23, w0, w23
	ldr	w8, [x19, #8]
	b	LBB0_28
LBB0_31:
	mov	w23, #0
LBB0_32:
	mov	w0, #0
	bl	_XADC_REG_INPUT_MODE
	mov	x1, x0
	mov	x0, x20
	mov	x24, x23
	mov	x2, x23
	bl	_xadc_write_adc_reg
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.33:
	mov	w0, #1
	bl	_XADC_REG_INPUT_MODE
	mov	x1, x0
	lsr	w2, w24, #16
	mov	x0, x20
	bl	_xadc_write_adc_reg
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.34:
Lloh39:
	adrp	x8, _XADC_REG_CONF1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _XADC_REG_CONF1@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _XADC_CONF1_ALARM_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _XADC_CONF1_ALARM_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x2
	bl	_xadc_update_adc_reg
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.35:
	mov	x24, #0
	mov	w26, #65535
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	tst	w24, #0x4
	ccmp	x24, #7, #4, ne
	ldr	x8, [x20, #8]
	lsl	x23, x24, #2
	csel	w9, w26, wzr, eq
	str	w9, [x8, x23]
	mov	x0, x24
	bl	_XADC_REG_THRESHOLD
	mov	x1, x0
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x23]
	mov	x0, x20
	bl	_xadc_write_adc_reg
	cbnz	w0, LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	add	x24, x24, #1
	cmp	x24, #16
	b.ne	LBB0_36
; %bb.38:
	mov	x0, x19
	bl	_xadc_postdisable
	mov	x0, x19
	bl	_iio_device_register
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.39:
	mov	x0, x21
	mov	x1, x19
	bl	_platform_set_drvdata
	b	LBB0_11
LBB0_40:
	mov	x23, x0
LBB0_41:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_free_irq
	mov	x0, x22
	bl	_cancel_delayed_work_sync
LBB0_42:
	ldr	x0, [x20, #40]
	bl	_clk_disable_unprepare
LBB0_43:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.44:
	ldr	x0, [x20, #32]
	bl	_iio_trigger_free
LBB0_45:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.46:
	ldr	x0, [x20, #24]
	bl	_iio_trigger_free
LBB0_47:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.48:
	mov	x0, x19
	bl	_iio_triggered_buffer_cleanup
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_xadc_of_match_table,4,2        ; @xadc_of_match_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_xadc_zynq_unmask_worker,4,2    ; @xadc_zynq_unmask_worker
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xadc"

	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_xadc_info,4,2                  ; @xadc_info
	.comm	_XADC_FLAGS_BUFFERED,4,2        ; @XADC_FLAGS_BUFFERED
	.comm	_iio_pollfunc_store_time,4,2    ; @iio_pollfunc_store_time
	.comm	_xadc_trigger_handler,4,2       ; @xadc_trigger_handler
	.comm	_xadc_buffer_ops,4,2            ; @xadc_buffer_ops
l_.str.1:                               ; @.str.1
	.asciz	"convst"

l_.str.2:                               ; @.str.2
	.asciz	"samplerate"

	.comm	_XADC_REG_CONF0,4,2             ; @XADC_REG_CONF0
	.comm	_XADC_REG_CONF1,4,2             ; @XADC_REG_CONF1
	.comm	_XADC_CONF1_ALARM_MASK,4,2      ; @XADC_CONF1_ALARM_MASK
	.no_dead_strip	_xadc_probe
.subsections_via_symbols
