	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function set_texture_tint_color_uniform
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
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_set_texture_tint_color_uniform:        ## @set_texture_tint_color_uniform
	.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
	movl	%edi, %ebx
	movq	__vita2d_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	_sceGxmReserveFragmentDefaultUniformBuffer
	movl	$16, %edi
	movl	$4, %esi
	callq	_vita2d_pool_memalign
	movl	%ebx, %ecx
	shrl	$8, %ecx
	movd	%ebx, %xmm0
	shrl	$16, %ebx
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, %xmm1
	pinsrd	$1, %ecx, %xmm1
	pinsrd	$2, %ebx, %xmm1
	pand	LCPI0_0(%rip), %xmm1
	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
	movups	%xmm0, (%rax)
	movq	-16(%rbp), %rdi
	movq	__vita2d_textureTintColorParam@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	movq	%rax, %r8
	callq	_sceGxmSetUniformDataF
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__vita2d_context,4,2            ## @_vita2d_context
	.comm	__vita2d_textureTintColorParam,4,2 ## @_vita2d_textureTintColorParam
	.no_dead_strip	_set_texture_tint_color_uniform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_texture_tint_color_uniform
_set_texture_tint_color_uniform:        ; @set_texture_tint_color_uniform
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, __vita2d_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, __vita2d_context@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_sceGxmReserveFragmentDefaultUniformBuffer
	mov	w0, #16
	mov	w1, #4
	bl	_vita2d_pool_memalign
	mov	x4, x0
	lsr	w8, w19, #8
	fmov	s0, w19
	mov.s	v0[1], w8
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	mov	w8, #1132396544
	dup.2s	v1, w8
	ucvtf.2s	v0, v0
	fdiv.2s	v0, v0, v1
	str	d0, [x0]
	ubfx	w9, w19, #16, #8
	ucvtf	s0, w9
	fmov	s1, w8
	fdiv	s0, s0, s1
	lsr	w8, w19, #24
	ucvtf	s2, w8
	fdiv	s1, s2, s1
	stp	s0, s1, [x0, #8]
	ldr	x0, [sp, #8]
Lloh3:
	adrp	x8, __vita2d_textureTintColorParam@GOTPAGE
Lloh4:
	ldr	x8, [x8, __vita2d_textureTintColorParam@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #4
	bl	_sceGxmSetUniformDataF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__vita2d_context,4,2            ; @_vita2d_context
	.comm	__vita2d_textureTintColorParam,4,2 ; @_vita2d_textureTintColorParam
	.no_dead_strip	_set_texture_tint_color_uniform
.subsections_via_symbols
