	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxl372_trigger_handler
_adxl372_trigger_handler:               ## @adxl372_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	leaq	-32(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%rax, %rdi
	callq	_adxl372_get_status
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	(%r15), %rax
	movq	_ADXL372_FIFO_BYPASSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movl	-32(%rbp), %edi
	callq	_ADXL372_STATUS_1_FIFO_FULL
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	-28(%rbp), %ecx
	subl	16(%r15), %ecx
	movl	%ecx, -28(%rbp)
	movl	24(%r15), %edi
	movq	_ADXL372_FIFO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15), %rdx
	shll	$2, %ecx
	callq	_regmap_noinc_read
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	cmpl	$0, -28(%rbp)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(,%rbx,4), %rsi
	addq	8(%r15), %rsi
	movq	%r14, %rdi
	callq	_iio_push_to_buffers
	addl	16(%r15), %ebx
	cmpl	-28(%rbp), %ebx
	jl	LBB0_6
LBB0_7:
	movl	(%r14), %edi
	callq	_iio_trigger_notify_done
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADXL372_FIFO_BYPASSED,8,3      ## @ADXL372_FIFO_BYPASSED
	.comm	_ADXL372_FIFO_DATA,4,2          ## @ADXL372_FIFO_DATA
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_adxl372_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxl372_trigger_handler
_adxl372_trigger_handler:               ; @adxl372_trigger_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x1]
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_adxl372_get_status
	tbnz	w0, #31, LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _ADXL372_FIFO_BYPASSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADXL372_FIFO_BYPASSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.2:
	ldr	w0, [sp, #12]
	bl	_ADXL372_STATUS_1_FIFO_FULL
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w8, [x20, #16]
	ldr	w9, [sp, #4]
	sub	w8, w9, w8
	str	w8, [sp, #4]
	ldr	w0, [x20, #24]
Lloh3:
	adrp	x9, _ADXL372_FIFO_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADXL372_FIFO_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ldr	x2, [x20, #8]
	lsl	w3, w8, #2
	bl	_regmap_noinc_read
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, w21, sxtw #2
	mov	x0, x19
	bl	_iio_push_to_buffers
	ldr	w8, [x20, #16]
	ldr	w9, [sp, #4]
	add	w21, w21, w8
	cmp	w21, w9
	b.lt	LBB0_6
LBB0_7:
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ADXL372_FIFO_BYPASSED,8,3      ; @ADXL372_FIFO_BYPASSED
	.comm	_ADXL372_FIFO_DATA,4,2          ; @ADXL372_FIFO_DATA
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_adxl372_trigger_handler
.subsections_via_symbols
