	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_zip_free
_archive_write_zip_free:                ## @archive_write_zip_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	56(%rbx), %rax
	movq	%rax, 64(%r15)
	movq	48(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_2
LBB0_3:
	movq	40(%r15), %rdi
	callq	_free
	movl	32(%r15), %edi
	callq	_archive_entry_free
	cmpq	$0, 24(%r15)
	je	LBB0_5
## %bb.4:
	leaq	16(%r15), %rdi
	callq	_archive_encrypto_aes_ctr_release
LBB0_5:
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_archive_hmac_sha1_cleanup
LBB0_7:
	movq	%r15, %rdi
	callq	_free
	movq	$0, (%r14)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_archive_write_zip_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_zip_free
_archive_write_zip_free:                ; @archive_write_zip_free
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x21, [x20, #64]
	cbz	x21, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x8, [x21, #48]
	str	x8, [x20, #64]
	bl	_free
	mov	x0, x21
	bl	_free
	ldr	x21, [x20, #64]
	cbnz	x21, LBB0_1
LBB0_2:
	ldr	x0, [x20, #40]
	bl	_free
	ldr	w0, [x20, #32]
	bl	_archive_entry_free
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x20, #16
	bl	_archive_encrypto_aes_ctr_release
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_archive_hmac_sha1_cleanup
LBB0_6:
	mov	x0, x20
	bl	_free
	str	xzr, [x19]
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_archive_write_zip_free
.subsections_via_symbols
