	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_clkrc
_to_clkrc:                              ## @to_clkrc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rax
	movq	%rcx, %rdx
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	imulq	%rcx, %rax
	movq	_FRAME_RATE_MAX@GOTPCREL(%rip), %rdx
	imulq	(%rdx), %r8
	movq	%rax, %rdx
	orq	%r8, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%r8
	movq	%rax, %rdx
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r8d
	movl	%eax, %edx
LBB0_5:
	cmpq	%rsi, %rdx
	movq	%rdx, %rdi
	cmovaq	%rsi, %rdi
	testq	%rsi, %rsi
	cmoveq	%rdx, %rdi
	decq	%rcx
	movq	%rcx, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rdi
	popq	%rbp
	retq
LBB0_6:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAME_RATE_MAX,8,3             ## @FRAME_RATE_MAX
	.no_dead_strip	_to_clkrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_clkrc
_to_clkrc:                              ; @to_clkrc
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	mov	x9, x2
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x10, [x0, #8]
	mov	x9, x2
	cbz	x10, LBB0_3
; %bb.2:
	mul	x9, x10, x2
Lloh0:
	adrp	x10, _FRAME_RATE_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FRAME_RATE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mul	x8, x10, x8
	udiv	x9, x9, x8
LBB0_3:
	cmp	x9, x1
	ccmp	x1, #0, #4, hi
	csel	x8, x1, x9, ne
	sub	x9, x2, #1
	udiv	x0, x9, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAME_RATE_MAX,8,3             ; @FRAME_RATE_MAX
	.no_dead_strip	_to_clkrc
.subsections_via_symbols
