	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rockchip_mbox_shutdown
_rockchip_mbox_shutdown:                ## @rockchip_mbox_shutdown
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %r14
	movq	_MAILBOX_B2A_INTEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movq	$0, 8(%rax,%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAILBOX_B2A_INTEN,8,3          ## @MAILBOX_B2A_INTEN
	.no_dead_strip	_rockchip_mbox_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rockchip_mbox_shutdown
_rockchip_mbox_shutdown:                ; @rockchip_mbox_shutdown
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_dev_get_drvdata
	mov	x19, x0
	ldp	x20, x8, [x0]
Lloh0:
	adrp	x9, _MAILBOX_B2A_INTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAILBOX_B2A_INTEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #4
	str	xzr, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAILBOX_B2A_INTEN,8,3          ; @MAILBOX_B2A_INTEN
	.no_dead_strip	_rockchip_mbox_shutdown
.subsections_via_symbols
