	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function menu_display_vita2d_clear_color
LCPI0_0:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_menu_display_vita2d_clear_color:       ## @menu_display_vita2d_clear_color
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edi
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %esi
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edx
	movss	12(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %ecx
	callq	_RGBA8
	movl	%eax, %edi
	callq	_vita2d_set_clear_color
	movq	_PSP_FB_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PSP_FB_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edi
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %esi
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edx
	mulss	12(%rbx), %xmm1
	cvttss2si	%xmm1, %ecx
	callq	_RGBA8
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vita2d_draw_rectangle          ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSP_FB_WIDTH,4,2               ## @PSP_FB_WIDTH
	.comm	_PSP_FB_HEIGHT,4,2              ## @PSP_FB_HEIGHT
	.no_dead_strip	_menu_display_vita2d_clear_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_display_vita2d_clear_color
_menu_display_vita2d_clear_color:       ; @menu_display_vita2d_clear_color
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	mov	w8, #1132396544
	fmov	s8, w8
	ldp	s0, s1, [x0]
	fmul	s0, s0, s8
	fcvtzs	w0, s0
	fmul	s0, s1, s8
	fcvtzs	w1, s0
	ldp	s0, s1, [x19, #8]
	fmul	s0, s0, s8
	fcvtzs	w2, s0
	fmul	s0, s1, s8
	fcvtzs	w3, s0
	bl	_RGBA8
	bl	_vita2d_set_clear_color
	ldp	s0, s1, [x19]
	fmul	s0, s0, s8
	fcvtzs	w0, s0
	fmul	s0, s1, s8
	fcvtzs	w1, s0
	ldp	s0, s1, [x19, #8]
	fmul	s0, s0, s8
	fcvtzs	w2, s0
Lloh0:
	adrp	x8, _PSP_FB_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSP_FB_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _PSP_FB_HEIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSP_FB_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	fmul	s0, s1, s8
	fcvtzs	w3, s0
	bl	_RGBA8
	mov	x4, x0
	mov	w0, #0
	mov	w1, #0
	mov	x2, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_vita2d_draw_rectangle
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value b8
	.cfi_same_value b9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PSP_FB_WIDTH,4,2               ; @PSP_FB_WIDTH
	.comm	_PSP_FB_HEIGHT,4,2              ; @PSP_FB_HEIGHT
	.no_dead_strip	_menu_display_vita2d_clear_color
.subsections_via_symbols
