	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blend_line16
_blend_line16:                          ## @blend_line16
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rdi, %rbx
	movl	24(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %r15d
	movl	$65537, %r13d                   ## imm = 0x10001
	movslq	%ecx, %r14
	testl	%r15d, %r15d
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	imull	%edx, %r15d
	movl	%r9d, %ecx
	shrl	%cl, %r15d
	movq	%rbx, %rdi
	callq	_AV_RL16
	movl	$65537, %ecx                    ## imm = 0x10001
	subl	%r15d, %ecx
	imull	%eax, %ecx
	imull	-44(%rbp), %r15d                ## 4-byte Folded Reload
	addl	%ecx, %r15d
	shrl	$16, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_AV_WL16
	leaq	(%rbx,%r14,4), %rbx
LBB0_2:
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	imull	-44(%rbp), %r15d                ## 4-byte Folded Reload
	subl	%eax, %r13d
	shlq	$2, %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_AV_RL16
                                        ## kill: def $eax killed $eax def $rax
	imull	%r13d, %eax
	leal	(%rax,%r15), %esi
	shrl	$16, %esi
	movq	%rbx, %rdi
	callq	_AV_WL16
	addq	%r14, %rbx
	decl	%r12d
	jne	LBB0_4
LBB0_5:
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.7:
	imull	-48(%rbp), %r14d                ## 4-byte Folded Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r14d
	movq	%rbx, %rdi
	callq	_AV_RL16
	movl	$65537, %ecx                    ## imm = 0x10001
	subl	%r14d, %ecx
	imull	%eax, %ecx
	imull	-44(%rbp), %r14d                ## 4-byte Folded Reload
	addl	%ecx, %r14d
	shrl	$16, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AV_WL16                        ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blend_line16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blend_line16
_blend_line16:                          ; @blend_line16
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x22, x5
	mov	x24, x4
	mov	x25, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	w26, #65537
	cbz	w6, LBB0_2
; %bb.1:
	mul	w8, w6, w23
	lsr	w27, w8, w22
	mov	x0, x19
	bl	_AV_RL16
	sub	w8, w26, w27
	mul	w9, w27, w20
	madd	w8, w0, w8, w9
	lsr	w1, w8, #16
	mov	x0, x19
	bl	_AV_WL16
	add	x19, x19, w25, sxtw #2
LBB0_2:
	cmp	w24, #1
	b.lt	LBB0_5
; %bb.3:
	mul	w27, w23, w20
	sub	w28, w26, w23
	sbfiz	x25, x25, #2, #32
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_AV_RL16
	madd	w8, w0, w28, w27
	lsr	w1, w8, #16
	mov	x0, x19
	bl	_AV_WL16
	add	x19, x19, x25
	subs	w24, w24, #1
	b.ne	LBB0_4
LBB0_5:
	cbz	w21, LBB0_7
; %bb.6:
	mul	w8, w21, w23
	lsr	w21, w8, w22
	mov	x0, x19
	bl	_AV_RL16
	sub	w8, w26, w21
	mul	w9, w21, w20
	madd	w8, w0, w8, w9
	lsr	w1, w8, #16
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AV_WL16
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blend_line16
.subsections_via_symbols
