	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _vita2d_make_fragment_programs
__vita2d_make_fragment_programs:        ## @_vita2d_make_fragment_programs
	.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	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_shaderPatcher@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %r12
	movq	_colorFragmentProgramId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_colorVertexProgramGxp@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	8(%rbx), %rax
	movq	%rax, (%rsp)
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_sceGxmShaderPatcherCreateFragmentProgram
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_VITA2D_DEBUG
	movl	(%r12), %edi
	movq	_textureFragmentProgramId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	_textureVertexProgramGxp@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	leaq	4(%rbx), %rax
	movq	%rax, (%rsp)
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_sceGxmShaderPatcherCreateFragmentProgram
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_VITA2D_DEBUG
	movq	_shaderPatcher@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_textureTintFragmentProgramId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	(%r12), %r9d
	movq	%rbx, (%rsp)
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_sceGxmShaderPatcherCreateFragmentProgram
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VITA2D_DEBUG                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_shaderPatcher,4,2              ## @shaderPatcher
	.comm	_colorFragmentProgramId,4,2     ## @colorFragmentProgramId
	.comm	_SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4,4,2 ## @SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4
	.comm	_colorVertexProgramGxp,4,2      ## @colorVertexProgramGxp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"color sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.comm	_textureFragmentProgramId,4,2   ## @textureFragmentProgramId
	.comm	_textureVertexProgramGxp,4,2    ## @textureVertexProgramGxp
L_.str.1:                               ## @.str.1
	.asciz	"texture sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.comm	_textureTintFragmentProgramId,4,2 ## @textureTintFragmentProgramId
L_.str.2:                               ## @.str.2
	.asciz	"texture_tint sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.no_dead_strip	__vita2d_make_fragment_programs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _vita2d_make_fragment_programs
__vita2d_make_fragment_programs:        ; @_vita2d_make_fragment_programs
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _shaderPatcher@GOTPAGE
Lloh1:
	ldr	x22, [x22, _shaderPatcher@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _colorFragmentProgramId@GOTPAGE
Lloh3:
	ldr	x8, [x8, _colorFragmentProgramId@GOTPAGEOFF]
Lloh4:
	adrp	x23, _SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x23]
Lloh7:
	adrp	x8, _colorVertexProgramGxp@GOTPAGE
Lloh8:
	ldr	x8, [x8, _colorVertexProgramGxp@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	add	x6, x19, #8
	mov	x3, x21
	mov	x4, x20
	bl	_sceGxmShaderPatcherCreateFragmentProgram
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_VITA2D_DEBUG
	ldr	w0, [x22]
Lloh12:
	adrp	x8, _textureFragmentProgramId@GOTPAGE
Lloh13:
	ldr	x8, [x8, _textureFragmentProgramId@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x23]
Lloh15:
	adrp	x24, _textureVertexProgramGxp@GOTPAGE
Lloh16:
	ldr	x24, [x24, _textureVertexProgramGxp@GOTPAGEOFF]
	ldr	w5, [x24]
	add	x6, x19, #4
	mov	x3, x21
	mov	x4, x20
	bl	_sceGxmShaderPatcherCreateFragmentProgram
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_VITA2D_DEBUG
	ldr	w0, [x22]
Lloh19:
	adrp	x8, _textureTintFragmentProgramId@GOTPAGE
Lloh20:
	ldr	x8, [x8, _textureTintFragmentProgramId@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x23]
	ldr	w5, [x24]
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	bl	_sceGxmShaderPatcherCreateFragmentProgram
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	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	_VITA2D_DEBUG
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_shaderPatcher,4,2              ; @shaderPatcher
	.comm	_colorFragmentProgramId,4,2     ; @colorFragmentProgramId
	.comm	_SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4,4,2 ; @SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4
	.comm	_colorVertexProgramGxp,4,2      ; @colorVertexProgramGxp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"color sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.comm	_textureFragmentProgramId,4,2   ; @textureFragmentProgramId
	.comm	_textureVertexProgramGxp,4,2    ; @textureVertexProgramGxp
l_.str.1:                               ; @.str.1
	.asciz	"texture sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.comm	_textureTintFragmentProgramId,4,2 ; @textureTintFragmentProgramId
l_.str.2:                               ; @.str.2
	.asciz	"texture_tint sceGxmShaderPatcherCreateFragmentProgram(): 0x%08X\n"

	.no_dead_strip	__vita2d_make_fragment_programs
.subsections_via_symbols
