	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vs6624_s_frame_interval
_vs6624_s_frame_interval:               ## @vs6624_s_frame_interval
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_to_vs6624
	movq	%rax, %r15
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	movq	_MAX_FRAME_RATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	%eax, %edx
	cmpl	%edx, %ecx
	jle	LBB0_4
LBB0_3:
	movl	$1, (%rbx)
	movq	_MAX_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movl	$1, %eax
LBB0_4:
	movl	%ecx, (%r15)
	movl	%eax, 4(%r15)
	movq	_VS6624_DISABLE_FR_DAMPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_vs6624_write
	movq	_VS6624_FR_NUM_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	sarl	$8, %edx
	movq	%r14, %rdi
	callq	_vs6624_write
	movq	_VS6624_FR_NUM_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	(%r15), %edx
	movq	%r14, %rdi
	callq	_vs6624_write
	movq	_VS6624_FR_DEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	4(%r15), %edx
	movq	%r14, %rdi
	callq	_vs6624_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FRAME_RATE,4,2             ## @MAX_FRAME_RATE
	.comm	_VS6624_DISABLE_FR_DAMPER,4,2   ## @VS6624_DISABLE_FR_DAMPER
	.comm	_VS6624_FR_NUM_MSB,4,2          ## @VS6624_FR_NUM_MSB
	.comm	_VS6624_FR_NUM_LSB,4,2          ## @VS6624_FR_NUM_LSB
	.comm	_VS6624_FR_DEN,4,2              ## @VS6624_FR_DEN
	.no_dead_strip	_vs6624_s_frame_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vs6624_s_frame_interval
_vs6624_s_frame_interval:               ; @vs6624_s_frame_interval
	.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	x21, x1
	mov	x19, x0
	bl	_to_vs6624
	mov	x20, x0
	ldr	w8, [x21]
Lloh0:
	adrp	x10, _MAX_FRAME_RATE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_FRAME_RATE@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x21, #4]
	cbz	w9, LBB0_3
; %bb.2:
	ldr	w11, [x10]
	mul	w11, w11, w8
	cmp	w9, w11
	b.le	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x21]
	ldr	w9, [x10]
	str	w9, [x21, #4]
LBB0_4:
	stp	w9, w8, [x20]
Lloh2:
	adrp	x8, _VS6624_DISABLE_FR_DAMPER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VS6624_DISABLE_FR_DAMPER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_vs6624_write
Lloh5:
	adrp	x8, _VS6624_FR_NUM_MSB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VS6624_FR_NUM_MSB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w8, [x20]
	asr	w2, w8, #8
	mov	x0, x19
	bl	_vs6624_write
Lloh8:
	adrp	x8, _VS6624_FR_NUM_LSB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VS6624_FR_NUM_LSB@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldrb	w2, [x20]
	mov	x0, x19
	bl	_vs6624_write
Lloh11:
	adrp	x8, _VS6624_FR_DEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VS6624_FR_DEN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldrb	w2, [x20, #4]
	mov	x0, x19
	bl	_vs6624_write
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FRAME_RATE,4,2             ; @MAX_FRAME_RATE
	.comm	_VS6624_DISABLE_FR_DAMPER,4,2   ; @VS6624_DISABLE_FR_DAMPER
	.comm	_VS6624_FR_NUM_MSB,4,2          ; @VS6624_FR_NUM_MSB
	.comm	_VS6624_FR_NUM_LSB,4,2          ; @VS6624_FR_NUM_LSB
	.comm	_VS6624_FR_DEN,4,2              ; @VS6624_FR_DEN
	.no_dead_strip	_vs6624_s_frame_interval
.subsections_via_symbols
