	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_adc_trigger_handler
_stm32_dfsdm_adc_trigger_handler:       ## @stm32_dfsdm_adc_trigger_handler
	.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	%rsi, %r14
	movq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_iio_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_stm32_dfsdm_adc_dma_residue
	cmpl	(%r15), %eax
	jl	LBB0_3
## %bb.1:
	movl	%eax, %r13d
	movq	(%r12), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$2, %rbx
	addq	16(%r12), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_stm32_dfsdm_process_data
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_push_to_buffers_with_timestamp
	movslq	(%r15), %rbx
	subl	%ebx, %r13d
	addq	(%r12), %rbx
	cmpq	8(%r12), %rbx
	movl	$0, %eax
	cmovaeq	%rax, %rbx
	movq	%rbx, (%r12)
	cmpl	(%r15), %r13d
	jge	LBB0_2
LBB0_3:
	movl	4(%r15), %edi
	callq	_iio_trigger_notify_done
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_stm32_dfsdm_adc_trigger_handler
.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_trigger_handler
_stm32_dfsdm_adc_trigger_handler:       ; @stm32_dfsdm_adc_trigger_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_iio_priv
	mov	x21, x0
	bl	_stm32_dfsdm_adc_dma_residue
	ldr	w8, [x19]
	cmp	w0, w8
	b.lt	LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	x8, [x21]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #16]
	add	x23, x9, x8, lsl #2
	mov	x0, x21
	mov	x1, x23
	bl	_stm32_dfsdm_process_data
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x23
	bl	_iio_push_to_buffers_with_timestamp
	ldrsw	x9, [x19]
	ldp	x8, x10, [x21]
	add	x8, x8, x9
	cmp	x8, x10
	csel	x8, x8, xzr, lo
	str	x8, [x21]
	ldr	w10, [x19]
	sub	w22, w22, w9
	cmp	w22, w10
	b.ge	LBB0_2
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_iio_trigger_notify_done
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_stm32_dfsdm_adc_trigger_handler
.subsections_via_symbols
