	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blend_line
_blend_line:                            ## @blend_line
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movl	16(%rbp), %eax
	movl	$16843009, %r14d                ## imm = 0x1010101
	movslq	%ecx, %r10
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	imull	%edx, %eax
	movl	%r9d, %ecx
	shrl	%cl, %eax
	movl	$16843009, %ecx                 ## imm = 0x1010101
	subl	%eax, %ecx
	imull	(%rdi), %ecx
	imull	%esi, %eax
	addl	%ecx, %eax
	shrl	$24, %eax
	movl	%eax, (%rdi)
	leaq	(%rdi,%r10,4), %rdi
LBB0_2:
	movl	24(%rbp), %r11d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.4:
	movl	%edx, %r12d
	imull	%esi, %r12d
	subl	%edx, %r14d
	leal	-1(%r8), %ecx
	movl	%r8d, %r13d
	andl	$3, %r13d
	cmpl	$3, %ecx
	jae	LBB0_6
## %bb.5:
                                        ## implicit-def: $rbx
	testl	%r13d, %r13d
	jne	LBB0_10
	jmp	LBB0_12
LBB0_3:
	movq	%rdi, %rbx
	jmp	LBB0_12
LBB0_6:
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	andl	$-4, %r8d
	movq	%r10, %r15
	shlq	$4, %r15
	leaq	(,%r10,4), %rcx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	imull	%r14d, %edi
	addl	%r12d, %edi
	shrl	$24, %edi
	movl	%edi, (%rbx)
	movl	(%rbx,%rcx), %edi
	imull	%r14d, %edi
	addl	%r12d, %edi
	leaq	(%rbx,%rcx), %rax
	shrl	$24, %edi
	movl	%edi, (%rbx,%rcx)
	movl	(%rcx,%rax), %edi
	leaq	(%rax,%rcx), %r9
	imull	%r14d, %edi
	addl	%r12d, %edi
	shrl	$24, %edi
	movl	%edi, (%rcx,%rax)
	movl	(%rcx,%r9), %eax
	imull	%r14d, %eax
	addl	%r12d, %eax
	leaq	(%r9,%rcx), %rdi
	shrl	$24, %eax
	movl	%eax, (%rcx,%r9)
	addq	%rcx, %rdi
	addl	$-4, %r8d
	jne	LBB0_7
## %bb.8:
	addq	%r15, %rbx
	movq	%rbx, %rdi
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	testl	%r13d, %r13d
	je	LBB0_12
LBB0_10:
	shlq	$2, %r10
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	imull	%r14d, %eax
	addl	%r12d, %eax
	shrl	$24, %eax
	movl	%eax, (%rbx)
	addq	%r10, %rbx
	decl	%r13d
	jne	LBB0_11
LBB0_12:
	testl	%r11d, %r11d
	je	LBB0_14
## %bb.13:
	imull	%edx, %r11d
	movl	%r9d, %ecx
	shrl	%cl, %r11d
	movl	$16843009, %eax                 ## imm = 0x1010101
	subl	%r11d, %eax
	imull	(%rbx), %eax
	imull	%esi, %r11d
	addl	%eax, %r11d
	shrl	$24, %r11d
	movl	%r11d, (%rbx)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blend_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blend_line
_blend_line:                            ; @blend_line
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
	mov	w8, #16843009
	cbz	w6, LBB0_2
; %bb.1:
	mul	w9, w6, w2
	lsr	w9, w9, w5
	ldr	w10, [x0]
	sub	w11, w8, w9
	mul	w9, w9, w1
	madd	w9, w10, w11, w9
	lsr	w9, w9, #24
	str	w9, [x0]
	add	x0, x0, w3, sxtw #2
LBB0_2:
	cmp	w4, #1
	b.lt	LBB0_5
; %bb.3:
	mul	w9, w2, w1
	sub	w10, w8, w2
	sbfiz	x11, x3, #2, #32
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x0]
	madd	w12, w12, w10, w9
	lsr	w12, w12, #24
	str	w12, [x0]
	add	x0, x0, x11
	subs	w4, w4, #1
	b.ne	LBB0_4
LBB0_5:
	cbz	w7, LBB0_7
; %bb.6:
	mul	w9, w7, w2
	lsr	w9, w9, w5
	ldr	w10, [x0]
	sub	w8, w8, w9
	mul	w9, w9, w1
	madd	w8, w10, w8, w9
	lsr	w8, w8, #24
	str	w8, [x0]
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blend_line
.subsections_via_symbols
