	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -80(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	8(%rcx), %rax
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rcx), %r15
	movq	(%rax), %r14
	movl	(%r14), %esi
	movl	4(%r14), %edx
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	20(%rbx), %eax
	movl	%eax, 20(%r13)
	movq	_AVCOL_RANGE_JPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
                                        ##       Child Loop BB0_18 Depth 3
                                        ##     Child Loop BB0_7 Depth 2
	cmpl	$8, 4(%r15)
	jg	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r14)
	jle	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movq	8(%r15), %rdx
	movq	80(%r15), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi,%r12,8), %rsi
	movslq	(%rax,%rsi,4), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	(%rcx,%rsi,8), %rdi
	movl	(%rdx,%r12,4), %esi
	movl	(%r14), %edx
	callq	_memset
	incl	%ebx
	cmpl	4(%r14), %ebx
	jl	LBB0_7
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r15), %ecx
	leal	255(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movl	4(%r14), %r10d
	testl	%r10d, %r10d
	jle	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	sarl	$8, %eax
	movq	(%r13), %r8
	movq	8(%r13), %rdx
	movq	80(%r15), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi,%r12,8), %r9
	movq	(%rdx,%r9,8), %rsi
	movl	(%r14), %edx
	xorl	%edi, %edi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	(%r8,%r9,4), %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	addl	%ecx, %ebx
	sarl	%ebx
	movslq	%ebx, %rcx
	leaq	(%rsi,%rcx,4), %rsi
	incl	%edi
	cmpl	%r10d, %edi
	jge	LBB0_21
LBB0_16:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_18 Depth 3
	testl	%edx, %edx
	jle	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	8(%r15), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rcx,%r12,4), %edx
	imull	%eax, %edx
	movl	%edx, (%rsi,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	movl	4(%r14), %r10d
	jmp	LBB0_20
LBB0_8:
	movl	20(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_40
## %bb.9:
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_35:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_envelope16
	leal	1(%rbx), %eax
	cltd
	idivl	20(%r15)
	movl	%edx, %ecx
	cmpq	$0, 56(%r15)
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_envelope16
	leal	2(%rbx), %eax
LBB0_36:                                ##   in Loop: Header=BB0_10 Depth=1
	cltd
	idivl	20(%r15)
	movl	%edx, %ecx
	cmpq	$0, 56(%r15)
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
LBB0_37:                                ##   in Loop: Header=BB0_10 Depth=1
	callq	_envelope16
LBB0_38:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r12d
	movl	20(%r15), %eax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rsi
	movslq	%eax, %rcx
	cmpq	%rcx, %rsi
	jge	LBB0_40
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r15), %ecx
	btl	%esi, %ecx
	jae	LBB0_39
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	32(%r15), %rcx
	movq	56(%r15), %rax
	movq	_PARADE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	jne	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	imull	%r12d, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	40(%r15), %edi
	imull	%r12d, %edi
	testq	%rcx, %rcx
	movl	$0, %ecx
	cmovel	%ecx, %edi
	testq	%rax, %rax
	movl	%edi, %ebx
	cmovel	%ecx, %ebx
	cmovnel	%ecx, %edi
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %ebx
	imull	%r12d, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	72(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -120(%rbp)
	movq	%r13, -128(%rbp)
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movl	%esi, -144(%rbp)
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, -140(%rbp)
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, -136(%rbp)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	64(%r15), %r12d
	movq	%rbx, %rdi
	callq	_ff_filter_get_nb_threads
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	-144(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-104(%rbp)                     ## 8-byte Folded Reload
	movl	44(%r15), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	ja	LBB0_38
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$180, %ecx
	btl	%eax, %ecx
	jae	LBB0_26
## %bb.30:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 56(%r15)
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	cmpl	$8, 4(%r15)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	jg	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_10 Depth=1
	callq	_envelope
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	$67, %ecx
	btl	%eax, %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_27
## %bb.33:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	4(%r15), %esi
	movl	%ebx, %eax
	cltd
	idivl	20(%r15)
	movl	%edx, %ecx
	cmpq	$0, 56(%r15)
	movl	%edi, %r8d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmovel	%eax, %r8d
	movq	%r15, %rdi
	cmpl	$8, %esi
	jg	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_envelope
	leal	1(%rbx), %eax
	cltd
	idivl	20(%r15)
	movl	%edx, %ecx
	cmpq	$0, 56(%r15)
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_envelope
	leal	2(%rbx), %eax
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 56(%r15)
	movl	%edi, %r8d
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	cmpl	$8, 4(%r15)
	jg	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	callq	_envelope
	leal	1(%rbx), %eax
LBB0_29:                                ##   in Loop: Header=BB0_10 Depth=1
	cltd
	idivl	20(%r15)
	movl	%edx, %ecx
	cmpq	$0, 56(%r15)
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmovel	-44(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_envelope
	jmp	LBB0_38
LBB0_32:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	callq	_envelope16
	leal	1(%rbx), %eax
	jmp	LBB0_36
LBB0_40:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	*48(%r15)
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_41
LBB0_1:
	leaq	-80(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_41:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVCOL_RANGE_JPEG,4,2           ## @AVCOL_RANGE_JPEG
	.comm	_PARADE,8,3                     ## @PARADE
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x24, x1
	str	x1, [sp, #72]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldp	x8, x21, [x8, #8]
	ldr	x19, [x8]
	ldp	w1, w2, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_40
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _AVCOL_RANGE_JPEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVCOL_RANGE_JPEG@GOTPAGEOFF]
	ldr	w9, [x24, #20]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w9, [x0, #16]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x20, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w8, [x21, #4]
	cmp	w8, #8
	b.gt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #80]
	ldr	x8, [x8]
	ldr	x8, [x8, x20, lsl #3]
	ldp	x10, x9, [x22]
	ldr	x9, [x9, x8, lsl #3]
	ldrsw	x8, [x10, x8, lsl #2]
	sxtw	x10, w23
	madd	x0, x8, x10, x9
	ldr	x8, [x21, #8]
	ldr	w1, [x8, x20, lsl #2]
	ldr	w2, [x19]
	bl	_memset
	add	w23, w23, #1
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.lt	LBB0_7
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #16]
	add	w9, w8, #255
	cmp	w8, #0
	csel	w10, w9, w8, lt
	ldr	w13, [x19, #4]
	cmp	w13, #1
	b.lt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	ldr	x9, [x21, #80]
	ldr	x9, [x9]
	ldr	x9, [x9, x20, lsl #3]
	asr	w10, w10, #8
	ldp	x11, x12, [x22]
	ldr	x12, [x12, x9, lsl #3]
	ldr	w14, [x19]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w15, [x11, x9, lsl #2]
	cmp	w15, #0
	cinc	w15, w15, lt
	asr	w15, w15, #1
	add	x12, x12, w15, sxtw #2
	add	w8, w8, #1
	cmp	w8, w13
	b.ge	LBB0_3
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	cmp	w14, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x13, #0
	ldr	x15, [x21, #8]
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w14, [x15, x20, lsl #2]
	mul	w14, w14, w10
	str	w14, [x12, x13, lsl #2]
	add	x13, x13, #1
	ldrsw	x14, [x19]
	cmp	x13, x14
	b.lt	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w13, [x19, #4]
	b	LBB0_10
LBB0_15:
	ldr	w8, [x21, #20]
	cmp	w8, #1
	b.lt	LBB0_39
; %bb.16:
	mov	x27, #0
	mov	w11, #0
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope16
	add	w8, w25, #1
	ldr	w9, [x21, #20]
	sdiv	w10, w8, w9
	msub	w3, w10, w9, w8
	ldr	x8, [x21, #56]
	cmp	x8, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_envelope16
	add	w8, w25, #2
LBB0_18:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x21, #20]
	sdiv	w10, w8, w9
	msub	w3, w10, w9, w8
	ldr	x8, [x21, #56]
	cmp	x8, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
LBB0_19:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope16
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	add	w11, w11, #1
	ldr	w8, [x21, #20]
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x27, x27, #1
	cmp	x27, w8, sxtw
	b.ge	LBB0_39
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, #24]
	lsr	w9, w9, w27
	tbz	w9, #0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x9, [x21, #32]
Lloh3:
	adrp	x8, _PARADE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARADE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldr	x8, [x21, #56]
	cmp	x9, x10
	str	w11, [sp, #36]                  ; 4-byte Folded Spill
	b.ne	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	cbz	x8, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	w23, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8]
	mul	w20, w8, w11
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w10, [x21, #40]
	mul	w10, w10, w11
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	cmp	x8, #0
	csel	w23, wzr, w9, eq
	csel	w20, w9, wzr, eq
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w20, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8, #4]
	mul	w23, w8, w11
LBB0_28:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x21, #72]
	ldr	x8, [x8]
	ldr	w25, [x8, x27, lsl #2]
	stp	x22, x24, [sp, #56]
	stp	w27, w23, [sp, #40]
	str	w20, [sp, #48]
	ldr	x8, [x28]
	ldr	x24, [x8]
	ldr	w26, [x21, #64]
	mov	x0, x28
	bl	_ff_filter_get_nb_threads
	mov	x4, x0
	add	x2, sp, #40
	mov	x0, x28
	mov	x1, x26
	mov	x3, #0
	blr	x24
	ldr	w8, [x21, #44]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_20
; %bb.29:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #180
	tst	w8, w9
	b.eq	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21, #4]
	ldr	x9, [x21, #56]
	cmp	x9, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	mov	x3, x25
	cmp	w8, #8
	b.gt	LBB0_19
; %bb.31:                               ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope
	b	LBB0_20
LBB0_32:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w9, #67
	tst	w8, w9
	b.eq	LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21, #4]
	ldr	w9, [x21, #20]
	sdiv	w10, w25, w9
	msub	w3, w10, w9, w25
	ldr	x9, [x21, #56]
	cmp	x9, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	cmp	w8, #8
	b.gt	LBB0_17
; %bb.34:                               ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope
	add	w8, w25, #1
	ldr	w9, [x21, #20]
	sdiv	w10, w8, w9
	msub	w3, w10, w9, w8
	ldr	x8, [x21, #56]
	cmp	x8, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_envelope
	add	w8, w25, #2
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21, #4]
	ldr	x9, [x21, #56]
	cmp	x9, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	mov	x3, x25
	cmp	w8, #8
	b.gt	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope
	add	w8, w25, #1
LBB0_37:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x21, #20]
	sdiv	w10, w8, w9
	msub	w3, w10, w9, w8
	ldr	x8, [x21, #56]
	cmp	x8, #0
	csel	w4, w23, w20, eq
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_envelope
	b	LBB0_20
LBB0_38:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_envelope16
	add	w8, w25, #1
	b	LBB0_18
LBB0_39:
	ldr	x8, [x21, #48]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	add	x0, sp, #72
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x22
	bl	_ff_filter_frame
	b	LBB0_41
LBB0_40:
	add	x0, sp, #72
	bl	_av_frame_free
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_41:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVCOL_RANGE_JPEG,4,2           ; @AVCOL_RANGE_JPEG
	.comm	_PARADE,8,3                     ; @PARADE
	.no_dead_strip	_filter_frame
.subsections_via_symbols
