	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_adc_init
_stm32_dfsdm_adc_init:                  ## @stm32_dfsdm_adc_init
	.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
	movq	%rdi, %r13
	callq	_iio_priv
	movq	%rax, %r14
	movq	_DFSDM_DEFAULT_OVERSAMPLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, 16(%r14)
	movq	%r13, %rdi
	callq	_stm32_dfsdm_compute_all_osrs
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	8(%r13), %rbx
	movl	8(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_property_count_u32_elems
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	cmpl	(%rax), %r12d
	jle	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%r12d, %r12d
	cmovsl	%r12d, %ebx
	jmp	LBB0_22
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_5:
	movq	%rbx, %rdi
	callq	_devm_iio_hw_consumer_alloc
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.10:
	movl	%r12d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, (%r14)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_stm32_dfsdm_adc_chan_init_one
	testl	%eax, %eax
	js	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	addq	$4, %r14
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_13
LBB0_16:
	movl	%r12d, (%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_init_completion
	movq	%r13, %rdi
	callq	_stm32_dfsdm_dma_request
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_dbg
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_14:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_18:
	movq	_iio_pollfunc_store_time@GOTPCREL(%rip), %rsi
	movq	_stm32_dfsdm_adc_trigger_handler@GOTPCREL(%rip), %rdx
	movq	_stm32_dfsdm_buffer_setup_ops@GOTPCREL(%rip), %rcx
	movq	%r13, %rdi
	callq	_iio_triggered_buffer_setup
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_stm32_dfsdm_dma_release
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	jmp	LBB0_22
LBB0_20:
	movq	_INDIO_HARDWARE_TRIGGERED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_DFSDM_DEFAULT_OVERSAMPLING,4,2 ## @DFSDM_DEFAULT_OVERSAMPLING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"st,adc-channels"

L_.str.1:                               ## @.str.1
	.asciz	"Bad st,adc-channels\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Channels init failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"No DMA support\n"

	.comm	_iio_pollfunc_store_time,4,2    ## @iio_pollfunc_store_time
	.comm	_stm32_dfsdm_adc_trigger_handler,4,2 ## @stm32_dfsdm_adc_trigger_handler
	.comm	_stm32_dfsdm_buffer_setup_ops,4,2 ## @stm32_dfsdm_buffer_setup_ops
L_.str.4:                               ## @.str.4
	.asciz	"buffer setup failed\n"

	.comm	_INDIO_HARDWARE_TRIGGERED,4,2   ## @INDIO_HARDWARE_TRIGGERED
	.no_dead_strip	_stm32_dfsdm_adc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_adc_init
_stm32_dfsdm_adc_init:                  ; @stm32_dfsdm_adc_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_iio_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _DFSDM_DEFAULT_OVERSAMPLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DFSDM_DEFAULT_OVERSAMPLING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	w1, [x0, #16]
	mov	x0, x19
	bl	_stm32_dfsdm_compute_all_osrs
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x19
	ldr	w0, [x20, #8]!
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_property_count_u32_elems
	mov	x22, x0
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cmp	w22, w8
	b.le	LBB0_5
LBB0_3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w22, #0
	csneg	w23, w22, w8, lt
	b	LBB0_8
LBB0_4:
	mov	x23, x0
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_devm_iio_hw_consumer_alloc
	str	w0, [x21, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
Lloh10:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_8:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_16
; %bb.10:
	mov	x24, x0
	cbz	w22, LBB0_14
; %bb.11:
	mov	x26, #0
	mov	w27, w22
	mov	x25, x24
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	w26, [x25]
	mov	x0, x19
	mov	x1, x25
	bl	_stm32_dfsdm_adc_chan_init_one
	tbnz	w0, #31, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x26, x26, #1
	add	x25, x25, #4
	cmp	x27, x26
	b.ne	LBB0_12
LBB0_14:
	str	w22, [x19]
	str	x24, [x19, #16]
	mov	x0, x21
	bl	_init_completion
	mov	x0, x19
	bl	_stm32_dfsdm_dma_request
	cbz	x0, LBB0_18
; %bb.15:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w23, #0
	b	LBB0_8
LBB0_16:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_17:
	mov	x23, x0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_18:
Lloh21:
	adrp	x1, _iio_pollfunc_store_time@GOTPAGE
Lloh22:
	ldr	x1, [x1, _iio_pollfunc_store_time@GOTPAGEOFF]
Lloh23:
	adrp	x2, _stm32_dfsdm_adc_trigger_handler@GOTPAGE
Lloh24:
	ldr	x2, [x2, _stm32_dfsdm_adc_trigger_handler@GOTPAGEOFF]
Lloh25:
	adrp	x3, _stm32_dfsdm_buffer_setup_ops@GOTPAGE
Lloh26:
	ldr	x3, [x3, _stm32_dfsdm_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_iio_triggered_buffer_setup
	mov	x23, x0
	cbz	w0, LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_stm32_dfsdm_dma_release
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_20:
	mov	x0, x20
	bl	_dev_err
	b	LBB0_8
LBB0_21:
Lloh29:
	adrp	x8, _INDIO_HARDWARE_TRIGGERED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _INDIO_HARDWARE_TRIGGERED@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_DFSDM_DEFAULT_OVERSAMPLING,4,2 ; @DFSDM_DEFAULT_OVERSAMPLING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"st,adc-channels"

l_.str.1:                               ; @.str.1
	.asciz	"Bad st,adc-channels\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Channels init failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"No DMA support\n"

	.comm	_iio_pollfunc_store_time,4,2    ; @iio_pollfunc_store_time
	.comm	_stm32_dfsdm_adc_trigger_handler,4,2 ; @stm32_dfsdm_adc_trigger_handler
	.comm	_stm32_dfsdm_buffer_setup_ops,4,2 ; @stm32_dfsdm_buffer_setup_ops
l_.str.4:                               ; @.str.4
	.asciz	"buffer setup failed\n"

	.comm	_INDIO_HARDWARE_TRIGGERED,4,2   ; @INDIO_HARDWARE_TRIGGERED
	.no_dead_strip	_stm32_dfsdm_adc_init
.subsections_via_symbols
