	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_search_line
_c_search_line:                         ## @c_search_line
	.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, %r12d
	movq	%rdi, %r15
	callq	_Strlen
	movq	%rax, %r14
	movq	_F_UP_SEARCH_HIST@GOTPCREL(%rip), %rax
	movq	_Cursor@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpl	%r12d, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_InputBuf@GOTPCREL(%rip), %r13
	movq	_CC_ERROR@GOTPCREL(%rip), %r12
	cmpq	(%r13), %rbx
	jb	LBB0_14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_Strncmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_Gmatch
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rbx
	cmpq	(%r13), %rbx
	jae	LBB0_2
	jmp	LBB0_14
LBB0_5:
	cmpb	$0, (%rbx)
	movq	_CC_ERROR@GOTPCREL(%rip), %r12
	je	LBB0_14
## %bb.6:
	movq	_InputLim@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rbx
	jae	LBB0_14
## %bb.7:
	incq	%rbx
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r12), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_Strncmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_Gmatch
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$0, (%r12)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	1(%r12), %rax
	cmpq	(%r13), %r12
	movq	%rax, %r12
	jb	LBB0_8
LBB0_15:
	movq	_CC_ERROR@GOTPCREL(%rip), %r12
	jmp	LBB0_14
LBB0_13:
	movq	_Cursor@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_CC_NORM@GOTPCREL(%rip), %r12
LBB0_14:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_UP_SEARCH_HIST,4,2           ## @F_UP_SEARCH_HIST
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_InputBuf,8,3                   ## @InputBuf
	.comm	_CC_NORM,4,2                    ## @CC_NORM
	.comm	_CC_ERROR,4,2                   ## @CC_ERROR
	.comm	_InputLim,8,3                   ## @InputLim
	.no_dead_strip	_c_search_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_search_line
_c_search_line:                         ; @c_search_line
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_Strlen
	mov	x20, x0
Lloh0:
	adrp	x8, _F_UP_SEARCH_HIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_UP_SEARCH_HIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _Cursor@GOTPAGE
Lloh4:
	ldr	x23, [x23, _Cursor@GOTPAGEOFF]
	ldr	x21, [x23]
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.1:
Lloh5:
	adrp	x24, _InputBuf@GOTPAGE
Lloh6:
	ldr	x24, [x24, _InputBuf@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh7:
	adrp	x22, _CC_ERROR@GOTPAGE
Lloh8:
	ldr	x22, [x22, _CC_ERROR@GOTPAGEOFF]
	cmp	x21, x8
	b.lo	LBB0_13
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_Strncmp
	cbz	x0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_Gmatch
	cbnz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x21, x21, #1
	ldr	x8, [x24]
	cmp	x21, x8
	b.hs	LBB0_2
	b	LBB0_13
LBB0_5:
	ldrb	w8, [x21]
Lloh9:
	adrp	x24, _InputLim@GOTPAGE
Lloh10:
	ldr	x24, [x24, _InputLim@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	w8, #0
	ccmp	x21, x9, #2, ne
	b.lo	LBB0_7
; %bb.6:
Lloh11:
	adrp	x22, _CC_ERROR@GOTPAGE
Lloh12:
	ldr	x22, [x22, _CC_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	add	x25, x21, #1
Lloh13:
	adrp	x22, _CC_ERROR@GOTPAGE
Lloh14:
	ldr	x22, [x22, _CC_ERROR@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	x21, x25, #1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_Strncmp
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_Gmatch
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x25
	ldrb	w9, [x8], #1
	cbz	w9, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x24]
	cmp	x25, x9
	mov	x25, x8
	b.lo	LBB0_8
	b	LBB0_13
LBB0_12:
	str	x21, [x23]
Lloh15:
	adrp	x22, _CC_NORM@GOTPAGE
Lloh16:
	ldr	x22, [x22, _CC_NORM@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x22]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_F_UP_SEARCH_HIST,4,2           ; @F_UP_SEARCH_HIST
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_InputBuf,8,3                   ; @InputBuf
	.comm	_CC_NORM,4,2                    ; @CC_NORM
	.comm	_CC_ERROR,4,2                   ; @CC_ERROR
	.comm	_InputLim,8,3                   ; @InputLim
	.no_dead_strip	_c_search_line
.subsections_via_symbols
