	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packed_vscale
_packed_vscale:                         ## @packed_vscale
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	24(%rsi), %rbx
	movl	(%rax), %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movb	4(%rax), %cl
	movl	%edx, %r15d
	sarl	%cl, %r15d
	movl	(%rbx), %ecx
	movl	40(%rbx), %r13d
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	subl	%ecx, %edi
	movq	32(%rbx), %rax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movslq	%edx, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	(%rax,%rcx,4), %esi
	movl	$1, %r12d
	callq	_FFMAX
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	subl	%r13d, %r12d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	72(%rbx), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%r12d, %edi
	callq	_FFMAX
	movq	16(%r14), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx), %rdx
	movslq	-124(%rbp), %r15                ## 4-byte Folded Reload
	movq	%r15, %r13
	subq	%rdx, %r13
	movslq	16(%rcx), %rdx
	movslq	%eax, %rbx
	movq	%rbx, %r12
	subq	%rdx, %r12
	movslq	32(%rcx), %rax
	subq	%rax, %rbx
	movq	(%r14), %rax
	movq	8(%r14), %rdx
	movq	8(%rdx), %rdx
	movslq	(%rdx), %rsi
	shlq	$3, %r13
	shlq	$3, %r12
	shlq	$3, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movslq	48(%rcx), %rdi
	subq	%rdi, %r15
	shlq	$3, %r15
	addq	56(%rcx), %r15
	jmp	LBB0_3
LBB0_2:
	xorl	%r15d, %r15d
LBB0_3:
	movq	-104(%rbp), %r11                ## 8-byte Reload
	subq	%rsi, %r11
	addq	8(%rcx), %r13
	addq	24(%rcx), %r12
	addq	40(%rcx), %rbx
	movq	8(%rdx), %r14
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	cmpq	$0, 32(%rdi)
	setne	%dl
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	cmpl	$1, %r9d
	sete	%cl
	andb	%dl, %cl
	cmpb	$1, %cl
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	jne	LBB0_7
## %bb.4:
	cmpl	$1, %r8d
	jne	LBB0_7
## %bb.5:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %r10
	movq	(%r13), %rsi
	testq	%rax, %rax
	je	LBB0_24
## %bb.6:
	movq	(%r15), %r8
	jmp	LBB0_25
LBB0_7:
	cmpl	$2, %r8d
	sete	%dl
	andb	%dl, %cl
	cmpb	$1, %cl
	jne	LBB0_12
## %bb.8:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %ecx
	incl	%ecx
	movslq	%ecx, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %r10d
	cmpl	$4096, %r10d                    ## imm = 0x1000
	ja	LBB0_20
## %bb.9:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	addl	%r10d, %ecx
	cmpl	$4096, %ecx                     ## imm = 0x1000
	jne	LBB0_20
## %bb.10:
	movq	%r11, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %r11
	movq	(%r13), %rsi
	testq	%rax, %rax
	je	LBB0_26
## %bb.11:
	movq	(%r15), %r8
	jmp	LBB0_27
LBB0_12:
	cmpq	$0, 24(%rdi)
	je	LBB0_23
## %bb.13:
	cmpl	$2, %r9d
	jne	LBB0_23
## %bb.14:
	cmpl	$2, %r8d
	jne	LBB0_23
## %bb.15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	incl	%eax
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	cmpl	$4096, %eax                     ## imm = 0x1000
	ja	LBB0_20
## %bb.16:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	leal	(%rcx,%rax), %edx
	cmpl	$4096, %edx                     ## imm = 0x1000
	jne	LBB0_20
## %bb.17:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %edx
	incl	%edx
	movslq	%edx, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx,4), %r10d
	cmpl	$4096, %r10d                    ## imm = 0x1000
	ja	LBB0_20
## %bb.18:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %edx
	movslq	%edx, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx,4), %esi
	addl	%r10d, %esi
	cmpl	$4096, %esi                     ## imm = 0x1000
	jne	LBB0_20
## %bb.19:
	movl	%ecx, %esi
	shll	$16, %esi
	addl	%ecx, %esi
	movq	(%rdi), %rcx
	movl	%esi, 12(%rcx)
	movl	%esi, 8(%rcx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, %edx
	shll	$16, %edx
	addl	%ecx, %edx
	movq	8(%rdi), %rcx
	movl	%edx, 12(%rcx)
	movl	%edx, 8(%rcx)
	movq	(%r14,%r11,8), %r9
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	jmp	LBB0_28
LBB0_20:
	cmpl	$0, 16(%rdi)
	jne	LBB0_22
## %bb.21:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	callq	_av_log
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
LBB0_22:
	movl	$1, 16(%rdi)
LBB0_23:
	movl	%r9d, %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	imull	%r10d, %eax
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imull	%r8d, %eax
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	%r13, %rdx
	movl	%r9d, %ecx
	movq	%r12, %r9
	pushq	%r10
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	(%r14,%r11,8)
	pushq	%r15
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	addq	$48, %rsp
	jmp	LBB0_29
LBB0_24:
	xorl	%r8d, %r8d
LBB0_25:
	movq	(%r14,%r11,8), %r9
	subq	$8, %rsp
	movq	%r12, %rdx
	movq	%rbx, %rcx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	*%r10
	jmp	LBB0_28
LBB0_26:
	xorl	%r8d, %r8d
LBB0_27:
	movq	(%r14,%rdx,8), %r9
	subq	$8, %rsp
	movq	%r12, %rdx
	movq	%rbx, %rcx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	*%r11
LBB0_28:
	addq	$32, %rsp
LBB0_29:
	movl	$1, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Optimized 2 tap filter code cannot be used\n"

	.no_dead_strip	_packed_vscale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packed_vscale
_packed_vscale:                         ; @packed_vscale
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x28, [x1, #24]
	ldr	x8, [x1, #8]
	ldp	w9, w8, [x8]
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	asr	w23, w2, w8
	ldr	w25, [x28]
	ldr	w24, [x28, #40]
	ldr	x8, [x28, #8]
	ldr	x9, [x8]
	ldr	x8, [x28, #48]
	ldr	x8, [x8]
	stp	x9, x8, [sp, #40]               ; 16-byte Folded Spill
	mov	w27, #1
	sub	w0, w27, w25
	ldr	x8, [x28, #32]
	sxtw	x19, w21
	ldr	w1, [x8, w2, sxtw #2]
	bl	_FFMAX
	mov	x26, x0
	sub	w0, w27, w24
	ldr	x8, [x28, #72]
	ldr	w1, [x8, w23, sxtw #2]
	bl	_FFMAX
	ldp	x11, x8, [x22, #8]
	ldr	x10, [x8]
	ldr	w8, [x10]
	sub	w9, w26, w8
	ldr	w8, [x10, #16]
	sub	w14, w0, w8
	ldr	w8, [x10, #32]
	sub	w15, w0, w8
	ldr	x8, [x22]
	ldr	x11, [x11, #8]
	ldrsw	x13, [x11]
	ldr	x12, [x10, #8]
	ldr	x16, [x10, #24]
	add	x16, x16, w14, sxtw #3
	ldr	x14, [x10, #40]
	add	x6, x14, w15, sxtw #3
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w14, [x10, #48]
	sub	w14, w26, w14
	ldr	x10, [x10, #56]
	add	x14, x10, w14, sxtw #3
	b	LBB0_3
LBB0_2:
	mov	x14, #0
LBB0_3:
	sub	x15, x19, x13
	add	x27, x12, w9, sxtw #3
	ldr	x22, [x11, #8]
	ldr	x9, [x20, #32]
	cmp	x9, #0
	ccmp	w25, #1, #0, ne
	cset	w9, eq
	b.ne	LBB0_7
; %bb.4:
	cmp	w24, #1
	b.ne	LBB0_7
; %bb.5:
	ldr	x9, [x28, #24]
	ldr	x1, [x27]
	cbz	x8, LBB0_24
; %bb.6:
	ldr	x4, [x14]
	b	LBB0_25
LBB0_7:
	sxtw	x26, w23
	cmp	w24, #2
	cset	w10, eq
	and	w9, w9, w10
	cmp	w9, #1
	b.ne	LBB0_12
; %bb.8:
	ldr	x13, [sp, #48]                  ; 8-byte Folded Reload
	add	x9, x13, x26, lsl #3
	ldr	w7, [x9, #4]
	cmp	w7, #1, lsl #12                 ; =4096
	b.hi	LBB0_20
; %bb.9:
	lsl	w9, w26, #1
	ldr	w9, [x13, w9, sxtw #2]
	add	w9, w9, w7
	cmp	w9, #1, lsl #12                 ; =4096
	b.ne	LBB0_20
; %bb.10:
	ldr	x9, [x28, #24]
	ldr	x1, [x27]
	cbz	x8, LBB0_26
; %bb.11:
	ldr	x4, [x14]
	b	LBB0_27
LBB0_12:
	ldr	x8, [x20, #24]
	ldr	x13, [sp, #48]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_23
; %bb.13:
	cmp	w25, #2
	b.ne	LBB0_23
; %bb.14:
	cmp	w24, #2
	b.ne	LBB0_23
; %bb.15:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, x19, lsl #3
	ldr	w7, [x8, #4]
	cmp	w7, #1, lsl #12                 ; =4096
	b.hi	LBB0_20
; %bb.16:
	lsl	w8, w19, #1
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [x9, w8, sxtw #2]
	add	w8, w9, w7
	cmp	w8, #1, lsl #12                 ; =4096
	b.ne	LBB0_20
; %bb.17:
	add	x8, x13, x26, lsl #3
	ldr	w8, [x8, #4]
	cmp	w8, #1, lsl #12                 ; =4096
	b.hi	LBB0_20
; %bb.18:
	lsl	w10, w26, #1
	ldr	w11, [x13, w10, sxtw #2]
	add	w11, w11, w8
	cmp	w11, #1, lsl #12                ; =4096
	b.ne	LBB0_20
; %bb.19:
	sxtw	x10, w10
	add	w9, w9, w9, lsl #16
	ldp	x11, x12, [x20]
	stp	w9, w9, [x11, #8]
	ldr	w9, [x13, x10, lsl #2]
	add	w9, w9, w9, lsl #16
	stp	w9, w9, [x12, #8]
	ldr	x9, [x28, #24]
	ldr	x5, [x22, x15, lsl #3]
	stp	w8, w21, [sp]
	mov	x0, x20
	mov	x1, x27
	mov	x2, x16
	mov	x3, x6
	mov	x4, x14
	b	LBB0_28
LBB0_20:
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_22
; %bb.21:
Lloh0:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x19, x6
	mov	x23, x16
	stp	x15, x14, [sp, #24]             ; 16-byte Folded Spill
	bl	_av_log
	ldp	x15, x14, [sp, #24]             ; 16-byte Folded Reload
	ldr	x13, [sp, #48]                  ; 8-byte Folded Reload
	mov	x16, x23
	mov	x6, x19
LBB0_22:
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_23:
	ldr	x8, [x28, #16]
	mul	w9, w25, w21
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x1, x10, w9, sxtw #2
	mul	w9, w24, w26
	add	x4, x13, w9, sxtw #2
	ldr	x9, [x22, x15, lsl #3]
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	stp	w10, w21, [sp, #16]
	stp	x14, x9, [sp]
	mov	x0, x20
	mov	x2, x27
	mov	x3, x25
	mov	x5, x16
	mov	x7, x24
	blr	x8
	b	LBB0_30
LBB0_24:
	mov	x4, #0
LBB0_25:
	ldr	x5, [x22, x15, lsl #3]
	str	w21, [sp]
	mov	x0, x20
	mov	x2, x16
	mov	x3, x6
	ldr	w6, [sp, #60]                   ; 4-byte Folded Reload
	mov	w7, #0
	b	LBB0_29
LBB0_26:
	mov	x4, #0
LBB0_27:
	ldr	x5, [x22, x15, lsl #3]
	str	w21, [sp]
	mov	x0, x20
	mov	x2, x16
	mov	x3, x6
LBB0_28:
	ldr	w6, [sp, #60]                   ; 4-byte Folded Reload
LBB0_29:
	blr	x9
LBB0_30:
	mov	w0, #1
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Optimized 2 tap filter code cannot be used\n"

	.no_dead_strip	_packed_vscale
.subsections_via_symbols
