	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_freq_opcode              ## -- Begin function intel_freq_opcode
	.p2align	4, 0x90
_intel_freq_opcode:                     ## @intel_freq_opcode
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_INTEL_GEN
	cmpl	$9, %eax
	jl	LBB0_2
## %bb.1:
	movq	_GEN9_FREQ_SCALER@GOTPCREL(%rip), %rax
	imull	(%rax), %r14d
LBB0_4:
	movq	_GT_FREQUENCY_MULTIPLIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_chv_freq_opcode                ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_byt_freq_opcode                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN9_FREQ_SCALER,4,2           ## @GEN9_FREQ_SCALER
	.comm	_GT_FREQUENCY_MULTIPLIER,4,2    ## @GT_FREQUENCY_MULTIPLIER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_freq_opcode              ; -- Begin function intel_freq_opcode
	.p2align	2
_intel_freq_opcode:                     ; @intel_freq_opcode
	.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, x1
	mov	x20, x0
	bl	_INTEL_GEN
	cmp	w0, #9
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GEN9_FREQ_SCALER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN9_FREQ_SCALER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w0, w8, w19
Lloh3:
	adrp	x8, _GT_FREQUENCY_MULTIPLIER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GT_FREQUENCY_MULTIPLIER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DIV_ROUND_CLOSEST
LBB0_3:
	mov	x0, x20
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_chv_freq_opcode
LBB0_5:
	mov	x0, x20
	bl	_IS_VALLEYVIEW
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_byt_freq_opcode
LBB0_7:
Lloh6:
	adrp	x8, _GT_FREQUENCY_MULTIPLIER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GT_FREQUENCY_MULTIPLIER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN9_FREQ_SCALER,4,2           ; @GEN9_FREQ_SCALER
	.comm	_GT_FREQUENCY_MULTIPLIER,4,2    ; @GT_FREQUENCY_MULTIPLIER
.subsections_via_symbols
