	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_el_end                         ## -- Begin function el_end
	.p2align	4, 0x90
_el_end:                                ## @el_end
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_el_reset
	movq	%rbx, %rdi
	callq	_terminal_end
	movq	%rbx, %rdi
	callq	_keymacro_end
	movq	%rbx, %rdi
	callq	_map_end
	movq	_NO_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	_TCSAFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tty_end
LBB0_3:
	movq	%rbx, %rdi
	callq	_ch_end
	movl	64(%rbx), %edi
	callq	_read_end
	movq	%rbx, %rdi
	callq	_search_end
	movq	%rbx, %rdi
	callq	_hist_end
	movq	%rbx, %rdi
	callq	_prompt_end
	movq	%rbx, %rdi
	callq	_sig_end
	movq	%rbx, %rdi
	callq	_literal_end
	movq	56(%rbx), %rdi
	callq	_el_free
	movq	48(%rbx), %rdi
	callq	_el_free
	movq	40(%rbx), %rdi
	callq	_el_free
	movq	32(%rbx), %rdi
	callq	_el_free
	movq	24(%rbx), %rdi
	callq	_el_free
	movq	16(%rbx), %rdi
	callq	_el_free
	movq	8(%rbx), %rdi
	callq	_el_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_el_free                        ## TAILCALL
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_TTY,4,2                     ## @NO_TTY
	.comm	_TCSAFLUSH,4,2                  ## @TCSAFLUSH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_el_end                         ; -- Begin function el_end
	.p2align	2
_el_end:                                ; @el_end
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_el_reset
	mov	x0, x19
	bl	_terminal_end
	mov	x0, x19
	bl	_keymacro_end
	mov	x0, x19
	bl	_map_end
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _NO_TTY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NO_TTY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _TCSAFLUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCSAFLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tty_end
LBB0_3:
	mov	x0, x19
	bl	_ch_end
	ldr	w0, [x19, #64]
	bl	_read_end
	mov	x0, x19
	bl	_search_end
	mov	x0, x19
	bl	_hist_end
	mov	x0, x19
	bl	_prompt_end
	mov	x0, x19
	bl	_sig_end
	mov	x0, x19
	bl	_literal_end
	ldr	x0, [x19, #56]
	bl	_el_free
	ldr	x0, [x19, #48]
	bl	_el_free
	ldr	x0, [x19, #40]
	bl	_el_free
	ldr	x0, [x19, #32]
	bl	_el_free
	ldr	x0, [x19, #24]
	bl	_el_free
	ldr	x0, [x19, #16]
	bl	_el_free
	ldr	x0, [x19, #8]
	bl	_el_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_el_free
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_TTY,4,2                     ; @NO_TTY
	.comm	_TCSAFLUSH,4,2                  ; @TCSAFLUSH
.subsections_via_symbols
