	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vita2d_draw_array_textured     ## -- Begin function vita2d_draw_array_textured
	.p2align	4, 0x90
_vita2d_draw_array_textured:            ## @vita2d_draw_array_textured
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_set_texture_tint_program
	xorl	%eax, %eax
	callq	_set_texture_wvp_uniform
	movl	%ebx, %edi
	callq	_set_texture_tint_color_uniform
	movq	__vita2d_context@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SCE_GXM_POLYGON_MODE_TRIANGLE_FILL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sceGxmSetBackPolygonMode
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_sceGxmSetFragmentTexture
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_sceGxmSetVertexStream
	movl	(%rbx), %ebx
	movq	_SCE_GXM_INDEX_FORMAT_U16@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_vita2d_get_linear_indices
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sceGxmDraw                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__vita2d_context,4,2            ## @_vita2d_context
	.comm	_SCE_GXM_POLYGON_MODE_TRIANGLE_FILL,4,2 ## @SCE_GXM_POLYGON_MODE_TRIANGLE_FILL
	.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
	.globl	_vita2d_draw_array_textured     ; -- Begin function vita2d_draw_array_textured
	.p2align	2
_vita2d_draw_array_textured:            ; @vita2d_draw_array_textured
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_set_texture_tint_program
	bl	_set_texture_wvp_uniform
	mov	x0, x19
	bl	_set_texture_tint_color_uniform
Lloh0:
	adrp	x19, __vita2d_context@GOTPAGE
Lloh1:
	ldr	x19, [x19, __vita2d_context@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _SCE_GXM_POLYGON_MODE_TRIANGLE_FILL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCE_GXM_POLYGON_MODE_TRIANGLE_FILL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_sceGxmSetBackPolygonMode
	ldr	w0, [x19]
	mov	w1, #0
	mov	x2, x23
	bl	_sceGxmSetFragmentTexture
	ldr	w0, [x19]
	mov	w1, #0
	mov	x2, x21
	bl	_sceGxmSetVertexStream
	ldr	w19, [x19]
Lloh5:
	adrp	x8, _SCE_GXM_INDEX_FORMAT_U16@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCE_GXM_INDEX_FORMAT_U16@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	bl	_vita2d_get_linear_indices
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sceGxmDraw
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__vita2d_context,4,2            ; @_vita2d_context
	.comm	_SCE_GXM_POLYGON_MODE_TRIANGLE_FILL,4,2 ; @SCE_GXM_POLYGON_MODE_TRIANGLE_FILL
	.comm	_SCE_GXM_INDEX_FORMAT_U16,4,2   ; @SCE_GXM_INDEX_FORMAT_U16
.subsections_via_symbols
