	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_codec_opts              ## -- Begin function filter_codec_opts
	.p2align	4, 0x90
_filter_codec_opts:                     ## @filter_codec_opts
	.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	%r8, %rbx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	$0, -56(%rbp)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rdx)
	jne	LBB0_1
## %bb.2:
	movq	_AV_OPT_FLAG_DECODING_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AV_OPT_FLAG_ENCODING_PARAM@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_avcodec_get_class
	movq	%rax, -80(%rbp)
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_avcodec_find_encoder
	jmp	LBB0_7
LBB0_6:
	movl	%r14d, %edi
	callq	_avcodec_find_decoder
LBB0_7:
	movq	%rax, %rbx
LBB0_8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$129, %eax
	je	LBB0_13
## %bb.10:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.11:
	movq	_AV_OPT_FLAG_VIDEO_PARAM@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$118, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_12:
	movq	_AV_OPT_FLAG_AUDIO_PARAM@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$97, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_13:
	movq	_AV_OPT_FLAG_SUBTITLE_PARAM@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$115, -44(%rbp)                 ## 4-byte Folded Spill
LBB0_14:
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_34
## %bb.15:
	movq	%rax, %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_av_dict_get
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_33
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	1(%r15), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_check_stream_specifier
	testl	%eax, %eax
	je	LBB0_32
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$0, (%r15)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	$1, %edi
	callq	_exit_program
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-80(%rbp), %rdi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_av_opt_find
	testq	%rax, %rax
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_av_opt_find
	testq	%rax, %rax
	je	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
LBB0_29:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	8(%r14), %edx
	leaq	-56(%rbp), %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_30:                                ##   in Loop: Header=BB0_16 Depth=1
	testq	%r15, %r15
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$58, (%r15)
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
	movsbl	(%rsi), %eax
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rsi
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-80(%rbp), %rdi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_av_opt_find
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
	incq	%rsi
	jmp	LBB0_29
LBB0_33:
	movq	-56(%rbp), %r15
LBB0_34:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_OPT_FLAG_ENCODING_PARAM,4,2 ## @AV_OPT_FLAG_ENCODING_PARAM
	.comm	_AV_OPT_FLAG_DECODING_PARAM,4,2 ## @AV_OPT_FLAG_DECODING_PARAM
	.comm	_AV_OPT_FLAG_VIDEO_PARAM,4,2    ## @AV_OPT_FLAG_VIDEO_PARAM
	.comm	_AV_OPT_FLAG_AUDIO_PARAM,4,2    ## @AV_OPT_FLAG_AUDIO_PARAM
	.comm	_AV_OPT_FLAG_SUBTITLE_PARAM,4,2 ## @AV_OPT_FLAG_SUBTITLE_PARAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ## @AV_OPT_SEARCH_FAKE_OBJ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_codec_opts              ; -- Begin function filter_codec_opts
	.p2align	2
_filter_codec_opts:                     ; @filter_codec_opts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _AV_OPT_FLAG_ENCODING_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_OPT_FLAG_ENCODING_PARAM@GOTPAGEOFF]
	ldr	x9, [x2]
Lloh2:
	adrp	x10, _AV_OPT_FLAG_DECODING_PARAM@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AV_OPT_FLAG_DECODING_PARAM@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w22, [x8]
	bl	_avcodec_get_class
	str	x0, [sp, #16]
	cbnz	x23, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x24
	bl	_avcodec_find_encoder
	b	LBB0_4
LBB0_3:
	mov	x0, x24
	bl	_avcodec_find_decoder
LBB0_4:
	mov	x23, x0
LBB0_5:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.8:
Lloh4:
	adrp	x8, _AV_OPT_FLAG_VIDEO_PARAM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_OPT_FLAG_VIDEO_PARAM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	w8, #118
	b	LBB0_11
LBB0_9:
Lloh7:
	adrp	x8, _AV_OPT_FLAG_AUDIO_PARAM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_OPT_FLAG_AUDIO_PARAM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	w8, #97
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, _AV_OPT_FLAG_SUBTITLE_PARAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_OPT_FLAG_SUBTITLE_PARAM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	w8, #115
LBB0_11:
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_13
LBB0_12:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_13:
Lloh13:
	adrp	x28, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh14:
	ldr	x28, [x28, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x28]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_32
; %bb.14:
	mov	x24, x0
Lloh17:
	adrp	x27, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGE
Lloh18:
	ldr	x27, [x27, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGEOFF]
Lloh19:
	adrp	x25, l_.str@PAGE
Lloh20:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w3, [x28]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_av_dict_get
	mov	x24, x0
	cbz	x0, LBB0_31
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	mov	w1, #58
	bl	_strchr
	mov	x26, x0
	cbz	x0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x2, x26, #1
	mov	x0, x20
	mov	x1, x19
	bl	_check_stream_specifier
	cbz	w0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w0, #1
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	strb	wzr, [x26]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #1
	bl	_exit_program
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x1, [x24]
	ldr	w4, [x27]
	add	x0, sp, #16
	mov	x2, #0
	mov	x3, x22
	bl	_av_opt_find
	cmp	x0, #0
	ccmp	x23, #0, #4, eq
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x1, [x24]
	ldr	w4, [x27]
	mov	x0, x23
	mov	x2, #0
	mov	x3, x22
	bl	_av_opt_find
	cbz	x0, LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x1, [x24]
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w2, [x24, #8]
	add	x0, sp, #24
	mov	w3, #0
	bl	_av_dict_set
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	x26, LBB0_15
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w8, #58
	strb	w8, [x26]
	b	LBB0_15
LBB0_28:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x24]
	ldrsb	w9, [x8]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w10, w9
	b.ne	LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x1, x8, #1
	ldr	w4, [x27]
	add	x0, sp, #16
	mov	x2, #0
	mov	x3, x22
	bl	_av_opt_find
	cbz	x0, LBB0_26
; %bb.30:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x24]
	add	x1, x8, #1
	b	LBB0_25
LBB0_31:
	ldr	x0, [sp, #24]
LBB0_32:
	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
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_OPT_FLAG_ENCODING_PARAM,4,2 ; @AV_OPT_FLAG_ENCODING_PARAM
	.comm	_AV_OPT_FLAG_DECODING_PARAM,4,2 ; @AV_OPT_FLAG_DECODING_PARAM
	.comm	_AV_OPT_FLAG_VIDEO_PARAM,4,2    ; @AV_OPT_FLAG_VIDEO_PARAM
	.comm	_AV_OPT_FLAG_AUDIO_PARAM,4,2    ; @AV_OPT_FLAG_AUDIO_PARAM
	.comm	_AV_OPT_FLAG_SUBTITLE_PARAM,4,2 ; @AV_OPT_FLAG_SUBTITLE_PARAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ; @AV_OPT_SEARCH_FAKE_OBJ
.subsections_via_symbols
