	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function platform_mhu_rx_interrupt
_platform_mhu_rx_interrupt:             ## @platform_mhu_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rsi), %r14
	movq	_INTR_STAT_OFS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl_relaxed
	movl	%eax, -20(%rbp)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mbox_chan_received_data
	movl	-20(%rbp), %edi
	movq	_INTR_CLR_OFS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_STAT_OFS,8,3              ## @INTR_STAT_OFS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_INTR_CLR_OFS,8,3               ## @INTR_CLR_OFS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_platform_mhu_rx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function platform_mhu_rx_interrupt
_platform_mhu_rx_interrupt:             ; @platform_mhu_rx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x1]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _INTR_STAT_OFS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTR_STAT_OFS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	str	w0, [sp, #12]
	cbz	w0, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x19
	bl	_mbox_chan_received_data
	ldr	w0, [sp, #12]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _INTR_CLR_OFS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTR_CLR_OFS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_STAT_OFS,8,3              ; @INTR_STAT_OFS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_INTR_CLR_OFS,8,3               ; @INTR_CLR_OFS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_platform_mhu_rx_interrupt
.subsections_via_symbols
