	.file	"extr_spi-imx.c_spi_imx_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spi_imx_isr, @function
spi_imx_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	cmp	QWORD PTR 16[rsi], 0
	mov	rbp, rsi
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	[QWORD PTR 32[rbp]]
	sub	QWORD PTR 16[rbp], 1
	je	.L3
.L2:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	[QWORD PTR 8[rax]]
	test	rax, rax
	jne	.L4
	cmp	QWORD PTR 24[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 16[rbp], 0
	mov	rax, QWORD PTR [rax]
	je	.L7
	mov	rdi, rbp
	mov	esi, DWORD PTR MXC_INT_RR[rip]
	call	rax
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	QWORD PTR 24[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
.L7:
	mov	rdi, rbp
	xor	esi, esi
	call	rax
	mov	rdi, rbp
	call	complete@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	spi_imx_push@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	spi_imx_isr, .-spi_imx_isr
	.comm	MXC_INT_RR,4,4
	.comm	IRQ_HANDLED,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_spi-imx.c_spi_imx_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spi_imx_isr, %function
spi_imx_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #8]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r1
	bne	.L2
	b	.L3
.L4:
	ldr	r3, [r4, #16]
	mov	r0, r4
	blx	r3
	ldr	r3, [r4, #8]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4, #8]
	beq	.L3
.L2:
	ldr	r3, [r4, #4]
	mov	r0, r4
	ldr	r3, [r3, #4]
	blx	r3
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L8
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	cmp	r2, #0
	ldr	r3, [r3]
	beq	.L7
	ldr	r2, .L18
	mov	r0, r4
	ldr	r1, [r2]
	blx	r3
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L3:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
.L7:
	mov	r1, #0
	mov	r0, r4
	blx	r3
	mov	r0, r4
	bl	complete
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L8:
	mov	r0, r4
	bl	spi_imx_push
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L19:
	.align	2
.L18:
	.word	MXC_INT_RR
	.word	IRQ_HANDLED
	.size	spi_imx_isr, .-spi_imx_isr
	.comm	MXC_INT_RR,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
