	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function md5_close
_md5_close:                             ## @md5_close
	.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	$360, %rsp                      ## imm = 0x168
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rax
	movq	(%rdi), %r15
	movq	%r15, -384(%rbp)
	movq	%rax, -392(%rbp)                ## 8-byte Spill
	movl	(%rax), %edi
	leaq	-112(%rbp), %rsi
	callq	_av_md5_final
	leaq	-368(%rbp), %rbx
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-112(%rbp,%r14,4), %ecx
	movq	%rbx, %rdi
	movl	$3, %esi
	movq	%r13, %rdx
	callq	_snprintf
	incq	%r14
	addq	$8, %rbx
	cmpq	$64, %r14
	jne	LBB0_1
## %bb.2:
	movl	$10, 144(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-384(%rbp), %rdx
	movq	%r15, %rdi
	callq	_av_strstart
	movq	-384(%rbp), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_5
## %bb.3:
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%r12), %rcx
	movl	8(%r12), %eax
	movl	12(%r12), %r9d
	leaq	-376(%rbp), %rdi
	xorl	%r8d, %r8d
	pushq	%r12
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	-376(%rbp), %rdi
	leaq	-368(%rbp), %rsi
	movl	$129, %edx
	callq	_ffurl_write
	movl	%eax, %ebx
	movq	-376(%rbp), %rdi
	callq	_ffurl_close
	jmp	LBB0_7
LBB0_5:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-368(%rbp), %rdi
	movl	$1, %esi
	movl	$129, %edx
	callq	_fwrite
	xorl	%ebx, %ebx
	cmpl	$128, %eax
	jg	LBB0_7
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
LBB0_7:
	movq	-392(%rbp), %rdi                ## 8-byte Reload
	callq	_av_freep
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$360, %rsp                      ## imm = 0x168
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x"

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

	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.comm	_stdout,4,2                     ## @stdout
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_md5_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function md5_close
_md5_close:                             ; @md5_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #432
	.cfi_def_cfa_offset 432
	stp	x26, x25, [sp, #352]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #368]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #384]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #400]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #416]            ; 16-byte Folded Spill
	add	x29, sp, #416
	.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
	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, #-72]
	ldr	x19, [x0, #24]
	ldr	x21, [x0]
	str	x21, [sp, #16]
	ldr	w0, [x19]
	sub	x24, x29, #136
	sub	x1, x29, #136
	bl	_av_md5_final
	mov	x25, #0
	add	x22, sp, #24
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x24, x25]
	mov	x0, x22
	mov	w1, #3
	mov	x2, x23
	bl	_snprintf
	add	x25, x25, #4
	add	x22, x22, #8
	cmp	x25, #256
	b.ne	LBB0_1
; %bb.2:
	mov	w8, #10
	str	w8, [sp, #536]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	mov	x0, x21
	bl	_av_strstart
	ldr	x1, [sp, #16]
	ldrb	w8, [x1]
	cbz	w8, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, x20, #16
	ldp	w6, w5, [x20, #8]
	add	x0, sp, #8
	mov	x4, #0
	mov	x7, x20
	bl	_ffurl_open_whitelist
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.4:
	ldr	x0, [sp, #8]
	add	x1, sp, #24
	mov	w2, #129
	bl	_ffurl_write
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_ffurl_close
	b	LBB0_8
LBB0_5:
Lloh10:
	adrp	x8, _stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x0, sp, #24
	mov	w1, #1
	mov	w2, #129
	bl	_fwrite
	cmp	w0, #128
	b.gt	LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x20, x0
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x19
	bl	_av_freep
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #416]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #400]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #384]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #368]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #432
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x"

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

	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.comm	_stdout,4,2                     ; @stdout
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_md5_close
.subsections_via_symbols
