	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function retroarch_set_frame_limit
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x49742400                      ## float 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_retroarch_set_frame_limit:             ## @retroarch_set_frame_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_configuration_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm2, %xmm2
	cmpeqss	%xmm0, %xmm2
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	andps	%xmm2, %xmm1
	andnps	%xmm0, %xmm2
	orps	%xmm1, %xmm2
	movaps	%xmm2, -16(%rbp)                ## 16-byte Spill
	xorl	%eax, %eax
	callq	_cpu_features_get_time_usec
	movq	_frame_limit_last_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_video_driver_av_info@GOTPCREL(%rip), %rax
	movaps	-16(%rbp), %xmm1                ## 16-byte Reload
	mulss	(%rax), %xmm1
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	callq	_roundf
	movq	_frame_limit_minimum_time@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_configuration_settings,8,3     ## @configuration_settings
	.comm	_video_driver_av_info,4,2       ## @video_driver_av_info
	.comm	_frame_limit_last_time,4,2      ## @frame_limit_last_time
	.comm	_frame_limit_minimum_time,8,3   ## @frame_limit_minimum_time
	.no_dead_strip	_retroarch_set_frame_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retroarch_set_frame_limit
_retroarch_set_frame_limit:             ; @retroarch_set_frame_limit
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
Lloh0:
	adrp	x8, _configuration_settings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _configuration_settings@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	s0, [x8]
	fcmp	s0, #0.0
	fmov	s1, #1.00000000
	fcsel	s8, s1, s0, eq
	bl	_cpu_features_get_time_usec
Lloh3:
	adrp	x8, _frame_limit_last_time@GOTPAGE
Lloh4:
	ldr	x8, [x8, _frame_limit_last_time@GOTPAGEOFF]
Lloh5:
	adrp	x9, _video_driver_av_info@GOTPAGE
Lloh6:
	ldr	x9, [x9, _video_driver_av_info@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	ldr	s0, [x9]
	fmul	s0, s8, s0
	mov	w8, #9216
	movk	w8, #18804, lsl #16
	fmov	s1, w8
	fdiv	s0, s1, s0
	bl	_roundf
Lloh9:
	adrp	x8, _frame_limit_minimum_time@GOTPAGE
Lloh10:
	ldr	x8, [x8, _frame_limit_minimum_time@GOTPAGEOFF]
Lloh11:
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_configuration_settings,8,3     ; @configuration_settings
	.comm	_video_driver_av_info,4,2       ; @video_driver_av_info
	.comm	_frame_limit_last_time,4,2      ; @frame_limit_last_time
	.comm	_frame_limit_minimum_time,8,3   ; @frame_limit_minimum_time
	.no_dead_strip	_retroarch_set_frame_limit
.subsections_via_symbols
