	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uninorth_probe
_uninorth_probe:                        ## @uninorth_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, %r15d
	callq	_ofw_bus_get_type
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_ofw_bus_get_compat
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
LBB0_5:
	movl	%r15d, %edi
	callq	_device_set_desc
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pci"

L_.str.1:                               ## @.str.1
	.asciz	"uni-north"

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

L_.str.3:                               ## @.str.3
	.asciz	"u3-agp"

L_.str.4:                               ## @.str.4
	.asciz	"Apple U3 Host-AGP bridge"

L_.str.5:                               ## @.str.5
	.asciz	"u4-pcie"

L_.str.6:                               ## @.str.6
	.asciz	"IBM CPC945 PCI Express Root"

	.no_dead_strip	_uninorth_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uninorth_probe
_uninorth_probe:                        ; @uninorth_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	x19, x0
	bl	_ofw_bus_get_type
	mov	x21, x0
	mov	x0, x19
	bl	_ofw_bus_get_compat
	cbz	x21, LBB0_3
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_4:
	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
LBB0_5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.7:
Lloh9:
	adrp	x1, l_.str.5@PAGE
Lloh10:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.8:
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_device_set_desc
	mov	w0, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pci"

l_.str.1:                               ; @.str.1
	.asciz	"uni-north"

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

l_.str.3:                               ; @.str.3
	.asciz	"u3-agp"

l_.str.4:                               ; @.str.4
	.asciz	"Apple U3 Host-AGP bridge"

l_.str.5:                               ; @.str.5
	.asciz	"u4-pcie"

l_.str.6:                               ; @.str.6
	.asciz	"IBM CPC945 PCI Express Root"

	.no_dead_strip	_uninorth_probe
.subsections_via_symbols
