	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vga_switcheroo_client_probe_defer ## -- Begin function vga_switcheroo_client_probe_defer
	.p2align	4, 0x90
_vga_switcheroo_client_probe_defer:     ## @vga_switcheroo_client_probe_defer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movswl	2(%rdi), %eax
	movq	_PCI_BASE_CLASS_DISPLAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_apple_gmux_present
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_vga_default_device
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.3:
	movq	_vgasr_priv@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	$0, (%rcx)
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_BASE_CLASS_DISPLAY,4,2     ## @PCI_BASE_CLASS_DISPLAY
	.comm	_vgasr_priv,4,2                 ## @vgasr_priv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vga_switcheroo_client_probe_defer ; -- Begin function vga_switcheroo_client_probe_defer
	.p2align	2
_vga_switcheroo_client_probe_defer:     ; @vga_switcheroo_client_probe_defer
	.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
	ldrsh	w8, [x0, #2]
Lloh0:
	adrp	x9, _PCI_BASE_CLASS_DISPLAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_BASE_CLASS_DISPLAY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_apple_gmux_present
	cbz	x0, LBB0_5
; %bb.2:
	bl	_vga_default_device
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _vgasr_priv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vgasr_priv@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_BASE_CLASS_DISPLAY,4,2     ; @PCI_BASE_CLASS_DISPLAY
	.comm	_vgasr_priv,4,2                 ; @vgasr_priv
.subsections_via_symbols
