	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_mch_val                   ## -- Begin function i915_mch_val
	.p2align	4, 0x90
_i915_mch_val:                          ## @i915_mch_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_TSFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intel_uncore_read
	movq	%rax, %r15
	movq	_TSFS_SLOPE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	andq	%r15, %rbx
	movq	_TSFS_SLOPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	_TR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_intel_uncore_read8
	movq	%rax, %rcx
	movq	_TSFS_INTR_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %r15
	imulq	%rbx, %rcx
	movabsq	$145249953336295683, %rdx       ## imm = 0x204081020408103
	movq	%rcx, %rax
	mulq	%rdx
	subq	%rdx, %rcx
	shrq	%rcx
	addq	%rdx, %rcx
	shrq	$6, %rcx
	subq	%r15, %rcx
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSFS,4,2                       ## @TSFS
	.comm	_TSFS_SLOPE_MASK,8,3            ## @TSFS_SLOPE_MASK
	.comm	_TSFS_SLOPE_SHIFT,8,3           ## @TSFS_SLOPE_SHIFT
	.comm	_TR1,4,2                        ## @TR1
	.comm	_TSFS_INTR_MASK,8,3             ## @TSFS_INTR_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_mch_val                   ; -- Begin function i915_mch_val
	.p2align	2
_i915_mch_val:                          ; @i915_mch_val
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _TSFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TSFS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_intel_uncore_read
	mov	x20, x0
Lloh3:
	adrp	x8, _TSFS_SLOPE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TSFS_SLOPE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _TSFS_SLOPE_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TSFS_SLOPE_SHIFT@GOTPAGEOFF]
	and	x8, x8, x0
Lloh8:
	ldr	x9, [x9]
	lsr	x21, x8, x9
Lloh9:
	adrp	x8, _TR1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TR1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_uncore_read8
Lloh12:
	adrp	x8, _TSFS_INTR_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TSFS_INTR_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	and	x8, x8, x20
	mul	x9, x0, x21
	mov	x10, #33027
	movk	x10, #8256, lsl #16
	movk	x10, #2064, lsl #32
	movk	x10, #516, lsl #48
	umulh	x10, x9, x10
	sub	x9, x9, x10
	add	x9, x10, x9, lsr #1
	lsr	x9, x9, #6
	sub	x0, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSFS,4,2                       ; @TSFS
	.comm	_TSFS_SLOPE_MASK,8,3            ; @TSFS_SLOPE_MASK
	.comm	_TSFS_SLOPE_SHIFT,8,3           ; @TSFS_SLOPE_SHIFT
	.comm	_TR1,4,2                        ; @TR1
	.comm	_TSFS_INTR_MASK,8,3             ; @TSFS_INTR_MASK
.subsections_via_symbols
