	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpa2326_dequeue_pressure
_zpa2326_dequeue_pressure:              ## @zpa2326_dequeue_pressure
	.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
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_iio_priv
	movq	(%rax), %r12
	movq	_ZPA2326_STATUS_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	$0, (%r15)
	movq	_ZPA2326_STATUS_P_OR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_zpa2326_warn
	movq	_ZPA2326_PRESS_OUT_XL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	$15, %esi
	movq	%r13, %rdi
	callq	_zpa2326_clear_fifo
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ZPA2326_PRESS_OUT_XL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$3, %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%r13d
	movq	_ZPA2326_STATUS_FIFO_E@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_7
## %bb.10:
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_zpa2326_dbg
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPA2326_STATUS_REG,4,2         ## @ZPA2326_STATUS_REG
	.comm	_ZPA2326_STATUS_P_OR,4,2        ## @ZPA2326_STATUS_P_OR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FIFO overflow"

	.comm	_ZPA2326_PRESS_OUT_XL_REG,4,2   ## @ZPA2326_PRESS_OUT_XL_REG
	.comm	_ZPA2326_STATUS_FIFO_E,4,2      ## @ZPA2326_STATUS_FIFO_E
L_.str.1:                               ## @.str.1
	.asciz	"cleared %d FIFO entries"

	.comm	_ZPA2326_FIFO_DEPTH,8,3         ## @ZPA2326_FIFO_DEPTH
	.no_dead_strip	_zpa2326_dequeue_pressure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpa2326_dequeue_pressure
_zpa2326_dequeue_pressure:              ; @zpa2326_dequeue_pressure
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_iio_priv
	ldr	x21, [x0]
Lloh0:
	adrp	x23, _ZPA2326_STATUS_REG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ZPA2326_STATUS_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	mov	x0, x21
	bl	_regmap_read
	tbnz	w0, #31, LBB0_11
; %bb.1:
	str	xzr, [x20]
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _ZPA2326_STATUS_P_OR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ZPA2326_STATUS_P_OR@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_zpa2326_warn
Lloh7:
	adrp	x8, _ZPA2326_PRESS_OUT_XL_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZPA2326_PRESS_OUT_XL_REG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	w3, #3
	bl	_regmap_bulk_read
	cbnz	w0, LBB0_11
; %bb.3:
	mov	x0, x19
	mov	w1, #15
	bl	_zpa2326_clear_fifo
	b	LBB0_11
LBB0_4:
	mov	w22, #-1
Lloh10:
	adrp	x24, _ZPA2326_PRESS_OUT_XL_REG@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ZPA2326_PRESS_OUT_XL_REG@GOTPAGEOFF]
Lloh12:
	adrp	x25, _ZPA2326_STATUS_FIFO_E@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ZPA2326_STATUS_FIFO_E@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x20
	mov	w3, #3
	bl	_regmap_bulk_read
	cbnz	w0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	add	x2, sp, #12
	mov	x0, x21
	bl	_regmap_read
	tbnz	w0, #31, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	ldr	w8, [sp, #12]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.8:
	cbz	w22, LBB0_10
; %bb.9:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_zpa2326_dbg
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPA2326_STATUS_REG,4,2         ; @ZPA2326_STATUS_REG
	.comm	_ZPA2326_STATUS_P_OR,4,2        ; @ZPA2326_STATUS_P_OR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FIFO overflow"

	.comm	_ZPA2326_PRESS_OUT_XL_REG,4,2   ; @ZPA2326_PRESS_OUT_XL_REG
	.comm	_ZPA2326_STATUS_FIFO_E,4,2      ; @ZPA2326_STATUS_FIFO_E
l_.str.1:                               ; @.str.1
	.asciz	"cleared %d FIFO entries"

	.comm	_ZPA2326_FIFO_DEPTH,8,3         ; @ZPA2326_FIFO_DEPTH
	.no_dead_strip	_zpa2326_dequeue_pressure
.subsections_via_symbols
