	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_pci_probe
_radeon_pci_probe:                      ## @radeon_pci_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_radeon_si_support@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
LBB0_8:
	movq	_radeon_cik_support@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_9
LBB0_12:
	movq	%r14, %rdi
	callq	_vga_switcheroo_client_probe_defer
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_RADEON_FAMILY_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rax, %rcx
	leaq	-128(%rcx), %rdx
	cmpq	$4, %rdx
	jb	LBB0_6
## %bb.5:
	cmpq	$136, %rcx
	jne	LBB0_8
LBB0_6:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_9:
	movq	_RADEON_FAMILY_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	leaq	-132(%rax), %rcx
	cmpq	$4, %rcx
	jae	LBB0_10
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	callq	_dev_info
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_drm_fb_helper_remove_conflicting_pci_framebuffers
	testl	%eax, %eax
	jne	LBB0_15
## %bb.16:
	movq	_kms_driver@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_get_pci_dev                ## TAILCALL
LBB0_10:
	cmpq	$137, %rax
	jne	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_radeon_si_support,4,2          ## @radeon_si_support
	.comm	_RADEON_FAMILY_MASK,8,3         ## @RADEON_FAMILY_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SI support disabled by module param\n"

	.comm	_radeon_cik_support,4,2         ## @radeon_cik_support
L_.str.1:                               ## @.str.1
	.asciz	"CIK support disabled by module param\n"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"radeondrmfb"

	.comm	_kms_driver,4,2                 ## @kms_driver
	.no_dead_strip	_radeon_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_pci_probe
_radeon_pci_probe:                      ; @radeon_pci_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
	cbz	x1, LBB0_11
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _radeon_si_support@GOTPAGE
Lloh1:
	ldr	x9, [x9, _radeon_si_support@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w9, LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _radeon_cik_support@GOTPAGE
Lloh4:
	ldr	x9, [x9, _radeon_cik_support@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cbz	w9, LBB0_8
LBB0_3:
	mov	x0, x19
	bl	_vga_switcheroo_client_probe_defer
	cbz	x0, LBB0_14
; %bb.4:
Lloh6:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh8:
	adrp	x9, _RADEON_FAMILY_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RADEON_FAMILY_MASK@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	and	x9, x9, x8
	sub	x10, x9, #128
	cmp	x10, #4
	b.lo	LBB0_7
; %bb.6:
	cmp	x9, #136
	b.ne	LBB0_2
LBB0_7:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh13:
	adrp	x9, _RADEON_FAMILY_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RADEON_FAMILY_MASK@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	and	x8, x9, x8
	sub	x9, x8, #132
	cmp	x9, #4
	b.hs	LBB0_16
LBB0_9:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_info
LBB0_11:
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_drm_fb_helper_remove_conflicting_pci_framebuffers
	cbnz	w0, LBB0_13
; %bb.15:
Lloh22:
	adrp	x2, _kms_driver@GOTPAGE
Lloh23:
	ldr	x2, [x2, _kms_driver@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_get_pci_dev
LBB0_16:
	cmp	x8, #137
	b.ne	LBB0_3
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_radeon_si_support,4,2          ; @radeon_si_support
	.comm	_RADEON_FAMILY_MASK,8,3         ; @RADEON_FAMILY_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SI support disabled by module param\n"

	.comm	_radeon_cik_support,4,2         ; @radeon_cik_support
l_.str.1:                               ; @.str.1
	.asciz	"CIK support disabled by module param\n"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"radeondrmfb"

	.comm	_kms_driver,4,2                 ; @kms_driver
	.no_dead_strip	_radeon_pci_probe
.subsections_via_symbols
