	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_controlediting                 ## -- Begin function controlediting
	.p2align	4, 0x90
_controlediting:                        ## @controlediting
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_editing@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_el@GOTPCREL(%rip), %r14
	movq	_hist@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.2:
	cmpq	$0, (%r15)
	jne	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	callq	_getprogname
	movq	_stdin@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ttyout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	callq	_el_init
	movq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_history_init
	movq	%rax, (%r15)
	movq	_H_SETSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	movl	$100, %ecx
	callq	_history
	movq	_history@GOTPCREL(%rip), %rdx
	movq	(%r14), %rdi
	movq	_EL_HIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rcx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	movq	_EL_EDITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	movq	_EL_PROMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_prompt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	movq	_EL_RPROMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_rprompt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	movq	_EL_ADDFN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rbx
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	movq	_EL_BIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r14), %rdi
	xorl	%esi, %esi
	callq	_el_source
	movq	(%r14), %rdi
	movq	_EL_EDITMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_el_get
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$0, -36(%rbp)
	jne	LBB0_6
## %bb.5:
	movq	$0, (%r12)
	xorl	%eax, %eax
LBB0_7:
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_8
LBB0_6:
	movq	(%r14), %rdi
	movq	_EL_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_el_set
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_12
LBB0_8:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_history_end
	movq	$0, (%r15)
LBB0_10:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_el_end
	movq	$0, (%r14)
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_editing,8,3                    ## @editing
	.comm	_el,8,3                         ## @el
	.comm	_hist,8,3                       ## @hist
	.comm	_stdin,4,2                      ## @stdin
	.comm	_ttyout,4,2                     ## @ttyout
	.comm	_stderr,4,2                     ## @stderr
	.comm	_H_SETSIZE,4,2                  ## @H_SETSIZE
	.comm	_EL_HIST,4,2                    ## @EL_HIST
	.comm	_EL_EDITOR,4,2                  ## @EL_EDITOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"emacs"

	.comm	_EL_PROMPT,4,2                  ## @EL_PROMPT
	.comm	_prompt,4,2                     ## @prompt
	.comm	_EL_RPROMPT,4,2                 ## @EL_RPROMPT
	.comm	_rprompt,4,2                    ## @rprompt
	.comm	_EL_ADDFN,4,2                   ## @EL_ADDFN
L_.str.1:                               ## @.str.1
	.asciz	"ftp-complete"

L_.str.2:                               ## @.str.2
	.asciz	"Context sensitive argument completion"

	.comm	_complete,4,2                   ## @complete
	.comm	_EL_BIND,4,2                    ## @EL_BIND
L_.str.3:                               ## @.str.3
	.asciz	"^I"

	.comm	_EL_EDITMODE,4,2                ## @EL_EDITMODE
	.comm	_EL_SIGNAL,4,2                  ## @EL_SIGNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_controlediting                 ; -- Begin function controlediting
	.p2align	2
_controlediting:                        ; @controlediting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x21, _editing@GOTPAGE
Lloh1:
	ldr	x21, [x21, _editing@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x19, _el@GOTPAGE
Lloh3:
	ldr	x19, [x19, _el@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh4:
	adrp	x20, _hist@GOTPAGE
Lloh5:
	ldr	x20, [x20, _hist@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_4
; %bb.1:
	bl	_getprogname
Lloh6:
	adrp	x8, _stdin@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ttyout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	bl	_el_init
	str	x0, [x19]
	bl	_history_init
	str	x0, [x20]
Lloh15:
	adrp	x8, _H_SETSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _H_SETSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x1, sp, #28
	mov	w3, #100
	bl	_history
Lloh18:
	adrp	x8, _history@GOTPAGE
Lloh19:
	ldr	x8, [x8, _history@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh20:
	adrp	x9, _EL_HIST@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EL_HIST@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x9]
	ldr	x9, [x20]
	stp	x8, x9, [sp]
	bl	_el_set
	ldr	x0, [x19]
Lloh23:
	adrp	x8, _EL_EDITOR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EL_EDITOR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, l_.str@PAGE
Lloh27:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
	bl	_el_set
	ldr	x0, [x19]
Lloh28:
	adrp	x8, _EL_PROMPT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EL_PROMPT@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _prompt@GOTPAGE
Lloh32:
	ldr	x8, [x8, _prompt@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	x8, [sp]
	bl	_el_set
	ldr	x0, [x19]
Lloh34:
	adrp	x8, _EL_RPROMPT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EL_RPROMPT@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _rprompt@GOTPAGE
Lloh38:
	ldr	x8, [x8, _rprompt@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	x8, [sp]
	bl	_el_set
	ldr	x0, [x19]
Lloh40:
	adrp	x8, _EL_ADDFN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EL_ADDFN@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x8, _complete@GOTPAGE
Lloh44:
	ldr	x8, [x8, _complete@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x8]
Lloh46:
	adrp	x8, l_.str.2@PAGE
Lloh47:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh48:
	adrp	x22, l_.str.1@PAGE
Lloh49:
	add	x22, x22, l_.str.1@PAGEOFF
	stp	x8, x10, [sp, #8]
	str	x22, [sp]
	bl	_el_set
	ldr	x0, [x19]
Lloh50:
	adrp	x8, _EL_BIND@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EL_BIND@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	stp	x22, xzr, [sp, #8]
Lloh53:
	adrp	x8, l_.str.3@PAGE
Lloh54:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
	bl	_el_set
	ldr	x0, [x19]
	mov	x1, #0
	bl	_el_source
	ldr	x0, [x19]
Lloh55:
	adrp	x8, _EL_EDITMODE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EL_EDITMODE@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_el_get
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_5
; %bb.3:
	mov	x8, #0
	str	xzr, [x21]
LBB0_4:
	cbnz	x8, LBB0_10
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19]
Lloh58:
	adrp	x8, _EL_SIGNAL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EL_SIGNAL@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	w8, #1
	str	x8, [sp]
	bl	_el_set
	ldr	x8, [x21]
	cbnz	x8, LBB0_10
LBB0_6:
	ldr	x0, [x20]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_history_end
	str	xzr, [x20]
LBB0_8:
	ldr	x0, [x19]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_el_end
	str	xzr, [x19]
LBB0_10:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_editing,8,3                    ; @editing
	.comm	_el,8,3                         ; @el
	.comm	_hist,8,3                       ; @hist
	.comm	_stdin,4,2                      ; @stdin
	.comm	_ttyout,4,2                     ; @ttyout
	.comm	_stderr,4,2                     ; @stderr
	.comm	_H_SETSIZE,4,2                  ; @H_SETSIZE
	.comm	_EL_HIST,4,2                    ; @EL_HIST
	.comm	_EL_EDITOR,4,2                  ; @EL_EDITOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"emacs"

	.comm	_EL_PROMPT,4,2                  ; @EL_PROMPT
	.comm	_prompt,4,2                     ; @prompt
	.comm	_EL_RPROMPT,4,2                 ; @EL_RPROMPT
	.comm	_rprompt,4,2                    ; @rprompt
	.comm	_EL_ADDFN,4,2                   ; @EL_ADDFN
l_.str.1:                               ; @.str.1
	.asciz	"ftp-complete"

l_.str.2:                               ; @.str.2
	.asciz	"Context sensitive argument completion"

	.comm	_complete,4,2                   ; @complete
	.comm	_EL_BIND,4,2                    ; @EL_BIND
l_.str.3:                               ; @.str.3
	.asciz	"^I"

	.comm	_EL_EDITMODE,4,2                ; @EL_EDITMODE
	.comm	_EL_SIGNAL,4,2                  ; @EL_SIGNAL
.subsections_via_symbols
