	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function line_completion_function
_line_completion_function:              ## @line_completion_function
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_line_completion_function.list(%rip), %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_8
LBB0_4:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_xfree
LBB0_6:
	movl	$0, _line_completion_function.index(%rip)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_complete_line
	movq	%rax, _line_completion_function.list(%rip)
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:
	movslq	_line_completion_function.index(%rip), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	incl	%ecx
	movl	%ecx, _line_completion_function.index(%rip)
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_line_completion_function.list,8,3 ## @line_completion_function.list
.zerofill __DATA,__bss,_line_completion_function.index,4,2 ## @line_completion_function.index
	.comm	_current_language,8,3           ## @current_language
	.comm	_rl_completer_word_break_characters,4,2 ## @rl_completer_word_break_characters
	.no_dead_strip	_line_completion_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function line_completion_function
_line_completion_function:              ; @line_completion_function
	.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, x0
	adrp	x22, _line_completion_function.list@PAGE
	ldr	x0, [x22, _line_completion_function.list@PAGEOFF]
	cbz	w1, LBB0_2
; %bb.1:
	cbnz	x0, LBB0_5
	b	LBB0_7
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	cbz	x0, LBB0_4
; %bb.3:
	bl	_xfree
LBB0_4:
	adrp	x8, _line_completion_function.index@PAGE
	str	wzr, [x8, _line_completion_function.index@PAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_complete_line
	str	x0, [x22, _line_completion_function.list@PAGEOFF]
	cbz	x0, LBB0_7
LBB0_5:
	adrp	x8, _line_completion_function.index@PAGE
	ldrsw	x9, [x8, _line_completion_function.index@PAGEOFF]
	ldr	x0, [x0, x9, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:
	add	w9, w9, #1
	str	w9, [x8, _line_completion_function.index@PAGEOFF]
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_line_completion_function.list,8,3 ; @line_completion_function.list
.zerofill __DATA,__bss,_line_completion_function.index,4,2 ; @line_completion_function.index
	.comm	_current_language,8,3           ; @current_language
	.comm	_rl_completer_word_break_characters,4,2 ; @rl_completer_word_break_characters
	.no_dead_strip	_line_completion_function
.subsections_via_symbols
