	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_forced_frame              ## -- Begin function pemu_forced_frame
	.p2align	4, 0x90
_pemu_forced_frame:                     ## @pemu_forced_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PicoOpt@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movq	_currentConfig@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	_POPT_ALT_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r12d, %eax
	movq	_POPT_ACC_SPRITES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_POPT_EN_SOFTSCALE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_2:
	movl	%r13d, %eax
	orl	$128, %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_vidResetMode
	movq	_VRAM_CACHED_STUFF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	$-522133280, %esi               ## imm = 0xE0E0E0E0
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset32
	movl	$118784, %edi                   ## imm = 0x1D000
	addq	(%rbx), %rdi
	movl	$-522133280, %esi               ## imm = 0xE0E0E0E0
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset32
	movq	_psp_screen@GOTPCREL(%rip), %rax
	movl	$270336, %edi                   ## imm = 0x42000
	addq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memset32_uncached
	movq	_PDF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PicoDrawSetOutFormat
	movq	_EmuScanSlowBegin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EmuScanSlowEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PicoDrawSetCallbacks
	xorl	%eax, %eax
	callq	_EmuScanPrepare
	xorl	%eax, %eax
	callq	_PicoFrameDrawOnly
	xorl	%eax, %eax
	callq	_blit1
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_sceGuSync
	movl	%r12d, (%r14)
	movl	%r13d, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_currentConfig,4,2              ## @currentConfig
	.comm	_POPT_ALT_RENDERER,4,2          ## @POPT_ALT_RENDERER
	.comm	_POPT_ACC_SPRITES,4,2           ## @POPT_ACC_SPRITES
	.comm	_POPT_EN_SOFTSCALE,4,2          ## @POPT_EN_SOFTSCALE
	.comm	_VRAM_CACHED_STUFF,8,3          ## @VRAM_CACHED_STUFF
	.comm	_psp_screen,8,3                 ## @psp_screen
	.comm	_PDF_NONE,4,2                   ## @PDF_NONE
	.comm	_EmuScanSlowBegin,4,2           ## @EmuScanSlowBegin
	.comm	_EmuScanSlowEnd,4,2             ## @EmuScanSlowEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_forced_frame              ; -- Begin function pemu_forced_frame
	.p2align	2
_pemu_forced_frame:                     ; @pemu_forced_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x19, _PicoOpt@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PicoOpt@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x21, _currentConfig@GOTPAGE
Lloh3:
	ldr	x21, [x21, _currentConfig@GOTPAGEOFF]
	ldr	w22, [x21]
Lloh4:
	adrp	x8, _POPT_ALT_RENDERER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _POPT_ALT_RENDERER@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w8, w20, w8
Lloh7:
	adrp	x9, _POPT_ACC_SPRITES@GOTPAGE
Lloh8:
	ldr	x9, [x9, _POPT_ACC_SPRITES@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	cbnz	w0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x9, _POPT_EN_SOFTSCALE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _POPT_EN_SOFTSCALE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	orr	w8, w22, #0x80
	str	w8, [x21]
	bl	_vidResetMode
Lloh13:
	adrp	x23, _VRAM_CACHED_STUFF@GOTPAGE
Lloh14:
	ldr	x23, [x23, _VRAM_CACHED_STUFF@GOTPAGEOFF]
	ldr	x0, [x23]
	mov	w1, #-522133280
	mov	w2, #1024
	bl	_memset32
	ldr	x8, [x23]
	add	x0, x8, #29, lsl #12            ; =118784
	mov	w1, #-522133280
	mov	w2, #1024
	bl	_memset32
Lloh15:
	adrp	x8, _psp_screen@GOTPAGE
Lloh16:
	ldr	x8, [x8, _psp_screen@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x0, x8, #66, lsl #12            ; =270336
	mov	w1, #0
	mov	w2, #2048
	bl	_memset32_uncached
Lloh18:
	adrp	x8, _PDF_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PDF_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PicoDrawSetOutFormat
Lloh21:
	adrp	x8, _EmuScanSlowBegin@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EmuScanSlowBegin@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _EmuScanSlowEnd@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EmuScanSlowEnd@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_PicoDrawSetCallbacks
	bl	_EmuScanPrepare
	bl	_PicoFrameDrawOnly
	bl	_blit1
	mov	w0, #0
	mov	w1, #0
	bl	_sceGuSync
	str	w20, [x19]
	str	w22, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_currentConfig,4,2              ; @currentConfig
	.comm	_POPT_ALT_RENDERER,4,2          ; @POPT_ALT_RENDERER
	.comm	_POPT_ACC_SPRITES,4,2           ; @POPT_ACC_SPRITES
	.comm	_POPT_EN_SOFTSCALE,4,2          ; @POPT_EN_SOFTSCALE
	.comm	_VRAM_CACHED_STUFF,8,3          ; @VRAM_CACHED_STUFF
	.comm	_psp_screen,8,3                 ; @psp_screen
	.comm	_PDF_NONE,4,2                   ; @PDF_NONE
	.comm	_EmuScanSlowBegin,4,2           ; @EmuScanSlowBegin
	.comm	_EmuScanSlowEnd,4,2             ; @EmuScanSlowEnd
.subsections_via_symbols
