	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen6_check_mch_setup
_gen6_check_mch_setup:                  ## @gen6_check_mch_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MCH_SSKPD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_MCH_SSKPD_WM0_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_MCH_SSKPD_WM0_VAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCH_SSKPD,4,2                  ## @MCH_SSKPD
	.comm	_MCH_SSKPD_WM0_MASK,4,2         ## @MCH_SSKPD_WM0_MASK
	.comm	_MCH_SSKPD_WM0_VAL,4,2          ## @MCH_SSKPD_WM0_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong MCH_SSKPD value: 0x%08x This can cause underruns.\n"

	.no_dead_strip	_gen6_check_mch_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen6_check_mch_setup
_gen6_check_mch_setup:                  ; @gen6_check_mch_setup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _MCH_SSKPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCH_SSKPD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh3:
	adrp	x8, _MCH_SSKPD_WM0_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCH_SSKPD_WM0_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _MCH_SSKPD_WM0_VAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MCH_SSKPD_WM0_VAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_DRM_DEBUG_KMS
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MCH_SSKPD,4,2                  ; @MCH_SSKPD
	.comm	_MCH_SSKPD_WM0_MASK,4,2         ; @MCH_SSKPD_WM0_MASK
	.comm	_MCH_SSKPD_WM0_VAL,4,2          ; @MCH_SSKPD_WM0_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong MCH_SSKPD value: 0x%08x This can cause underruns.\n"

	.no_dead_strip	_gen6_check_mch_setup
.subsections_via_symbols
