	.file	"extr_zpa2326.c_zpa2326_handle_threaded_irq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unexpected interrupt status %02x"
	.text
	.p2align 4
	.type	zpa2326_handle_threaded_irq, @function
zpa2326_handle_threaded_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	iio_priv@PLT
	mov	rdi, r12
	mov	r13d, DWORD PTR IRQ_NONE[rip]
	mov	rbp, rax
	call	iio_buffer_enabled@PLT
	test	rax, rax
	jne	.L24
.L2:
	mov	edi, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR ZPA2326_INT_SOURCE_REG[rip]
	lea	rdx, 4[rsp]
	call	regmap_read@PLT
	mov	DWORD PTR 8[rbp], eax
	test	eax, eax
	js	.L5
	mov	edx, DWORD PTR 4[rsp]
	test	DWORD PTR ZPA2326_INT_SOURCE_DATA_READY[rip], edx
	jne	.L25
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	zpa2326_warn@PLT
	mov	eax, DWORD PTR ENODATA[rip]
	neg	eax
	mov	DWORD PTR 8[rbp], eax
.L5:
	mov	rdi, rbp
	call	complete@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rdi, r12
	call	iio_trigger_using_own@PLT
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR ZPA2326_INT_SOURCE_REG[rip]
	lea	rdx, 4[rsp]
	call	regmap_read@PLT
	mov	DWORD PTR 8[rbp], eax
	test	eax, eax
	jns	.L27
.L22:
	mov	r13d, DWORD PTR IRQ_NONE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 4[rbp]
	call	iio_trigger_poll_chained@PLT
	mov	r13d, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L5
.L26:
	call	__stack_chk_fail@PLT
.L27:
	mov	edx, DWORD PTR 4[rsp]
	test	DWORD PTR ZPA2326_INT_SOURCE_DATA_READY[rip], edx
	je	.L9
	mov	edi, DWORD PTR 4[rbp]
	call	iio_trigger_poll_chained@PLT
	mov	r13d, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L1
.L9:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	zpa2326_warn@PLT
	jmp	.L22
	.cfi_endproc
.LFE0:
	.size	zpa2326_handle_threaded_irq, .-zpa2326_handle_threaded_irq
	.comm	ZPA2326_INT_SOURCE_REG,4,4
	.comm	ZPA2326_INT_SOURCE_DATA_READY,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	ENODATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zpa2326.c_zpa2326_handle_threaded_irq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unexpected interrupt status %02x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpa2326_handle_threaded_irq, %function
zpa2326_handle_threaded_irq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L28
	sub	sp, sp, #12
	mov	r0, r1
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	iio_priv
	ldr	r6, .L28+4
	mov	r4, r0
	mov	r0, r7
	ldr	r5, [r6]
	bl	iio_buffer_enabled
	cmp	r0, #0
	bne	.L24
.L2:
	ldr	r3, .L28+8
	mov	r2, sp
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_read
	cmp	r0, #0
	str	r0, [r4, #8]
	blt	.L5
	ldr	r3, .L28+12
	ldr	r2, [sp]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L25
	mov	r0, r7
	ldr	r1, .L28+16
	bl	zpa2326_warn
	ldr	r3, .L28+20
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [r4, #8]
.L5:
	mov	r0, r4
	bl	complete
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L24:
	mov	r0, r7
	bl	iio_trigger_using_own
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L28+8
	mov	r2, sp
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_read
	cmp	r0, #0
	str	r0, [r4, #8]
	bge	.L27
.L22:
	ldr	r5, [r6]
	b	.L1
.L25:
	ldr	r0, [r4, #4]
	bl	iio_trigger_poll_chained
	ldr	r3, .L28+24
	ldr	r5, [r3]
	b	.L5
.L26:
	bl	__stack_chk_fail
.L27:
	ldr	r3, .L28+12
	ldr	r2, [sp]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L9
	ldr	r0, [r4, #4]
	bl	iio_trigger_poll_chained
	ldr	r3, .L28+24
	ldr	r5, [r3]
	b	.L1
.L9:
	mov	r0, r7
	ldr	r1, .L28+16
	bl	zpa2326_warn
	b	.L22
.L29:
	.align	2
.L28:
	.word	.LC1
	.word	IRQ_NONE
	.word	ZPA2326_INT_SOURCE_REG
	.word	ZPA2326_INT_SOURCE_DATA_READY
	.word	.LC0
	.word	ENODATA
	.word	IRQ_HANDLED
	.size	zpa2326_handle_threaded_irq, .-zpa2326_handle_threaded_irq
	.comm	ZPA2326_INT_SOURCE_REG,4,4
	.comm	ZPA2326_INT_SOURCE_DATA_READY,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	ENODATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
