	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psp_video_switch_to_single     ## -- Begin function psp_video_switch_to_single
	.p2align	4, 0x90
_psp_video_switch_to_single:            ## @psp_video_switch_to_single
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VRAM_FB0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_psp_screen@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_PSP_DISPLAY_PIXEL_FORMAT_565@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PSP_DISPLAY_SETBUF_NEXTFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$512, %esi                      ## imm = 0x200
	callq	_sceDisplaySetFrameBuf
	movq	_current_screen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VRAM_FB0,4,2                   ## @VRAM_FB0
	.comm	_psp_screen,4,2                 ## @psp_screen
	.comm	_PSP_DISPLAY_PIXEL_FORMAT_565,4,2 ## @PSP_DISPLAY_PIXEL_FORMAT_565
	.comm	_PSP_DISPLAY_SETBUF_NEXTFRAME,4,2 ## @PSP_DISPLAY_SETBUF_NEXTFRAME
	.comm	_current_screen,8,3             ## @current_screen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psp_video_switch_to_single     ; -- Begin function psp_video_switch_to_single
	.p2align	2
_psp_video_switch_to_single:            ; @psp_video_switch_to_single
	.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
Lloh0:
	adrp	x8, _VRAM_FB0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VRAM_FB0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _psp_screen@GOTPAGE
Lloh4:
	ldr	x8, [x8, _psp_screen@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
Lloh6:
	adrp	x8, _PSP_DISPLAY_PIXEL_FORMAT_565@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSP_DISPLAY_PIXEL_FORMAT_565@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _PSP_DISPLAY_SETBUF_NEXTFRAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSP_DISPLAY_SETBUF_NEXTFRAME@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w1, #512
	bl	_sceDisplaySetFrameBuf
Lloh12:
	adrp	x8, _current_screen@GOTPAGE
Lloh13:
	ldr	x8, [x8, _current_screen@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VRAM_FB0,4,2                   ; @VRAM_FB0
	.comm	_psp_screen,4,2                 ; @psp_screen
	.comm	_PSP_DISPLAY_PIXEL_FORMAT_565,4,2 ; @PSP_DISPLAY_PIXEL_FORMAT_565
	.comm	_PSP_DISPLAY_SETBUF_NEXTFRAME,4,2 ; @PSP_DISPLAY_SETBUF_NEXTFRAME
	.comm	_current_screen,8,3             ; @current_screen
.subsections_via_symbols
