	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vita2d_set_clear_color
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.long	0x437f0000                      ## float 255
	.long	0x437f0000                      ## float 255
	.long	0x437f0000                      ## float 255
	.long	0x437f0000                      ## float 255
LCPI0_2:
	.long	0x4f000000                      ## float 2.14748365E+9
	.long	0x4f000000                      ## float 2.14748365E+9
	.long	0x4f000000                      ## float 2.14748365E+9
	.long	0x4f000000                      ## float 2.14748365E+9
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vita2d_set_clear_color
	.p2align	4, 0x90
_vita2d_set_clear_color:                ## @vita2d_set_clear_color
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_clear_color@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	shrl	$8, %ecx
	movl	%edi, %edx
	shrl	$16, %edx
	movd	%edi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, %xmm1
	pinsrd	$1, %ecx, %xmm1
	pinsrd	$2, %edx, %xmm1
	pand	LCPI0_0(%rip), %xmm1
	movq	(%rax), %rax
	psrld	$24, %xmm0
	pblendw	$63, %xmm1, %xmm0               ## xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
	cvtdq2ps	%xmm0, %xmm0
	divps	LCPI0_1(%rip), %xmm0
	cvttps2dq	%xmm0, %xmm1
	movdqa	%xmm1, %xmm2
	psrad	$31, %xmm2
	subps	LCPI0_2(%rip), %xmm0
	cvttps2dq	%xmm0, %xmm0
	pand	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movdqu	%xmm0, (%rax)
	movq	_clear_color_u@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clear_color,8,3                ## @clear_color
	.comm	_clear_color_u,4,2              ## @clear_color_u
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function vita2d_set_clear_color
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vita2d_set_clear_color
	.p2align	2
_vita2d_set_clear_color:                ; @vita2d_set_clear_color
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _clear_color@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clear_color@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	dup.2s	v0, w0
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	dup.4s	v1, w0
	ushr.4s	v2, v1, #24
	mov.s	v1[1], v0[0]
	mov.s	v1[2], v0[1]
	movi.2d	v0, #0x0000ff000000ff
	and.16b	v0, v1, v0
	mov.s	v0[3], v2[3]
	ucvtf.4s	v0, v0
	mov	w9, #1132396544
	dup.4s	v1, w9
	fdiv.4s	v0, v0, v1
	fcvtzu.4s	v0, v0
	str	q0, [x8]
Lloh5:
	adrp	x8, _clear_color_u@GOTPAGE
Lloh6:
	ldr	x8, [x8, _clear_color_u@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_clear_color,8,3                ; @clear_color
	.comm	_clear_color_u,4,2              ; @clear_color_u
.subsections_via_symbols
