	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_streamid
_opt_streamid:                          ## @opt_streamid
	.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	$24, %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, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movl	$16, %edx
	callq	_av_strlcpy
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
LBB0_2:
	movq	%rbx, %r13
	incq	%r13
	movb	$0, (%rbx)
	movq	_OPT_INT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_MAX_STREAMS@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	decq	%r8
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_parse_number_or_die
	movq	%rax, %r12
	movq	(%r15), %rdi
	leaq	8(%r15), %rdx
	leal	1(%rax), %ecx
	movl	$8, %esi
	callq	_grow_array
	movq	%rax, (%r15)
	movl	(%rbx), %edx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_parse_number_or_die
	movq	(%r15), %rcx
	movslq	%r12d, %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid value '%s' for option '%s', required syntax is 'index:value'\n"

	.comm	_OPT_INT,4,2                    ## @OPT_INT
	.comm	_MAX_STREAMS,8,3                ## @MAX_STREAMS
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.no_dead_strip	_opt_streamid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_streamid
_opt_streamid:                          ; @opt_streamid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #8
	mov	x1, x2
	mov	w2, #16
	bl	_av_strlcpy
	add	x0, sp, #8
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x20
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
LBB0_2:
	strb	wzr, [x21], #1
Lloh8:
	adrp	x23, _OPT_INT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _OPT_INT@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh10:
	adrp	x8, _MAX_STREAMS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_STREAMS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sub	x4, x8, #1
	add	x1, sp, #8
	mov	x0, x20
	mov	w3, #0
	bl	_parse_number_or_die
	mov	x22, x0
	ldr	x0, [x19]
	add	x2, x19, #8
	add	w3, w22, #1
	mov	w1, #8
	bl	_grow_array
	str	x0, [x19]
	ldr	w2, [x23]
Lloh13:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh15:
	ldr	x4, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_parse_number_or_die
	ldr	x8, [x19]
	sbfiz	x9, x22, #3, #32
	str	x0, [x8, x9]
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid value '%s' for option '%s', required syntax is 'index:value'\n"

	.comm	_OPT_INT,4,2                    ; @OPT_INT
	.comm	_MAX_STREAMS,8,3                ; @MAX_STREAMS
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.no_dead_strip	_opt_streamid
.subsections_via_symbols
