	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function path_appendnew
_path_appendnew:                        ## @path_appendnew
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	(%rdx), %edi
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %esi
	callq	_st_add
	movl	%r15d, %edi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_combine_diff_path_size
	movq	%rax, %r14
	movq	24(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	cmpq	24(%rbx), %r14
	jbe	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_FREE_AND_NULL
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%r14, 24(%rax)
LBB0_4:
	movq	%rbx, 24(%r13)
	movslq	%r15d, %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	movq	%rdi, (%rbx)
	movq	8(%r12), %rsi
	movl	(%r12), %edx
	callq	_memcpy
	movslq	(%r12), %rdi
	addq	(%rbx), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	$0, (%rax,%rcx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	leaq	12(%rbx), %rdi
	movq	16(%rbp), %rsi
	testq	%rsi, %rsi
	jne	LBB0_6
## %bb.5:
	movq	_null_oid@GOTPCREL(%rip), %rsi
LBB0_6:
	callq	_oidcpy
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_null_oid,4,2                   ## @null_oid
	.no_dead_strip	_path_appendnew
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function path_appendnew
_path_appendnew:                        ; @path_appendnew
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x26, x1
	mov	x27, x0
	ldr	w0, [x2]
	mov	x1, x4
	bl	_st_add
	mov	x23, x0
	mov	x0, x26
	mov	x1, x23
	bl	_combine_diff_path_size
	mov	x28, x0
	ldr	x25, [x27, #24]
	cbz	x25, LBB0_3
; %bb.1:
	ldr	x8, [x25, #24]
	cmp	x28, x8
	b.ls	LBB0_4
; %bb.2:
	mov	x0, x25
	bl	_FREE_AND_NULL
	b	LBB0_4
LBB0_3:
	mov	x0, x28
	bl	_xmalloc
	mov	x25, x0
	str	x28, [x0, #24]
LBB0_4:
	str	x25, [x27, #24]
	ldr	x8, [x25, #16]
	add	x0, x8, w26, sxtw #2
	str	x0, [x25]
	ldr	x1, [x24, #8]
	ldr	w2, [x24]
	bl	_memcpy
	ldr	x8, [x25]
	ldrsw	x9, [x24]
	add	x0, x8, x9
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x25]
	strb	wzr, [x8, x23]
	str	w20, [x25, #8]
	add	x0, x25, #12
Lloh0:
	adrp	x8, _null_oid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _null_oid@GOTPAGEOFF]
	cmp	x19, #0
	csel	x1, x8, x19, eq
	bl	_oidcpy
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_null_oid,4,2                   ; @null_oid
	.no_dead_strip	_path_appendnew
.subsections_via_symbols
