	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gvt_init                 ## -- Begin function intel_gvt_init
	.p2align	4, 0x90
_intel_gvt_init:                        ## @intel_gvt_init
	.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
	movq	%rdi, %rbx
	callq	_i915_inject_probe_failure
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_i915_modparams@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_USES_GUC_SUBMISSION
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	callq	_intel_gvt_init_device
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movq	$0, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_i915_modparams,8,3             ## @i915_modparams
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GVT-g is disabled by kernel params\n"

L_.str.1:                               ## @.str.1
	.asciz	"i915 GVT-g loading failed due to Graphics virtualization is not yet supported with GuC submission\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"Fail to init GVT device\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gvt_init                 ; -- Begin function intel_gvt_init
	.p2align	2
_intel_gvt_init:                        ; @intel_gvt_init
	.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	_i915_inject_probe_failure
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh2:
	adrp	x20, _i915_modparams@GOTPAGE
Lloh3:
	ldr	x20, [x20, _i915_modparams@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_USES_GUC_SUBMISSION
	cbz	x0, LBB0_8
; %bb.6:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #0
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_intel_gvt_init_device
	cbz	w0, LBB0_3
; %bb.9:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #0
	str	xzr, [x20]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_i915_modparams,8,3             ; @i915_modparams
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GVT-g is disabled by kernel params\n"

l_.str.1:                               ; @.str.1
	.asciz	"i915 GVT-g loading failed due to Graphics virtualization is not yet supported with GuC submission\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"Fail to init GVT device\n"

.subsections_via_symbols
