	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mailbox_1
_read_mailbox_1:                        ## @read_mailbox_1
	.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_MBOX_HEADER_REQ_MB1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	_mb1_transfer@GOTPCREL(%rip), %rbx
	movq	%rax, 32(%rbx)
	movq	_PRCM_ACK_MB1_CURRENT_ARM_OPP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	%rax, 24(%rbx)
	movq	_PRCM_ACK_MB1_CURRENT_APE_OPP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	%rax, 16(%rbx)
	movq	_PRCM_ACK_MB1_APE_VOLTAGE_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readb
	movq	%rax, 8(%rbx)
	movl	$1, %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_MBOX_HEADER_REQ_MB1,8,3   ## @PRCM_MBOX_HEADER_REQ_MB1
	.comm	_mb1_transfer,40,3              ## @mb1_transfer
	.comm	_PRCM_ACK_MB1_CURRENT_ARM_OPP,8,3 ## @PRCM_ACK_MB1_CURRENT_ARM_OPP
	.comm	_PRCM_ACK_MB1_CURRENT_APE_OPP,8,3 ## @PRCM_ACK_MB1_CURRENT_APE_OPP
	.comm	_PRCM_ACK_MB1_APE_VOLTAGE_STATUS,8,3 ## @PRCM_ACK_MB1_APE_VOLTAGE_STATUS
	.comm	_PRCM_ARM_IT1_CLR,4,2           ## @PRCM_ARM_IT1_CLR
	.no_dead_strip	_read_mailbox_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mailbox_1
_read_mailbox_1:                        ; @read_mailbox_1
	.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_MBOX_HEADER_REQ_MB1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRCM_MBOX_HEADER_REQ_MB1@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
Lloh5:
	adrp	x19, _mb1_transfer@GOTPAGE
Lloh6:
	ldr	x19, [x19, _mb1_transfer@GOTPAGEOFF]
	str	x0, [x19, #32]
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _PRCM_ACK_MB1_CURRENT_ARM_OPP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PRCM_ACK_MB1_CURRENT_ARM_OPP@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	str	x0, [x19, #24]
	ldr	x8, [x20]
Lloh10:
	adrp	x9, _PRCM_ACK_MB1_CURRENT_APE_OPP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PRCM_ACK_MB1_CURRENT_APE_OPP@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	str	x0, [x19, #16]
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _PRCM_ACK_MB1_APE_VOLTAGE_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PRCM_ACK_MB1_APE_VOLTAGE_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	str	x0, [x19, #8]
	mov	w0, #1
	bl	_MBOX_BIT
Lloh16:
	adrp	x8, _PRCM_ARM_IT1_CLR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PRCM_ARM_IT1_CLR@GOTPAGEOFF]
Lloh18:
	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	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.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_MBOX_HEADER_REQ_MB1,8,3   ; @PRCM_MBOX_HEADER_REQ_MB1
	.comm	_mb1_transfer,40,3              ; @mb1_transfer
	.comm	_PRCM_ACK_MB1_CURRENT_ARM_OPP,8,3 ; @PRCM_ACK_MB1_CURRENT_ARM_OPP
	.comm	_PRCM_ACK_MB1_CURRENT_APE_OPP,8,3 ; @PRCM_ACK_MB1_CURRENT_APE_OPP
	.comm	_PRCM_ACK_MB1_APE_VOLTAGE_STATUS,8,3 ; @PRCM_ACK_MB1_APE_VOLTAGE_STATUS
	.comm	_PRCM_ARM_IT1_CLR,4,2           ; @PRCM_ARM_IT1_CLR
	.no_dead_strip	_read_mailbox_1
.subsections_via_symbols
