	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculateRefreshRate
_calculateRefreshRate:                  ## @calculateRefreshRate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	cvtsi2sdq	16(%rdi), %xmm0
	cvtsi2sd	%rcx, %xmm1
	cvtsi2sd	%rdx, %xmm2
	mulsd	%xmm1, %xmm2
	divsd	%xmm2, %xmm0
	callq	_round
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calculateRefreshRate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculateRefreshRate
_calculateRefreshRate:                  ; @calculateRefreshRate
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x0]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	d0, [x0, #16]
	scvtf	d0, d0
	scvtf	d1, x8
	scvtf	d2, x9
	fmul	d1, d1, d2
	fdiv	d0, d0, d1
	bl	_round
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calculateRefreshRate
.subsections_via_symbols
