	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vf610_adc_probe
_vf610_adc_probe:                       ## @vf610_adc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$40, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r12, 24(%rax)
	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
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	32(%r14), %edi
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_22
## %bb.5:
	movq	24(%r14), %r13
	movq	_vf610_adc_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	4(%r14), %edi
	callq	_PTR_ERR
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	4(%r14), %edi
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r13d, %ebx
	jmp	LBB0_22
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	(%r14), %edi
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:
	callq	_regulator_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.12:
	movl	(%r14), %edi
	callq	_regulator_get_voltage
	movl	%eax, 20(%r14)
	movl	(%r12), %edi
	movl	16(%r14), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$3, %ecx
	callq	_of_property_read_u32_array
	movl	(%r12), %edi
	leaq	12(%r14), %rbx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	_DEFAULT_SAMPLE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_14:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_init_completion
	movq	%r12, %rdi
	callq	_dev_name
	movl	%eax, 40(%r15)
	movq	%r12, 32(%r15)
	movl	(%r12), %eax
	movl	%eax, 24(%r15)
	movq	_vf610_adc_iio_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_vf610_adc_iio_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, (%r15)
	movl	4(%r14), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_21
LBB0_16:
	movq	%r14, %rdi
	callq	_vf610_adc_cfg_init
	movq	%r14, %rdi
	callq	_vf610_adc_hw_init
	movq	_iio_pollfunc_store_time@GOTPCREL(%rip), %rsi
	movq	_iio_triggered_buffer_setup_ops@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	callq	_iio_triggered_buffer_cleanup
	jmp	LBB0_20
LBB0_17:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_20:
	movl	%r13d, %ebx
	movl	4(%r14), %edi
	callq	_clk_disable_unprepare
LBB0_21:
	movl	(%r14), %edi
	callq	_regulator_disable
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed allocating iio device\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_vf610_adc_isr,4,2              ## @vf610_adc_isr
L_.str.1:                               ## @.str.1
	.asciz	"failed requesting irq, irq = %d\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"failed getting clock, err = %ld\n"

L_.str.4:                               ## @.str.4
	.asciz	"vref"

L_.str.5:                               ## @.str.5
	.asciz	"fsl,adck-max-frequency"

L_.str.6:                               ## @.str.6
	.asciz	"min-sample-time"

	.comm	_DEFAULT_SAMPLE_TIME,4,2        ## @DEFAULT_SAMPLE_TIME
	.comm	_vf610_adc_iio_info,4,2         ## @vf610_adc_iio_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_vf610_adc_iio_channels,4,2     ## @vf610_adc_iio_channels
L_.str.7:                               ## @.str.7
	.asciz	"Could not prepare or enable the clock.\n"

	.comm	_iio_pollfunc_store_time,4,2    ## @iio_pollfunc_store_time
	.comm	_iio_triggered_buffer_setup_ops,4,2 ## @iio_triggered_buffer_setup_ops
L_.str.8:                               ## @.str.8
	.asciz	"Couldn't initialise the buffer\n"

L_.str.9:                               ## @.str.9
	.asciz	"Couldn't register the device.\n"

	.no_dead_strip	_vf610_adc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vf610_adc_probe
_vf610_adc_probe:                       ; @vf610_adc_probe
	.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	x20, x0
	mov	w1, #40
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_iio_priv
	mov	x19, x0
	str	x20, [x0, #24]
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19, #32]
LBB0_3:
	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
	b	_PTR_ERR
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	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_6:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_5
; %bb.7:
	ldr	x23, [x19, #24]
Lloh8:
	adrp	x8, _vf610_adc_isr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vf610_adc_isr@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_10
; %bb.8:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w0, [x19, #4]
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #4]
	b	LBB0_3
LBB0_10:
	mov	x23, x0
	str	x22, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x22, x23
	b	LBB0_5
LBB0_11:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	w0, [x19]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x19]
	cbnz	x8, LBB0_3
; %bb.12:
	bl	_regulator_enable
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.13:
	ldr	w0, [x19]
	bl	_regulator_get_voltage
	str	w0, [x19, #20]
	ldr	w0, [x20]
	ldr	w2, [x19, #16]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w3, #3
	bl	_of_property_read_u32_array
	ldr	w0, [x20]
	add	x22, x19, #12
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_of_property_read_u32
	cbz	w0, LBB0_15
; %bb.14:
Lloh23:
	adrp	x8, _DEFAULT_SAMPLE_TIME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DEFAULT_SAMPLE_TIME@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_15:
	mov	x0, x20
	mov	x1, x21
	bl	_platform_set_drvdata
	add	x0, x19, #8
	bl	_init_completion
	mov	x0, x20
	bl	_dev_name
	str	w0, [x21, #40]
	str	x20, [x21, #32]
	ldr	w8, [x20]
	str	w8, [x21, #24]
Lloh26:
	adrp	x8, _vf610_adc_iio_info@GOTPAGE
Lloh27:
	ldr	x8, [x8, _vf610_adc_iio_info@GOTPAGEOFF]
	str	x8, [x21, #16]
Lloh28:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _vf610_adc_iio_channels@GOTPAGE
Lloh32:
	ldr	x9, [x9, _vf610_adc_iio_channels@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x9]
	stp	w0, w8, [x21, #4]
	bl	_ARRAY_SIZE
	str	w0, [x21]
	ldr	w0, [x19, #4]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_17
; %bb.16:
	mov	x22, x0
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_22
LBB0_17:
	mov	x0, x19
	bl	_vf610_adc_cfg_init
	mov	x0, x19
	bl	_vf610_adc_hw_init
Lloh36:
	adrp	x1, _iio_pollfunc_store_time@GOTPAGE
Lloh37:
	ldr	x1, [x1, _iio_pollfunc_store_time@GOTPAGEOFF]
Lloh38:
	adrp	x3, _iio_triggered_buffer_setup_ops@GOTPAGE
Lloh39:
	ldr	x3, [x3, _iio_triggered_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, #0
	bl	_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_20
; %bb.18:
	mov	x0, x21
	bl	_iio_device_register
	mov	x22, x0
	cbz	w0, LBB0_5
; %bb.19:
Lloh40:
	adrp	x1, l_.str.9@PAGE
Lloh41:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x21
	bl	_iio_triggered_buffer_cleanup
	b	LBB0_21
LBB0_20:
	mov	x22, x0
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_21:
	ldr	w0, [x19, #4]
	bl	_clk_disable_unprepare
LBB0_22:
	ldr	w0, [x19]
	bl	_regulator_disable
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed allocating iio device\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_vf610_adc_isr,4,2              ; @vf610_adc_isr
l_.str.1:                               ; @.str.1
	.asciz	"failed requesting irq, irq = %d\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"failed getting clock, err = %ld\n"

l_.str.4:                               ; @.str.4
	.asciz	"vref"

l_.str.5:                               ; @.str.5
	.asciz	"fsl,adck-max-frequency"

l_.str.6:                               ; @.str.6
	.asciz	"min-sample-time"

	.comm	_DEFAULT_SAMPLE_TIME,4,2        ; @DEFAULT_SAMPLE_TIME
	.comm	_vf610_adc_iio_info,4,2         ; @vf610_adc_iio_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_vf610_adc_iio_channels,4,2     ; @vf610_adc_iio_channels
l_.str.7:                               ; @.str.7
	.asciz	"Could not prepare or enable the clock.\n"

	.comm	_iio_pollfunc_store_time,4,2    ; @iio_pollfunc_store_time
	.comm	_iio_triggered_buffer_setup_ops,4,2 ; @iio_triggered_buffer_setup_ops
l_.str.8:                               ; @.str.8
	.asciz	"Couldn't initialise the buffer\n"

l_.str.9:                               ; @.str.9
	.asciz	"Couldn't register the device.\n"

	.no_dead_strip	_vf610_adc_probe
.subsections_via_symbols
