	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_pineview_get_mem_freq
_i915_pineview_get_mem_freq:            ## @i915_pineview_get_mem_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_CLKCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_CLKCFG_FSB_MASK@GOTPCREL(%rip), %rdx
	movl	%eax, %ecx
	andl	(%rdx), %ecx
	addl	$-131, %ecx
	cmpl	$3, %ecx
	ja	LBB0_2
## %bb.1:
	movslq	%ecx, %rcx
	leaq	L_switch.table.i915_pineview_get_mem_freq(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, (%rbx)
LBB0_2:
	movq	_CLKCFG_MEM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	addl	$-128, %ecx
	cmpl	$2, %ecx
	ja	LBB0_4
## %bb.3:
	movslq	%ecx, %rax
	leaq	l_switch.table.i915_pineview_get_mem_freq.1(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	movq	_CSHRDDR3CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_CSHRDDR3CTL_DDR3@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLKCFG,4,2                     ## @CLKCFG
	.comm	_CLKCFG_FSB_MASK,4,2            ## @CLKCFG_FSB_MASK
	.comm	_CLKCFG_MEM_MASK,4,2            ## @CLKCFG_MEM_MASK
	.comm	_CSHRDDR3CTL,4,2                ## @CSHRDDR3CTL
	.comm	_CSHRDDR3CTL_DDR3,4,2           ## @CSHRDDR3CTL_DDR3
	.no_dead_strip	_i915_pineview_get_mem_freq
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.i915_pineview_get_mem_freq
L_switch.table.i915_pineview_get_mem_freq:
	.long	800                             ## 0x320
	.long	667                             ## 0x29b
	.long	533                             ## 0x215
	.long	400                             ## 0x190

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.i915_pineview_get_mem_freq.1
l_switch.table.i915_pineview_get_mem_freq.1:
	.long	800                             ## 0x320
	.long	667                             ## 0x29b
	.long	533                             ## 0x215

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_pineview_get_mem_freq
_i915_pineview_get_mem_freq:            ; @i915_pineview_get_mem_freq
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _CLKCFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLKCFG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh3:
	adrp	x8, _CLKCFG_FSB_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLKCFG_FSB_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #131
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.i915_pineview_get_mem_freq@PAGE
Lloh7:
	add	x9, x9, l_switch.table.i915_pineview_get_mem_freq@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19]
LBB0_2:
Lloh8:
	adrp	x8, _CLKCFG_MEM_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLKCFG_MEM_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.3:
Lloh11:
	adrp	x9, l_switch.table.i915_pineview_get_mem_freq.1@PAGE
Lloh12:
	add	x9, x9, l_switch.table.i915_pineview_get_mem_freq.1@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19, #4]
LBB0_4:
Lloh13:
	adrp	x8, _CSHRDDR3CTL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CSHRDDR3CTL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh16:
	adrp	x8, _CSHRDDR3CTL_DDR3@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CSHRDDR3CTL_DDR3@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CLKCFG,4,2                     ; @CLKCFG
	.comm	_CLKCFG_FSB_MASK,4,2            ; @CLKCFG_FSB_MASK
	.comm	_CLKCFG_MEM_MASK,4,2            ; @CLKCFG_MEM_MASK
	.comm	_CSHRDDR3CTL,4,2                ; @CSHRDDR3CTL
	.comm	_CSHRDDR3CTL_DDR3,4,2           ; @CSHRDDR3CTL_DDR3
	.no_dead_strip	_i915_pineview_get_mem_freq
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.i915_pineview_get_mem_freq
l_switch.table.i915_pineview_get_mem_freq:
	.long	800                             ; 0x320
	.long	667                             ; 0x29b
	.long	533                             ; 0x215
	.long	400                             ; 0x190

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.i915_pineview_get_mem_freq.1
l_switch.table.i915_pineview_get_mem_freq.1:
	.long	800                             ; 0x320
	.long	667                             ; 0x29b
	.long	533                             ; 0x215

.subsections_via_symbols
