	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_out
_init_out:                              ## @init_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$112, %rsp
	movq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_cur_name@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_format@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$100, %esi
	callq	_snprintf
	movq	_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_md5_init
	movq	_write_file@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-112(%rbp), %rdi
	callq	_fopen
	movq	_out@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	_out_size@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$112, %rsp
	popq	%rbp
	retq
LBB0_2:
	leaq	-112(%rbp), %rdi
	callq	_perror
	jmp	LBB0_3
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cur_name,8,3                   ## @cur_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.%s"

	.comm	_format,8,3                     ## @format
	.comm	_md5,4,2                        ## @md5
	.comm	_write_file,8,3                 ## @write_file
L_.str.1:                               ## @.str.1
	.asciz	"wb"

	.comm	_out,4,2                        ## @out
	.comm	_out_size,8,3                   ## @out_size
	.no_dead_strip	_init_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_out
_init_out:                              ; @init_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _cur_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cur_name@GOTPAGEOFF]
Lloh5:
	str	x0, [x8]
Lloh6:
	adrp	x8, _format@GOTPAGE
Lloh7:
	ldr	x8, [x8, _format@GOTPAGEOFF]
Lloh8:
	ldr	x4, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	w1, #100
	bl	_snprintf
Lloh11:
	adrp	x8, _md5@GOTPAGE
Lloh12:
	ldr	x8, [x8, _md5@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_av_md5_init
Lloh14:
	adrp	x8, _write_file@GOTPAGE
Lloh15:
	ldr	x8, [x8, _write_file@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #4
	bl	_fopen
Lloh19:
	adrp	x8, _out@GOTPAGE
Lloh20:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh21:
	str	w0, [x8]
	cbz	w0, LBB0_4
LBB0_2:
Lloh22:
	adrp	x8, _out_size@GOTPAGE
Lloh23:
	ldr	x8, [x8, _out_size@GOTPAGEOFF]
Lloh24:
	str	xzr, [x8]
	ldur	x8, [x29, #-8]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	add	x0, sp, #4
	bl	_perror
	b	LBB0_2
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_cur_name,8,3                   ; @cur_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.%s"

	.comm	_format,8,3                     ; @format
	.comm	_md5,4,2                        ; @md5
	.comm	_write_file,8,3                 ; @write_file
l_.str.1:                               ; @.str.1
	.asciz	"wb"

	.comm	_out,4,2                        ; @out
	.comm	_out_size,8,3                   ; @out_size
	.no_dead_strip	_init_out
.subsections_via_symbols
