	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g4x_hrawclk
_g4x_hrawclk:                           ## @g4x_hrawclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CLKCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_CLKCFG_FSB_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	movl	$133333, %ecx                   ## imm = 0x208D5
	cmpl	$7, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.g4x_hrawclk(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_2:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLKCFG,4,2                     ## @CLKCFG
	.comm	_CLKCFG_FSB_MASK,4,2            ## @CLKCFG_FSB_MASK
	.no_dead_strip	_g4x_hrawclk
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.g4x_hrawclk
l_switch.table.g4x_hrawclk:
	.long	200000                          ## 0x30d40
	.long	166667                          ## 0x28b0b
	.long	133333                          ## 0x208d5
	.long	100000                          ## 0x186a0
	.long	333333                          ## 0x51615
	.long	333333                          ## 0x51615
	.long	266667                          ## 0x411ab
	.long	266667                          ## 0x411ab

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g4x_hrawclk
_g4x_hrawclk:                           ; @g4x_hrawclk
	.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, _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, #128
	cmp	w8, #7
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.g4x_hrawclk@PAGE
Lloh7:
	add	x9, x9, l_switch.table.g4x_hrawclk@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #2261
	movk	w0, #2, lsl #16
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CLKCFG,4,2                     ; @CLKCFG
	.comm	_CLKCFG_FSB_MASK,4,2            ; @CLKCFG_FSB_MASK
	.no_dead_strip	_g4x_hrawclk
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.g4x_hrawclk
l_switch.table.g4x_hrawclk:
	.long	200000                          ; 0x30d40
	.long	166667                          ; 0x28b0b
	.long	133333                          ; 0x208d5
	.long	100000                          ; 0x186a0
	.long	333333                          ; 0x51615
	.long	333333                          ; 0x51615
	.long	266667                          ; 0x411ab
	.long	266667                          ; 0x411ab

.subsections_via_symbols
