	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_audio_stream
_new_audio_stream:                      ## @new_audio_stream
	.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
	movl	%edx, %ecx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_new_output_stream
	movq	%rax, %rbx
	movq	64(%rax), %r12
	movq	80(%rax), %rcx
	movl	(%r13), %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 20(%rcx)
	movq	_filter_scripts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_str@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	(%rbx), %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	movq	_filters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	movq	8(%rbx), %rdx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	cmpl	$2, (%r15)
	jl	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
LBB0_2:
	cmpq	$0, 48(%rbx)
	jne	LBB0_20
## %bb.3:
	movq	_audio_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_i@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	movq	_sample_fmts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_str@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	movq	_audio_sample_rate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_i@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r13), %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	movq	_apad@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_str@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_MATCH_PER_STREAM_OPT
	movq	16(%rbx), %rdi
	callq	_av_strdup
	movq	%rax, 16(%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_get_ost_filters
	movl	%eax, 72(%rbx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	$1, %edi
	callq	_exit_program
LBB0_5:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.6:
	movq	%rbx, %rcx
	addq	$40, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	56(%rbx), %rsi
	incq	%rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_av_reallocp_array
	testq	%rax, %rax
	js	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r12,%r13), %eax
	movq	40(%rbx), %rcx
	movq	56(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, 56(%rbx)
	movl	%eax, (%rcx,%rdx,4)
	movl	4(%r15), %eax
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	addq	$32, %r13
	cmpq	%rcx, %r14
	jge	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r12
	movl	(%r12,%r13), %ecx
	cmpl	$-1, %ecx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%ecx, 24(%rbx)
	jne	LBB0_18
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r12,%r13), %ecx
	cmpl	$-1, %ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	64(%rbx), %rdx
	cmpl	%ecx, (%rdx)
	jne	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$-1, 8(%r12,%r13)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%rbx), %rcx
	movq	_input_streams@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx), %rdx
	cmpq	16(%r12,%r13), %rdx
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	24(%r12,%r13), %rcx
	je	LBB0_15
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	callq	_exit_program
	jmp	LBB0_17
LBB0_19:
	cmpq	$0, 48(%rbx)
	je	LBB0_21
LBB0_20:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_check_streamcopy_filters
LBB0_21:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_filter_scripts,4,2             ## @filter_scripts
	.comm	_str,4,2                        ## @str
	.comm	_filters,4,2                    ## @filters
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only '-af %s' read, ignoring remaining -af options: Use ',' to separate filters\n"

	.comm	_audio_channels,4,2             ## @audio_channels
	.comm	_i,4,2                          ## @i
	.comm	_sample_fmts,4,2                ## @sample_fmts
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ## @AV_SAMPLE_FMT_NONE
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.comm	_audio_sample_rate,4,2          ## @audio_sample_rate
	.comm	_apad,4,2                       ## @apad
	.comm	_input_streams,8,3              ## @input_streams
	.no_dead_strip	_new_audio_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_audio_stream
_new_audio_stream:                      ; @new_audio_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x3, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_new_output_stream
	mov	x21, x0
	ldr	x22, [x0, #64]
	ldr	x25, [x0, #80]
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _filter_scripts@GOTPAGE
Lloh3:
	ldr	x9, [x9, _filter_scripts@GOTPAGEOFF]
	str	w8, [x25, #20]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x24, _str@GOTPAGE
Lloh6:
	ldr	x24, [x24, _str@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	x2, [x21]
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
Lloh7:
	adrp	x8, _filters@GOTPAGE
Lloh8:
	ldr	x8, [x8, _filters@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [x24]
	ldr	x2, [x21, #8]
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_2:
	ldr	x8, [x21, #48]
	cbnz	x8, LBB0_20
; %bb.3:
Lloh15:
	adrp	x8, _audio_channels@GOTPAGE
Lloh16:
	ldr	x8, [x8, _audio_channels@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x26, _i@GOTPAGE
Lloh19:
	ldr	x26, [x26, _i@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	x2, [x25]
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
Lloh20:
	adrp	x8, _sample_fmts@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sample_fmts@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	w1, [x24]
	mov	x2, #0
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
Lloh23:
	adrp	x8, _audio_sample_rate@GOTPAGE
Lloh24:
	ldr	x8, [x8, _audio_sample_rate@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x26]
	ldr	x2, [x25, #8]
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
Lloh26:
	adrp	x8, _apad@GOTPAGE
Lloh27:
	ldr	x8, [x8, _apad@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w1, [x24]
	ldr	x2, [x21, #16]
	mov	x3, x19
	mov	x4, x22
	bl	_MATCH_PER_STREAM_OPT
	ldr	x0, [x21, #16]
	bl	_av_strdup
	str	x0, [x21, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_get_ost_filters
	str	w0, [x21, #72]
	cbnz	w0, LBB0_5
; %bb.4:
	mov	w0, #1
	bl	_exit_program
LBB0_5:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.6:
	mov	x24, #0
	mov	x25, #0
	add	x22, x21, #40
Lloh29:
	adrp	x26, _input_streams@GOTPAGE
Lloh30:
	ldr	x26, [x26, _input_streams@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21, #56]
	add	x1, x8, #1
	mov	x0, x22
	mov	w2, #4
	bl	_av_reallocp_array
	tbnz	x0, #63, LBB0_18
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27, #8]
	ldr	x9, [x21, #40]
	ldr	x10, [x21, #56]
	add	x11, x10, #1
	str	x11, [x21, #56]
	str	w8, [x9, x10, lsl #2]
	ldr	w8, [x20, #4]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x25, x25, #1
	add	x24, x24, #32
	cmp	x25, w8, sxtw
	b.ge	LBB0_19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	w10, [x9, x24]
	cmn	w10, #1
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w11, [x21, #24]
	cmp	w11, w10
	b.ne	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x27, x9, x24
	ldr	w10, [x27, #4]
	cmn	w10, #1
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x11, [x21, #64]
	ldr	w11, [x11]
	cmp	w11, w10
	b.ne	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x27, #8]
	cmn	w10, #1
	b.eq	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [x21, #32]
	ldr	x11, [x26]
	ldr	x10, [x11, x10, lsl #3]
	cbz	x10, LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x11, [x10]
	add	x9, x9, x24
	ldr	x12, [x9, #16]
	cmp	x11, x12
	b.ne	LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [x10, #8]
	ldr	x10, [x10]
	ldr	x9, [x9, #24]
	cmp	x10, x9
	b.eq	LBB0_7
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	bl	_exit_program
	b	LBB0_8
LBB0_19:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_21
LBB0_20:
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_check_streamcopy_filters
LBB0_21:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_filter_scripts,4,2             ; @filter_scripts
	.comm	_str,4,2                        ; @str
	.comm	_filters,4,2                    ; @filters
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only '-af %s' read, ignoring remaining -af options: Use ',' to separate filters\n"

	.comm	_audio_channels,4,2             ; @audio_channels
	.comm	_i,4,2                          ; @i
	.comm	_sample_fmts,4,2                ; @sample_fmts
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ; @AV_SAMPLE_FMT_NONE
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.comm	_audio_sample_rate,4,2          ; @audio_sample_rate
	.comm	_apad,4,2                       ; @apad
	.comm	_input_streams,8,3              ; @input_streams
	.no_dead_strip	_new_audio_stream
.subsections_via_symbols
