	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv740_get_mclk_frequency_ratio ## -- Begin function rv740_get_mclk_frequency_ratio
	.p2align	4, 0x90
_rv740_get_mclk_frequency_ratio:        ## @rv740_get_mclk_frequency_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-47501(%rdi), %ecx
	xorl	%eax, %eax
	cmpl	$-37501, %ecx                   ## imm = 0xFFFF6D83
	jb	LBB0_2
## %bb.1:
	addl	$-10000, %edi                   ## imm = 0xD8F0
	movzwl	%di, %eax
	shrl	$2, %eax
	imull	$6711, %eax, %eax               ## imm = 0x1A37
	shrl	$22, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv740_get_mclk_frequency_ratio ; -- Begin function rv740_get_mclk_frequency_ratio
	.p2align	2
_rv740_get_mclk_frequency_ratio:        ; @rv740_get_mclk_frequency_ratio
	.cfi_startproc
; %bb.0:
	mov	w8, #-47501
	mov	w9, #-37501
	add	w8, w0, w8
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mov	w8, #-10000
	add	w8, w0, w8
	ubfx	w8, w8, #2, #14
	mov	w9, #6711
	mul	w8, w8, w9
	lsr	w0, w8, #22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
