	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interpolate_bilinear16
_interpolate_bilinear16:                ## @interpolate_bilinear16
	.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	%r9d, %ebx
	movl	%ecx, %r12d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r14d
	sarl	$16, %r8d
	movl	%r8d, %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_av_clip
	movl	%eax, %r15d
	sarl	$16, %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%r13d, %ebx
	movl	%r13d, %edx
	callq	_av_clip
	movl	%eax, %r13d
	leal	1(%r15), %edi
	movl	%r14d, %esi
	callq	_FFMIN
	movl	%eax, %r14d
	leal	1(%r13), %edi
	movl	%ebx, %esi
	callq	_FFMIN
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.1:
	imull	%r12d, %r15d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %r13d
	imull	%r12d, %r14d
	imull	%ecx, %eax
	movslq	%r15d, %rcx
	movslq	%r13d, %rdx
	cltq
	movslq	%r14d, %rsi
	movl	%r12d, %edi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rax), %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rdi,4), %r13
	addq	%rdx, %rsi
	leaq	(%rbx,%rsi,4), %r14
	addq	%rcx, %rax
	leaq	(%rbx,%rax,4), %r15
	addq	%rdx, %rcx
	leaq	(%rbx,%rcx,4), %rax
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_AV_RL16
	movq	%r14, %rdi
	callq	_AV_RL16
	movq	%r15, %rdi
	callq	_AV_RL16
	movq	%r13, %rdi
	callq	_AV_RL16
	movq	%rbx, %rdi
	callq	_AV_WL16
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$2, %r12
	addq	$8, %r13
	addq	$8, %r14
	addq	$8, %r15
	addq	$8, %rax
	addq	$8, %rbx
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	jl	LBB0_2
LBB0_3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_interpolate_bilinear16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interpolate_bilinear16
_interpolate_bilinear16:                ; @interpolate_bilinear16
	.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	x26, x7
	mov	x25, x6
	mov	x24, x5
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	asr	w0, w4, #16
	mov	w1, #0
	mov	x2, x6
	bl	_av_clip
	mov	x23, x0
	asr	w0, w24, #16
	mov	w1, #0
	mov	x2, x26
	bl	_av_clip
	mov	x24, x0
	add	w0, w23, #1
	mov	x1, x25
	bl	_FFMIN
	mov	x25, x0
	add	w0, w24, #1
	mov	x1, x26
	bl	_FFMIN
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, #0
	mul	w8, w23, w22
	mul	w9, w24, w21
	mul	w10, w25, w22
	mov	w22, w22
	add	x23, x20, w10, sxtw #2
	mul	w10, w0, w21
	sbfiz	x21, x10, #2, #32
	sbfiz	x24, x9, #2, #32
	add	x25, x20, w8, sxtw #2
	mov	x20, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x25, x24
	bl	_AV_RL16
	add	x0, x23, x24
	bl	_AV_RL16
	add	x0, x25, x21
	bl	_AV_RL16
	add	x0, x23, x21
	bl	_AV_RL16
	mov	x0, x20
	bl	_AV_WL16
	add	x26, x26, #2
	add	x21, x21, #8
	add	x24, x24, #8
	add	x20, x20, #8
	cmp	x26, x22
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_interpolate_bilinear16
.subsections_via_symbols
