	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mptable_pci_probe_table        ## -- Begin function mptable_pci_probe_table
	.p2align	4, 0x90
_mptable_pci_probe_table:               ## @mptable_pci_probe_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testl	%edi, %edi
	js	LBB0_1
## %bb.2:
	movq	_mpct@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_pci0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.4:
	addl	%edi, %eax
	movq	_mptable_maxbusid@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_7
## %bb.5:
	movq	_busses@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_PCI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movl	%eax, -16(%rbp)
	movq	$0, -8(%rbp)
	movq	_mptable_pci_probe_table_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	_mptable_walk_table
	xorl	%eax, %eax
	cmpq	$0, -8(%rbp)
	jne	LBB0_9
LBB0_7:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_mpct,8,3                       ## @mpct
	.comm	_pci0,4,2                       ## @pci0
	.comm	_mptable_maxbusid,4,2           ## @mptable_maxbusid
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_busses,8,3                     ## @busses
	.comm	_PCI,8,3                        ## @PCI
	.comm	_mptable_pci_probe_table_handler,4,2 ## @mptable_pci_probe_table_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mptable_pci_probe_table        ; -- Begin function mptable_pci_probe_table
	.p2align	2
_mptable_pci_probe_table:               ; @mptable_pci_probe_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _mpct@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mpct@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _pci0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pci0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x9, #0
	ccmn	w8, #1, #4, ne
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, _mptable_maxbusid@GOTPAGE
Lloh7:
	ldr	x9, [x9, _mptable_maxbusid@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w8, w8, w0
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.3:
Lloh9:
	adrp	x9, _busses@GOTPAGE
Lloh10:
	ldr	x9, [x9, _busses@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x9, w8, sxtw #3]
Lloh12:
	adrp	x10, _PCI@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PCI@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	str	w8, [sp]
	str	xzr, [sp, #8]
Lloh15:
	adrp	x8, _mptable_pci_probe_table_handler@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mptable_pci_probe_table_handler@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_mptable_walk_table
	ldr	x8, [sp, #8]
Lloh18:
	adrp	x9, _ENXIO@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ENXIO@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, w9, wzr, eq
	b	LBB0_8
LBB0_5:
Lloh21:
	adrp	x8, _ENXIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_mpct,8,3                       ; @mpct
	.comm	_pci0,4,2                       ; @pci0
	.comm	_mptable_maxbusid,4,2           ; @mptable_maxbusid
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_busses,8,3                     ; @busses
	.comm	_PCI,8,3                        ; @PCI
	.comm	_mptable_pci_probe_table_handler,4,2 ; @mptable_pci_probe_table_handler
.subsections_via_symbols
