	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tl_completion
_tl_completion:                         ## @tl_completion
	.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	%esi, %r14d
	cmpl	$5, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$1, %r14d
	je	LBB0_23
## %bb.2:
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.3:
	movq	_client_command_generator@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_4
LBB0_5:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_rl_line_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_6
LBB0_23:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_rl_line_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$40, (%rax)
	jne	LBB0_24
LBB0_6:
	movq	_tl_command_generator@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rl_completion_matches          ## TAILCALL
LBB0_7:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_24
LBB0_8:
	movq	_rl_line_buffer@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	leal	-2(%r14), %r12d
	movl	%r14d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r15), %ebx
	movzbl	(%rcx,%rbx), %eax
	cmpb	$40, %al
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movsbl	%al, %edi
	callq	_isspace
	movq	(%r13), %rcx
	movzbl	(%rcx,%rbx), %edx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$41, %dl
	je	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	decq	%r12
	movl	%ebx, %r15d
	cmpl	$1, %ebx
	ja	LBB0_9
	jmp	LBB0_24
LBB0_13:
	cmpb	$40, %dl
	jne	LBB0_24
LBB0_14:
	cmpb	$58, (%rcx,%r12)
	jne	LBB0_24
## %bb.15:
	leal	-3(%r15), %r12d
	cmpl	$4, %r15d
	jb	LBB0_20
## %bb.16:
	movl	%r12d, %r12d
	movsbl	(%rcx,%r12), %edi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$2, %r12
	jl	LBB0_19
## %bb.29:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r13), %rax
	movsbl	-1(%rax,%r12), %edi
	decq	%r12
	jmp	LBB0_17
LBB0_19:
	xorl	%r12d, %r12d
LBB0_20:
	movl	%r12d, %edi
	callq	_find_expression
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:
	movq	%rax, %rbx
	addl	$-2, %r15d
	movq	(%r13), %rdi
	incl	%r12d
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_cstr_substr
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_tl_expression_get_argument_type
	movq	_expected_type@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	leaq	-56(%rbp), %rdi
	callq	_cstr_free
	cmpq	$0, (%rbx)
	je	LBB0_24
## %bb.22:
	movq	_tl_type_generator@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_24:
	movl	%r14d, %edi
	callq	_find_expression
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	_expected_expr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_tl_arg_generator@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rl_completion_matches
	jmp	LBB0_28
LBB0_25:
	xorl	%eax, %eax
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_client_command_generator,4,2   ## @client_command_generator
	.comm	_rl_line_buffer,8,3             ## @rl_line_buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"help "

	.comm	_tl_command_generator,4,2       ## @tl_command_generator
	.comm	_expected_type,8,3              ## @expected_type
	.comm	_tl_type_generator,4,2          ## @tl_type_generator
	.comm	_expected_expr,8,3              ## @expected_expr
	.comm	_tl_arg_generator,4,2           ## @tl_arg_generator
	.no_dead_strip	_tl_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tl_completion
_tl_completion:                         ; @tl_completion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #5
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w20, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _client_command_generator@GOTPAGE
Lloh1:
	ldr	x8, [x8, _client_command_generator@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _rl_line_buffer@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rl_line_buffer@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_memcmp
	cbnz	w0, LBB0_9
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _rl_line_buffer@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rl_line_buffer@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cmp	w8, #40
	b.ne	LBB0_22
LBB0_6:
Lloh10:
	adrp	x8, _tl_command_generator@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tl_command_generator@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_rl_completion_matches
LBB0_8:
	cmp	w20, #2
	b.lt	LBB0_22
LBB0_9:
Lloh12:
	adrp	x23, _rl_line_buffer@GOTPAGE
Lloh13:
	ldr	x23, [x23, _rl_line_buffer@GOTPAGEOFF]
	ldr	x8, [x23]
	sub	w21, w20, #2
	mov	x24, x20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w22, w24, #1
	ldrb	w9, [x8, x22]
	cmp	w9, #40
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sxtb	w0, w9
	bl	_isspace
	ldr	x8, [x23]
	ldrb	w9, [x8, x22]
	cbnz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x21, x21, #1
	cmp	w9, #41
	ccmp	w22, #1, #0, ne
	mov	x24, x22
	b.hi	LBB0_10
	b	LBB0_22
LBB0_13:
	cmp	w9, #40
	b.ne	LBB0_22
LBB0_14:
	ldrb	w9, [x8, x21]
	cmp	w9, #58
	b.ne	LBB0_22
; %bb.15:
	sub	w21, w24, #3
	cmp	w24, #4
	b.lo	LBB0_19
; %bb.16:
	ldrsb	w0, [x8, x21]
	bl	_isspace
	cbz	w0, LBB0_27
; %bb.17:
	mov	x22, x21
LBB0_18:
	mov	x21, x22
LBB0_19:
	mov	x0, x21
	bl	_find_expression
	cbz	x0, LBB0_22
; %bb.20:
	mov	x22, x0
	sub	w2, w24, #2
	ldr	x0, [x23]
	add	w1, w21, #1
	bl	_cstr_substr
	mov	x1, x0
	str	x0, [sp, #8]
	mov	x0, x22
	bl	_tl_expression_get_argument_type
Lloh14:
	adrp	x21, _expected_type@GOTPAGE
Lloh15:
	ldr	x21, [x21, _expected_type@GOTPAGEOFF]
	str	x0, [x21]
	add	x0, sp, #8
	bl	_cstr_free
	ldr	x8, [x21]
	cbz	x8, LBB0_22
; %bb.21:
Lloh16:
	adrp	x8, _tl_type_generator@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tl_type_generator@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
	mov	x0, x20
	bl	_find_expression
	cbz	x0, LBB0_25
; %bb.23:
Lloh18:
	adrp	x8, _expected_expr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _expected_expr@GOTPAGEOFF]
Lloh20:
	str	x0, [x8]
Lloh21:
	adrp	x8, _tl_arg_generator@GOTPAGE
Lloh22:
	ldr	x8, [x8, _tl_arg_generator@GOTPAGEOFF]
LBB0_24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rl_completion_matches
LBB0_25:
	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
	add	sp, sp, #80
	ret
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	sub	x22, x21, #1
	ldr	x8, [x23]
	add	x8, x8, x21
	ldursb	w0, [x8, #-1]
	bl	_isspace
	mov	x21, x22
	cbnz	w0, LBB0_18
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, #2
	b.ge	LBB0_26
; %bb.28:
	mov	w21, #0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_client_command_generator,4,2   ; @client_command_generator
	.comm	_rl_line_buffer,8,3             ; @rl_line_buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"help "

	.comm	_tl_command_generator,4,2       ; @tl_command_generator
	.comm	_expected_type,8,3              ; @expected_type
	.comm	_tl_type_generator,4,2          ; @tl_type_generator
	.comm	_expected_expr,8,3              ; @expected_expr
	.comm	_tl_arg_generator,4,2           ; @tl_arg_generator
	.no_dead_strip	_tl_completion
.subsections_via_symbols
