	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpa2326_handle_threaded_irq
_zpa2326_handle_threaded_irq:           ## @zpa2326_handle_threaded_irq
	.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, %rbx
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movq	%rbx, %rdi
	callq	_iio_buffer_enabled
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_iio_trigger_using_own
	testq	%rax, %rax
	setne	%r13b
	jmp	LBB0_3
LBB0_2:
	xorl	%r13d, %r13d
LBB0_3:
	movl	12(%r15), %edi
	movq	_ZPA2326_INT_SOURCE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, 8(%r15)
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	-44(%rbp), %edx
	movq	_ZPA2326_INT_SOURCE_DATA_READY@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_8
## %bb.5:
	movl	4(%r15), %edi
	callq	_iio_trigger_poll_chained
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testb	%r13b, %r13b
	je	LBB0_11
	jmp	LBB0_12
LBB0_6:
	testb	%r13b, %r13b
	je	LBB0_11
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_zpa2326_warn
	testb	%r13b, %r13b
	je	LBB0_10
LBB0_7:
	movl	(%r12), %r14d
	jmp	LBB0_12
LBB0_10:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 8(%r15)
LBB0_11:
	movq	%r15, %rdi
	callq	_complete
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ZPA2326_INT_SOURCE_REG,4,2     ## @ZPA2326_INT_SOURCE_REG
	.comm	_ZPA2326_INT_SOURCE_DATA_READY,4,2 ## @ZPA2326_INT_SOURCE_DATA_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected interrupt status %02x"

	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_zpa2326_handle_threaded_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpa2326_handle_threaded_irq
_zpa2326_handle_threaded_irq:           ; @zpa2326_handle_threaded_irq
	.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	x21, x1
	mov	x0, x1
	bl	_iio_priv
	mov	x20, x0
Lloh0:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	ldr	w19, [x22]
	mov	x0, x21
	bl	_iio_buffer_enabled
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_iio_trigger_using_own
	cmp	x0, #0
	cset	w23, ne
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	ldr	w0, [x20, #12]
Lloh2:
	adrp	x8, _ZPA2326_INT_SOURCE_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZPA2326_INT_SOURCE_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	str	w0, [x20, #8]
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldr	w2, [sp, #12]
Lloh5:
	adrp	x8, _ZPA2326_INT_SOURCE_DATA_READY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZPA2326_INT_SOURCE_DATA_READY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x20, #4]
	bl	_iio_trigger_poll_chained
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	tbz	w23, #0, LBB0_10
	b	LBB0_11
LBB0_6:
	cbz	w23, LBB0_10
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_zpa2326_warn
	cbz	w23, LBB0_9
LBB0_8:
	ldr	w19, [x22]
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x8, _ENODATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x20, #8]
LBB0_10:
	mov	x0, x20
	bl	_complete
LBB0_11:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ZPA2326_INT_SOURCE_REG,4,2     ; @ZPA2326_INT_SOURCE_REG
	.comm	_ZPA2326_INT_SOURCE_DATA_READY,4,2 ; @ZPA2326_INT_SOURCE_DATA_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected interrupt status %02x"

	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_zpa2326_handle_threaded_irq
.subsections_via_symbols
