	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chv_get_total_gtt_size
_chv_get_total_gtt_size:                ## @chv_get_total_gtt_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_SNB_GMCH_GGMS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	movq	_SNB_GMCH_GGMS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	leal	20(%rdi), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edi, %edi
	cmovel	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNB_GMCH_GGMS_SHIFT,4,2        ## @SNB_GMCH_GGMS_SHIFT
	.comm	_SNB_GMCH_GGMS_MASK,4,2         ## @SNB_GMCH_GGMS_MASK
	.no_dead_strip	_chv_get_total_gtt_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chv_get_total_gtt_size
_chv_get_total_gtt_size:                ; @chv_get_total_gtt_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SNB_GMCH_GGMS_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNB_GMCH_GGMS_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh3:
	adrp	x9, _SNB_GMCH_GGMS_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNB_GMCH_GGMS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ands	w8, w8, w9
	add	w8, w8, #20
	mov	w9, #1
	lsl	w8, w9, w8
	csel	w0, wzr, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNB_GMCH_GGMS_SHIFT,4,2        ; @SNB_GMCH_GGMS_SHIFT
	.comm	_SNB_GMCH_GGMS_MASK,4,2         ; @SNB_GMCH_GGMS_MASK
	.no_dead_strip	_chv_get_total_gtt_size
.subsections_via_symbols
