	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_codec
_opt_codec:                             ## @opt_codec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movsbl	1(%rax), %ecx
	cmpl	$118, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	$115, %ecx
	je	LBB0_9
## %bb.5:
	cmpl	$97, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_audio_codec_name@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%r14, %rcx
	jmp	LBB0_2
LBB0_7:
	movq	_video_codec_name@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_subtitle_codec_name@GOTPCREL(%rip), %rax
LBB0_10:
	movq	%r14, (%rax)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	incq	%rax
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movq	%rax, %rcx
LBB0_2:
	movq	%rbx, %r8
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No media specifier was specified in '%s' in option '%s'\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_audio_codec_name,8,3           ## @audio_codec_name
	.comm	_subtitle_codec_name,8,3        ## @subtitle_codec_name
	.comm	_video_codec_name,8,3           ## @video_codec_name
L_.str.1:                               ## @.str.1
	.asciz	"Invalid media specifier '%s' in option '%s'\n"

	.no_dead_strip	_opt_codec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_codec
_opt_codec:                             ; @opt_codec
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.1:
	mov	x3, x0
	ldrsb	w8, [x3, #1]!
	cmp	w8, #118
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #115
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #97
	b.ne	LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, _audio_codec_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audio_codec_name@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	b	LBB0_10
LBB0_6:
Lloh7:
	adrp	x8, _video_codec_name@GOTPAGE
Lloh8:
	ldr	x8, [x8, _video_codec_name@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _subtitle_codec_name@GOTPAGE
Lloh10:
	ldr	x8, [x8, _subtitle_codec_name@GOTPAGEOFF]
LBB0_8:
	str	x20, [x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
LBB0_10:
	mov	x4, x19
	bl	_av_log
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No media specifier was specified in '%s' in option '%s'\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_audio_codec_name,8,3           ; @audio_codec_name
	.comm	_subtitle_codec_name,8,3        ; @subtitle_codec_name
	.comm	_video_codec_name,8,3           ; @video_codec_name
l_.str.1:                               ; @.str.1
	.asciz	"Invalid media specifier '%s' in option '%s'\n"

	.no_dead_strip	_opt_codec
.subsections_via_symbols
