	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rsi, -64(%rbp)
	movq	8(%rdi), %r12
	movq	8(%r12), %rax
	movq	16(%r12), %rbx
	movq	(%rax), %r14
	movq	$0, -72(%rbp)
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	movq	%rax, -120(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_av_frame_copy_props
	movl	(%rbx), %eax
	movq	_COLOR_MODE_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.4:
	movl	$-133, %eax
	addl	(%r13), %eax
	cmpl	$6, %eax
	ja	LBB0_6
## %bb.5:
	cltq
	leaq	l_switch.table.filter_frame(%rip), %rdx
	movl	8(%rbx), %ecx
	movl	(%rdx,%rax,4), %eax
	jmp	LBB0_8
LBB0_1:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	leal	(%rax,%rax,4), %eax
	movl	8(%rbx), %ecx
LBB0_8:
	addl	%ecx, %eax
	movl	%eax, 4(%rbx)
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_10
## %bb.9:
	movslq	%ecx, %rcx
	leaq	l_switch.table.filter_frame.1(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, (%r15)
LBB0_10:
	movq	%r13, -80(%rbp)
	movq	%r15, -88(%rbp)
	movq	16(%rbx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rcx
	movl	4(%rcx), %edx
	movl	%edx, -92(%rbp)
	movl	8(%rcx), %ecx
	movl	%ecx, -96(%rbp)
	movq	8(%rax), %rcx
	movl	4(%rcx), %edx
	movl	%edx, -100(%rbp)
	movl	8(%rcx), %ecx
	movl	%ecx, -104(%rbp)
	movq	16(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -108(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	8(%r13), %rax
	movq	_AV_PIX_FMT_YUV444P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_process_slice_yuv444p@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_AV_PIX_FMT_YUV422P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_process_slice_yuv422p@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	leaq	-120(%rbp), %rdi
	callq	_av_frame_free
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_19
LBB0_14:
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rcx
	movq	(%r12), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	movq	_process_slice_yuv420p@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	jmp	LBB0_18
LBB0_16:
	movq	_process_slice_uyvy422@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %ebx
LBB0_18:
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-112(%rbp), %rdx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
LBB0_19:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_COLOR_MODE_NONE,4,2            ## @COLOR_MODE_NONE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Input frame does not specify a supported colorspace, and none has been specified as source either\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_PIX_FMT_YUV444P,8,3         ## @AV_PIX_FMT_YUV444P
	.comm	_process_slice_yuv444p,4,2      ## @process_slice_yuv444p
	.comm	_AV_PIX_FMT_YUV422P,8,3         ## @AV_PIX_FMT_YUV422P
	.comm	_process_slice_yuv422p,4,2      ## @process_slice_yuv422p
	.comm	_AV_PIX_FMT_YUV420P,8,3         ## @AV_PIX_FMT_YUV420P
	.comm	_process_slice_yuv420p,4,2      ## @process_slice_yuv420p
	.comm	_process_slice_uyvy422,4,2      ## @process_slice_uyvy422
	.no_dead_strip	_filter_frame
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.filter_frame
l_switch.table.filter_frame:
	.long	640                             ## 0x280
	.long	655                             ## 0x28f
	.long	645                             ## 0x285
	.long	650                             ## 0x28a
	.long	655                             ## 0x28f
	.long	660                             ## 0x294
	.long	660                             ## 0x294

	.p2align	2                               ## @switch.table.filter_frame.1
l_switch.table.filter_frame.1:
	.long	133                             ## 0x85
	.long	135                             ## 0x87
	.long	136                             ## 0x88
	.long	137                             ## 0x89
	.long	138                             ## 0x8a

.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, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x1
	str	x1, [sp, #56]
	ldr	x21, [x0, #8]
	ldp	x8, x23, [x21, #8]
	ldr	x19, [x8]
	str	xzr, [sp, #40]
	ldp	w2, w1, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	str	x0, [sp, #48]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x1, x22
	bl	_av_frame_copy_props
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _COLOR_MODE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COLOR_MODE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x22]
	sub	w8, w8, #133
	cmp	w8, #6
	b.hi	LBB0_12
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.filter_frame@PAGE
Lloh4:
	add	x9, x9, l_switch.table.filter_frame@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_6
LBB0_4:
	add	x0, sp, #56
	bl	_av_frame_free
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
	add	w8, w8, w8, lsl #2
LBB0_6:
	ldr	w9, [x23, #8]
	add	w8, w9, w8
	str	w8, [x23, #4]
	sub	w9, w9, #128
	cmp	w9, #4
	b.hi	LBB0_8
; %bb.7:
Lloh7:
	adrp	x10, l_switch.table.filter_frame.1@PAGE
Lloh8:
	add	x10, x10, l_switch.table.filter_frame.1@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	str	w9, [x20]
LBB0_8:
	stp	x20, x22, [sp, #24]
	ldr	x9, [x23, #16]
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x9, [x8]
	ldr	w10, [x9, #4]
	str	w10, [sp, #20]
	ldr	w9, [x9, #8]
	str	w9, [sp, #16]
	ldp	x9, x8, [x8, #8]
	ldr	w10, [x9, #4]
	str	w10, [sp, #12]
	ldr	w9, [x9, #8]
	str	w9, [sp, #8]
	ldur	d0, [x8, #4]
	rev64.2s	v0, v0
	str	d0, [sp]
	ldr	x8, [x22, #8]
Lloh9:
	adrp	x9, _AV_PIX_FMT_YUV444P@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_PIX_FMT_YUV444P@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x21]
	ldr	x24, [x8]
Lloh12:
	adrp	x8, _process_slice_yuv444p@GOTPAGE
Lloh13:
	ldr	x8, [x8, _process_slice_yuv444p@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
Lloh14:
	adrp	x9, _AV_PIX_FMT_YUV422P@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_PIX_FMT_YUV422P@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.11:
	ldr	x8, [x21]
	ldr	x24, [x8]
Lloh17:
	adrp	x8, _process_slice_yuv422p@GOTPAGE
Lloh18:
	ldr	x8, [x8, _process_slice_yuv422p@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
Lloh19:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str@PAGE
Lloh23:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
	add	x0, sp, #48
	bl	_av_frame_free
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_19
LBB0_14:
Lloh26:
	adrp	x9, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	x10, [x21]
	ldr	x24, [x10]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
Lloh29:
	adrp	x8, _process_slice_yuv420p@GOTPAGE
Lloh30:
	ldr	x8, [x8, _process_slice_yuv420p@GOTPAGEOFF]
Lloh31:
	ldr	w23, [x8]
	ldr	w8, [x22, #16]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w22, w8, #1
	b	LBB0_18
LBB0_16:
Lloh32:
	adrp	x8, _process_slice_uyvy422@GOTPAGE
Lloh33:
	ldr	x8, [x8, _process_slice_uyvy422@GOTPAGEOFF]
LBB0_17:
	ldr	w23, [x8]
	ldr	w22, [x22, #16]
LBB0_18:
	mov	x0, x21
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x22
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x21
	mov	x1, x23
	mov	x3, #0
	blr	x24
	add	x0, sp, #56
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_COLOR_MODE_NONE,4,2            ; @COLOR_MODE_NONE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Input frame does not specify a supported colorspace, and none has been specified as source either\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_PIX_FMT_YUV444P,8,3         ; @AV_PIX_FMT_YUV444P
	.comm	_process_slice_yuv444p,4,2      ; @process_slice_yuv444p
	.comm	_AV_PIX_FMT_YUV422P,8,3         ; @AV_PIX_FMT_YUV422P
	.comm	_process_slice_yuv422p,4,2      ; @process_slice_yuv422p
	.comm	_AV_PIX_FMT_YUV420P,8,3         ; @AV_PIX_FMT_YUV420P
	.comm	_process_slice_yuv420p,4,2      ; @process_slice_yuv420p
	.comm	_process_slice_uyvy422,4,2      ; @process_slice_uyvy422
	.no_dead_strip	_filter_frame
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.filter_frame
l_switch.table.filter_frame:
	.long	640                             ; 0x280
	.long	655                             ; 0x28f
	.long	645                             ; 0x285
	.long	650                             ; 0x28a
	.long	655                             ; 0x28f
	.long	660                             ; 0x294
	.long	660                             ; 0x294

	.p2align	2                               ; @switch.table.filter_frame.1
l_switch.table.filter_frame.1:
	.long	133                             ; 0x85
	.long	135                             ; 0x87
	.long	136                             ; 0x88
	.long	137                             ; 0x89
	.long	138                             ; 0x8a

.subsections_via_symbols
