	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function complete_option
_complete_option:                       ## @complete_option
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_ftp_sl_init
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r13
	movq	_optiontab@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	addq	$8, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rbx
	addq	$8, %r14
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cmpq	%rax, %r13
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r14), %rdi
	callq	_ftp_strdup
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ftp_sl_add
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	callq	_complete_ambiguous
	movl	%eax, %ebx
	movq	_CC_REFRESH@GOTPCREL(%rip), %rax
	cmpb	(%rax), %bl
	jne	LBB0_8
## %bb.7:
	movq	_el@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_el_insertstr
	cmpl	$-1, %eax
	movq	_CC_ERROR@GOTPCREL(%rip), %rax
	movzbl	%bl, %ecx
	movzbl	(%rax), %ebx
	cmovnel	%ecx, %ebx
LBB0_8:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_sl_free
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_optiontab,8,3                  ## @optiontab
	.comm	_CC_REFRESH,1,0                 ## @CC_REFRESH
	.comm	_el,4,2                         ## @el
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_CC_ERROR,1,0                   ## @CC_ERROR
	.no_dead_strip	_complete_option
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function complete_option
_complete_option:                       ; @complete_option
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	bl	_ftp_sl_init
	mov	x19, x0
	mov	x0, x21
	bl	_strlen
Lloh0:
	adrp	x8, _optiontab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _optiontab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x23, [x8]
	cbz	x23, LBB0_6
; %bb.1:
	mov	x22, x0
	add	x24, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x24], #8
	cbz	x23, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_strlen
	cmp	x22, x0
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_strncmp
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x0, [x24, #-8]
	bl	_ftp_strdup
	mov	x1, x0
	mov	x0, x19
	bl	_ftp_sl_add
	b	LBB0_2
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_complete_ambiguous
	mov	x20, x0
Lloh3:
	adrp	x8, _CC_REFRESH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CC_REFRESH@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _el@GOTPAGE
Lloh6:
	ldr	x8, [x8, _el@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_el_insertstr
Lloh10:
	adrp	x8, _CC_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CC_ERROR@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmn	w0, #1
	csel	w20, w8, w20, eq
LBB0_8:
	mov	x0, x19
	mov	w1, #1
	bl	_sl_free
	and	w0, w20, #0xff
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_optiontab,8,3                  ; @optiontab
	.comm	_CC_REFRESH,1,0                 ; @CC_REFRESH
	.comm	_el,4,2                         ; @el
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_CC_ERROR,1,0                   ; @CC_ERROR
	.no_dead_strip	_complete_option
.subsections_via_symbols
