	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls_pcie_link_up
_ls_pcie_link_up:                       ## @ls_pcie_link_up
	.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
	callq	_to_ls_pcie
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_ioread32
	movq	(%rbx), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_LTSSM_STATE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_LTSSM_PCIE_L0@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	setge	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LTSSM_STATE_MASK,4,2           ## @LTSSM_STATE_MASK
	.comm	_LTSSM_PCIE_L0,4,2              ## @LTSSM_PCIE_L0
	.no_dead_strip	_ls_pcie_link_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls_pcie_link_up
_ls_pcie_link_up:                       ; @ls_pcie_link_up
	.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
	bl	_to_ls_pcie
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x9, [x9, #8]
	add	x0, x9, x8
	bl	_ioread32
	ldr	x8, [x19]
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh0:
	adrp	x9, _LTSSM_STATE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LTSSM_STATE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh3:
	adrp	x9, _LTSSM_PCIE_L0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LTSSM_PCIE_L0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ge
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LTSSM_STATE_MASK,4,2           ; @LTSSM_STATE_MASK
	.comm	_LTSSM_PCIE_L0,4,2              ; @LTSSM_PCIE_L0
	.no_dead_strip	_ls_pcie_link_up
.subsections_via_symbols
