	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_slave
_open_slave:                            ## @open_slave
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	$0, -48(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -128(%rbp)
	leaq	-48(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ff_tee_parse_slave_options
	testl	%eax, %eax
	js	LBB0_24
## %bb.1:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %r14
	movq	$0, 8(%rax)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_3:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%rax), %r15
	movq	$0, 8(%rax)
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_5:
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%rax), %r12
	movq	$0, 8(%rax)
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_7:
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%rax), %rbx
	movq	$0, 8(%rax)
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_9:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	8(%rax), %rbx
	movq	$0, 8(%rax)
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_11:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.5(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rbx
	leaq	-112(%rbp), %r15
	leaq	-48(%rbp), %r14
	leaq	L_.str.5(%rip), %r12
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	addq	$4, %rsi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	-48(%rbp), %rdi
	movl	(%r13), %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_slave_failure_policy_option
	testl	%eax, %eax
	js	LBB0_25
## %bb.15:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_parse_slave_fifo_options
	testl	%eax, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	js	LBB0_26
## %bb.16:
	cmpl	$0, 32(%rbx)
	je	LBB0_27
## %bb.17:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.18:
	movq	$0, -152(%rbp)
	leaq	-152(%rbp), %rsi
	movl	$61, %edx
	movl	$58, %ecx
	callq	_av_dict_get_string
	testl	%eax, %eax
	js	LBB0_50
## %bb.19:
	leaq	40(%rbx), %rdi
	movq	-152(%rbp), %rdx
	movq	_AV_DICT_DONT_STRDUP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.8(%rip), %rsi
	callq	_av_dict_set
	testl	%eax, %eax
	js	LBB0_50
LBB0_20:
	testq	%r14, %r14
	je	LBB0_22
## %bb.21:
	leaq	40(%rbx), %rdi
	movq	_AV_DICT_DONT_STRDUP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
	callq	_av_dict_set
	testl	%eax, %eax
	js	LBB0_53
LBB0_22:
	leaq	-48(%rbp), %rdi
	callq	_av_dict_free
	movq	40(%rbx), %rax
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	cmpl	$0, 32(%rbx)
	je	LBB0_27
## %bb.23:
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_28
LBB0_24:
	movl	%eax, %r15d
	jmp	LBB0_58
LBB0_25:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_57
LBB0_26:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.7(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_57
LBB0_27:
	movq	%r14, %rdx
LBB0_28:
	movq	-104(%rbp), %rcx
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avformat_alloc_output_context2
	testl	%eax, %eax
	js	LBB0_50
## %bb.29:
	movq	-80(%rbp), %rdi
	movq	%rdi, 24(%rbx)
	addq	$40, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	40(%r15), %esi
	xorl	%edx, %edx
	callq	_av_dict_copy
	movl	36(%r15), %eax
	movq	-80(%rbp), %rcx
	movl	%eax, 36(%rcx)
	movl	32(%r15), %eax
	movl	%eax, 32(%rcx)
	movups	16(%r15), %xmm0
	movups	%xmm0, 16(%rcx)
	movl	(%r15), %edi
	movl	$4, %esi
	callq	_av_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_51
## %bb.30:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_44
## %bb.31:
	xorl	%r13d, %r13d
	movq	_slave_select_sep@GOTPCREL(%rip), %r14
	leaq	-160(%rbp), %r12
	movl	$0, -120(%rbp)                  ## 4-byte Folded Spill
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	movq	8(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	callq	_av_strdup
	movq	%rax, -128(%rbp)
	testq	%rax, %rax
	je	LBB0_74
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, %rdi
	movq	$0, -160(%rbp)
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %esi
	movq	%r12, %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movq	(%rax,%r13,8), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_avformat_match_stream_specifier
	testl	%eax, %eax
	js	LBB0_52
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=2
	movl	$0, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_35
## %bb.38:                              ##   in Loop: Header=BB0_32 Depth=1
	leaq	-128(%rbp), %rdi
	callq	_av_freep
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	(%rbx), %rax
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, (%rax,%r13,4)
	movq	-80(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_74
## %bb.40:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_stream_encode_params_copy
	testl	%eax, %eax
	js	LBB0_76
## %bb.41:                              ##   in Loop: Header=BB0_32 Depth=1
	incl	-120(%rbp)                      ## 4-byte Folded Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_42:                                ##   in Loop: Header=BB0_32 Depth=1
	leaq	-128(%rbp), %rdi
	callq	_av_freep
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	$-1, (%rax,%r13,4)
LBB0_43:                                ##   in Loop: Header=BB0_32 Depth=1
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_32
LBB0_44:
	movq	-80(%rbp), %rdi
	movq	-104(%rbp), %rsi
	xorl	%edx, %edx
	callq	_ff_format_output_open
	testl	%eax, %eax
	js	LBB0_54
## %bb.45:
	movq	-80(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_avformat_write_header
	movl	%eax, %r15d
	testl	%eax, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	js	LBB0_73
## %bb.46:
	movl	$1, 8(%rbx)
	movq	-80(%rbp), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	callq	_av_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_51
## %bb.47:
	movq	-112(%rbp), %rdi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.14(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_78
## %bb.48:
	movq	%rax, %r14
	jmp	LBB0_60
LBB0_50:
	movl	%eax, %r15d
	jmp	LBB0_57
LBB0_51:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r15d
	jmp	LBB0_57
LBB0_52:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	jmp	LBB0_55
LBB0_53:
	movl	%eax, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_57
LBB0_54:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.12(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, %r8
LBB0_55:
	xorl	%eax, %eax
	callq	_av_log
LBB0_56:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_57:
	movq	%r14, %rdi
	callq	_av_free
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_av_free
	movq	%r12, %rdi
	callq	_av_free
	leaq	-48(%rbp), %rdi
	callq	_av_dict_free
	leaq	-112(%rbp), %rdi
	callq	_av_dict_free
	leaq	-128(%rbp), %rdi
	callq	_av_freep
LBB0_58:
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_59:                                ##   in Loop: Header=BB0_60 Depth=1
	movq	(%r14), %rsi
	leaq	-112(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	-112(%rbp), %rdi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.14(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_78
LBB0_60:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_67 Depth 2
	movq	(%r14), %r12
	cmpb	$0, (%r12)
	je	LBB0_63
## %bb.61:                              ##   in Loop: Header=BB0_60 Depth=1
	movq	_slave_bsfs_spec_sep@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strspn
	cmpl	$1, %eax
	jne	LBB0_98
## %bb.62:                              ##   in Loop: Header=BB0_60 Depth=1
	incq	%r12
LBB0_63:                                ##   in Loop: Header=BB0_60 Depth=1
	movq	-80(%rbp), %rdi
	cmpl	$0, (%rdi)
	jle	LBB0_59
## %bb.64:                              ##   in Loop: Header=BB0_60 Depth=1
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_67
LBB0_65:                                ##   in Loop: Header=BB0_67 Depth=2
	xorl	%r15d, %r15d
LBB0_66:                                ##   in Loop: Header=BB0_67 Depth=2
	incq	%rbx
	movq	-80(%rbp), %rdi
	movslq	(%rdi), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jge	LBB0_59
LBB0_67:                                ##   Parent Loop BB0_60 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rdi), %rax
	movq	(%rax,%r13), %rsi
	movq	%r12, %rdx
	callq	_avformat_match_stream_specifier
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_77
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=2
	je	LBB0_65
## %bb.69:                              ##   in Loop: Header=BB0_67 Depth=2
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %r8
	movq	-104(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %rcx
	movq	%r14, %r12
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	leaq	L_.str.17(%rip), %rdx
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_av_log
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	cmpq	$0, (%rsi,%r13)
	je	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_67 Depth=2
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %r8
	movq	%r14, %rdi
	leaq	L_.str.18(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	%r12, %r14
	jmp	LBB0_72
LBB0_71:                                ##   in Loop: Header=BB0_67 Depth=2
	addq	%r13, %rsi
	movq	8(%r12), %rdi
	callq	_av_bsf_list_parse_str
	movl	%eax, %r15d
	testl	%eax, %eax
	movq	%r12, %r14
	js	LBB0_95
LBB0_72:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_66
LBB0_73:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.13(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_57
LBB0_74:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_75:
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_76:
	movl	%eax, %r15d
	jmp	LBB0_56
LBB0_77:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %r8
	movq	-104(%rbp), %r9
	leaq	L_.str.16(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_56
LBB0_78:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_89
## %bb.79:
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_82
LBB0_80:                                ##   in Loop: Header=BB0_82 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_81:                                ##   in Loop: Header=BB0_82 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_90
LBB0_82:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	(%rcx,%rbx,4), %r14d
	testl	%r14d, %r14d
	js	LBB0_81
## %bb.83:                              ##   in Loop: Header=BB0_82 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rcx
	movq	(%rcx,%r14,8), %rax
	testq	%rax, %rax
	jne	LBB0_86
## %bb.84:                              ##   in Loop: Header=BB0_82 Depth=1
	leaq	(%rcx,%r14,8), %rdi
	callq	_av_bsf_get_null_filter
	testl	%eax, %eax
	js	LBB0_99
## %bb.85:                              ##   in Loop: Header=BB0_82 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r14,8), %rax
LBB0_86:                                ##   in Loop: Header=BB0_82 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	4(%rcx), %edx
	movl	%edx, 4(%rax)
	movl	(%rax), %edi
	movl	(%rcx), %esi
	callq	_avcodec_parameters_copy
	testl	%eax, %eax
	js	LBB0_97
## %bb.87:                              ##   in Loop: Header=BB0_82 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_av_bsf_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_80
## %bb.88:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.21(%rip), %rdx
	jmp	LBB0_100
LBB0_89:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_90:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_96
## %bb.91:
	movl	(%r13), %ecx
	leaq	L_.str.14(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_94
## %bb.92:
	movq	%rax, %rbx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %r12
	leaq	L_.str.22(%rip), %r14
	leaq	L_.str.14(%rip), %r15
LBB0_93:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rdi
	movl	(%r12), %esi
	movq	(%rbx), %rcx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	-48(%rbp), %rdi
	movl	(%r13), %ecx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_93
LBB0_94:
	movq	_AVERROR_OPTION_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_56
LBB0_95:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	movq	-104(%rbp), %r9
	leaq	L_.str.19(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_56
LBB0_96:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_57
LBB0_97:
	movl	%eax, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_57
LBB0_98:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rcx
	movsbl	(%r12), %r8d
	movq	_slave_bsfs_spec_sep@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.15(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_75
LBB0_99:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_av_err2str
	leaq	L_.str.20(%rip), %rdx
LBB0_100:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_57
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f"

L_.str.1:                               ## @.str.1
	.asciz	"select"

L_.str.2:                               ## @.str.2
	.asciz	"onfail"

L_.str.3:                               ## @.str.3
	.asciz	"use_fifo"

L_.str.4:                               ## @.str.4
	.asciz	"fifo_options"

L_.str.5:                               ## @.str.5
	.asciz	"bsfs"

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"Invalid onfail option value, valid options are 'abort' and 'ignore'\n"

L_.str.7:                               ## @.str.7
	.asciz	"Error parsing fifo options: %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"format_opts"

	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ## @AV_DICT_DONT_STRDUP_VAL
L_.str.9:                               ## @.str.9
	.asciz	"fifo_format"

L_.str.10:                              ## @.str.10
	.asciz	"fifo"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_slave_select_sep,4,2           ## @slave_select_sep
L_.str.11:                              ## @.str.11
	.asciz	"Invalid stream specifier '%s' for output '%s'\n"

L_.str.12:                              ## @.str.12
	.asciz	"Slave '%s': error opening: %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"Slave '%s': error writing header: %s\n"

L_.str.14:                              ## @.str.14
	.space	1

	.comm	_slave_bsfs_spec_sep,4,2        ## @slave_bsfs_spec_sep
L_.str.15:                              ## @.str.15
	.asciz	"Specifier separator in '%s' is '%c', but only characters '%s' are allowed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.16:                              ## @.str.16
	.asciz	"Invalid stream specifier '%s' in bsfs option '%s' for slave output '%s'\n"

	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.17:                              ## @.str.17
	.asciz	"spec:%s bsfs:%s matches stream %d of slave output '%s'\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.18:                              ## @.str.18
	.asciz	"Duplicate bsfs specification associated to stream %d of slave output '%s', filters will be ignored\n"

L_.str.19:                              ## @.str.19
	.asciz	"Error parsing bitstream filter sequence '%s' associated to stream %d of slave output '%s'\n"

L_.str.20:                              ## @.str.20
	.asciz	"Failed to create pass-through bitstream filter: %s\n"

L_.str.21:                              ## @.str.21
	.asciz	"Failed to initialize bitstream filter(s): %s\n"

L_.str.22:                              ## @.str.22
	.asciz	"Unknown option '%s'\n"

	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ## @AVERROR_OPTION_NOT_FOUND
	.no_dead_strip	_open_slave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_slave
_open_slave:                            ; @open_slave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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, x2
	mov	x24, x1
	mov	x22, x0
	stur	xzr, [x29, #-88]
	str	xzr, [sp, #96]
	stp	xzr, xzr, [sp, #72]
	str	xzr, [sp, #64]
	sub	x2, x29, #88
	add	x3, sp, #88
	bl	_ff_tee_parse_slave_options
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldur	x0, [x29, #-88]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x19, [x0, #8]
	str	xzr, [x0, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_5
LBB0_3:
	mov	x25, x0
	b	LBB0_80
LBB0_4:
	mov	x19, #0
LBB0_5:
	ldur	x0, [x29, #-88]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x21, [x0, #8]
	str	xzr, [x0, #8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_8
LBB0_7:
	mov	x21, #0
LBB0_8:
	ldur	x0, [x29, #-88]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x20, [x0, #8]
	str	xzr, [x0, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_11
LBB0_10:
	mov	x20, #0
LBB0_11:
	ldur	x0, [x29, #-88]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x26, [x0, #8]
	str	xzr, [x0, #8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_14
LBB0_13:
	mov	x26, #0
LBB0_14:
	str	x20, [sp, #48]                  ; 8-byte Folded Spill
	ldur	x0, [x29, #-88]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x27, [x0, #8]
	str	xzr, [x0, #8]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	b	LBB0_17
LBB0_16:
	mov	x27, #0
LBB0_17:
	ldur	x0, [x29, #-88]
Lloh20:
	adrp	x20, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh21:
	ldr	x20, [x20, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x20]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_20
; %bb.18:
	mov	x25, x0
Lloh24:
	adrp	x28, l_.str.5@PAGE
Lloh25:
	add	x28, x28, l_.str.5@PAGEOFF
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x2, [x25]
	add	x1, x8, #4
	add	x0, sp, #96
	mov	w3, #0
	bl	_av_dict_set
	ldr	x1, [x25]
	sub	x0, x29, #88
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	ldur	x0, [x29, #-88]
	ldr	w3, [x20]
	mov	x1, x28
	mov	x2, x25
	bl	_av_dict_get
	mov	x25, x0
	cbnz	x0, LBB0_19
LBB0_20:
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x28
	mov	x1, x23
	bl	_parse_slave_failure_policy_option
	tbnz	w0, #31, LBB0_30
; %bb.21:
	mov	x0, x26
	mov	x1, x27
	mov	x2, x23
	bl	_parse_slave_fifo_options
	tbnz	w0, #31, LBB0_31
; %bb.22:
	ldr	w8, [x23, #32]
	cbz	w8, LBB0_33
; %bb.23:
	ldur	x0, [x29, #-88]
	cbz	x0, LBB0_26
; %bb.24:
	str	xzr, [sp, #56]
	add	x1, sp, #56
	mov	w2, #61
	mov	w3, #58
	bl	_av_dict_get_string
	tbnz	w0, #31, LBB0_55
; %bb.25:
	add	x0, x23, #40
	ldr	x2, [sp, #56]
Lloh26:
	adrp	x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_av_dict_set
	tbnz	w0, #31, LBB0_55
LBB0_26:
	cbz	x19, LBB0_28
; %bb.27:
	add	x0, x23, #40
Lloh31:
	adrp	x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	bl	_av_dict_set
	tbnz	w0, #31, LBB0_59
LBB0_28:
	sub	x0, x29, #88
	bl	_av_dict_free
	mov	x19, #0
	ldr	x8, [x23, #40]
	stur	x8, [x29, #-88]
	ldr	w8, [x23, #32]
	cbz	w8, LBB0_33
; %bb.29:
Lloh36:
	adrp	x2, l_.str.10@PAGE
Lloh37:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_34
LBB0_30:
	mov	x25, x0
Lloh38:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x2, l_.str.6@PAGE
Lloh42:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_av_log
	b	LBB0_79
LBB0_31:
	mov	x25, x0
Lloh43:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh45:
	ldr	w23, [x8]
	bl	_av_err2str
	str	x0, [sp]
Lloh46:
	adrp	x2, l_.str.7@PAGE
Lloh47:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_32:
	mov	x0, x22
	mov	x1, x23
	bl	_av_log
	b	LBB0_79
LBB0_33:
	mov	x2, x19
LBB0_34:
	ldr	x3, [sp, #88]
	add	x0, sp, #80
	mov	x1, #0
	bl	_avformat_alloc_output_context2
	tbnz	w0, #31, LBB0_55
; %bb.35:
	ldr	x8, [sp, #80]
	str	x8, [x23, #24]
	add	x0, x8, #40
	ldr	w1, [x22, #40]
	mov	w2, #0
	bl	_av_dict_copy
	ldr	x8, [sp, #80]
	ldr	d0, [x22, #32]
	str	d0, [x8, #32]
	ldr	q0, [x22, #16]
	str	q0, [x8, #16]
	ldr	w0, [x22]
	mov	w1, #4
	bl	_av_calloc
	str	x0, [x23]
	cbz	x0, LBB0_56
; %bb.36:
	stp	x19, x21, [sp, #32]             ; 16-byte Folded Spill
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_50
; %bb.37:
	mov	x28, #0
	mov	w19, #0
Lloh48:
	adrp	x21, _slave_select_sep@GOTPAGE
Lloh49:
	ldr	x21, [x21, _slave_select_sep@GOTPAGEOFF]
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
	ldr	x8, [x22, #8]
	ldr	x26, [x8, x28, lsl #3]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_45
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	bl	_av_strdup
	str	x0, [sp, #64]
	cbz	x0, LBB0_75
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=1
	str	xzr, [sp, #72]
LBB0_41:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x21]
	add	x2, sp, #72
	bl	_av_strtok
	cbz	x0, LBB0_48
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x27, x0
	ldr	x8, [x22, #8]
	ldr	x1, [x8, x28, lsl #3]
	mov	x0, x22
	mov	x2, x27
	bl	_avformat_match_stream_specifier
	mov	x25, x0
	tbnz	w0, #31, LBB0_57
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x0, #0
	cbz	w25, LBB0_41
; %bb.44:                               ;   in Loop: Header=BB0_38 Depth=1
	add	x0, sp, #64
	bl	_av_freep
LBB0_45:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	x8, [x23]
	str	w19, [x8, x28, lsl #2]
	ldr	x0, [sp, #80]
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_75
; %bb.46:                               ;   in Loop: Header=BB0_38 Depth=1
	mov	x1, x26
	bl	_ff_stream_encode_params_copy
	tbnz	w0, #31, LBB0_76
; %bb.47:                               ;   in Loop: Header=BB0_38 Depth=1
	add	w19, w19, #1
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_38 Depth=1
	add	x0, sp, #64
	bl	_av_freep
	ldr	x8, [x23]
	mov	w9, #-1
	str	w9, [x8, x28, lsl #2]
LBB0_49:                                ;   in Loop: Header=BB0_38 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x22]
	cmp	x28, x8
	b.lt	LBB0_38
LBB0_50:
	ldp	x0, x1, [sp, #80]
	mov	x2, #0
	bl	_ff_format_output_open
	tbnz	w0, #31, LBB0_60
; %bb.51:
	ldr	x0, [sp, #80]
	sub	x1, x29, #88
	bl	_avformat_write_header
	mov	x25, x0
	ldp	x19, x21, [sp, #32]             ; 16-byte Folded Reload
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	tbnz	w0, #31, LBB0_74
; %bb.52:
	mov	w8, #1
	str	w8, [x23, #8]
	ldr	x8, [sp, #80]
	ldr	w0, [x8]
	mov	w1, #8
	bl	_av_calloc
	str	x0, [x23, #16]
	cbz	x0, LBB0_56
; %bb.53:
	ldr	x0, [sp, #96]
	ldr	w3, [x20]
Lloh50:
	adrp	x1, l_.str.14@PAGE
Lloh51:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_82
; %bb.54:
	mov	x27, x0
Lloh52:
	adrp	x26, _AV_LOG_DEBUG@GOTPAGE
Lloh53:
	ldr	x26, [x26, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh54:
	adrp	x24, l_.str.17@PAGE
Lloh55:
	add	x24, x24, l_.str.17@PAGEOFF
	b	LBB0_62
LBB0_55:
	mov	x25, x0
	b	LBB0_79
LBB0_56:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x25, x0
	b	LBB0_79
LBB0_57:
Lloh59:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	stp	x27, x24, [sp]
Lloh62:
	adrp	x2, l_.str.11@PAGE
Lloh63:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_58:
	mov	x0, x22
	bl	_av_log
	b	LBB0_77
LBB0_59:
	mov	x25, x0
	mov	x19, #0
	b	LBB0_79
LBB0_60:
	mov	x25, x0
Lloh64:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh66:
	ldr	w23, [x8]
	bl	_av_err2str
	stp	x24, x0, [sp]
Lloh67:
	adrp	x2, l_.str.12@PAGE
Lloh68:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_av_log
	b	LBB0_77
LBB0_61:                                ;   in Loop: Header=BB0_62 Depth=1
	ldr	x1, [x27]
	add	x0, sp, #96
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_set
	ldr	x0, [sp, #96]
	ldr	w3, [x20]
Lloh69:
	adrp	x1, l_.str.14@PAGE
Lloh70:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	mov	x27, x0
	ldp	x19, x21, [sp, #32]             ; 16-byte Folded Reload
	cbz	x0, LBB0_82
LBB0_62:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_69 Depth 2
	ldr	x28, [x27]
	ldrb	w8, [x28]
	cbz	w8, LBB0_65
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=1
Lloh71:
	adrp	x8, _slave_bsfs_spec_sep@GOTPAGE
Lloh72:
	ldr	x8, [x8, _slave_bsfs_spec_sep@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x28
	bl	_strspn
	cmp	w0, #1
	b.ne	LBB0_100
; %bb.64:                               ;   in Loop: Header=BB0_62 Depth=1
	add	x28, x28, #1
LBB0_65:                                ;   in Loop: Header=BB0_62 Depth=1
	ldr	x0, [sp, #80]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_61
; %bb.66:                               ;   in Loop: Header=BB0_62 Depth=1
	mov	x21, #0
	mov	x19, #0
	b	LBB0_69
LBB0_67:                                ;   in Loop: Header=BB0_69 Depth=2
Lloh74:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh75:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	ldr	x8, [sp, #88]
	mov	x9, x19
	stp	x9, x8, [sp]
	mov	x0, x22
Lloh77:
	adrp	x2, l_.str.18@PAGE
Lloh78:
	add	x2, x2, l_.str.18@PAGEOFF
	bl	_av_log
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=2
	add	x19, x19, #1
	ldr	x0, [sp, #80]
	ldrsw	x8, [x0]
	add	x21, x21, #8
	cmp	x19, x8
	b.ge	LBB0_61
LBB0_69:                                ;   Parent Loop BB0_62 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x0, #8]
	ldr	x1, [x8, x21]
	mov	x2, x28
	bl	_avformat_match_stream_specifier
	mov	x25, x0
	tbnz	w0, #31, LBB0_81
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=2
	cbz	w25, LBB0_68
; %bb.71:                               ;   in Loop: Header=BB0_69 Depth=2
	ldr	w1, [x26]
	ldr	x8, [x27, #8]
	ldr	x9, [sp, #88]
	mov	x10, x19
	stp	x10, x9, [sp, #16]
	stp	x28, x8, [sp]
	mov	x0, x22
	mov	x2, x24
	bl	_av_log
	ldr	x8, [x23, #16]
	add	x1, x8, x21
	ldr	x8, [x1]
	cbnz	x8, LBB0_67
; %bb.72:                               ;   in Loop: Header=BB0_69 Depth=2
	ldr	x0, [x27, #8]
	bl	_av_bsf_list_parse_str
	mov	x25, x0
	tbz	w0, #31, LBB0_68
; %bb.73:
Lloh79:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	ldr	x8, [x27, #8]
	ldr	x9, [sp, #88]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	stp	x19, x9, [sp, #8]
	str	x8, [sp]
Lloh82:
	adrp	x2, l_.str.19@PAGE
Lloh83:
	add	x2, x2, l_.str.19@PAGEOFF
	b	LBB0_58
LBB0_74:
Lloh84:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh86:
	ldr	w23, [x8]
	mov	x0, x25
	bl	_av_err2str
	stp	x24, x0, [sp]
Lloh87:
	adrp	x2, l_.str.13@PAGE
Lloh88:
	add	x2, x2, l_.str.13@PAGEOFF
	b	LBB0_32
LBB0_75:
Lloh89:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_76:
	mov	x25, x0
LBB0_77:
	ldp	x19, x21, [sp, #32]             ; 16-byte Folded Reload
LBB0_78:
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
LBB0_79:
	mov	x0, x19
	bl	_av_free
	mov	x0, x21
	bl	_av_free
	mov	x0, x28
	bl	_av_free
	sub	x0, x29, #88
	bl	_av_dict_free
	add	x0, sp, #96
	bl	_av_dict_free
	add	x0, sp, #64
	bl	_av_freep
LBB0_80:
	mov	x0, x25
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_81:
Lloh92:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh93:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
	ldr	x8, [x27]
	ldr	x9, [sp, #88]
	stp	x8, x9, [sp, #8]
	str	x28, [sp]
Lloh95:
	adrp	x2, l_.str.16@PAGE
Lloh96:
	add	x2, x2, l_.str.16@PAGEOFF
	b	LBB0_58
LBB0_82:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_93
; %bb.83:
	mov	x19, #0
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_86
LBB0_84:                                ;   in Loop: Header=BB0_86 Depth=1
	ldr	w8, [x22]
LBB0_85:                                ;   in Loop: Header=BB0_86 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_94
LBB0_86:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	w21, [x9, x19, lsl #2]
	tbnz	w21, #31, LBB0_85
; %bb.87:                               ;   in Loop: Header=BB0_86 Depth=1
	ldr	x8, [x23, #16]
	add	x0, x8, x21, lsl #3
	ldr	x8, [x0]
	cbnz	x8, LBB0_90
; %bb.88:                               ;   in Loop: Header=BB0_86 Depth=1
	bl	_av_bsf_get_null_filter
	tbnz	w0, #31, LBB0_101
; %bb.89:                               ;   in Loop: Header=BB0_86 Depth=1
	ldr	x8, [x23, #16]
	ldr	x8, [x8, x21, lsl #3]
LBB0_90:                                ;   in Loop: Header=BB0_86 Depth=1
	ldr	x9, [x22, #8]
	ldr	x9, [x9, x19, lsl #3]
	ldr	w10, [x9, #4]
	str	w10, [x8, #4]
	ldr	w0, [x8]
	ldr	w1, [x9]
	bl	_avcodec_parameters_copy
	tbnz	w0, #31, LBB0_99
; %bb.91:                               ;   in Loop: Header=BB0_86 Depth=1
	ldr	x8, [x23, #16]
	ldr	x0, [x8, x21, lsl #3]
	bl	_av_bsf_init
	mov	x25, x0
	tbz	w0, #31, LBB0_84
; %bb.92:
Lloh97:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh98:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh99:
	ldr	w23, [x8]
	mov	x0, x25
	bl	_av_err2str
	str	x0, [sp]
Lloh100:
	adrp	x2, l_.str.21@PAGE
Lloh101:
	add	x2, x2, l_.str.21@PAGEOFF
	b	LBB0_102
LBB0_93:
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
LBB0_94:
	ldur	x0, [x29, #-88]
	cbz	x0, LBB0_103
; %bb.95:
	ldr	w3, [x20]
Lloh102:
	adrp	x1, l_.str.14@PAGE
Lloh103:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_98
; %bb.96:
	mov	x22, x0
Lloh104:
	adrp	x19, _AV_LOG_ERROR@GOTPAGE
Lloh105:
	ldr	x19, [x19, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh106:
	adrp	x23, l_.str.22@PAGE
Lloh107:
	add	x23, x23, l_.str.22@PAGEOFF
Lloh108:
	adrp	x24, l_.str.14@PAGE
Lloh109:
	add	x24, x24, l_.str.14@PAGEOFF
LBB0_97:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #80]
	ldr	w1, [x19]
	ldr	x8, [x22]
	str	x8, [sp]
	mov	x2, x23
	bl	_av_log
	ldur	x0, [x29, #-88]
	ldr	w3, [x20]
	mov	x1, x24
	mov	x2, x22
	bl	_av_dict_get
	mov	x22, x0
	cbnz	x0, LBB0_97
LBB0_98:
Lloh110:
	adrp	x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGE
Lloh111:
	ldr	x8, [x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGEOFF]
Lloh112:
	ldr	w25, [x8]
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_79
LBB0_99:
	mov	x25, x0
	b	LBB0_103
LBB0_100:
Lloh113:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh114:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh115:
	ldr	w1, [x8]
	ldr	x8, [x27]
	ldrsb	x9, [x28]
Lloh116:
	adrp	x10, _slave_bsfs_spec_sep@GOTPAGE
Lloh117:
	ldr	x10, [x10, _slave_bsfs_spec_sep@GOTPAGEOFF]
Lloh118:
	ldr	w10, [x10]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh119:
	adrp	x2, l_.str.15@PAGE
Lloh120:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x0, x22
	bl	_av_log
Lloh121:
	adrp	x8, _EINVAL@GOTPAGE
Lloh122:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh123:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x25, x0
	b	LBB0_78
LBB0_101:
	mov	x25, x0
Lloh124:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh125:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh126:
	ldr	w23, [x8]
	bl	_av_err2str
	str	x0, [sp]
Lloh127:
	adrp	x2, l_.str.20@PAGE
Lloh128:
	add	x2, x2, l_.str.20@PAGEOFF
LBB0_102:
	mov	x0, x22
	mov	x1, x23
	bl	_av_log
LBB0_103:
	ldp	x19, x21, [sp, #32]             ; 16-byte Folded Reload
	b	LBB0_79
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f"

l_.str.1:                               ; @.str.1
	.asciz	"select"

l_.str.2:                               ; @.str.2
	.asciz	"onfail"

l_.str.3:                               ; @.str.3
	.asciz	"use_fifo"

l_.str.4:                               ; @.str.4
	.asciz	"fifo_options"

l_.str.5:                               ; @.str.5
	.asciz	"bsfs"

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"Invalid onfail option value, valid options are 'abort' and 'ignore'\n"

l_.str.7:                               ; @.str.7
	.asciz	"Error parsing fifo options: %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"format_opts"

	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ; @AV_DICT_DONT_STRDUP_VAL
l_.str.9:                               ; @.str.9
	.asciz	"fifo_format"

l_.str.10:                              ; @.str.10
	.asciz	"fifo"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_slave_select_sep,4,2           ; @slave_select_sep
l_.str.11:                              ; @.str.11
	.asciz	"Invalid stream specifier '%s' for output '%s'\n"

l_.str.12:                              ; @.str.12
	.asciz	"Slave '%s': error opening: %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"Slave '%s': error writing header: %s\n"

l_.str.14:                              ; @.str.14
	.space	1

	.comm	_slave_bsfs_spec_sep,4,2        ; @slave_bsfs_spec_sep
l_.str.15:                              ; @.str.15
	.asciz	"Specifier separator in '%s' is '%c', but only characters '%s' are allowed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.16:                              ; @.str.16
	.asciz	"Invalid stream specifier '%s' in bsfs option '%s' for slave output '%s'\n"

	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.17:                              ; @.str.17
	.asciz	"spec:%s bsfs:%s matches stream %d of slave output '%s'\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.18:                              ; @.str.18
	.asciz	"Duplicate bsfs specification associated to stream %d of slave output '%s', filters will be ignored\n"

l_.str.19:                              ; @.str.19
	.asciz	"Error parsing bitstream filter sequence '%s' associated to stream %d of slave output '%s'\n"

l_.str.20:                              ; @.str.20
	.asciz	"Failed to create pass-through bitstream filter: %s\n"

l_.str.21:                              ; @.str.21
	.asciz	"Failed to initialize bitstream filter(s): %s\n"

l_.str.22:                              ; @.str.22
	.asciz	"Unknown option '%s'\n"

	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ; @AVERROR_OPTION_NOT_FOUND
	.no_dead_strip	_open_slave
.subsections_via_symbols
