	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_entry
_add_entry:                             ## @add_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$20, %edx
	callq	_archive_entry_set_birthtime
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$30, %edx
	callq	_archive_entry_set_atime
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$40, %edx
	callq	_archive_entry_set_ctime
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$50, %edx
	callq	_archive_entry_set_mtime
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_archive_entry_copy_pathname
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_archive_entry_set_symlink
LBB0_2:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	$365, %esi                      ## imm = 0x16D
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_archive_entry_set_mode
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_archive_entry_set_size
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_write_header
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_archive_entry_free             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_add_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_entry
_add_entry:                             ; @add_entry
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_archive_entry_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	mov	w1, #2
	mov	w2, #20
	bl	_archive_entry_set_birthtime
	mov	x0, x19
	mov	w1, #3
	mov	w2, #30
	bl	_archive_entry_set_atime
	mov	x0, x19
	mov	w1, #4
	mov	w2, #40
	bl	_archive_entry_set_ctime
	mov	x0, x19
	mov	w1, #5
	mov	w2, #50
	bl	_archive_entry_set_mtime
	mov	x0, x19
	mov	x1, x22
	bl	_archive_entry_copy_pathname
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_archive_entry_set_symlink
LBB0_2:
Lloh0:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #365
	orr	w1, w8, w9
	mov	x0, x19
	bl	_archive_entry_set_mode
	mov	x0, x19
	mov	w1, #0
	bl	_archive_entry_set_size
Lloh3:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_write_header
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x19
	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
	b	_archive_entry_free
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_add_entry
.subsections_via_symbols
