	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mailbox_5
_read_mailbox_5:                        ## @read_mailbox_5
	.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	_tcdm_base@GOTPCREL(%rip), %r14
	movq	_PRCM_ACK_MB5_I2C_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	_mb5_transfer@GOTPCREL(%rip), %rbx
	movq	%rax, 16(%rbx)
	movq	_PRCM_ACK_MB5_I2C_VAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	%rax, 8(%rbx)
	movl	$5, %edi
	callq	_MBOX_BIT
	movq	_PRCM_ARM_IT1_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_writel
	movq	%rbx, %rdi
	callq	_complete
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcdm_base,8,3                  ## @tcdm_base
	.comm	_PRCM_ACK_MB5_I2C_STATUS,8,3    ## @PRCM_ACK_MB5_I2C_STATUS
	.comm	_mb5_transfer,24,3              ## @mb5_transfer
	.comm	_PRCM_ACK_MB5_I2C_VAL,8,3       ## @PRCM_ACK_MB5_I2C_VAL
	.comm	_PRCM_ARM_IT1_CLR,4,2           ## @PRCM_ARM_IT1_CLR
	.no_dead_strip	_read_mailbox_5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mailbox_5
_read_mailbox_5:                        ; @read_mailbox_5
	.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
Lloh0:
	adrp	x20, _tcdm_base@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tcdm_base@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _PRCM_ACK_MB5_I2C_STATUS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRCM_ACK_MB5_I2C_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
Lloh5:
	adrp	x19, _mb5_transfer@GOTPAGE
Lloh6:
	ldr	x19, [x19, _mb5_transfer@GOTPAGEOFF]
	str	x0, [x19, #16]
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _PRCM_ACK_MB5_I2C_VAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PRCM_ACK_MB5_I2C_VAL@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	str	x0, [x19, #8]
	mov	w0, #5
	bl	_MBOX_BIT
Lloh10:
	adrp	x8, _PRCM_ARM_IT1_CLR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PRCM_ARM_IT1_CLR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_writel
	mov	x0, x19
	bl	_complete
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tcdm_base,8,3                  ; @tcdm_base
	.comm	_PRCM_ACK_MB5_I2C_STATUS,8,3    ; @PRCM_ACK_MB5_I2C_STATUS
	.comm	_mb5_transfer,24,3              ; @mb5_transfer
	.comm	_PRCM_ACK_MB5_I2C_VAL,8,3       ; @PRCM_ACK_MB5_I2C_VAL
	.comm	_PRCM_ARM_IT1_CLR,4,2           ; @PRCM_ARM_IT1_CLR
	.no_dead_strip	_read_mailbox_5
.subsections_via_symbols
