	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emu_set_fastforward            ## -- Begin function emu_set_fastforward
	.p2align	4, 0x90
_emu_set_fastforward:                   ## @emu_set_fastforward
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	_emu_set_fastforward.is_on(%rip), %al
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	testb	$1, %al
	jne	LBB0_2
## %bb.5:
	movq	_PsndOut@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, _emu_set_fastforward.set_PsndOut(%rip)
	movq	_currentConfig@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movl	%edx, _emu_set_fastforward.set_Frameskip(%rip)
	movl	%esi, _emu_set_fastforward.set_EmuOpt(%rip)
	movq	$0, (%rax)
	movl	$8, (%rcx)
	andl	$-262149, %esi                  ## imm = 0xFFFBFFFB
	orl	$262144, %esi                   ## imm = 0x40000
	movl	%esi, 4(%rcx)
	movb	$1, _emu_set_fastforward.is_on(%rip)
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_emu_status_msg                 ## TAILCALL
LBB0_2:
	testl	%edi, %edi
	sete	%cl
	andb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_4
## %bb.3:
	movq	_emu_set_fastforward.set_PsndOut(%rip), %rax
	movq	_PsndOut@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	_emu_set_fastforward.set_Frameskip(%rip), %eax
	movq	_currentConfig@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	_emu_set_fastforward.set_EmuOpt(%rip), %eax
	movl	%eax, 4(%rcx)
	movl	$1, %edi
	callq	_PsndRerate
	movb	$0, _emu_set_fastforward.is_on(%rip)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_emu_set_fastforward.set_PsndOut,8,3 ## @emu_set_fastforward.set_PsndOut
.zerofill __DATA,__bss,_emu_set_fastforward.set_Frameskip,4,2 ## @emu_set_fastforward.set_Frameskip
.zerofill __DATA,__bss,_emu_set_fastforward.set_EmuOpt,4,2 ## @emu_set_fastforward.set_EmuOpt
.zerofill __DATA,__bss,_emu_set_fastforward.is_on,1,2 ## @emu_set_fastforward.is_on
	.comm	_PsndOut,8,3                    ## @PsndOut
	.comm	_currentConfig,8,2              ## @currentConfig
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FAST FORWARD"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emu_set_fastforward            ; -- Begin function emu_set_fastforward
	.p2align	2
_emu_set_fastforward:                   ; @emu_set_fastforward
	.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
	adrp	x19, _emu_set_fastforward.is_on@PAGE
	ldrb	w8, [x19, _emu_set_fastforward.is_on@PAGEOFF]
	cbz	w0, LBB0_3
; %bb.1:
	tbnz	w8, #0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _PsndOut@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PsndOut@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _currentConfig@GOTPAGE
Lloh3:
	ldr	x10, [x10, _currentConfig@GOTPAGEOFF]
	adrp	x11, _emu_set_fastforward.set_PsndOut@PAGE
	str	x9, [x11, _emu_set_fastforward.set_PsndOut@PAGEOFF]
	ldp	w9, w11, [x10]
	adrp	x12, _emu_set_fastforward.set_Frameskip@PAGE
	str	w9, [x12, _emu_set_fastforward.set_Frameskip@PAGEOFF]
	adrp	x9, _emu_set_fastforward.set_EmuOpt@PAGE
	str	w11, [x9, _emu_set_fastforward.set_EmuOpt@PAGEOFF]
	str	xzr, [x8]
	mov	w8, #8
	and	w9, w11, #0xfffbfffb
	orr	w9, w9, #0x40000
	stp	w8, w9, [x10]
	mov	w8, #1
	strb	w8, [x19, _emu_set_fastforward.is_on@PAGEOFF]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	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	_emu_status_msg
LBB0_3:
	cmp	w0, #0
	cset	w9, eq
	and	w8, w9, w8
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _emu_set_fastforward.set_PsndOut@PAGE
Lloh7:
	ldr	x8, [x8, _emu_set_fastforward.set_PsndOut@PAGEOFF]
Lloh8:
	adrp	x9, _PsndOut@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PsndOut@GOTPAGEOFF]
Lloh10:
	str	x8, [x9]
Lloh11:
	adrp	x8, _emu_set_fastforward.set_Frameskip@PAGE
Lloh12:
	ldr	w8, [x8, _emu_set_fastforward.set_Frameskip@PAGEOFF]
Lloh13:
	adrp	x9, _currentConfig@GOTPAGE
Lloh14:
	ldr	x9, [x9, _currentConfig@GOTPAGEOFF]
Lloh15:
	adrp	x10, _emu_set_fastforward.set_EmuOpt@PAGE
Lloh16:
	ldr	w10, [x10, _emu_set_fastforward.set_EmuOpt@PAGEOFF]
	stp	w8, w10, [x9]
	mov	w0, #1
	bl	_PsndRerate
	strb	wzr, [x19, _emu_set_fastforward.is_on@PAGEOFF]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_emu_set_fastforward.set_PsndOut,8,3 ; @emu_set_fastforward.set_PsndOut
.zerofill __DATA,__bss,_emu_set_fastforward.set_Frameskip,4,2 ; @emu_set_fastforward.set_Frameskip
.zerofill __DATA,__bss,_emu_set_fastforward.set_EmuOpt,4,2 ; @emu_set_fastforward.set_EmuOpt
.zerofill __DATA,__bss,_emu_set_fastforward.is_on,1,2 ; @emu_set_fastforward.is_on
	.comm	_PsndOut,8,3                    ; @PsndOut
	.comm	_currentConfig,8,2              ; @currentConfig
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FAST FORWARD"

.subsections_via_symbols
