	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_file_overwrite
_assert_file_overwrite:                 ## @assert_file_overwrite
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_avio_find_protocol_name
	movq	%rax, %r14
	movq	_file_overwrite@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_no_file_overwrite@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%r15)
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit_program
	movq	(%rbx), %rax
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:
	testq	%r14, %r14
	je	LBB0_13
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_check
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:
	movq	_stdin_interaction@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.8:
	cmpq	$0, (%r15)
	jne	LBB0_12
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
	xorl	%eax, %eax
	callq	_term_exit
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_read_yesno
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
LBB0_11:
	xorl	%eax, %eax
	callq	_term_init
	jmp	LBB0_13
LBB0_12:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%edi, %edi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
LBB0_13:
	testq	%r14, %r14
	je	LBB0_21
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_21
## %bb.15:
	movq	_nb_input_files@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jle	LBB0_21
## %bb.16:
	movq	_input_files@GOTPCREL(%rip), %r14
	movq	_AVFMT_NOFILE@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movslq	%r13d, %rax
	cmpq	%rax, %rbx
	jge	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movl	(%r15), %edx
	testl	%edx, (%rcx)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str.6(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
	movq	_nb_input_files@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_20
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_file_overwrite,8,3             ## @file_overwrite
	.comm	_no_file_overwrite,8,3          ## @no_file_overwrite
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error, both -y and -n supplied. Exiting.\n"

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

	.comm	_stdin_interaction,8,3          ## @stdin_interaction
L_.str.2:                               ## @.str.2
	.asciz	"File '%s' already exists. Overwrite? [y/N] "

	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"Not overwriting - exiting\n"

L_.str.4:                               ## @.str.4
	.asciz	"File '%s' already exists. Exiting.\n"

	.comm	_nb_input_files,4,2             ## @nb_input_files
	.comm	_input_files,8,3                ## @input_files
	.comm	_AVFMT_NOFILE,4,2               ## @AVFMT_NOFILE
L_.str.5:                               ## @.str.5
	.asciz	"Output %s same as Input #%d - exiting\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.6:                               ## @.str.6
	.asciz	"FFmpeg cannot edit existing files in-place.\n"

	.no_dead_strip	_assert_file_overwrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_file_overwrite
_assert_file_overwrite:                 ; @assert_file_overwrite
	.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	x19, x0
	bl	_avio_find_protocol_name
	mov	x20, x0
Lloh0:
	adrp	x22, _file_overwrite@GOTPAGE
Lloh1:
	ldr	x22, [x22, _file_overwrite@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x21, _no_file_overwrite@GOTPAGE
Lloh3:
	ldr	x21, [x21, _no_file_overwrite@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit_program
	ldr	x8, [x22]
LBB0_2:
	cmp	x8, #0
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_10
; %bb.3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_10
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_avio_check
	cbnz	x0, LBB0_10
; %bb.5:
Lloh11:
	adrp	x8, _stdin_interaction@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stdin_interaction@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	str	x19, [sp]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
	b	LBB0_10
LBB0_7:
Lloh19:
	adrp	x21, _stderr@GOTPAGE
Lloh20:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
	str	x19, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x21]
	bl	_fflush
	bl	_term_exit
Lloh23:
	adrp	x8, _SIGINT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_signal
	bl	_read_yesno
	cbnz	w0, LBB0_9
; %bb.8:
Lloh29:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.3@PAGE
Lloh33:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
LBB0_9:
	bl	_term_init
LBB0_10:
	cbz	x20, LBB0_18
; %bb.11:
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_18
; %bb.12:
Lloh36:
	adrp	x22, _nb_input_files@GOTPAGE
Lloh37:
	ldr	x22, [x22, _nb_input_files@GOTPAGEOFF]
	ldr	w28, [x22]
	cmp	w28, #1
	b.lt	LBB0_18
; %bb.13:
	mov	x23, #0
Lloh38:
	adrp	x24, _input_files@GOTPAGE
Lloh39:
	ldr	x24, [x24, _input_files@GOTPAGEOFF]
Lloh40:
	adrp	x25, _AVFMT_NOFILE@GOTPAGE
Lloh41:
	ldr	x25, [x25, _AVFMT_NOFILE@GOTPAGEOFF]
Lloh42:
	adrp	x26, _AV_LOG_FATAL@GOTPAGE
Lloh43:
	ldr	x26, [x26, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh44:
	adrp	x20, l_.str.5@PAGE
Lloh45:
	add	x20, x20, l_.str.5@PAGEOFF
Lloh46:
	adrp	x27, _AV_LOG_WARNING@GOTPAGE
Lloh47:
	ldr	x27, [x27, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh48:
	adrp	x21, l_.str.6@PAGE
Lloh49:
	add	x21, x21, l_.str.6@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	cmp	x23, w28, sxtw
	b.ge	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	ldr	w10, [x25]
	tst	w10, w9
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w1, [x26]
	stp	x19, x23, [sp]
	mov	x0, #0
	mov	x2, x20
	bl	_av_log
	ldr	w1, [x27]
	mov	x0, #0
	mov	x2, x21
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
	ldr	w28, [x22]
	b	LBB0_14
LBB0_18:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_file_overwrite,8,3             ; @file_overwrite
	.comm	_no_file_overwrite,8,3          ; @no_file_overwrite
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error, both -y and -n supplied. Exiting.\n"

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

	.comm	_stdin_interaction,8,3          ; @stdin_interaction
l_.str.2:                               ; @.str.2
	.asciz	"File '%s' already exists. Overwrite? [y/N] "

	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"Not overwriting - exiting\n"

l_.str.4:                               ; @.str.4
	.asciz	"File '%s' already exists. Exiting.\n"

	.comm	_nb_input_files,4,2             ; @nb_input_files
	.comm	_input_files,8,3                ; @input_files
	.comm	_AVFMT_NOFILE,4,2               ; @AVFMT_NOFILE
l_.str.5:                               ; @.str.5
	.asciz	"Output %s same as Input #%d - exiting\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.6:                               ; @.str.6
	.asciz	"FFmpeg cannot edit existing files in-place.\n"

	.no_dead_strip	_assert_file_overwrite
.subsections_via_symbols
