	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CompleteLine
_CompleteLine:                          ## @CompleteLine
	.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	_LastChar@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_Cursor@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_InputBuf@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rax
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rcx
	movq	%rax, %r13
	testb	%r14b, %r14b
	jne	LBB0_25
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%rcx), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_ismetahash
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movsbl	(%rbx), %edi
	callq	_iscmdmeta
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, (%r12)
	movb	(%rbx), %al
	movq	%rbx, %rcx
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r12), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r12)
	movzbl	1(%rcx), %eax
	movq	%rdx, %rcx
	testb	%al, %al
	je	LBB0_14
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$92, -1(%rcx)
	je	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	movsbl	%al, %edi
	callq	_ismetahash
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r12), %rax
	movsbl	(%rax), %edi
	callq	_iscmdmeta
	testq	%rax, %rax
	je	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LastChar@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	leaq	-1(%rax), %rcx
	cmpb	$10, -1(%rax)
	cmovneq	%rax, %rcx
	movq	%rcx, (%r12)
	movb	$1, %r14b
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movsbl	(%rbx), %edi
	callq	_MISMATCH
	testl	%eax, %eax
	jne	LBB0_1
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_InputBuf@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_starting_a_command
	testq	%rax, %rax
	je	LBB0_1
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
	movl	(%r12), %esi
	subl	%edi, %esi
	movq	_RECOGNIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_tenematch
	testl	%eax, %eax
	jle	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LastChar@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	subq	%r13, %rcx
	je	LBB0_1
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %rbx
	movl	$0, %esi
	cmovaeq	%rsi, %rcx
	addq	%rcx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_25:
	movq	_Cursor@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	$1, %eax
	jmp	LBB0_28
LBB0_26:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_27:
	movl	$2, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_InputBuf,8,3                   ## @InputBuf
	.comm	_RECOGNIZE,4,2                  ## @RECOGNIZE
	.no_dead_strip	_CompleteLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CompleteLine
_CompleteLine:                          ; @CompleteLine
	.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
Lloh0:
	adrp	x20, _LastChar@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LastChar@GOTPAGEOFF]
	ldr	x21, [x20]
Lloh2:
	adrp	x22, _Cursor@GOTPAGE
Lloh3:
	ldr	x22, [x22, _Cursor@GOTPAGEOFF]
	ldr	x23, [x22]
Lloh4:
	adrp	x24, _InputBuf@GOTPAGE
Lloh5:
	ldr	x24, [x24, _InputBuf@GOTPAGEOFF]
Lloh6:
	adrp	x25, _RECOGNIZE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _RECOGNIZE@GOTPAGEOFF]
	mov	x8, x24
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x22
	cbnz	w26, LBB0_21
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x19, [x8]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	add	x19, x19, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x19]
	bl	_ismetahash
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldrsb	w0, [x19]
	bl	_iscmdmeta
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x19, [x22]
	ldrb	w8, [x19]
	mov	x9, x19
	cbnz	w8, LBB0_9
	b	LBB0_15
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x9, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x10, x9, #1
	str	x10, [x22]
	ldrb	w8, [x9, #1]
	mov	x9, x10
	cbz	w8, LBB0_13
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x19, x9
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldurb	w10, [x9, #-1]
	cmp	w10, #92
	b.eq	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	sxtb	w0, w8
	bl	_ismetahash
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x22]
	ldrsb	w0, [x8]
	bl	_iscmdmeta
	cbz	x0, LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	ldrb	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	str	x8, [x22]
	mov	x9, x8
	ldrb	w10, [x9, #-1]!
	cmp	w10, #10
	csel	x8, x9, x8, eq
	str	x8, [x22]
	mov	w26, #1
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w0, [x19]
	bl	_MISMATCH
	cbnz	w0, LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x24]
	mov	x0, x19
	bl	_starting_a_command
	cbz	x0, LBB0_1
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x24]
	ldr	w8, [x22]
	sub	w1, w8, w0
	ldr	w2, [x25]
	bl	_tenematch
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	sub	x9, x8, x21
	cmp	x19, x23
	csel	x9, x9, xzr, lo
	add	x9, x23, x9
	cmp	x8, x21
	csel	x23, x23, x9, eq
	csel	x21, x21, x8, eq
	b	LBB0_1
LBB0_21:
	str	x23, [x22]
	mov	w0, #1
	b	LBB0_24
LBB0_22:
	mov	w0, #0
	b	LBB0_24
LBB0_23:
	mov	w0, #2
LBB0_24:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_InputBuf,8,3                   ; @InputBuf
	.comm	_RECOGNIZE,4,2                  ; @RECOGNIZE
	.no_dead_strip	_CompleteLine
.subsections_via_symbols
