	.file	"extr_i2c.c_pn533_i2c_irq_thread_fn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IRQ\n"
	.text
	.p2align 4
	.type	pn533_i2c_irq_thread_fn, @function
pn533_i2c_irq_thread_fn:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	test	rsi, rsi
	je	.L2
	mov	rax, QWORD PTR 16[rsi]
	mov	rbx, rsi
	cmp	DWORD PTR [rax], edi
	je	.L3
.L2:
	mov	edi, 1
	call	WARN_ON_ONCE@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rdi, 4[rax]
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	je	.L5
.L9:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rsp
	mov	rdi, rbx
	call	pn533_i2c_read@PLT
	mov	edx, DWORD PTR EREMOTEIO[rip]
	neg	edx
	cmp	edx, eax
	je	.L17
	mov	edx, eax
	add	edx, DWORD PTR ENOMEM[rip]
	je	.L9
	mov	ecx, eax
	add	ecx, DWORD PTR EBADMSG[rip]
	je	.L9
	add	eax, DWORD PTR EBUSY[rip]
	je	.L9
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jne	.L9
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, QWORD PTR [rsp]
	xor	edx, edx
	call	pn533_recv_frame@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	mov	DWORD PTR [rbx], edx
	mov	edi, DWORD PTR 4[rbx]
	xor	esi, esi
	call	pn533_recv_frame@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pn533_i2c_irq_thread_fn, .-pn533_i2c_irq_thread_fn
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	EREMOTEIO,4,4
	.comm	ENOMEM,4,4
	.comm	EBUSY,4,4
	.comm	EBADMSG,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_i2c.c_pn533_i2c_irq_thread_fn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IRQ\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pn533_i2c_irq_thread_fn, %function
pn533_i2c_irq_thread_fn:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r2, .L18
	sub	sp, sp, #12
	subs	r4, r1, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	beq	.L2
	ldr	r3, [r4, #12]
	ldr	r2, [r3]
	cmp	r2, r0
	beq	.L3
.L2:
	mov	r0, #1
	bl	WARN_ON_ONCE
	ldr	r3, .L18+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	ldr	r1, .L18+8
	add	r0, r3, #4
	bl	dev_dbg
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L5
.L9:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	b	.L1
.L5:
	mov	r1, sp
	mov	r0, r4
	bl	pn533_i2c_read
	ldr	r3, .L18+16
	ldr	r2, [r3]
	cmn	r0, r2
	rsb	r2, r2, #0
	beq	.L17
	ldr	r3, .L18+20
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L9
	ldr	r3, .L18+24
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L9
	ldr	r3, .L18+28
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L9
	ldr	r2, [r4, #8]
	cmp	r2, #0
	bne	.L9
	ldr	r0, [r4, #4]
	ldr	r1, [sp]
	bl	pn533_recv_frame
	b	.L9
.L17:
	mov	r1, r5
	ldr	r0, [r4, #4]
	str	r2, [r4]
	bl	pn533_recv_frame
	ldr	r3, .L18+12
	ldr	r0, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	IRQ_NONE
	.word	.LC0
	.word	IRQ_HANDLED
	.word	EREMOTEIO
	.word	ENOMEM
	.word	EBADMSG
	.word	EBUSY
	.size	pn533_i2c_irq_thread_fn, .-pn533_i2c_irq_thread_fn
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	EREMOTEIO,4,4
	.comm	ENOMEM,4,4
	.comm	EBUSY,4,4
	.comm	EBADMSG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
