	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls_pcie_is_bridge
_ls_pcie_is_bridge:                     ## @ls_pcie_is_bridge
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_PCI_HEADER_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_ioread8
	andl	$127, %eax
	movq	_PCI_HEADER_TYPE_BRIDGE@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_HEADER_TYPE,8,3            ## @PCI_HEADER_TYPE
	.comm	_PCI_HEADER_TYPE_BRIDGE,4,2     ## @PCI_HEADER_TYPE_BRIDGE
	.no_dead_strip	_ls_pcie_is_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls_pcie_is_bridge
_ls_pcie_is_bridge:                     ; @ls_pcie_is_bridge
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PCI_HEADER_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_HEADER_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread8
	and	w8, w0, #0x7f
Lloh3:
	adrp	x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_HEADER_TYPE,8,3            ; @PCI_HEADER_TYPE
	.comm	_PCI_HEADER_TYPE_BRIDGE,4,2     ; @PCI_HEADER_TYPE_BRIDGE
	.no_dead_strip	_ls_pcie_is_bridge
.subsections_via_symbols
