	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_pci_probe
_i915_pci_probe:                        ## @i915_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.1:
	movq	_i915_preliminary_hw_support@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	callq	_DRM_ERROR
	jmp	LBB0_4
LBB0_5:
	movl	(%r14), %edi
	callq	_PCI_FUNC
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$3, (%rbx)
	jne	LBB0_7
## %bb.9:
	movq	_intel_agp_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	movq	_DRIVER_USE_AGP@GOTPCREL(%rip), %rax
	movq	_DRIVER_REQUIRE_AGP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	_driver@GOTPCREL(%rip), %rax
	andl	%ecx, (%rax)
LBB0_8:
	movq	_driver@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_get_pci_dev                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_i915_preliminary_hw_support,4,2 ## @i915_preliminary_hw_support
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preliminary hardware support disabled\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_DRIVER_USE_AGP,4,2             ## @DRIVER_USE_AGP
	.comm	_DRIVER_REQUIRE_AGP,4,2         ## @DRIVER_REQUIRE_AGP
	.comm	_driver,4,2                     ## @driver
	.comm	_intel_agp_enabled,4,2          ## @intel_agp_enabled
L_.str.1:                               ## @.str.1
	.asciz	"drm/i915 can't work without intel_agp module!\n"

	.no_dead_strip	_i915_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_pci_probe
_i915_pci_probe:                        ; @i915_pci_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
	ldr	x21, [x1]
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _i915_preliminary_hw_support@GOTPAGE
Lloh1:
	ldr	x9, [x9, _i915_preliminary_hw_support@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_PCI_FUNC
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #3
	b.ne	LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _intel_agp_enabled@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intel_agp_enabled@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.4:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_DRM_ERROR
LBB0_7:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	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_8:
Lloh13:
	adrp	x8, _DRIVER_USE_AGP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DRIVER_USE_AGP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _DRIVER_REQUIRE_AGP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DRIVER_REQUIRE_AGP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _driver@GOTPAGE
Lloh20:
	ldr	x9, [x9, _driver@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_9:
Lloh21:
	adrp	x2, _driver@GOTPAGE
Lloh22:
	ldr	x2, [x2, _driver@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	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
	b	_drm_get_pci_dev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_i915_preliminary_hw_support,4,2 ; @i915_preliminary_hw_support
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preliminary hardware support disabled\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_DRIVER_USE_AGP,4,2             ; @DRIVER_USE_AGP
	.comm	_DRIVER_REQUIRE_AGP,4,2         ; @DRIVER_REQUIRE_AGP
	.comm	_driver,4,2                     ; @driver
	.comm	_intel_agp_enabled,4,2          ; @intel_agp_enabled
l_.str.1:                               ; @.str.1
	.asciz	"drm/i915 can't work without intel_agp module!\n"

	.no_dead_strip	_i915_pci_probe
.subsections_via_symbols
