	.file	"extr_dw-i3c-master.c_dw_i3c_master_irq_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dw_i3c_master_irq_handler, @function
dw_i3c_master_irq_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR INTR_STATUS[rip]
	add	rdi, QWORD PTR 8[rsi]
	call	readl@PLT
	mov	rdi, QWORD PTR INTR_STATUS_EN[rip]
	add	rdi, QWORD PTR 8[rbp]
	mov	ebx, eax
	call	readl@PLT
	test	eax, ebx
	je	.L10
	mov	rdi, rbp
	call	spin_lock@PLT
	mov	rdi, rbp
	mov	esi, ebx
	call	dw_i3c_master_end_xfer_locked@PLT
	mov	edi, DWORD PTR INTR_TRANSFER_ERR_STAT[rip]
	test	edi, ebx
	jne	.L11
.L4:
	mov	rdi, rbp
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, QWORD PTR INTR_STATUS[rip]
	add	rsi, QWORD PTR 8[rbp]
	call	writel@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR INTR_ALL[rip]
	mov	rsi, QWORD PTR INTR_STATUS[rip]
	add	rsi, QWORD PTR 8[rbp]
	call	writel@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dw_i3c_master_irq_handler, .-dw_i3c_master_irq_handler
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INTR_TRANSFER_ERR_STAT,4,4
	.comm	INTR_STATUS_EN,8,8
	.comm	INTR_STATUS,8,8
	.comm	INTR_ALL,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_dw-i3c-master.c_dw_i3c_master_irq_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dw_i3c_master_irq_handler, %function
dw_i3c_master_irq_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L12
	ldr	r0, [r1, #4]
	ldr	r3, [r6]
	mov	r4, r1
	add	r0, r0, r3
	bl	readl
	ldr	r3, .L12+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	mov	r5, r0
	add	r0, r2, r3
	bl	readl
	tst	r0, r5
	beq	.L10
	mov	r0, r4
	bl	spin_lock
	mov	r1, r5
	mov	r0, r4
	bl	dw_i3c_master_end_xfer_locked
	ldr	r3, .L12+8
	ldr	r0, [r3]
	tst	r0, r5
	bne	.L11
.L4:
	mov	r0, r4
	bl	spin_unlock
	ldr	r3, .L12+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, [r6]
	ldr	r1, [r4, #4]
	add	r1, r1, r3
	bl	writel
	b	.L4
.L10:
	ldr	r1, [r4, #4]
	ldr	r2, [r6]
	ldr	r3, .L12+16
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	writel
	ldr	r3, .L12+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	INTR_STATUS
	.word	INTR_STATUS_EN
	.word	INTR_TRANSFER_ERR_STAT
	.word	IRQ_HANDLED
	.word	INTR_ALL
	.word	IRQ_NONE
	.size	dw_i3c_master_irq_handler, .-dw_i3c_master_irq_handler
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INTR_TRANSFER_ERR_STAT,4,4
	.comm	INTR_STATUS_EN,4,4
	.comm	INTR_STATUS,4,4
	.comm	INTR_ALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
