	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_POST_stage_get
_be_POST_stage_get:                     ## @be_POST_stage_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_BEx_chip
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SLIPORT_SEMAPHORE_OFFSET_BEx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_ioread32
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %edi
	movq	_SLIPORT_SEMAPHORE_OFFSET_SH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	-12(%rbp), %eax
LBB0_3:
	movq	_POST_STAGE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIPORT_SEMAPHORE_OFFSET_BEx,8,3 ## @SLIPORT_SEMAPHORE_OFFSET_BEx
	.comm	_SLIPORT_SEMAPHORE_OFFSET_SH,4,2 ## @SLIPORT_SEMAPHORE_OFFSET_SH
	.comm	_POST_STAGE_MASK,4,2            ## @POST_STAGE_MASK
	.no_dead_strip	_be_POST_stage_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_POST_stage_get
_be_POST_stage_get:                     ; @be_POST_stage_get
	.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, x0
	bl	_BEx_chip
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _SLIPORT_SEMAPHORE_OFFSET_BEx@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SLIPORT_SEMAPHORE_OFFSET_BEx@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _SLIPORT_SEMAPHORE_OFFSET_SH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLIPORT_SEMAPHORE_OFFSET_SH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [sp, #12]
LBB0_3:
Lloh6:
	adrp	x8, _POST_STAGE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _POST_STAGE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w0, w8, w0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIPORT_SEMAPHORE_OFFSET_BEx,8,3 ; @SLIPORT_SEMAPHORE_OFFSET_BEx
	.comm	_SLIPORT_SEMAPHORE_OFFSET_SH,4,2 ; @SLIPORT_SEMAPHORE_OFFSET_SH
	.comm	_POST_STAGE_MASK,4,2            ; @POST_STAGE_MASK
	.no_dead_strip	_be_POST_stage_get
.subsections_via_symbols
