	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r15
	movq	8(%rax), %rax
	movq	(%rax), %r13
	leaq	40(%r15), %rdi
	callq	_av_frame_free
	movq	16(%r15), %r14
	movq	%r14, 40(%r15)
	movq	%r12, 16(%r15)
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r12d
	leal	-128(%r12), %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.2:
	leaq	16(%r15), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movq	%r13, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_32
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %eax
	movl	%eax, 32(%r12)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r12)
	movq	24(%r14), %rbx
	movl	$2, %edi
	movl	$1, %esi
	callq	_av_make_q
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_av_mul_q
	movq	%rax, 24(%r12)
	movq	16(%r12), %rsi
	movq	%r12, %rbx
	movl	12(%r12), %edx
	movq	16(%r14), %rcx
	movl	12(%r14), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %r9d
	movl	8(%rax), %r11d
	movl	12(%rax), %r10d
	movq	_FIELD_UPPER_AND_LOWER@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	cmpl	$129, (%r15)
	jne	LBB0_6
## %bb.5:
	testb	$1, (%rax)
	jne	LBB0_19
LBB0_6:
	movq	_FIELD_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_39
LBB0_8:
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_32
## %bb.9:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	xorl	%eax, %eax
	cmpl	$131, %r12d
	sete	%al
	movl	$1, (%r13)
	movl	%eax, 4(%r13)
	movq	16(%r13), %rsi
	movl	12(%r13), %edx
	movq	16(%r14), %rcx
	movl	12(%r14), %r8d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %r9d
	movl	8(%rbx), %r11d
	movl	12(%rbx), %r10d
	movq	_FIELD_UPPER@GOTPCREL(%rip), %r14
	movq	_FIELD_LOWER@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	cmoveq	%r14, %rdi
	movl	(%rdi), %eax
	cmoveq	%r12, %r14
	movl	12(%r15), %r12d
	movq	%r15, %rdi
	pushq	%r12
	pushq	%rax
	pushq	$1
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_copy_picture_field
	addq	$48, %rsp
	movq	16(%r13), %rsi
	movl	12(%r13), %edx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rcx
	movl	12(%rax), %r8d
	movl	16(%rbx), %r9d
	movl	8(%rbx), %r11d
	movl	12(%rbx), %r10d
	movl	(%r14), %eax
	movl	12(%r15), %r14d
	movq	%r15, %rdi
	pushq	%r14
	pushq	%rax
	pushq	$1
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_copy_picture_field
	addq	$48, %rsp
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_frame_free
	movq	%r13, %r12
	jmp	LBB0_38
LBB0_10:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	cmpl	$135, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	cmoveq	%r14, %rdi
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_32
## %bb.11:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_av_frame_free
	jmp	LBB0_38
LBB0_12:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_av_assert0
                                        ## implicit-def: $r12
	jmp	LBB0_38
LBB0_13:
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movq	%r13, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_32
## %bb.14:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %eax
	movl	%eax, 32(%r12)
	movq	24(%r14), %r13
	movl	$2, %edi
	movl	$1, %esi
	callq	_av_make_q
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_av_mul_q
	movq	%rax, 24(%r12)
	testb	$1, 4(%r15)
	jne	LBB0_23
## %bb.15:
	movq	_FIELD_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_16:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_32
## %bb.17:
	movq	%rax, %rbx
	movl	$1, (%rax)
	movl	8(%r14), %edi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_25
## %bb.18:
	movl	8(%rbx), %edi
	jmp	LBB0_26
LBB0_19:
	movq	_FIELD_LOWER@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	movl	12(%r15), %r14d
	movq	%r15, %rdi
	pushq	%r14
	pushq	%rax
	pushq	$1
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_copy_picture_field
	addq	$48, %rsp
	movq	%rbx, %rax
	movq	16(%rbx), %rsi
	movl	12(%rbx), %edx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rcx
	movl	12(%rax), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %r9d
	movl	8(%rax), %r11d
	movl	12(%rax), %r10d
	movl	(%r13), %r14d
	cmpl	$129, (%r15)
	jne	LBB0_22
## %bb.21:
	testb	$1, (%rax)
	jne	LBB0_33
LBB0_22:
	movq	_FIELD_LOWER@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_23:
	movq	_FIELD_LOWER@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %r13d
	movq	16(%r12), %rsi
	movl	12(%r12), %edx
	movq	16(%r14), %rcx
	movl	12(%r14), %r8d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %r9d
	movl	8(%r14), %r11d
	movl	12(%r14), %r10d
	movq	_FIELD_UPPER_AND_LOWER@GOTPCREL(%rip), %rax
	movq	%r12, %rbx
	movl	(%rax), %r12d
	movl	12(%r15), %eax
	movq	%r15, %rdi
	pushq	%rax
	pushq	%r13
	pushq	$1
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_copy_picture_field
	addq	$48, %rsp
	movq	16(%rbx), %rsi
	movl	12(%rbx), %edx
	movq	32(%r15), %rcx
	movl	12(%r15), %r12d
	movl	24(%r15), %r8d
	movl	16(%r14), %r9d
	movl	8(%r14), %r10d
	movl	12(%r14), %r11d
	movq	_FIELD_UPPER_AND_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	testl	%r13d, %r13d
	sete	%al
	movq	%r15, %rdi
	pushq	%r12
	movq	%rbx, %r12
	pushq	%rax
	pushq	$1
	pushq	%r14
	pushq	%r10
	pushq	%r11
	jmp	LBB0_31
LBB0_25:
	addl	%edi, %edi
	movl	%edi, 8(%rbx)
LBB0_26:
	movl	8(%r15), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %edx
	callq	_av_rescale_q
	movl	%eax, 8(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ff_filter_frame
	testl	%eax, %eax
	js	LBB0_39
## %bb.27:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	movq	%r12, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_32
## %bb.28:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_av_frame_copy_props
	movl	$1, (%rbx)
	xorl	%eax, %eax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	sete	%al
	movl	%eax, 4(%rbx)
	movl	8(%r13), %ecx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_30
## %bb.29:
	movl	8(%r14), %edx
	addl	%edx, %ecx
	cmpl	%eax, %edx
	cmovnel	%ecx, %eax
LBB0_30:
	testl	%esi, %esi
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rsi
	movl	12(%rbx), %edx
	movq	16(%r14), %rcx
	movl	12(%r14), %r8d
	movl	16(%rdi), %r9d
	movl	8(%rdi), %r11d
	movl	12(%rdi), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r10
	movq	%rdi, %rbx
	movq	_FIELD_LOWER@GOTPCREL(%rip), %r12
	movq	_FIELD_UPPER@GOTPCREL(%rip), %r14
	movq	%r12, %rdi
	cmoveq	%r14, %rdi
	movl	(%rdi), %eax
	cmoveq	%r12, %r14
	movl	12(%r15), %r12d
	movq	%r15, %rdi
	pushq	%r12
	movq	%r10, %r12
	pushq	%rax
	pushq	$1
	pushq	%rax
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_copy_picture_field
	addq	$48, %rsp
	movq	16(%r12), %rsi
	movl	12(%r12), %edx
	movq	16(%r13), %rcx
	movl	12(%r13), %r8d
	movl	16(%rbx), %r9d
	movl	8(%rbx), %r11d
	movl	12(%rbx), %r10d
	movl	(%r14), %eax
	movl	12(%r15), %r14d
	movq	%r15, %rdi
	pushq	%r14
	pushq	%rax
	pushq	$1
	pushq	%rax
	pushq	%r11
	pushq	%r10
LBB0_31:
	callq	_copy_picture_field
	addq	$48, %rsp
	jmp	LBB0_38
LBB0_32:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_33:
	movq	_FIELD_UPPER@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %r12d
	movl	12(%r15), %eax
	movq	%r15, %rdi
	pushq	%rax
	pushq	%r12
	pushq	$1
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_copy_picture_field
	addq	$48, %rsp
	cmpl	$129, (%r15)
	je	LBB0_37
## %bb.36:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_frame_free
LBB0_37:
	movq	%rbx, %r12
LBB0_38:
	movl	8(%r12), %edi
	movl	8(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %edx
	callq	_av_rescale_q
	movl	%eax, 8(%r12)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ff_filter_frame
	incl	4(%r15)
LBB0_39:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FIELD_UPPER_AND_LOWER,4,2      ## @FIELD_UPPER_AND_LOWER
	.comm	_FIELD_LOWER,4,2                ## @FIELD_LOWER
	.comm	_FIELD_UPPER,4,2                ## @FIELD_UPPER
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x1
	mov	x22, x0
	ldr	x8, [x0, #24]
	ldp	x19, x9, [x8]
	ldr	x20, [x9]
	add	x0, x19, #40
	bl	_av_frame_free
	mov	x24, x19
	ldr	x25, [x24, #16]!
	str	x25, [x19, #40]
	str	x23, [x24]
	cbz	x25, LBB0_6
; %bb.1:
	ldr	w26, [x19]
	sub	w8, w26, #128
	cmp	w8, #7
	b.hi	LBB0_11
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldp	w2, w1, [x20, #8]
	mov	x0, x20
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_32
; %bb.4:
	mov	x21, x0
	mov	x1, x25
	bl	_av_frame_copy_props
	ldr	w8, [x20, #8]
	str	w8, [x21, #32]
	movi.2s	v0, #1
	str	d0, [x21]
	ldr	x26, [x25, #24]
	mov	w0, #2
	mov	w1, #1
	bl	_av_make_q
	mov	x1, x0
	mov	x0, x26
	bl	_av_mul_q
	str	x0, [x21, #24]
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x25, #16]
	ldr	w4, [x25, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
Lloh2:
	adrp	x25, _FIELD_UPPER_AND_LOWER@GOTPAGE
Lloh3:
	ldr	x25, [x25, _FIELD_UPPER_AND_LOWER@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x19]
	cmp	w9, #129
	b.ne	LBB0_17
; %bb.5:
Lloh4:
	adrp	x9, _FIELD_LOWER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FIELD_LOWER@GOTPAGEOFF]
Lloh6:
	adrp	x10, _FIELD_UPPER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FIELD_UPPER@GOTPAGEOFF]
	ldrb	w11, [x22]
	tst	w11, #0x1
	csel	x9, x10, x9, eq
	b	LBB0_18
LBB0_6:
	mov	w0, #0
	b	LBB0_31
LBB0_7:
	ldp	w2, w1, [x20, #8]
	mov	x0, x20
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_32
; %bb.8:
	mov	x21, x0
	mov	x1, x25
	bl	_av_frame_copy_props
	cmp	w26, #131
	cset	w8, eq
	mov	w26, #1
	stp	w26, w8, [x21]
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x25, #16]
	ldr	w4, [x25, #12]
	ldp	w6, w5, [x22, #12]
Lloh8:
	adrp	x8, _FIELD_UPPER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FIELD_UPPER@GOTPAGEOFF]
	ldr	w7, [x22, #8]
Lloh10:
	adrp	x9, _FIELD_LOWER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FIELD_LOWER@GOTPAGEOFF]
	csel	x10, x8, x9, eq
	ldr	w10, [x10]
	ldr	w11, [x19, #12]
	stp	w10, w11, [sp, #8]
	csel	x25, x9, x8, eq
	stp	w10, w26, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x23, #16]
	ldr	w4, [x23, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
	ldr	w8, [x25]
	ldr	w9, [x19, #12]
	stp	w8, w9, [sp, #8]
	stp	w8, w26, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	b	LBB0_22
LBB0_9:
	cmp	w26, #135
	csel	x0, x25, x23, eq
	bl	_av_frame_clone
	cbz	x0, LBB0_32
; %bb.10:
	mov	x21, x0
	b	LBB0_22
LBB0_11:
	mov	w0, #0
	bl	_av_assert0
                                        ; implicit-def: $x21
	b	LBB0_30
LBB0_12:
	ldp	w2, w1, [x20, #8]
	mov	x0, x20
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_32
; %bb.13:
	mov	x21, x0
	mov	x1, x25
	bl	_av_frame_copy_props
	ldr	w8, [x20, #8]
	str	w8, [x21, #32]
	ldr	x23, [x25, #24]
	mov	w24, #1
	mov	w0, #2
	mov	w1, #1
	bl	_av_make_q
	mov	x1, x0
	mov	x0, x23
	bl	_av_mul_q
	str	x0, [x21, #24]
	ldr	w8, [x19, #4]
Lloh12:
	adrp	x9, _FIELD_UPPER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIELD_UPPER@GOTPAGEOFF]
Lloh14:
	adrp	x10, _FIELD_LOWER@GOTPAGE
Lloh15:
	ldr	x10, [x10, _FIELD_LOWER@GOTPAGEOFF]
	tst	w8, #0x1
	csel	x8, x9, x10, eq
	ldr	w23, [x8]
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x25, #16]
	ldr	w4, [x25, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
Lloh16:
	adrp	x25, _FIELD_UPPER_AND_LOWER@GOTPAGE
Lloh17:
	ldr	x25, [x25, _FIELD_UPPER_AND_LOWER@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x19, #12]
	stp	w23, w9, [sp, #8]
	stp	w8, w24, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x19, #32]
	ldr	w4, [x19, #24]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
	ldr	w8, [x25]
	cmp	w23, #0
	cset	w9, eq
	ldr	w10, [x19, #12]
	stp	w9, w10, [sp, #8]
	b	LBB0_29
LBB0_14:
	mov	x0, x25
	bl	_av_frame_clone
	cbz	x0, LBB0_32
; %bb.15:
	mov	x21, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	w8, [x25, #8]
Lloh18:
	adrp	x26, _AV_NOPTS_VALUE@GOTPAGE
Lloh19:
	ldr	x26, [x26, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.16:
	ldr	w0, [x21, #8]
	b	LBB0_24
LBB0_17:
Lloh20:
	adrp	x9, _FIELD_UPPER@GOTPAGE
Lloh21:
	ldr	x9, [x9, _FIELD_UPPER@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	stp	w9, w10, [sp, #8]
	mov	w9, #1
	stp	w8, w9, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x23, #16]
	ldr	w4, [x23, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
	ldr	w8, [x25]
	ldr	w9, [x19]
	cmp	w9, #129
	b.ne	LBB0_20
; %bb.19:
Lloh22:
	adrp	x9, _FIELD_UPPER@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FIELD_UPPER@GOTPAGEOFF]
Lloh24:
	adrp	x10, _FIELD_LOWER@GOTPAGE
Lloh25:
	ldr	x10, [x10, _FIELD_LOWER@GOTPAGEOFF]
	ldrb	w11, [x22]
	tst	w11, #0x1
	csel	x9, x10, x9, eq
	b	LBB0_21
LBB0_20:
Lloh26:
	adrp	x9, _FIELD_LOWER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FIELD_LOWER@GOTPAGEOFF]
LBB0_21:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	stp	w9, w10, [sp, #8]
	mov	w9, #1
	stp	w8, w9, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_30
LBB0_22:
	mov	x0, x24
	bl	_av_frame_free
	b	LBB0_30
LBB0_23:
	lsl	w0, w8, #1
	str	w0, [x21, #8]
LBB0_24:
	ldr	w1, [x19, #8]
	ldr	w2, [x20, #4]
	bl	_av_rescale_q
	str	w0, [x21, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_ff_filter_frame
	tbnz	w0, #31, LBB0_31
; %bb.25:
	ldr	w27, [x23, #4]
	ldp	w2, w1, [x20, #8]
	mov	x0, x20
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_32
; %bb.26:
	mov	x21, x0
	mov	x1, x23
	bl	_av_frame_copy_props
	mov	w24, #1
	cmp	w27, #0
	cset	w8, eq
	stp	w24, w8, [x21]
	ldr	w9, [x23, #8]
	ldr	w8, [x26]
	cmp	w9, w8
	b.eq	LBB0_28
; %bb.27:
	ldr	w10, [x25, #8]
	add	w9, w10, w9
	cmp	w10, w8
	csel	w8, w8, w9, eq
LBB0_28:
	str	w8, [x21, #8]
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x25, #16]
	ldr	w4, [x25, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
Lloh28:
	adrp	x8, _FIELD_LOWER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FIELD_LOWER@GOTPAGEOFF]
Lloh30:
	adrp	x9, _FIELD_UPPER@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FIELD_UPPER@GOTPAGEOFF]
	cmp	w27, #0
	csel	x10, x9, x8, eq
	ldr	w10, [x10]
	ldr	w11, [x19, #12]
	stp	w10, w11, [sp, #8]
	csel	x25, x8, x9, eq
	stp	w10, w24, [sp]
	mov	x0, x19
	bl	_copy_picture_field
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x3, [x23, #16]
	ldr	w4, [x23, #12]
	ldp	w6, w5, [x22, #12]
	ldr	w7, [x22, #8]
	ldr	w8, [x25]
	ldr	w9, [x19, #12]
	stp	w8, w9, [sp, #8]
LBB0_29:
	stp	w8, w24, [sp]
	mov	x0, x19
	bl	_copy_picture_field
LBB0_30:
	ldr	w0, [x21, #8]
	ldr	w1, [x19, #8]
	ldr	w2, [x20, #4]
	bl	_av_rescale_q
	str	w0, [x21, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_ff_filter_frame
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_31:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_32:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FIELD_UPPER_AND_LOWER,4,2      ; @FIELD_UPPER_AND_LOWER
	.comm	_FIELD_LOWER,4,2                ; @FIELD_LOWER
	.comm	_FIELD_UPPER,4,2                ; @FIELD_UPPER
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.no_dead_strip	_filter_frame
.subsections_via_symbols
