	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_update_rawclk            ## -- Begin function intel_update_rawclk
	.p2align	4, 0x90
_intel_update_rawclk:                   ## @intel_update_rawclk
	.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
	callq	_INTEL_PCH_TYPE
	movq	_PCH_CNP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_HAS_PCH_SPLIT
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_pch_rawclk
	jmp	LBB0_10
LBB0_1:
	movq	%rbx, %rdi
	callq	_cnp_rawclk
	jmp	LBB0_10
LBB0_4:
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_vlv_hrawclk
LBB0_10:
	movl	%eax, %esi
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DRM_DEBUG_DRIVER               ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_IS_G4X
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_IS_PINEVIEW
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	callq	_g4x_hrawclk
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_CNP,8,3                    ## @PCH_CNP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rawclk rate: %d kHz\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_update_rawclk            ; -- Begin function intel_update_rawclk
	.p2align	2
_intel_update_rawclk:                   ; @intel_update_rawclk
	.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	x19, x0
	bl	_INTEL_PCH_TYPE
Lloh0:
	adrp	x8, _PCH_CNP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCH_CNP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_HAS_PCH_SPLIT
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_pch_rawclk
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_cnp_rawclk
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_vlv_hrawclk
LBB0_7:
	mov	x1, x0
	str	w0, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DRM_DEBUG_DRIVER
LBB0_8:
	mov	x0, x19
	bl	_IS_G4X
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_IS_PINEVIEW
	cbz	x0, LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_g4x_hrawclk
	b	LBB0_7
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_CNP,8,3                    ; @PCH_CNP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rawclk rate: %d kHz\n"

.subsections_via_symbols
