	.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	%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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$28, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_archive_entry_pathname
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	leaq	4(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_archive_mstring_copy_mbs
	leaq	8(%r14), %rcx
	movq	_rb_ops_mbs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movl	%r15d, (%rbx)
	movq	%rcx, %r15
	movq	%r12, %rdi
	callq	_archive_entry_mtime
	movl	%eax, 20(%rbx)
	movq	%r12, %rdi
	callq	_archive_entry_mtime_nsec
	movl	%eax, 16(%rbx)
	movq	%r12, %rdi
	callq	_archive_entry_ctime
	movl	%eax, 12(%rbx)
	movq	%r12, %rdi
	callq	_archive_entry_ctime_nsec
	movl	%eax, 8(%rbx)
	movq	%rbx, %rsi
	addq	$24, %rsi
	movq	%r15, %rdi
	callq	___archive_rb_tree_insert_node
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	leaq	4(%r14), %rdi
	movq	%rbx, %rsi
	callq	_entry_list_add
	movq	_TIME_IS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_8
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_nomem                    ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_free
	addq	$16, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	___archive_rb_tree_find_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	movups	8(%rbx), %xmm0
	movups	%xmm0, 8(%rax)
LBB0_6:
	movq	%r14, %rdi
	callq	_archive_mstring_clean
	movq	%rbx, %rdi
	callq	_free
LBB0_8:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rb_ops_wcs,4,2                 ## @rb_ops_wcs
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pathname is NULL"

	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_rb_ops_mbs,4,2                 ## @rb_ops_mbs
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_TIME_IS_SET,4,2                ## @TIME_IS_SET
	.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x25, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #28
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x22
	bl	_archive_entry_pathname
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
	add	x21, x19, #4
	mov	x0, x21
	mov	x1, x23
	bl	_archive_mstring_copy_mbs
Lloh0:
	adrp	x8, _rb_ops_mbs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rb_ops_mbs@GOTPAGEOFF]
	mov	x24, x20
	str	x8, [x24, #8]!
	str	w25, [x19]
	mov	x0, x22
	bl	_archive_entry_mtime
	str	w0, [x19, #20]
	mov	x0, x22
	bl	_archive_entry_mtime_nsec
	str	w0, [x19, #16]
	mov	x0, x22
	bl	_archive_entry_ctime
	str	w0, [x19, #12]
	mov	x0, x22
	bl	_archive_entry_ctime_nsec
	str	w0, [x19, #8]
	add	x1, x19, #24
	mov	x0, x24
	bl	___archive_rb_tree_insert_node
	cbz	w0, LBB0_6
; %bb.3:
	add	x0, x20, #4
	mov	x1, x19
	bl	_entry_list_add
Lloh2:
	adrp	x8, _TIME_IS_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIME_IS_SET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_9
LBB0_4:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_error_nomem
LBB0_5:
	mov	x0, x19
	bl	_free
	add	x0, x20, #16
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
Lloh10:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	x0, x24
	mov	x1, x23
	bl	___archive_rb_tree_find_node
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	str	w8, [x0]
	ldur	q0, [x19, #8]
	stur	q0, [x0, #8]
LBB0_8:
	mov	x0, x21
	bl	_archive_mstring_clean
	mov	x0, x19
	bl	_free
LBB0_9:
Lloh12:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rb_ops_wcs,4,2                 ; @rb_ops_wcs
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pathname is NULL"

	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_rb_ops_mbs,4,2                 ; @rb_ops_mbs
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_TIME_IS_SET,4,2                ; @TIME_IS_SET
	.no_dead_strip	_add_entry
.subsections_via_symbols
