	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refspec_append                 ## -- Begin function refspec_append
	.p2align	4, 0x90
_refspec_append:                        ## @refspec_append
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	44(%rdi), %edx
	leaq	-40(%rbp), %rdi
	callq	_refspec_item_init_or_die
	movq	24(%rbx), %rsi
	movq	32(%rbx), %rdi
	incq	%rsi
	movl	40(%rbx), %edx
	callq	_ALLOC_GROW
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, 24(%rbx)
	movl	-40(%rbp), %edx
	movl	%edx, (%rcx,%rax,4)
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	incq	%rsi
	movl	16(%rbx), %edx
	callq	_ALLOC_GROW
	movq	(%rbx), %r15
	movq	8(%rbx), %r12
	leaq	1(%r15), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_xstrdup
	movl	%eax, (%r12,%r15,4)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refspec_append                 ; -- Begin function refspec_append
	.p2align	2
_refspec_append:                        ; @refspec_append
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	w2, [x0, #44]
	add	x0, sp, #8
	bl	_refspec_item_init_or_die
	ldp	x8, x0, [x20, #24]
	add	x1, x8, #1
	ldr	w2, [x20, #40]
	bl	_ALLOC_GROW
	ldp	x9, x8, [x20, #24]
	add	x10, x9, #1
	str	x10, [x20, #24]
	ldr	w10, [sp, #8]
	str	w10, [x8, x9, lsl #2]
	ldp	x8, x0, [x20]
	add	x1, x8, #1
	ldr	w2, [x20, #16]
	bl	_ALLOC_GROW
	ldp	x22, x21, [x20]
	add	x8, x22, #1
	str	x8, [x20]
	mov	x0, x19
	bl	_xstrdup
	str	w0, [x21, x22, lsl #2]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
