	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function completion_list_add_name
_completion_list_add_name:              ## @completion_list_add_name
	.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	%r8, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	%r15, %rdi
	cmpq	%rbx, %r12
	je	LBB0_2
## %bb.3:
	callq	_strlen
	movq	%r12, %r13
	subq	%rbx, %r13
	jbe	LBB0_6
## %bb.4:
	addq	$5, %rax
	movq	%rax, %rdi
	callq	_xmalloc
	movq	%rax, %r14
	addq	%r13, %r15
	jmp	LBB0_5
LBB0_2:
	callq	_strlen
	leaq	5(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r14
LBB0_5:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	jmp	LBB0_7
LBB0_6:
	subq	%r12, %rbx
	leaq	(%rbx,%rax), %rdi
	addq	$5, %rdi
	callq	_xmalloc
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movb	$0, (%r14,%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strcat
LBB0_7:
	movq	_return_val_index@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leal	3(%rcx), %edx
	movq	_return_val_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %edx
	jle	LBB0_8
## %bb.9:
	leal	(%rsi,%rsi), %ecx
	movl	%ecx, (%rax)
	shll	$4, %esi
	movq	_return_val@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xrealloc
	movq	%rax, (%r15)
	movl	(%rbx), %ecx
	jmp	LBB0_10
LBB0_8:
	movq	_return_val@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movslq	%ecx, %rcx
	movq	%r14, (%rax,%rcx,8)
	movq	_return_val@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 8(%rax,%rcx,8)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_return_val_index,4,2           ## @return_val_index
	.comm	_return_val_size,4,2            ## @return_val_size
	.comm	_return_val,8,3                 ## @return_val
	.no_dead_strip	_completion_list_add_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function completion_list_add_name
_completion_list_add_name:              ; @completion_list_add_name
	.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, x4
	mov	x19, x1
	mov	x20, x0
	bl	_strncmp
	cbnz	x0, LBB0_10
; %bb.1:
	mov	x0, x20
	cmp	x21, x19
	b.eq	LBB0_4
; %bb.2:
	bl	_strlen
	subs	x22, x21, x19
	b.ls	LBB0_5
; %bb.3:
	add	x0, x0, #5
	bl	_xmalloc
	mov	x19, x0
	add	x1, x20, x22
	bl	_strcpy
	b	LBB0_6
LBB0_4:
	bl	_strlen
	add	x0, x0, #5
	bl	_xmalloc
	mov	x19, x0
	mov	x1, x20
	bl	_strcpy
	b	LBB0_6
LBB0_5:
	sub	x22, x19, x21
	add	x8, x22, x0
	add	x0, x8, #5
	bl	_xmalloc
	mov	x19, x0
	mov	x1, x21
	mov	x2, x22
	bl	_strncpy
	strb	wzr, [x19, x22]
	mov	x0, x19
	mov	x1, x20
	bl	_strcat
LBB0_6:
Lloh0:
	adrp	x20, _return_val_index@GOTPAGE
Lloh1:
	ldr	x20, [x20, _return_val_index@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w11, w8, #3
Lloh2:
	adrp	x9, _return_val_size@GOTPAGE
Lloh3:
	ldr	x9, [x9, _return_val_size@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh4:
	adrp	x21, _return_val@GOTPAGE
Lloh5:
	ldr	x21, [x21, _return_val@GOTPAGEOFF]
	cmp	w11, w10
	b.le	LBB0_8
; %bb.7:
	lsl	w8, w10, #1
	str	w8, [x9]
	lsl	w1, w10, #4
	ldr	x0, [x21]
	bl	_xrealloc
	str	x0, [x21]
	ldr	w8, [x20]
	b	LBB0_9
LBB0_8:
	ldr	x0, [x21]
LBB0_9:
	sxtw	x9, w8
	add	x9, x9, #1
	str	w9, [x20]
	str	x19, [x0, w8, sxtw #3]
	ldr	x8, [x21]
	str	xzr, [x8, x9, lsl #3]
LBB0_10:
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_return_val_index,4,2           ; @return_val_index
	.comm	_return_val_size,4,2            ; @return_val_size
	.comm	_return_val,8,3                 ; @return_val
	.no_dead_strip	_completion_list_add_name
.subsections_via_symbols
