	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_complete_on_cmdlist            ## -- Begin function complete_on_cmdlist
	.p2align	4, 0x90
_complete_on_cmdlist:                   ## @complete_on_cmdlist
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movl	$80, %edi
	callq	_xmalloc
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.1:
	movq	%r12, %rax
	subq	%r14, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	subq	%r12, %r14
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	$10, -48(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_strcpy
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	incl	%r14d
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 24(%rbx)
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_16
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r14d, %esi
	shll	$4, %esi
	movq	%r15, %rdi
	callq	_xrealloc
	movq	%rax, %r13
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %edi
	incl	%edi
	callq	_xmalloc
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %r14
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r13,%r14,8)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	cmpq	%r12, %r15
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	jbe	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	addq	-80(%rbp), %rsi                 ## 8-byte Folded Reload
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_strncpy
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15,%r14,8), %rax
	movb	$0, (%rax,%r13)
	movq	(%r15,%r14,8), %rdi
	movq	(%rbx), %rsi
	callq	_strcat
	jmp	LBB0_15
LBB0_17:
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.19:
	leal	8(,%r14,8), %esi
	movq	%r15, %rdi
	callq	_xrealloc
	movslq	%r14d, %rcx
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_20
LBB0_18:
	movq	%r15, %rdi
	callq	_xfree
	xorl	%eax, %eax
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_complete_on_cmdlist            ; -- Begin function complete_on_cmdlist
	.p2align	2
_complete_on_cmdlist:                   ; @complete_on_cmdlist
	.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, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_strlen
	mov	x23, x0
	mov	w0, #80
	bl	_xmalloc
	mov	x21, x0
	cbz	x22, LBB0_18
; %bb.1:
	mov	w26, #0
	sub	x24, x20, x19
	sub	x27, x19, x20
	mov	w28, #10
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_strcpy
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [x22, #32]
	cbz	x22, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	mov	x1, x20
	mov	x2, x23
	bl	_strncmp
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, #24]
	cbnz	w8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, w28
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w28, w26, #1
	lsl	w1, w26, #4
	mov	x0, x21
	bl	_xrealloc
	mov	x21, x0
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x25, x0
	ldr	x0, [x22]
	bl	_strlen
	add	w8, w25, w0
	add	w0, w8, #1
	bl	_xmalloc
	str	x0, [x21, w26, sxtw #3]
	cmp	x19, x20
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	b.ls	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	add	x1, x8, x27
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x25, w26
	mov	x1, x19
	mov	x2, x24
	bl	_strncpy
	lsl	x8, x25, #3
	ldr	x9, [x21, x8]
	strb	wzr, [x9, x24]
	ldr	x1, [x22]
	ldr	x0, [x21, x8]
	bl	_strcat
	b	LBB0_4
LBB0_16:
	cbz	w26, LBB0_18
; %bb.17:
	lsl	w8, w26, #3
	add	w1, w8, #8
	mov	x0, x21
	bl	_xrealloc
	str	xzr, [x0, w26, sxtw #3]
	b	LBB0_19
LBB0_18:
	mov	x0, x21
	bl	_xfree
	mov	x0, #0
LBB0_19:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
