	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffmpeg_parse_options           ## -- Begin function ffmpeg_parse_options
	.p2align	4, 0x90
_ffmpeg_parse_options:                  ## @ffmpeg_parse_options
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-576(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_options@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_FF_ARRAY_ELEMS
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_split_commandline
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-568(%rbp), %rsi
	xorl	%edi, %edi
	callq	_parse_optgroup
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	_term_init
	movq	_GROUP_INFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	-576(%rbp), %rdi
	movq	_open_input_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_open_files
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	callq	_init_complex_filters
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	_GROUP_OUTFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	-576(%rbp), %rdi
	movq	_open_output_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	callq	_open_files
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
## %bb.13:
	xorl	%eax, %eax
	callq	_check_filter_outputs
	leaq	-576(%rbp), %rdi
	callq	_uninit_parse_context
	jmp	LBB0_11
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_10
LBB0_5:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.6(%rip), %rdx
LBB0_10:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	leaq	-576(%rbp), %rdi
	callq	_uninit_parse_context
	leaq	-560(%rbp), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_av_strerror
	movl	(%r15), %esi
	leaq	L_.str.7(%rip), %rdx
	xorl	%edi, %edi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_av_log
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.12:
	movl	%ebx, %eax
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_options,4,2                    ## @options
	.comm	_groups,4,2                     ## @groups
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error splitting the argument list: "

L_.str.1:                               ## @.str.1
	.asciz	"Error parsing global options: "

	.comm	_GROUP_INFILE,8,3               ## @GROUP_INFILE
L_.str.2:                               ## @.str.2
	.asciz	"input"

	.comm	_open_input_file,4,2            ## @open_input_file
L_.str.3:                               ## @.str.3
	.asciz	"Error opening input files: "

L_.str.4:                               ## @.str.4
	.asciz	"Error initializing complex filters.\n"

	.comm	_GROUP_OUTFILE,8,3              ## @GROUP_OUTFILE
L_.str.5:                               ## @.str.5
	.asciz	"output"

	.comm	_open_output_file,4,2           ## @open_output_file
L_.str.6:                               ## @.str.6
	.asciz	"Error opening output files: "

L_.str.7:                               ## @.str.7
	.asciz	"%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffmpeg_parse_options           ; -- Begin function ffmpeg_parse_options
	.p2align	2
_ffmpeg_parse_options:                  ; @ffmpeg_parse_options
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #544
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x23, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh3:
	adrp	x8, _options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _groups@GOTPAGE
Lloh7:
	ldr	x8, [x8, _groups@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_FF_ARRAY_ELEMS
	mov	x5, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	bl	_split_commandline
	tbnz	w0, #31, LBB0_6
; %bb.1:
	add	x1, x23, #8
	mov	x0, #0
	bl	_parse_optgroup
	tbnz	w0, #31, LBB0_7
; %bb.2:
	bl	_term_init
Lloh9:
	adrp	x8, _GROUP_INFILE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GROUP_INFILE@GOTPAGEOFF]
	ldr	x9, [sp, #8]
Lloh11:
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
Lloh12:
	adrp	x8, _open_input_file@GOTPAGE
Lloh13:
	ldr	x8, [x8, _open_input_file@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_open_files
	tbnz	w0, #31, LBB0_8
; %bb.3:
	bl	_init_complex_filters
	tbnz	w0, #31, LBB0_9
; %bb.4:
Lloh17:
	adrp	x8, _GROUP_OUTFILE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GROUP_OUTFILE@GOTPAGEOFF]
	ldr	x9, [sp, #8]
Lloh19:
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
Lloh20:
	adrp	x8, _open_output_file@GOTPAGE
Lloh21:
	ldr	x8, [x8, _open_output_file@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_open_files
	mov	x19, x0
	tbnz	w0, #31, LBB0_10
; %bb.5:
	bl	_check_filter_outputs
	add	x0, sp, #8
	bl	_uninit_parse_context
	b	LBB0_12
LBB0_6:
	mov	x19, x0
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_11
LBB0_7:
	mov	x19, x0
Lloh27:
	adrp	x2, l_.str.1@PAGE
Lloh28:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_8:
	mov	x19, x0
Lloh29:
	adrp	x2, l_.str.3@PAGE
Lloh30:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	x19, x0
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh33:
	adrp	x2, l_.str.6@PAGE
Lloh34:
	add	x2, x2, l_.str.6@PAGEOFF
LBB0_11:
Lloh35:
	adrp	x20, _AV_LOG_FATAL@GOTPAGE
Lloh36:
	ldr	x20, [x20, _AV_LOG_FATAL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, #0
	bl	_av_log
	add	x0, sp, #8
	bl	_uninit_parse_context
	add	x21, sp, #24
	add	x1, sp, #24
	mov	x0, x19
	mov	w2, #512
	bl	_av_strerror
	ldr	w1, [x20]
	str	x21, [sp]
Lloh37:
	adrp	x2, l_.str.7@PAGE
Lloh38:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	add	sp, sp, #544
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_options,4,2                    ; @options
	.comm	_groups,4,2                     ; @groups
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error splitting the argument list: "

l_.str.1:                               ; @.str.1
	.asciz	"Error parsing global options: "

	.comm	_GROUP_INFILE,8,3               ; @GROUP_INFILE
l_.str.2:                               ; @.str.2
	.asciz	"input"

	.comm	_open_input_file,4,2            ; @open_input_file
l_.str.3:                               ; @.str.3
	.asciz	"Error opening input files: "

l_.str.4:                               ; @.str.4
	.asciz	"Error initializing complex filters.\n"

	.comm	_GROUP_OUTFILE,8,3              ; @GROUP_OUTFILE
l_.str.5:                               ; @.str.5
	.asciz	"output"

	.comm	_open_output_file,4,2           ; @open_output_file
l_.str.6:                               ; @.str.6
	.asciz	"Error opening output files: "

l_.str.7:                               ; @.str.7
	.asciz	"%s\n"

.subsections_via_symbols
