	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtaspci_probe
_rtaspci_probe:                         ## @rtaspci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_rtas_exists
	movq	_ENXIO@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_ofw_bus_get_type
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_ofw_bus_get_node
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_OF_getproplen
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	callq	_device_set_desc
	movq	_BUS_PROBE_GENERIC@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"used-by-rtas"

L_.str.1:                               ## @.str.1
	.asciz	"pci"

L_.str.2:                               ## @.str.2
	.asciz	"RTAS Host-PCI bridge"

	.comm	_BUS_PROBE_GENERIC,4,2          ## @BUS_PROBE_GENERIC
	.no_dead_strip	_rtaspci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtaspci_probe
_rtaspci_probe:                         ; @rtaspci_probe
	.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
	mov	x19, x0
	bl	_rtas_exists
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_ofw_bus_get_type
	mov	x20, x0
	mov	x0, x19
	bl	_ofw_bus_get_node
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_OF_getproplen
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_5
; %bb.2:
	cbz	x20, LBB0_5
; %bb.3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_device_set_desc
Lloh10:
	adrp	x8, _BUS_PROBE_GENERIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BUS_PROBE_GENERIC@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"used-by-rtas"

l_.str.1:                               ; @.str.1
	.asciz	"pci"

l_.str.2:                               ; @.str.2
	.asciz	"RTAS Host-PCI bridge"

	.comm	_BUS_PROBE_GENERIC,4,2          ; @BUS_PROBE_GENERIC
	.no_dead_strip	_rtaspci_probe
.subsections_via_symbols
