	.file	"extr_mailbox-xgene-slimpro.c_slimpro_mbox_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	slimpro_mbox_irq, @function
slimpro_mbox_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rdi, rsi
	mov	rbx, rsi
	call	mb_chan_status_ack@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbx
	call	mb_chan_status_avail@PLT
	test	rax, rax
	jne	.L13
.L3:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	xor	esi, esi
	call	mbox_chan_txdone@PLT
	mov	rdi, rbx
	call	mb_chan_status_avail@PLT
	test	rax, rax
	je	.L3
.L13:
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	call	mbox_chan_received_data@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	slimpro_mbox_irq, .-slimpro_mbox_irq
	.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_mailbox-xgene-slimpro.c_slimpro_mbox_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slimpro_mbox_irq, %function
slimpro_mbox_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r0, r1
	mov	r4, r1
	bl	mb_chan_status_ack
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	mb_chan_status_avail
	cmp	r0, #0
	bne	.L13
.L3:
	ldr	r3, .L14
	ldr	r0, [r3]
	pop	{r4, pc}
.L12:
	mov	r1, #0
	ldr	r0, [r4, #4]
	bl	mbox_chan_txdone
	mov	r0, r4
	bl	mb_chan_status_avail
	cmp	r0, #0
	beq	.L3
.L13:
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	mbox_chan_received_data
	b	.L3
.L15:
	.align	2
.L14:
	.word	IRQ_HANDLED
	.size	slimpro_mbox_irq, .-slimpro_mbox_irq
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
