	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_compute_max_dotclk
_intel_compute_max_dotclk:              ## @intel_compute_max_dotclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	callq	_INTEL_GEN
	cmpl	$9, %eax
	jg	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_GEMINILAKE
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	addl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	jne	LBB0_12
## %bb.4:
	movq	%rbx, %rdi
	callq	_IS_BROADWELL
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	imull	$95, %r14d, %eax
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.9:
	imull	$180, %r14d, %eax
	jmp	LBB0_11
LBB0_10:
	imull	$90, %r14d, %eax
LBB0_11:
	cltq
	imulq	$1374389535, %rax, %r14         ## imm = 0x51EB851F
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$37, %r14
	addl	%eax, %r14d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_compute_max_dotclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_compute_max_dotclk
_intel_compute_max_dotclk:              ; @intel_compute_max_dotclk
	.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	x20, x0
	ldr	w19, [x0]
	bl	_INTEL_GEN
	cmp	w0, #9
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_GEMINILAKE
	cbz	x0, LBB0_4
LBB0_2:
	lsl	w19, w19, #1
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	mov	w1, #9
	bl	_IS_GEN
	cbnz	x0, LBB0_3
; %bb.5:
	mov	x0, x20
	bl	_IS_BROADWELL
	cbnz	x0, LBB0_3
; %bb.6:
	mov	x0, x20
	bl	_IS_HASWELL
	cbnz	x0, LBB0_3
; %bb.7:
	mov	x0, x20
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_9
; %bb.8:
	mov	w8, #95
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.10:
	mov	w8, #180
	b	LBB0_12
LBB0_11:
	mov	w8, #90
LBB0_12:
	mul	w8, w19, w8
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w19, w8, w9
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_compute_max_dotclk
.subsections_via_symbols
