	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _archive_write_disk_free
__archive_write_disk_free:              ## @_archive_write_disk_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movq	_ARCHIVE_WRITE_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_ANY@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	movq	%rbx, %rdi
	callq	__archive_write_disk_close
	movl	%eax, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_archive_write_disk_set_group_lookup
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_archive_write_disk_set_user_lookup
	movl	72(%rbx), %edi
	callq	_archive_entry_free
	leaq	68(%rbx), %rdi
	callq	_archive_string_free
	leaq	8(%rbx), %rdi
	callq	_archive_string_free
	leaq	64(%rbx), %rdi
	callq	_archive_string_free
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	callq	___archive_clean
	movq	56(%rbx), %rdi
	callq	_free
	movq	48(%rbx), %rdi
	callq	_free
	movq	40(%rbx), %rdi
	callq	_free
	movq	32(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ## @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_ANY,4,2          ## @ARCHIVE_STATE_ANY
	.comm	_ARCHIVE_STATE_FATAL,4,2        ## @ARCHIVE_STATE_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_write_disk_free"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	__archive_write_disk_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_disk_free
__archive_write_disk_free:              ; @_archive_write_disk_free
	.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_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ARCHIVE_STATE_ANY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_STATE_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	mov	x0, x19
	bl	__archive_write_disk_close
	mov	x20, x0
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_archive_write_disk_set_group_lookup
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_archive_write_disk_set_user_lookup
	ldr	w0, [x19, #72]
	bl	_archive_entry_free
	add	x0, x19, #68
	bl	_archive_string_free
	add	x0, x19, #8
	bl	_archive_string_free
	add	x0, x19, #64
	bl	_archive_string_free
	str	xzr, [x19]
	mov	x0, x19
	bl	___archive_clean
	ldr	x0, [x19, #56]
	bl	_free
	ldr	x0, [x19, #48]
	bl	_free
	ldr	x0, [x19, #40]
	bl	_free
	ldr	x0, [x19, #32]
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x0, x20
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ; @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_ANY,4,2          ; @ARCHIVE_STATE_ANY
	.comm	_ARCHIVE_STATE_FATAL,4,2        ; @ARCHIVE_STATE_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_write_disk_free"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	__archive_write_disk_free
.subsections_via_symbols
