	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mbox_rx_interrupt
___mbox_rx_interrupt:                   ## @__mbox_rx_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	callq	_mbox_fifo_empty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leaq	8(%r12), %rbx
	leaq	-36(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_kfifo_avail
	xorl	%edi, %edi
	cmpl	$4, %eax
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_mbox_fifo_read
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_kfifo_in
	xorl	%edi, %edi
	cmpl	$4, %eax
	setne	%dil
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_mbox_fifo_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	movq	_IRQ_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ack_mbox_irq
	jmp	LBB0_6
LBB0_3:
	movq	_IRQ_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	__omap_mbox_disable_irq
	movl	$1, (%r12)
LBB0_6:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_schedule_work
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_RX,4,2                     ## @IRQ_RX
	.no_dead_strip	___mbox_rx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mbox_rx_interrupt
___mbox_rx_interrupt:                   ; @__mbox_rx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x21, [x0]
	bl	_mbox_fifo_empty
	cbnz	w0, LBB0_4
; %bb.1:
	add	x20, x21, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_kfifo_avail
	cmp	w0, #4
	cset	w0, lo
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_mbox_fifo_read
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #4
	bl	_kfifo_in
	cmp	w0, #4
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x19
	bl	_mbox_fifo_empty
	cbz	w0, LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _IRQ_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_RX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ack_mbox_irq
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _IRQ_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_RX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__omap_mbox_disable_irq
	mov	w8, #1
	str	w8, [x21]
LBB0_6:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_schedule_work
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_RX,4,2                     ; @IRQ_RX
	.no_dead_strip	___mbox_rx_interrupt
.subsections_via_symbols
