	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mailbox_4
_read_mailbox_4:                        ## @read_mailbox_4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tcdm_base@GOTPCREL(%rip), %rax
	movq	_PRCM_MBOX_HEADER_REQ_MB4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_readb
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	movl	$4, %edi
	cmpl	$9, %ecx
	jae	LBB0_1
## %bb.2:
	callq	_MBOX_BIT
	movq	_PRCM_ARM_IT1_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_writel
	movq	_mb4_transfer@GOTPCREL(%rip), %rdi
	callq	_complete
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %esi
	callq	_print_unknown_header_warning
	movl	$4, %edi
	callq	_MBOX_BIT
	movq	_PRCM_ARM_IT1_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_writel
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcdm_base,8,3                  ## @tcdm_base
	.comm	_PRCM_MBOX_HEADER_REQ_MB4,8,3   ## @PRCM_MBOX_HEADER_REQ_MB4
	.comm	_PRCM_ARM_IT1_CLR,4,2           ## @PRCM_ARM_IT1_CLR
	.comm	_mb4_transfer,4,2               ## @mb4_transfer
	.no_dead_strip	_read_mailbox_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mailbox_4
_read_mailbox_4:                        ; @read_mailbox_4
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _tcdm_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tcdm_base@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRCM_MBOX_HEADER_REQ_MB4@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRCM_MBOX_HEADER_REQ_MB4@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	sub	w8, w0, #128
	cmp	w8, #9
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_MBOX_BIT
Lloh6:
	adrp	x8, _PRCM_ARM_IT1_CLR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PRCM_ARM_IT1_CLR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_writel
Lloh9:
	adrp	x0, _mb4_transfer@GOTPAGE
Lloh10:
	ldr	x0, [x0, _mb4_transfer@GOTPAGEOFF]
	bl	_complete
	b	LBB0_3
LBB0_2:
	mov	x1, x0
	mov	w0, #4
	bl	_print_unknown_header_warning
	mov	w0, #4
	bl	_MBOX_BIT
Lloh11:
	adrp	x8, _PRCM_ARM_IT1_CLR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PRCM_ARM_IT1_CLR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_writel
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_tcdm_base,8,3                  ; @tcdm_base
	.comm	_PRCM_MBOX_HEADER_REQ_MB4,8,3   ; @PRCM_MBOX_HEADER_REQ_MB4
	.comm	_PRCM_ARM_IT1_CLR,4,2           ; @PRCM_ARM_IT1_CLR
	.comm	_mb4_transfer,4,2               ; @mb4_transfer
	.no_dead_strip	_read_mailbox_4
.subsections_via_symbols
