	.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_draw_rectangle
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vita2d_draw_rectangle
	.p2align	4, 0x90
_vita2d_draw_rectangle:                 ## @vita2d_draw_rectangle
	.cfi_startproc
## %bb.0:
	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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movss	%xmm3, -40(%rbp)                ## 4-byte Spill
	movss	%xmm2, -36(%rbp)                ## 4-byte Spill
	movss	%xmm1, -32(%rbp)                ## 4-byte Spill
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movl	$64, %edi
	movl	$16, %esi
	callq	_vita2d_pool_memalign
	movq	%rax, %rbx
	movl	$16, %edi
	movl	$4, %esi
	callq	_vita2d_pool_memalign
	movq	%rax, %r14
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%rbx)
	movss	-32(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm2, 4(%rbx)
	movl	$1056964608, 8(%rbx)            ## imm = 0x3F000000
	movl	%r15d, 12(%rbx)
	movss	-36(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movaps	%xmm1, %xmm3
	movss	%xmm0, 16(%rbx)
	movaps	%xmm0, %xmm1
	movss	%xmm2, 20(%rbx)
	movl	$1056964608, 24(%rbx)           ## imm = 0x3F000000
	movl	%r15d, 28(%rbx)
	movss	%xmm3, 32(%rbx)
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm0
	movss	%xmm0, 36(%rbx)
	movl	$1056964608, 40(%rbx)           ## imm = 0x3F000000
	movl	%r15d, 44(%rbx)
	movss	%xmm1, 48(%rbx)
	movss	%xmm0, 52(%rbx)
	movl	$1056964608, 56(%rbx)           ## imm = 0x3F000000
	movl	%r15d, 60(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	movups	%xmm0, (%rax)
	movq	__vita2d_context@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	__vita2d_colorVertexProgram@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sceGxmSetVertexProgram
	movl	(%r15), %edi
	movq	__vita2d_colorFragmentProgram@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sceGxmSetFragmentProgram
	movl	(%r15), %edi
	leaq	-48(%rbp), %rsi
	callq	_sceGxmReserveVertexDefaultUniformBuffer
	movq	-48(%rbp), %rdi
	movq	__vita2d_colorWvpParam@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__vita2d_ortho_matrix@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	movl	$16, %ecx
	callq	_sceGxmSetUniformDataF
	movl	(%r15), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_sceGxmSetVertexStream
	movl	(%r15), %edi
	movq	_SCE_GXM_PRIMITIVE_TRIANGLE_STRIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCE_GXM_INDEX_FORMAT_U16@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	movl	$4, %r8d
	callq	_sceGxmDraw
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__vita2d_context,4,2            ## @_vita2d_context
	.comm	__vita2d_colorVertexProgram,4,2 ## @_vita2d_colorVertexProgram
	.comm	__vita2d_colorFragmentProgram,4,2 ## @_vita2d_colorFragmentProgram
	.comm	__vita2d_colorWvpParam,4,2      ## @_vita2d_colorWvpParam
	.comm	__vita2d_ortho_matrix,4,2       ## @_vita2d_ortho_matrix
	.comm	_SCE_GXM_PRIMITIVE_TRIANGLE_STRIP,4,2 ## @SCE_GXM_PRIMITIVE_TRIANGLE_STRIP
	.comm	_SCE_GXM_INDEX_FORMAT_U16,4,2   ## @SCE_GXM_INDEX_FORMAT_U16
.subsections_via_symbols

	.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_draw_rectangle
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vita2d_draw_rectangle
	.p2align	2
_vita2d_draw_rectangle:                 ; @vita2d_draw_rectangle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x21, x0
	fmov	s8, s3
	fmov	s9, s2
	fmov	s10, s1
	fmov	s11, s0
	mov	w0, #64
	mov	w1, #16
	bl	_vita2d_pool_memalign
	mov	x20, x0
	mov	w0, #16
	mov	w1, #4
	bl	_vita2d_pool_memalign
	mov	x19, x0
	stp	s11, s10, [x20]
	mov	w8, #1056964608
	stp	w8, w21, [x20, #8]
	fadd	s0, s11, s9
	stp	s0, s10, [x20, #16]
	stp	w8, w21, [x20, #24]
	fadd	s1, s10, s8
	stp	s11, s1, [x20, #32]
	stp	w8, w21, [x20, #40]
	stp	s0, s1, [x20, #48]
	stp	w8, w21, [x20, #56]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x0]
Lloh2:
	adrp	x21, __vita2d_context@GOTPAGE
Lloh3:
	ldr	x21, [x21, __vita2d_context@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x8, __vita2d_colorVertexProgram@GOTPAGE
Lloh5:
	ldr	x8, [x8, __vita2d_colorVertexProgram@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_sceGxmSetVertexProgram
	ldr	w0, [x21]
Lloh7:
	adrp	x8, __vita2d_colorFragmentProgram@GOTPAGE
Lloh8:
	ldr	x8, [x8, __vita2d_colorFragmentProgram@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_sceGxmSetFragmentProgram
	ldr	w0, [x21]
	add	x1, sp, #8
	bl	_sceGxmReserveVertexDefaultUniformBuffer
	ldr	x0, [sp, #8]
Lloh10:
	adrp	x8, __vita2d_colorWvpParam@GOTPAGE
Lloh11:
	ldr	x8, [x8, __vita2d_colorWvpParam@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, __vita2d_ortho_matrix@GOTPAGE
Lloh14:
	ldr	x8, [x8, __vita2d_ortho_matrix@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	w2, #0
	mov	w3, #16
	bl	_sceGxmSetUniformDataF
	ldr	w0, [x21]
	mov	w1, #0
	mov	x2, x20
	bl	_sceGxmSetVertexStream
	ldr	w0, [x21]
Lloh16:
	adrp	x8, _SCE_GXM_PRIMITIVE_TRIANGLE_STRIP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SCE_GXM_PRIMITIVE_TRIANGLE_STRIP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _SCE_GXM_INDEX_FORMAT_U16@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SCE_GXM_INDEX_FORMAT_U16@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x3, x19
	mov	w4, #4
	bl	_sceGxmDraw
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__vita2d_context,4,2            ; @_vita2d_context
	.comm	__vita2d_colorVertexProgram,4,2 ; @_vita2d_colorVertexProgram
	.comm	__vita2d_colorFragmentProgram,4,2 ; @_vita2d_colorFragmentProgram
	.comm	__vita2d_colorWvpParam,4,2      ; @_vita2d_colorWvpParam
	.comm	__vita2d_ortho_matrix,4,2       ; @_vita2d_ortho_matrix
	.comm	_SCE_GXM_PRIMITIVE_TRIANGLE_STRIP,4,2 ; @SCE_GXM_PRIMITIVE_TRIANGLE_STRIP
	.comm	_SCE_GXM_INDEX_FORMAT_U16,4,2   ; @SCE_GXM_INDEX_FORMAT_U16
.subsections_via_symbols
