	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __confirm_options
___confirm_options:                     ## @__confirm_options
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_uc_to_gt
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r14d
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_intel_uc_uses_guc
	movl	%eax, %edi
	callq	_yesno
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_intel_uc_uses_guc_submission
	movl	%eax, %edi
	callq	_yesno
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_intel_uc_uses_huc
	movl	%eax, %edi
	callq	_yesno
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movq	_i915_modparams@GOTPCREL(%rip), %r15
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_DRM_DEV_DEBUG_DRIVER
	movl	(%r15), %eax
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.1:
	movq	%r13, %rdi
	testl	%eax, %eax
	jne	LBB0_2
## %bb.12:
	callq	_intel_uc_uses_guc
	movl	%eax, %edi
	callq	_GEM_BUG_ON
	movq	%r13, %rdi
	callq	_intel_uc_uses_guc_submission
	movl	%eax, %edi
	callq	_GEM_BUG_ON
	movq	%r13, %rdi
	callq	_intel_uc_uses_huc
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GEM_BUG_ON                     ## TAILCALL
LBB0_2:
	callq	_intel_uc_supports_guc
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	callq	_dev_info
LBB0_4:
	movq	_ENABLE_GUC_LOAD_HUC@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.5:
	movq	%r13, %rdi
	callq	_intel_uc_supports_huc
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	callq	_dev_info
LBB0_7:
	movq	_ENABLE_GUC_SUBMISSION@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	je	LBB0_10
## %bb.8:
	movq	%r13, %rdi
	callq	_intel_uc_supports_guc_submission
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.4(%rip), %rcx
	callq	_dev_info
LBB0_10:
	movl	(%r15), %edx
	movl	(%r14), %eax
	orl	(%rbx), %eax
	notl	%eax
	testl	%eax, %edx
	je	LBB0_11
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.5(%rip), %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enable_guc=%d (guc:%s submission:%s huc:%s)\n"

	.comm	_i915_modparams,4,2             ## @i915_modparams
L_.str.1:                               ## @.str.1
	.asciz	"Incompatible option enable_guc=%d - %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"GuC is not supported!"

	.comm	_ENABLE_GUC_LOAD_HUC,4,2        ## @ENABLE_GUC_LOAD_HUC
L_.str.3:                               ## @.str.3
	.asciz	"HuC is not supported!"

	.comm	_ENABLE_GUC_SUBMISSION,4,2      ## @ENABLE_GUC_SUBMISSION
L_.str.4:                               ## @.str.4
	.asciz	"GuC submission is N/A"

L_.str.5:                               ## @.str.5
	.asciz	"undocumented flag"

	.no_dead_strip	___confirm_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __confirm_options
___confirm_options:                     ; @__confirm_options
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_uc_to_gt
	ldr	x24, [x0]
	ldr	w20, [x24]
Lloh0:
	adrp	x25, _i915_modparams@GOTPAGE
Lloh1:
	ldr	x25, [x25, _i915_modparams@GOTPAGEOFF]
	ldr	w21, [x25]
	mov	x0, x19
	bl	_intel_uc_uses_guc
	bl	_yesno
	mov	x22, x0
	mov	x0, x19
	bl	_intel_uc_uses_guc_submission
	bl	_yesno
	mov	x23, x0
	mov	x0, x19
	bl	_intel_uc_uses_huc
	bl	_yesno
	mov	x5, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_DRM_DEV_DEBUG_DRIVER
	ldr	w8, [x25]
	cmn	w8, #1
	b.eq	LBB0_13
; %bb.1:
	mov	x0, x19
	cbnz	w8, LBB0_3
; %bb.2:
	bl	_intel_uc_uses_guc
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_intel_uc_uses_guc_submission
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_intel_uc_uses_huc
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_GEM_BUG_ON
LBB0_3:
	bl	_intel_uc_supports_guc
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x24]
	ldr	w2, [x25]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh6:
	adrp	x3, l_.str.2@PAGE
Lloh7:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_dev_info
LBB0_5:
	ldr	w8, [x25]
Lloh8:
	adrp	x20, _ENABLE_GUC_LOAD_HUC@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ENABLE_GUC_LOAD_HUC@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_intel_uc_supports_huc
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x24]
	ldr	w2, [x25]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh12:
	adrp	x3, l_.str.3@PAGE
Lloh13:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_dev_info
LBB0_8:
	ldr	w8, [x25]
Lloh14:
	adrp	x21, _ENABLE_GUC_SUBMISSION@GOTPAGE
Lloh15:
	ldr	x21, [x21, _ENABLE_GUC_SUBMISSION@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_intel_uc_supports_guc_submission
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x24]
	ldr	w2, [x25]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh18:
	adrp	x3, l_.str.4@PAGE
Lloh19:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_dev_info
LBB0_11:
	ldr	w2, [x25]
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	bics	wzr, w2, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w0, [x24]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh22:
	adrp	x3, l_.str.5@PAGE
Lloh23:
	add	x3, x3, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_info
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enable_guc=%d (guc:%s submission:%s huc:%s)\n"

	.comm	_i915_modparams,4,2             ; @i915_modparams
l_.str.1:                               ; @.str.1
	.asciz	"Incompatible option enable_guc=%d - %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"GuC is not supported!"

	.comm	_ENABLE_GUC_LOAD_HUC,4,2        ; @ENABLE_GUC_LOAD_HUC
l_.str.3:                               ; @.str.3
	.asciz	"HuC is not supported!"

	.comm	_ENABLE_GUC_SUBMISSION,4,2      ; @ENABLE_GUC_SUBMISSION
l_.str.4:                               ; @.str.4
	.asciz	"GuC submission is N/A"

l_.str.5:                               ; @.str.5
	.asciz	"undocumented flag"

	.no_dead_strip	___confirm_options
.subsections_via_symbols
