	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clearArea
_clearArea:                             ## @clearArea
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	_psp_screen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$69632, %edx                    ## imm = 0x11000
	callq	_memset32_uncached
	xorl	%edi, %edi
	callq	_psp_video_flip
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$69632, %edx                    ## imm = 0x11000
	callq	_memset32_uncached
	movq	_VRAM_CACHED_STUFF@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	$-522133280, %esi               ## imm = 0xE0E0E0E0
	movl	$30720, %edx                    ## imm = 0x7800
	callq	_memset32
	movl	$122880, %edi                   ## imm = 0x1E000
	addq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$61440, %edx                    ## imm = 0xF000
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset32                       ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	callq	_psp_video_get_active_fb
	movq	%rax, %rbx
	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
	addq	$270336, %rbx                   ## imm = 0x42000
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset32_uncached              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_psp_screen,8,3                 ## @psp_screen
	.comm	_VRAM_CACHED_STUFF,8,3          ## @VRAM_CACHED_STUFF
	.no_dead_strip	_clearArea
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clearArea
_clearArea:                             ; @clearArea
	.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
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _psp_screen@GOTPAGE
Lloh1:
	ldr	x19, [x19, _psp_screen@GOTPAGEOFF]
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #4096
	movk	w2, #1, lsl #16
	bl	_memset32_uncached
	mov	w0, #0
	bl	_psp_video_flip
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #4096
	movk	w2, #1, lsl #16
	bl	_memset32_uncached
Lloh2:
	adrp	x19, _VRAM_CACHED_STUFF@GOTPAGE
Lloh3:
	ldr	x19, [x19, _VRAM_CACHED_STUFF@GOTPAGEOFF]
	ldr	x0, [x19]
	mov	w1, #-522133280
	mov	w2, #30720
	bl	_memset32
	ldr	x8, [x19]
	add	x0, x8, #30, lsl #12            ; =122880
	mov	w1, #0
	mov	w2, #61440
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset32
LBB0_2:
	bl	_psp_video_get_active_fb
	mov	x19, x0
Lloh4:
	adrp	x8, _psp_screen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _psp_screen@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x0, x8, #66, lsl #12            ; =270336
	mov	w1, #0
	mov	w2, #2048
	bl	_memset32_uncached
	add	x0, x19, #66, lsl #12           ; =270336
	mov	w1, #0
	mov	w2, #2048
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset32_uncached
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_psp_screen,8,3                 ; @psp_screen
	.comm	_VRAM_CACHED_STUFF,8,3          ; @VRAM_CACHED_STUFF
	.no_dead_strip	_clearArea
.subsections_via_symbols
