	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_entry
_write_entry:                           ## @write_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_archive_write_header
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_6
## %bb.1:
	movl	(%r15), %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_safe_fprintf
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_list_item_verbose
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_lafe_warnc
	jmp	LBB0_6
LBB0_3:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_archive_entry_pathname
	movslq	%eax, %r13
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	movq	%r13, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_lafe_warnc
	jmp	LBB0_6
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_6:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_11
## %bb.7:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_10
## %bb.8:
	movq	%r12, %rdi
	callq	_archive_entry_size
	testq	%rax, %rax
	jle	LBB0_10
## %bb.9:
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_copy_file_data_block
	testq	%rax, %rax
	jne	LBB0_11
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a "

L_.str.1:                               ## @.str.1
	.asciz	": %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s: %s"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_write_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_entry
_write_entry:                           ; @write_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x2
	bl	_archive_write_header
	mov	x22, x0
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x23, _stderr@GOTPAGE
Lloh4:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_safe_fprintf
	ldr	w1, [x23]
	mov	x0, x21
	mov	x2, x19
	bl	_list_item_verbose
	mov	x0, x20
	bl	_archive_error_string
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_lafe_warnc
	b	LBB0_6
LBB0_3:
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_archive_entry_pathname
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	mov	x0, x20
	bl	_archive_error_string
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #0
	mov	x2, x23
	bl	_lafe_warnc
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_archive_error_string
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_fprintf
LBB0_6:
Lloh16:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_11
; %bb.7:
Lloh19:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w22, w8
	b.lt	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_archive_entry_size
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	w2, [x21, #4]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_copy_file_data_block
	cbnz	x0, LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a "

l_.str.1:                               ; @.str.1
	.asciz	": %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s: %s"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_write_entry
.subsections_via_symbols
