	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TitanBlendPixelsTop
_TitanBlendPixelsTop:                   ## @TitanBlendPixelsTop
	.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	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	callq	_TitanGetAlpha
                                        ## kill: def $eax killed $eax def $rax
	leal	3(,%rax,4), %ebx
	movl	$255, %eax
	subl	%ebx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_TitanGetRed
	imull	%ebx, %eax
	movslq	%eax, %r12
	imulq	$-2139062143, %r12, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %r12d
	movl	%r12d, %eax
	shrl	$31, %eax
	sarl	$7, %r12d
	addl	%eax, %r12d
	movl	%r15d, %edi
	callq	_TitanGetGreen
	imull	%ebx, %eax
	movslq	%eax, %r14
	imulq	$-2139062143, %r14, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %r14d
	movl	%r14d, %eax
	shrl	$31, %eax
	sarl	$7, %r14d
	addl	%eax, %r14d
	movl	%r15d, %edi
	callq	_TitanGetBlue
	imull	%ebx, %eax
	movslq	%eax, %r13
	imulq	$-2139062143, %r13, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %r13d
	movl	%r13d, %eax
	shrl	$31, %eax
	sarl	$7, %r13d
	addl	%eax, %r13d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_TitanGetRed
	imull	-48(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %r15
	imulq	$-2139062143, %r15, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %r15d
	movl	%r15d, %eax
	shrl	$31, %eax
	sarl	$7, %r15d
	addl	%eax, %r15d
	addl	%r12d, %r15d
	movl	%ebx, %edi
	callq	_TitanGetGreen
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	imull	%r12d, %eax
	movslq	%eax, %rbx
	imulq	$-2139062143, %rbx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$7, %ebx
	addl	%eax, %ebx
	addl	%r14d, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_TitanGetBlue
	imull	%r12d, %eax
	movslq	%eax, %rcx
	imulq	$-2139062143, %rcx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$7, %ecx
	addl	%eax, %ecx
	addl	%r13d, %ecx
	movl	$63, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TitanCreatePixel               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_TitanBlendPixelsTop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TitanBlendPixelsTop
_TitanBlendPixelsTop:                   ; @TitanBlendPixelsTop
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_TitanGetAlpha
	mov	w24, #3
	bfi	w24, w0, #2, #30
	mov	w8, #255
	sub	w21, w8, w24
	mov	x0, x20
	bl	_TitanGetRed
	mul	w8, w24, w0
	mov	w22, #32897
	movk	w22, #32896, lsl #16
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w23, w9, w8, lsr #31
	mov	x0, x20
	bl	_TitanGetGreen
	mul	w8, w0, w24
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w25, w9, w8, lsr #31
	mov	x0, x20
	bl	_TitanGetBlue
	mul	w8, w0, w24
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w20, w9, w8, lsr #31
	mov	x0, x19
	bl	_TitanGetRed
	mul	w8, w0, w21
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w24, w9, w8, lsr #31
	mov	x0, x19
	bl	_TitanGetGreen
	mul	w8, w0, w21
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w26, w9, w8, lsr #31
	mov	x0, x19
	bl	_TitanGetBlue
	mul	w8, w0, w21
	smull	x9, w8, w22
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	add	w1, w24, w23
	add	w2, w26, w25
	add	w3, w8, w20
	mov	w0, #63
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_TitanCreatePixel
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_TitanBlendPixelsTop
.subsections_via_symbols
