	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f_search                       ## -- Begin function f_search
	.p2align	4, 0x90
_f_search:                              ## @f_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
	movq	%r9, %rax
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	16(%rbp), %r9d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -48(%rbp)
	movq	_FORWARD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	movq	%rax, %r8
	callq	_search_init
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_47
## %bb.1:
	movq	_SEARCH_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
LBB0_3:
	xorl	%r13d, %r13d
LBB0_4:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	_BUSY_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_INTERRUPT_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	8(%r12), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rsi
	movq	_REG_STARTEND@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	$1, %edx
	leaq	-64(%rbp), %rcx
	callq	_regexec
	movl	%eax, %r13d
	movq	_REG_NOMATCH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_28
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	xorl	%r13d, %r13d
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	subl	$1, %r14d
	jae	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_INTERRUPTED
	testq	%rax, %rax
	jne	LBB0_44
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_search_busy
	movq	_BUSY_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_INTERRUPT_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %ebx
	jg	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	leaq	-88(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_db_get
	testq	%rax, %rax
	jne	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rax, %r13
	je	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, -64(%rbp)
	movq	%rax, -56(%rbp)
	xorl	%r8d, %r8d
	testq	%r13, %r13
	je	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_REG_NOTBOL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	leaq	-88(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_db_get
	testq	%rax, %rax
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_O_WRAPSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_O_ISSET
	testl	%eax, %eax
	je	LBB0_31
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_22:
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_45
## %bb.23:
	movq	_S_NOTFOUND@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_search_msg
	jmp	LBB0_45
LBB0_25:
	movl	(%r13), %esi
	movq	_DBG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-88(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movq	%r12, %rdi
	callq	_db_get
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_47
## %bb.26:
	movl	(%r13), %ebx
	movq	_SEARCH_INCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r13
	testq	%rax, %rax
	je	LBB0_33
## %bb.27:
	xorl	%r15d, %r15d
	subq	$1, %r13
	movl	$0, %eax
	cmovbq	%rax, %r13
	jmp	LBB0_4
LBB0_28:
	testl	%r13d, %r13d
	je	LBB0_37
## %bb.29:
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testq	%rax, %rax
	je	LBB0_43
## %bb.30:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_re_error
	jmp	LBB0_44
LBB0_31:
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_45
## %bb.32:
	movq	_S_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_33:
	incq	%r13
	cmpq	-72(%rbp), %r13
	jb	LBB0_4
## %bb.34:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	incl	%ebx
	xorl	%r15d, %r15d
	leaq	-88(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_db_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.35:
	movq	_O_WRAPSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_O_ISSET
	testl	%eax, %eax
	je	LBB0_50
## %bb.36:
	movl	$1, %ebx
	xorl	%r13d, %r13d
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_37:
	testl	%r15d, %r15d
	je	LBB0_40
## %bb.38:
	movq	_SEARCH_WMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movq	_S_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_search_msg
LBB0_40:
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	%ebx, (%r14)
	movq	-64(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	_SEARCH_EOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_45
## %bb.41:
	movq	-72(%rbp), %rax
	cmpq	%rax, 8(%r14)
	jb	LBB0_45
## %bb.42:
	xorl	%ebx, %ebx
	subq	$1, %rax
	movl	$0, %ecx
	cmovaeq	%rax, %rcx
	movq	%rcx, 8(%r14)
	jmp	LBB0_45
LBB0_43:
	movq	(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
LBB0_44:
	movl	$1, %ebx
LBB0_45:
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	_BUSY_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_search_busy
LBB0_47:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.48:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_50:
	movq	_SEARCH_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_47
## %bb.51:
	movq	_S_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_search_msg
	jmp	LBB0_47
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FORWARD,4,2                    ## @FORWARD
	.comm	_SEARCH_FILE,4,2                ## @SEARCH_FILE
	.comm	_DBG_FATAL,4,2                  ## @DBG_FATAL
	.comm	_SEARCH_INCR,4,2                ## @SEARCH_INCR
	.comm	_O_WRAPSCAN,4,2                 ## @O_WRAPSCAN
	.comm	_SEARCH_MSG,4,2                 ## @SEARCH_MSG
	.comm	_S_EOF,4,2                      ## @S_EOF
	.comm	_BUSY_ON,4,2                    ## @BUSY_ON
	.comm	_INTERRUPT_CHECK,4,2            ## @INTERRUPT_CHECK
	.comm	_BUSY_UPDATE,4,2                ## @BUSY_UPDATE
	.comm	_S_NOTFOUND,4,2                 ## @S_NOTFOUND
	.comm	_REG_NOTBOL,4,2                 ## @REG_NOTBOL
	.comm	_REG_STARTEND,4,2               ## @REG_STARTEND
	.comm	_REG_NOMATCH,4,2                ## @REG_NOMATCH
	.comm	_SEARCH_WMSG,4,2                ## @SEARCH_WMSG
	.comm	_S_WRAP,4,2                     ## @S_WRAP
	.comm	_SEARCH_EOL,4,2                 ## @SEARCH_EOL
	.comm	_BUSY_OFF,4,2                   ## @BUSY_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f_search                       ; -- Begin function f_search
	.p2align	2
_f_search:                              ; @f_search
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _FORWARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORWARD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	mov	x5, x6
	bl	_search_init
	cbz	x0, LBB0_4
LBB0_1:
	mov	w21, #1
LBB0_2:
	ldr	x8, [sp, #40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
Lloh9:
	adrp	x8, _SEARCH_FILE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEARCH_FILE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_28
; %bb.5:
	str	x20, [sp]                       ; 8-byte Folded Spill
	mov	x25, #0
	mov	w27, #0
	mov	w22, #1
LBB0_6:
Lloh12:
	adrp	x8, _BUSY_ON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUSY_ON@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
Lloh15:
	adrp	x28, _INTERRUPT_CHECK@GOTPAGE
Lloh16:
	ldr	x28, [x28, _INTERRUPT_CHECK@GOTPAGEOFF]
	ldr	w26, [x28]
	add	x23, x19, #8
Lloh17:
	adrp	x20, _REG_NOMATCH@GOTPAGE
Lloh18:
	ldr	x20, [x20, _REG_NOMATCH@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	stp	x25, x8, [sp, #24]
	ldr	x1, [sp, #8]
Lloh19:
	adrp	x8, _REG_NOTBOL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_NOTBOL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	x25, #0
	csel	w8, wzr, w8, eq
Lloh22:
	adrp	x9, _REG_STARTEND@GOTPAGE
Lloh23:
	ldr	x9, [x9, _REG_STARTEND@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w4, w8, w9
	add	x3, sp, #24
	mov	x0, x23
	mov	w2, #1
	bl	_regexec
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_31
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, #0
	add	w22, w22, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w26, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w26, w26, #1
	cbz	w27, LBB0_19
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x21]
	cmp	w22, w8
	b.gt	LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_db_get
	cbnz	x0, LBB0_22
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x25, x8
	b.eq	LBB0_8
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_INTERRUPTED
	cbnz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh25:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_search_busy
Lloh28:
	adrp	x8, _BUSY_UPDATE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BUSY_UPDATE@GOTPAGEOFF]
Lloh30:
	ldr	w24, [x8]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w26, [x28]
	cbnz	w27, LBB0_11
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_db_get
	cbz	x0, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh31:
	adrp	x8, _O_WRAPSCAN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _O_WRAPSCAN@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	w0, LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w22, #0
	mov	w27, #1
	b	LBB0_8
LBB0_22:
Lloh34:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_25
; %bb.23:
Lloh37:
	adrp	x8, _S_NOTFOUND@GOTPAGE
Lloh38:
	ldr	x8, [x8, _S_NOTFOUND@GOTPAGEOFF]
LBB0_24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_search_msg
LBB0_25:
	mov	w21, #1
LBB0_26:
Lloh39:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_2
; %bb.27:
Lloh42:
	adrp	x8, _BUSY_OFF@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BUSY_OFF@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_search_busy
	b	LBB0_2
LBB0_28:
	ldr	w1, [x21]
Lloh45:
	adrp	x8, _DBG_FATAL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DBG_FATAL@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x19
	bl	_db_get
	cbnz	x0, LBB0_1
; %bb.29:
	ldr	w22, [x21]
Lloh48:
	adrp	x8, _SEARCH_INCR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SEARCH_INCR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_LF_ISSET
	ldr	x8, [x21, #8]
	str	x20, [sp]                       ; 8-byte Folded Spill
	cbz	x0, LBB0_36
; %bb.30:
	mov	w27, #0
	sub	x9, x8, #1
	cmp	x8, #0
	csel	x25, xzr, x9, eq
	b	LBB0_6
LBB0_31:
	mov	x25, x0
	cbz	w0, LBB0_38
; %bb.32:
Lloh51:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_44
; %bb.33:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_re_error
	b	LBB0_25
LBB0_34:
Lloh54:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_25
; %bb.35:
Lloh57:
	adrp	x8, _S_EOF@GOTPAGE
Lloh58:
	ldr	x8, [x8, _S_EOF@GOTPAGEOFF]
	b	LBB0_24
LBB0_36:
	add	x25, x8, #1
	ldr	x8, [sp, #16]
	cmp	x25, x8
	b.hs	LBB0_45
; %bb.37:
	mov	w27, #0
	b	LBB0_6
LBB0_38:
	cbz	w27, LBB0_41
; %bb.39:
Lloh59:
	adrp	x8, _SEARCH_WMSG@GOTPAGE
Lloh60:
	ldr	x8, [x8, _SEARCH_WMSG@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_41
; %bb.40:
Lloh62:
	adrp	x8, _S_WRAP@GOTPAGE
Lloh63:
	ldr	x8, [x8, _S_WRAP@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_search_msg
LBB0_41:
	ldr	x20, [sp]                       ; 8-byte Folded Reload
	str	w22, [x20]
	ldr	x8, [sp, #24]
	str	x8, [x20, #8]
Lloh65:
	adrp	x8, _SEARCH_EOL@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SEARCH_EOL@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbnz	x0, LBB0_43
; %bb.42:
	ldr	x9, [x20, #8]
	ldr	x8, [sp, #16]
	cmp	x9, x8
	b.hs	LBB0_49
LBB0_43:
	mov	w21, #0
	b	LBB0_26
LBB0_44:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	b	LBB0_25
LBB0_45:
	ldr	w8, [x21]
	add	w22, w8, #1
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_db_get
	cbz	x0, LBB0_48
; %bb.46:
Lloh68:
	adrp	x8, _O_WRAPSCAN@GOTPAGE
Lloh69:
	ldr	x8, [x8, _O_WRAPSCAN@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	w0, LBB0_50
; %bb.47:
	mov	x25, #0
	mov	w22, #1
	mov	w27, #1
	b	LBB0_6
LBB0_48:
	mov	x25, #0
	mov	w27, #0
	b	LBB0_6
LBB0_49:
	mov	w21, #0
	sub	x9, x8, #1
	cmp	x8, #0
	csel	x8, xzr, x9, eq
	str	x8, [x20, #8]
	b	LBB0_26
LBB0_50:
Lloh71:
	adrp	x8, _SEARCH_MSG@GOTPAGE
Lloh72:
	ldr	x8, [x8, _SEARCH_MSG@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	x0, LBB0_1
; %bb.51:
Lloh74:
	adrp	x8, _S_EOF@GOTPAGE
Lloh75:
	ldr	x8, [x8, _S_EOF@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_search_msg
	b	LBB0_1
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_FORWARD,4,2                    ; @FORWARD
	.comm	_SEARCH_FILE,4,2                ; @SEARCH_FILE
	.comm	_DBG_FATAL,4,2                  ; @DBG_FATAL
	.comm	_SEARCH_INCR,4,2                ; @SEARCH_INCR
	.comm	_O_WRAPSCAN,4,2                 ; @O_WRAPSCAN
	.comm	_SEARCH_MSG,4,2                 ; @SEARCH_MSG
	.comm	_S_EOF,4,2                      ; @S_EOF
	.comm	_BUSY_ON,4,2                    ; @BUSY_ON
	.comm	_INTERRUPT_CHECK,4,2            ; @INTERRUPT_CHECK
	.comm	_BUSY_UPDATE,4,2                ; @BUSY_UPDATE
	.comm	_S_NOTFOUND,4,2                 ; @S_NOTFOUND
	.comm	_REG_NOTBOL,4,2                 ; @REG_NOTBOL
	.comm	_REG_STARTEND,4,2               ; @REG_STARTEND
	.comm	_REG_NOMATCH,4,2                ; @REG_NOMATCH
	.comm	_SEARCH_WMSG,4,2                ; @SEARCH_WMSG
	.comm	_S_WRAP,4,2                     ; @S_WRAP
	.comm	_SEARCH_EOL,4,2                 ; @SEARCH_EOL
	.comm	_BUSY_OFF,4,2                   ; @BUSY_OFF
.subsections_via_symbols
