	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanitize_rc6
_sanitize_rc6:                          ## @sanitize_rc6
	.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	_mkwrite_device_info
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_intel_vgpu_active
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
LBB0_7:
	xorl	%eax, %eax
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.8:
	movq	$0, 8(%r14)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_IS_GEN9_LP
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_bxt_check_bios_rc6_setup
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_INFO
	movl	$0, (%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RC6 disabled by BIOS\n"

	.no_dead_strip	_sanitize_rc6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanitize_rc6
_sanitize_rc6:                          ; @sanitize_rc6
	.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	x20, x0
	bl	_mkwrite_device_info
	mov	x19, x0
	mov	x0, x20
	bl	_intel_vgpu_active
	cbz	x0, LBB0_4
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.3:
	mov	w0, #0
	str	xzr, [x19, #8]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.5:
	mov	x0, x20
	bl	_IS_GEN9_LP
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_bxt_check_bios_rc6_setup
	cbz	w0, LBB0_10
LBB0_7:
	ldr	w0, [x19]
	cbnz	w0, LBB0_9
	b	LBB0_2
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_INFO
	str	wzr, [x19]
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RC6 disabled by BIOS\n"

	.no_dead_strip	_sanitize_rc6
.subsections_via_symbols
