	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DecreaseEmulationSpeed         ## -- Begin function DecreaseEmulationSpeed
	.p2align	4, 0x90
_DecreaseEmulationSpeed:                ## @DecreaseEmulationSpeed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_fps_scale_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fps_scale@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	4(%rax), %rsi
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	movabsq	$4294967296, %rdi               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rdi, %rcx
	leaq	4(%rsi), %rbx
	cmpl	%edx, (%rsi)
	movq	%rbx, %rsi
	jl	LBB0_1
## %bb.2:
	sarq	$30, %rcx
	movl	(%rax,%rcx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_RefreshThrottleFPS
	imull	$100, (%r14), %esi
	sarl	$8, %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FCEU_DispMessage               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fps_scale_table,8,3            ## @fps_scale_table
	.comm	_fps_scale,4,2                  ## @fps_scale
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"emulation speed %d%%"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DecreaseEmulationSpeed         ; -- Begin function DecreaseEmulationSpeed
	.p2align	2
_DecreaseEmulationSpeed:                ; @DecreaseEmulationSpeed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _fps_scale_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fps_scale_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _fps_scale@GOTPAGE
Lloh4:
	ldr	x19, [x19, _fps_scale@GOTPAGEOFF]
	ldr	w9, [x19]
	add	x11, x8, #4
	mov	x10, #-4294967296
	mov	x12, #4294967296
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11], #4
	add	x10, x10, x12
	cmp	w13, w9
	b.lt	LBB0_1
; %bb.2:
	asr	x9, x10, #30
	ldr	w8, [x8, x9]
	str	w8, [x19]
	bl	_RefreshThrottleFPS
	ldr	w8, [x19]
	mov	w9, #100
	mul	w8, w8, w9
	asr	w1, w8, #8
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FCEU_DispMessage
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_fps_scale_table,8,3            ; @fps_scale_table
	.comm	_fps_scale,4,2                  ; @fps_scale
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"emulation speed %d%%"

.subsections_via_symbols
