	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vita2d_set_blend_mode_add      ## -- Begin function vita2d_set_blend_mode_add
	.p2align	4, 0x90
_vita2d_set_blend_mode_add:             ## @vita2d_set_blend_mode_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__vita2d_fragmentPrograms@GOTPCREL(%rip), %rax
	leaq	8(%rax), %r9
	leaq	12(%rax), %rdx
	leaq	20(%rax), %rsi
	leaq	4(%rax), %r8
	leaq	16(%rax), %rcx
	testl	%edi, %edi
	cmoveq	%r9, %rsi
	movl	(%rsi), %esi
	movq	__vita2d_colorFragmentProgram@GOTPCREL(%rip), %rdi
	movl	%esi, (%rdi)
	cmoveq	%r8, %rcx
	movl	(%rcx), %ecx
	movq	__vita2d_textureFragmentProgram@GOTPCREL(%rip), %rsi
	cmoveq	%rax, %rdx
	movl	%ecx, (%rsi)
	movl	(%rdx), %eax
	movq	__vita2d_textureTintFragmentProgram@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__vita2d_fragmentPrograms,24,2  ## @_vita2d_fragmentPrograms
	.comm	__vita2d_colorFragmentProgram,4,2 ## @_vita2d_colorFragmentProgram
	.comm	__vita2d_textureFragmentProgram,4,2 ## @_vita2d_textureFragmentProgram
	.comm	__vita2d_textureTintFragmentProgram,4,2 ## @_vita2d_textureTintFragmentProgram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vita2d_set_blend_mode_add      ; -- Begin function vita2d_set_blend_mode_add
	.p2align	2
_vita2d_set_blend_mode_add:             ; @vita2d_set_blend_mode_add
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __vita2d_fragmentPrograms@GOTPAGE
Lloh1:
	ldr	x8, [x8, __vita2d_fragmentPrograms@GOTPAGEOFF]
	add	x9, x8, #8
	add	x10, x8, #12
	add	x11, x8, #20
	cmp	w0, #0
	csel	x9, x9, x11, eq
	ldr	w9, [x9]
Lloh2:
	adrp	x11, __vita2d_colorFragmentProgram@GOTPAGE
Lloh3:
	ldr	x11, [x11, __vita2d_colorFragmentProgram@GOTPAGEOFF]
Lloh4:
	str	w9, [x11]
	add	x9, x8, #4
	add	x11, x8, #16
	csel	x9, x9, x11, eq
	ldr	w9, [x9]
Lloh5:
	adrp	x11, __vita2d_textureFragmentProgram@GOTPAGE
Lloh6:
	ldr	x11, [x11, __vita2d_textureFragmentProgram@GOTPAGEOFF]
Lloh7:
	str	w9, [x11]
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
Lloh8:
	adrp	x9, __vita2d_textureTintFragmentProgram@GOTPAGE
Lloh9:
	ldr	x9, [x9, __vita2d_textureTintFragmentProgram@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__vita2d_fragmentPrograms,24,2  ; @_vita2d_fragmentPrograms
	.comm	__vita2d_colorFragmentProgram,4,2 ; @_vita2d_colorFragmentProgram
	.comm	__vita2d_textureFragmentProgram,4,2 ; @_vita2d_textureFragmentProgram
	.comm	__vita2d_textureTintFragmentProgram,4,2 ; @_vita2d_textureTintFragmentProgram
.subsections_via_symbols
