	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search
_search:                                ## @search
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %ebx
	movq	_Strbuf_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_Stype@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_Sgoal@GOTPCREL(%rip), %rax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, (%rax)
	movq	_TC_GOTO@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_TCSH_F_SEEK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_bseek
LBB0_2:
	movq	_Strbuf_cleanup@GOTPCREL(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_cleanup_push
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_intty@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	callq	_getword
	testl	%r13d, %r13d
	js	LBB0_64
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, %r12
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	_STRNULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	%r12, (%r14)
	movq	%r14, 8(%r12)
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_fseekp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_feobp@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_aret@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TCSH_F_SEEK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	movq	_TC_BREAK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_zlast@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_isrchx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_printprompt
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, %r13
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_getword
	movq	%r15, %rdi
	movq	%r13, %r15
	callq	_Strbuf_terminate
	cmpq	$0, (%r13)
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	callq	_Strlen
	testq	%rax, %rax
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	callq	_Strsave
	movq	%rax, 16(%r12)
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, (%r12)
	movq	%r12, 8(%rax)
	movq	%rax, %r12
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	callq	_srchx
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	_TC_BREAK@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%al
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=2
	cmpq	$0, (%r15)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	-64(%rbp), %rdi
	callq	_Strsave
	movq	%rax, 16(%r12)
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, (%r12)
	movq	%r12, 8(%rax)
	movq	%rax, %r12
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-64(%rbp), %rdi
	callq	_getword
	testl	%eax, %eax
	jne	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$136, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$131, %ebx
	jne	LBB0_61
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	movq	_STRthen@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_eq
	cmpl	$1, %eax
	sbbl	$-1, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_TC_GOTO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_48
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_51
	jmp	LBB0_61
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %ebx
	sete	%al
	movq	_TC_BRKSW@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	addl	%eax, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_TC_GOTO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_58
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_getword
	testl	%eax, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_61
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_eq
	negl	%eax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	%eax, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %ebx
	sete	%al
	movq	_TC_BRKSW@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	subl	%eax, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$136, %ebx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$131, %ebx
	jne	LBB0_58
LBB0_33:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	decl	%r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_TC_BRKSW@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_whyles@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdi), %rax
	movq	_whyles@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	callq	_wpfree
LBB0_38:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	_TC_BREAK@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%al
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	subl	%eax, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_39:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$131, %ebx
	jne	LBB0_58
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jne	LBB0_61
	jmp	LBB0_64
LBB0_41:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %eax
	xorl	$129, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	orl	%r13d, %eax
	movl	$-1, %eax
	cmovel	%eax, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_42:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %ebx
	jne	LBB0_60
## %bb.43:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jne	LBB0_63
## %bb.44:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_getword
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_47
## %bb.45:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx
	cmpb	$58, -1(%rcx,%rax)
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_4 Depth=1
	decq	%rax
	movq	%rax, -56(%rbp)
	movb	$0, (%rcx,%rax)
LBB0_47:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	callq	_Dfix1
	movl	%eax, %edi
	callq	_strip
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	_xfree@GOTPCREL(%rip), %rsi
	callq	_cleanup_push
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_Gmatch
	negl	%eax
	movl	$0, %eax
	sbbl	%eax, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_cleanup_until
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movq	%r13, %r15
LBB0_58:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_48:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_61
## %bb.49:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_61
## %bb.50:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_61
LBB0_51:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx
	cmpb	$58, -1(%rcx,%rax)
	jne	LBB0_61
## %bb.52:                              ##   in Loop: Header=BB0_4 Depth=1
	decq	%rax
	movq	%rax, -56(%rbp)
	movb	$0, (%rcx,%rax)
	movq	_TC_GOTO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_eq
	testl	%eax, %eax
	jne	LBB0_56
LBB0_54:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %ebx
	jne	LBB0_61
## %bb.55:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	movq	_STRdefault@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_eq
	testl	%eax, %eax
	je	LBB0_61
LBB0_56:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_60:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r15)
	je	LBB0_3
LBB0_62:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_histgetword
	movq	%rax, 8(%r14)
	movq	%r14, (%rax)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_savehist
	movq	%r14, %rdi
	callq	_freelex
	movq	%r14, %rdi
	callq	_xfree
	testl	%r13d, %r13d
	jns	LBB0_4
	jmp	LBB0_64
LBB0_63:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r13d
	cmpq	$0, (%r15)
	jne	LBB0_62
	jmp	LBB0_3
LBB0_64:
	leaq	-64(%rbp), %rdi
	callq	_cleanup_until
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_25
	.long	L0_0_set_27
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_30
	.long	L0_0_set_31
	.long	L0_0_set_34
	.long	L0_0_set_39
	.long	L0_0_set_41
	.long	L0_0_set_42
	.end_data_region
                                        ## -- End function
	.comm	_Strbuf_INIT,16,3               ## @Strbuf_INIT
	.comm	_Stype,4,2                      ## @Stype
	.comm	_Sgoal,8,3                      ## @Sgoal
	.comm	_TC_GOTO,4,2                    ## @TC_GOTO
	.comm	_TCSH_F_SEEK,8,3                ## @TCSH_F_SEEK
	.comm	_intty,8,3                      ## @intty
	.comm	_STRNULL,8,3                    ## @STRNULL
	.comm	_fseekp,8,3                     ## @fseekp
	.comm	_feobp,8,3                      ## @feobp
	.comm	_aret,8,3                       ## @aret
	.comm	_TC_BREAK,4,2                   ## @TC_BREAK
	.comm	_zlast,4,2                      ## @zlast
	.comm	_STRthen,8,3                    ## @STRthen
	.comm	_TC_BRKSW,4,2                   ## @TC_BRKSW
	.comm	_whyles,8,3                     ## @whyles
	.comm	_STRdefault,8,3                 ## @STRdefault
	.no_dead_strip	_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search
_search:                                ; @search
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _Strbuf_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Strbuf_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #48]
Lloh3:
	adrp	x8, _Stype@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Stype@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
Lloh6:
	adrp	x8, _Sgoal@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Sgoal@GOTPAGEOFF]
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
Lloh8:
	str	x2, [x8]
Lloh9:
	adrp	x25, _TC_GOTO@GOTPAGE
Lloh10:
	ldr	x25, [x25, _TC_GOTO@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh11:
	adrp	x27, _TCSH_F_SEEK@GOTPAGE
Lloh12:
	ldr	x27, [x27, _TCSH_F_SEEK@GOTPAGEOFF]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x27]
	stp	xzr, x8, [sp, #32]
	str	xzr, [sp, #24]
	add	x0, sp, #24
	bl	_bseek
LBB0_2:
Lloh13:
	adrp	x1, _Strbuf_cleanup@GOTPAGE
Lloh14:
	ldr	x1, [x1, _Strbuf_cleanup@GOTPAGEOFF]
	add	x0, sp, #48
	bl	_cleanup_push
	mov	w28, #0
	mov	x21, #0
	mov	x22, #0
Lloh15:
	adrp	x24, _intty@GOTPAGE
Lloh16:
	ldr	x24, [x24, _intty@GOTPAGEOFF]
Lloh17:
	adrp	x26, _TC_BREAK@GOTPAGE
Lloh18:
	ldr	x26, [x26, _TC_BREAK@GOTPAGEOFF]
Lloh19:
	adrp	x19, _TC_BRKSW@GOTPAGE
Lloh20:
	ldr	x19, [x19, _TC_BRKSW@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	bl	_getword
	tbnz	w23, #31, LBB0_54
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #24
	bl	_xmalloc
	mov	x21, x0
	mov	w0, #24
	bl	_xmalloc
	mov	x22, x0
Lloh21:
	adrp	x8, _STRNULL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STRNULL@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x0, #16]
	str	x21, [x0]
	str	x0, [x21, #8]
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh24:
	adrp	x8, _fseekp@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fseekp@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _feobp@GOTPAGE
Lloh28:
	ldr	x9, [x9, _feobp@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _aret@GOTPAGE
Lloh31:
	ldr	x8, [x8, _aret@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
Lloh33:
	adrp	x9, _zlast@GOTPAGE
Lloh34:
	ldr	x9, [x9, _zlast@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w20
	csel	w0, w9, w20, eq
	bl	_isrchx
	mov	x1, x0
	mov	w0, #1
	bl	_printprompt
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #48
	bl	_getword
	add	x0, sp, #48
	bl	_Strbuf_terminate
	ldr	x8, [x24]
	cbz	x8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	bl	_Strlen
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	bl	_Strsave
	str	x0, [x21, #16]
	mov	w0, #24
	bl	_xmalloc
	str	x0, [x21]
	str	x21, [x0, #8]
	mov	x21, x0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	bl	_srchx
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x11, lJTI0_0@PAGE
Lloh37:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_14
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
	ldr	w8, [x26]
	cmp	w8, w20
	cinc	w23, w23, eq
	b	LBB0_52
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x8, [x24]
	cbz	x8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x0, [sp, #48]
	bl	_Strsave
	str	x0, [x21, #16]
	mov	w0, #24
	bl	_xmalloc
	str	x0, [x21]
	str	x21, [x0, #8]
	mov	x21, x0
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #48
	bl	_getword
	cbnz	w0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #136
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #131
	b.ne	LBB0_52
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
Lloh38:
	adrp	x8, _STRthen@GOTPAGE
Lloh39:
	ldr	x8, [x8, _STRthen@GOTPAGEOFF]
Lloh40:
	ldr	x1, [x8]
	bl	_eq
	cmp	w0, #0
	cinc	w23, w23, ne
	b	LBB0_52
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	cmp	w8, w20
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #129
	b.ne	LBB0_52
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w23, LBB0_52
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #56]
	cbz	x9, LBB0_52
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #48]
	sub	x9, x9, #1
	ldrb	w10, [x8, x9]
	cmp	w10, #58
	b.ne	LBB0_52
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [sp, #56]
	strb	wzr, [x8, x9]
	ldr	w8, [x25]
	cmp	w8, w20
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_eq
	cbnz	w0, LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #129
	b.ne	LBB0_52
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
Lloh41:
	adrp	x8, _STRdefault@GOTPAGE
Lloh42:
	ldr	x8, [x8, _STRdefault@GOTPAGEOFF]
Lloh43:
	ldr	x1, [x8]
	bl	_eq
	cbz	w0, LBB0_52
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #-1
	b	LBB0_52
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #129
	ldr	w8, [x19]
	ccmp	w8, w20, #4, ne
	cinc	w23, w23, eq
	b	LBB0_52
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	cmp	w8, w20
	b.ne	LBB0_52
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #48
	bl	_getword
	cbz	w0, LBB0_52
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_eq
	cmp	w0, #0
	csinv	w23, w23, wzr, eq
	b	LBB0_52
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #129
	ldr	w8, [x19]
	ccmp	w8, w20, #4, ne
	cset	w8, eq
	sub	w23, w23, w8
	b	LBB0_52
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #136
	b.eq	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #131
	b.ne	LBB0_52
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #1
	b	LBB0_52
LBB0_39:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w8, w20
	ccmp	w28, #0, #0, eq
	b.ne	LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh44:
	adrp	x8, _whyles@GOTPAGE
Lloh45:
	ldr	x8, [x8, _whyles@GOTPAGEOFF]
Lloh46:
	ldr	x0, [x8]
	cbz	x0, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
Lloh47:
	adrp	x9, _whyles@GOTPAGE
Lloh48:
	ldr	x9, [x9, _whyles@GOTPAGEOFF]
Lloh49:
	str	x8, [x9]
	bl	_wpfree
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	cmp	w8, w20
	cset	w8, eq
	sub	w23, w23, w8
	sub	w28, w28, #1
	b	LBB0_52
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #131
	b.ne	LBB0_52
; %bb.44:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w23, LBB0_52
	b	LBB0_54
LBB0_45:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #0
	mov	w8, #129
	ccmp	w20, w8, #0, eq
	csinv	w23, w23, wzr, ne
	b	LBB0_52
LBB0_46:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #129
	b.ne	LBB0_52
; %bb.47:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w23, LBB0_52
; %bb.48:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [sp, #12]                  ; 4-byte Folded Spill
	mov	x28, x19
	mov	x19, x26
	mov	x26, x27
	mov	x27, x25
	add	x0, sp, #48
	bl	_getword
	ldr	x9, [sp, #56]
	cbz	x9, LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #48]
	sub	x9, x9, #1
	ldrb	w10, [x8, x9]
	cmp	w10, #58
	b.ne	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [sp, #56]
	strb	wzr, [x8, x9]
LBB0_51:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #48]
	bl	_Dfix1
	bl	_strip
	mov	x25, x0
Lloh50:
	adrp	x1, _xfree@GOTPAGE
Lloh51:
	ldr	x1, [x1, _xfree@GOTPAGEOFF]
	bl	_cleanup_push
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_Gmatch
	cmp	w0, #0
	csetm	w23, ne
	mov	x0, x25
	bl	_cleanup_until
	mov	x25, x27
	mov	x27, x26
	mov	x26, x19
	mov	x19, x28
	ldr	w28, [sp, #12]                  ; 4-byte Folded Reload
LBB0_52:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_3
; %bb.53:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_histgetword
	str	x0, [x22, #8]
	str	x22, [x0]
	mov	x0, x22
	mov	w1, #0
	bl	_savehist
	mov	x0, x22
	bl	_freelex
	mov	x0, x22
	bl	_xfree
	tbz	w23, #31, LBB0_4
LBB0_54:
	add	x0, sp, #48
	bl	_cleanup_until
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_31-LBB0_14)>>2
	.byte	(LBB0_32-LBB0_14)>>2
	.byte	(LBB0_17-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_35-LBB0_14)>>2
	.byte	(LBB0_36-LBB0_14)>>2
	.byte	(LBB0_39-LBB0_14)>>2
	.byte	(LBB0_43-LBB0_14)>>2
	.byte	(LBB0_45-LBB0_14)>>2
	.byte	(LBB0_46-LBB0_14)>>2
                                        ; -- End function
	.comm	_Strbuf_INIT,16,3               ; @Strbuf_INIT
	.comm	_Stype,4,2                      ; @Stype
	.comm	_Sgoal,8,3                      ; @Sgoal
	.comm	_TC_GOTO,4,2                    ; @TC_GOTO
	.comm	_TCSH_F_SEEK,8,3                ; @TCSH_F_SEEK
	.comm	_intty,8,3                      ; @intty
	.comm	_STRNULL,8,3                    ; @STRNULL
	.comm	_fseekp,8,3                     ; @fseekp
	.comm	_feobp,8,3                      ; @feobp
	.comm	_aret,8,3                       ; @aret
	.comm	_TC_BREAK,4,2                   ; @TC_BREAK
	.comm	_zlast,4,2                      ; @zlast
	.comm	_STRthen,8,3                    ; @STRthen
	.comm	_TC_BRKSW,4,2                   ; @TC_BRKSW
	.comm	_whyles,8,3                     ; @whyles
	.comm	_STRdefault,8,3                 ; @STRdefault
	.no_dead_strip	_search
.subsections_via_symbols
