	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_io_close          ## -- Begin function vc_container_io_close
	.p2align	4, 0x90
_vc_container_io_close:                 ## @vc_container_io_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movq	16(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	cmpq	$0, 32(%rsi)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 24(%rsi)
	je	LBB0_5
## %bb.4:
	addq	$16, %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_vc_container_io_cache_flush
	movq	16(%r14), %rsi
LBB0_5:
	movq	40(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_async_io_stop
	jmp	LBB0_9
LBB0_7:
	cmpq	$0, 32(%rsi)
	je	LBB0_9
## %bb.8:
	movq	16(%rsi), %rdi
	callq	_free
LBB0_9:
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movq	16(%r14), %rax
	movl	(%rax), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_11
LBB0_12:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	*%rax
LBB0_14:
	movl	(%r14), %edi
	callq	_vc_uri_release
	movq	%r14, %rdi
	callq	_free
LBB0_15:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_io_close          ; -- Begin function vc_container_io_close
	.p2align	2
_vc_container_io_close:                 ; @vc_container_io_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_14
; %bb.2:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
; %bb.4:
	add	x1, x8, #16
	mov	x0, x19
	mov	w2, #1
	bl	_vc_container_io_cache_flush
	ldr	x8, [x19, #16]
LBB0_5:
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_async_io_stop
	b	LBB0_9
LBB0_7:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_9
; %bb.8:
	ldr	x0, [x8, #16]
	bl	_free
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cbz	w9, LBB0_12
; %bb.10:
	mov	x20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_free
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cmp	x20, x9
	b.lo	LBB0_11
LBB0_12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x19
	blr	x8
LBB0_14:
	ldr	w0, [x19]
	bl	_vc_uri_release
	mov	x0, x19
	bl	_free
LBB0_15:
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
.subsections_via_symbols
