	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppt_probe
_ppt_probe:                             ## @ppt_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	callq	_device_get_ivars
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_pci_get_bus
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_pci_get_slot
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_pci_get_function
	movq	_PCIM_HDRTYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r12), %ecx
	movq	_PCIM_HDRTYPE_NORMAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_1
## %bb.2:
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_vmm_is_pptdev
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.3:
	movq	_BUS_PROBE_NOWILDCARD@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIM_HDRTYPE,4,2               ## @PCIM_HDRTYPE
	.comm	_PCIM_HDRTYPE_NORMAL,4,2        ## @PCIM_HDRTYPE_NORMAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_BUS_PROBE_NOWILDCARD,4,2       ## @BUS_PROBE_NOWILDCARD
	.no_dead_strip	_ppt_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppt_probe
_ppt_probe:                             ; @ppt_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	bl	_device_get_ivars
	mov	x22, x0
	mov	x0, x21
	bl	_pci_get_bus
	mov	x19, x0
	mov	x0, x21
	bl	_pci_get_slot
	mov	x20, x0
	mov	x0, x21
	bl	_pci_get_function
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _PCIM_HDRTYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCIM_HDRTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _PCIM_HDRTYPE_NORMAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCIM_HDRTYPE_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_vmm_is_pptdev
Lloh6:
	adrp	x8, _BUS_PROBE_NOWILDCARD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BUS_PROBE_NOWILDCARD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _ENXIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIM_HDRTYPE,4,2               ; @PCIM_HDRTYPE
	.comm	_PCIM_HDRTYPE_NORMAL,4,2        ; @PCIM_HDRTYPE_NORMAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_BUS_PROBE_NOWILDCARD,4,2       ; @BUS_PROBE_NOWILDCARD
	.no_dead_strip	_ppt_probe
.subsections_via_symbols
