	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_exit
_do_exit:                               ## @do_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_stream_close
LBB0_2:
	movq	_renderer@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_SDL_DestroyRenderer
LBB0_4:
	movq	_window@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_SDL_DestroyWindow
LBB0_6:
	xorl	%eax, %eax
	callq	_uninit_opts
	xorl	%eax, %eax
	callq	_avformat_network_deinit
	movq	_show_status@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movl	$10, %edi
	callq	_putchar
LBB0_8:
	xorl	%eax, %eax
	callq	_SDL_Quit
	movq	_AV_LOG_QUIET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	xorl	%edi, %edi
	callq	_av_log
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_renderer,8,3                   ## @renderer
	.comm	_window,8,3                     ## @window
	.comm	_show_status,8,3                ## @show_status
	.comm	_AV_LOG_QUIET,4,2               ## @AV_LOG_QUIET
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s"

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

	.comm	_vfilters_list,4,2              ## @vfilters_list
	.no_dead_strip	_do_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_exit
_do_exit:                               ; @do_exit
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
	bl	_stream_close
LBB0_2:
Lloh0:
	adrp	x8, _renderer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _renderer@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_SDL_DestroyRenderer
LBB0_4:
Lloh3:
	adrp	x8, _window@GOTPAGE
Lloh4:
	ldr	x8, [x8, _window@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_SDL_DestroyWindow
LBB0_6:
	bl	_uninit_opts
	bl	_avformat_network_deinit
Lloh6:
	adrp	x8, _show_status@GOTPAGE
Lloh7:
	ldr	x8, [x8, _show_status@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w0, #10
	bl	_putchar
LBB0_8:
	bl	_SDL_Quit
Lloh9:
	adrp	x8, _AV_LOG_QUIET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_QUIET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh14:
	adrp	x3, l_.str.2@PAGE
Lloh15:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_renderer,8,3                   ; @renderer
	.comm	_window,8,3                     ; @window
	.comm	_show_status,8,3                ; @show_status
	.comm	_AV_LOG_QUIET,4,2               ; @AV_LOG_QUIET
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s"

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

	.comm	_vfilters_list,4,2              ; @vfilters_list
	.no_dead_strip	_do_exit
.subsections_via_symbols
