	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EGexecute
_EGexecute:                             ## @EGexecute
	.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	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_eolbyte@GOTPCREL(%rip), %rax
	movb	(%rax), %r15b
	cmpb	$0, _EGexecute.use_dfa_checked(%rip)
	jne	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_atoi
	jmp	LBB0_4
LBB0_3:
	movl	$1, %eax
LBB0_4:
	movl	%eax, _EGexecute.use_dfa(%rip)
	movb	$1, _EGexecute.use_dfa_checked(%rip)
LBB0_5:
	movq	$-1, %rax
	testq	%r12, %r12
	jle	LBB0_51
## %bb.6:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r12), %rbx
	movsbl	%r15b, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, %r13
	movb	%r15b, -41(%rbp)                ## 1-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_20 Depth 3
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_28
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r12,%r13), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_pcount@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_40
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %r12
	notq	%r12
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	addq	%rsi, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-104(%rbp), %r14                ## 8-byte Reload
	incq	%r14
	movq	_pcount@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_39
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_20 Depth 3
	movq	_patterns@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	shlq	$4, %r14
	leaq	(%r9,%r14), %rdi
	addq	$8, %rdi
	movl	$0, 8(%r9,%r14)
	addq	%r14, %r9
	movq	%r13, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_re_search
	testl	%eax, %eax
	js	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	%eax, %ebx
	movq	_patterns@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14), %rax
	movslq	(%rax), %r15
	movslq	%ebx, %rax
	subq	%rax, %r15
	movq	_match_words@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%rax, %rax
	je	LBB0_50
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_match_lines@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	orq	%rax, %rdx
	je	LBB0_48
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	%r15, %r12
	je	LBB0_48
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=3
	movl	%eax, %r15d
	testl	%ebx, %ebx
	js	LBB0_11
LBB0_20:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=3
	movl	$1, %edi
	callq	_assert
	leal	-1(%rbx), %eax
	movzbl	(%r13,%rax), %edi
	callq	_WCHAR
	testl	%eax, %eax
	jne	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=3
	leal	(%r15,%rbx), %eax
	cltq
	cmpq	%rax, %r12
	je	LBB0_47
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=3
	movzbl	(%r13,%rax), %edi
	callq	_WCHAR
	testl	%eax, %eax
	je	LBB0_47
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=3
	testl	%r15d, %r15d
	jle	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=3
	movq	_patterns@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	(%r8,%r14), %rdi
	addq	$8, %rdi
	movl	$1, 8(%r8,%r14)
	addq	%r14, %r8
	leal	(%rbx,%r15), %edx
	decl	%edx
	movq	%r13, %rsi
	movl	%ebx, %ecx
	callq	_re_match
	testl	%eax, %eax
	jg	LBB0_19
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=3
	movl	%ebx, %eax
	cmpq	%rax, %r12
	je	LBB0_11
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=3
	incl	%ebx
	movq	_patterns@GOTPCREL(%rip), %r15
	movq	(%r15), %r9
	leaq	(%r9,%r14), %rdi
	addq	$8, %rdi
	movl	$0, 8(%r9,%r14)
	addq	%r14, %r9
	movl	%r12d, %r8d
	subl	%ebx, %r8d
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_re_search
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	(%rax,%r14), %rax
	movl	(%rax), %r15d
	subl	%ebx, %r15d
	testl	%ebx, %ebx
	jns	LBB0_20
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_kwset@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.29:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edx
	subl	%r13d, %edx
	movq	%r13, %rsi
	leaq	-112(%rbp), %rcx
	callq	_kwsexec
	cmpq	$-1, %rax
	je	LBB0_53
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r15
	movq	%rbx, %rax
	movq	%r15, %rbx
	addq	%r13, %rbx
	movl	%eax, %edx
	subl	%ebx, %edx
	movq	%rbx, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_memchr
	leaq	1(%rax), %rsi
	addl	%r15d, %r13d
	subl	%r13d, %eax
	incl	%eax
	movb	-41(%rbp), %r15b                ## 1-byte Reload
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %r13
	movl	%eax, %edx
	cmpq	%r14, %rbx
	jbe	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	leaq	-1(%r13), %rbx
	leal	1(%rdx), %eax
	cmpb	%r15b, -1(%r13)
	jne	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-112(%rbp), %rax
	movq	_kwset_exact_matches@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_49
## %bb.34:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, _EGexecute.use_dfa(%rip)
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_dfa@GOTPCREL(%rip), %rdi
	movq	%rsi, %rbx
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	leaq	-72(%rbp), %rcx
	callq	_dfaexec
	movq	%rbx, %rsi
	cmpq	$-1, %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_45
	jmp	LBB0_40
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, _EGexecute.use_dfa(%rip)
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edx
	subl	%r13d, %edx
	movq	_dfa@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	leaq	-72(%rbp), %rcx
	callq	_dfaexec
	cmpq	$-1, %rax
	jne	LBB0_42
	jmp	LBB0_53
LBB0_38:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_39:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movb	-41(%rbp), %r15b                ## 1-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsi, %r13
	cmpq	%rbx, %rsi
	jb	LBB0_7
	jmp	LBB0_53
LBB0_41:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
LBB0_42:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %r13
	movl	%ebx, %edx
	subl	%r13d, %edx
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_memchr
	movq	%rax, %rsi
	incq	%rsi
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r13
	cmpq	%r14, %rax
	jbe	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=2
	leaq	-1(%r13), %rax
	cmpb	%r15b, -1(%r13)
	jne	LBB0_43
LBB0_45:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, _EGexecute.use_dfa(%rip)
	je	LBB0_9
## %bb.46:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, -72(%rbp)
	jne	LBB0_9
	jmp	LBB0_49
LBB0_47:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_50
	jmp	LBB0_49
LBB0_48:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_49:
	subl	%r13d, %esi
	subl	%r14d, %r13d
	movl	%r13d, %ebx
	movl	%esi, %r15d
LBB0_50:
	movslq	%r15d, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movslq	%ebx, %rax
LBB0_51:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	movq	$-1, %rax
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.comm	_eolbyte,1,0                    ## @eolbyte
.zerofill __DATA,__bss,_EGexecute.use_dfa,4,2 ## @EGexecute.use_dfa
.zerofill __DATA,__bss,_EGexecute.use_dfa_checked,1,2 ## @EGexecute.use_dfa_checked
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GREP_USE_DFA"

	.comm	_kwset,8,3                      ## @kwset
	.comm	_kwset_exact_matches,8,3        ## @kwset_exact_matches
	.comm	_dfa,4,2                        ## @dfa
	.comm	_pcount,8,3                     ## @pcount
	.comm	_patterns,8,3                   ## @patterns
	.comm	_match_words,8,3                ## @match_words
	.comm	_match_lines,8,3                ## @match_lines
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
	.comm	_match_icase,8,3                ## @match_icase
	.comm	_using_utf8,8,3                 ## @using_utf8
	.no_dead_strip	_EGexecute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EGexecute
_EGexecute:                             ; @EGexecute
	.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
	str	w3, [sp, #44]                   ; 4-byte Folded Spill
	mov	x22, x2
	mov	x28, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _eolbyte@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eolbyte@GOTPAGEOFF]
	ldrb	w24, [x8]
	adrp	x19, _EGexecute.use_dfa_checked@PAGE
	ldrb	w8, [x19, _EGexecute.use_dfa_checked@PAGEOFF]
	adrp	x27, _EGexecute.use_dfa@PAGE
	tbnz	w8, #0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	w21, #1
	cbz	x0, LBB0_3
; %bb.2:
	bl	_atoi
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	str	w0, [x27, _EGexecute.use_dfa@PAGEOFF]
	strb	w21, [x19, _EGexecute.use_dfa_checked@PAGEOFF]
LBB0_5:
	cmp	x28, #1
	b.lt	LBB0_45
; %bb.6:
	str	x22, [sp, #24]                  ; 8-byte Folded Spill
	add	x21, x20, x28
Lloh4:
	adrp	x22, _kwset@GOTPAGE
Lloh5:
	ldr	x22, [x22, _kwset@GOTPAGEOFF]
	sxtb	w8, w24
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x23, _patterns@GOTPAGE
Lloh7:
	ldr	x23, [x23, _patterns@GOTPAGEOFF]
	mov	w19, #1
	mov	x25, x20
	stp	x21, x28, [sp]                  ; 16-byte Folded Spill
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;       Child Loop BB0_35 Depth 3
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x25, x28
	b	LBB0_25
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x22]
	cbz	x0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w2, w21, w25
	add	x3, sp, #48
	mov	x1, x25
	bl	_kwsexec
	cmn	x0, #1
	b.eq	LBB0_50
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x0
	add	x26, x25, x0
	sub	w2, w21, w26
	mov	x0, x26
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_memchr
	add	x8, x0, #1
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	add	w8, w27, w25
	sub	w8, w0, w8
	add	w8, w8, #1
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x26
	mov	x2, x8
	cmp	x26, x20
	b.ls	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x26, x25
	ldrb	w9, [x26, #-1]!
	add	w8, w2, #1
	cmp	w9, w24
	b.ne	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #48]
Lloh8:
	adrp	x9, _kwset_exact_matches@GOTPAGE
Lloh9:
	ldr	x9, [x9, _kwset_exact_matches@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	adrp	x27, _EGexecute.use_dfa@PAGE
	b.lt	LBB0_47
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27, _EGexecute.use_dfa@PAGEOFF]
	cbz	w8, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x3, sp, #60
Lloh11:
	adrp	x0, _dfa@GOTPAGE
Lloh12:
	ldr	x0, [x0, _dfa@GOTPAGEOFF]
	mov	x1, x25
	bl	_dfaexec
	cmn	x0, #1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	b.ne	LBB0_24
	b	LBB0_44
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27, _EGexecute.use_dfa@PAGEOFF]
	cbz	w8, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w2, w21, w25
	add	x3, sp, #60
Lloh13:
	adrp	x0, _dfa@GOTPAGE
Lloh14:
	ldr	x0, [x0, _dfa@GOTPAGEOFF]
	mov	x1, x25
	bl	_dfaexec
	cmn	x0, #1
	b.ne	LBB0_21
	b	LBB0_50
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, #0
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x25, x0
	sub	w2, w21, w26
	mov	x0, x26
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	bl	_memchr
	add	x10, x0, #1
LBB0_22:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x26
	cmp	x26, x20
	b.ls	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x26, x25
	ldrb	w8, [x26, #-1]!
	cmp	w8, w24
	b.ne	LBB0_22
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27, _EGexecute.use_dfa@PAGEOFF]
	ldr	w9, [sp, #60]
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_48
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh15:
	adrp	x8, _pcount@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pcount@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, #0
	mvn	x8, x25
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	add	x26, x8, x10
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	add	x22, x22, #1
Lloh18:
	adrp	x8, _pcount@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pcount@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x22, x8
	b.hs	LBB0_43
LBB0_28:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_35 Depth 3
	ldr	x8, [x23]
	add	x5, x8, x22, lsl #4
	mov	x0, x5
	str	wzr, [x0, #8]!
	mov	x1, x25
	mov	x2, x26
	mov	w3, #0
	mov	x4, x26
	bl	_re_search
	tbnz	w0, #31, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x27, x0
	ldr	x8, [x23]
	lsl	x21, x22, #4
	ldr	x8, [x8, x21]
	ldrsw	x8, [x8]
	sub	x28, x8, w0, sxtw
Lloh21:
	adrp	x8, _match_words@GOTPAGE
Lloh22:
	ldr	x8, [x8, _match_words@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=2
	cbz	x8, LBB0_49
LBB0_31:                                ;   in Loop: Header=BB0_28 Depth=2
Lloh24:
	adrp	x9, _match_lines@GOTPAGE
Lloh25:
	ldr	x9, [x9, _match_lines@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	orr	x10, x9, x8
	cbz	x10, LBB0_47
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=2
	cmp	x9, #0
	ccmp	x26, x28, #0, ne
	b.eq	LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_28 Depth=2
	cbnz	x8, LBB0_35
	b	LBB0_27
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=3
	mov	x28, x0
	tbnz	w27, #31, LBB0_27
LBB0_35:                                ;   Parent Loop BB0_7 Depth=1
                                        ;     Parent Loop BB0_28 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	w27, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=3
	mov	w0, #1
	bl	_assert
	sub	w8, w27, #1
	ldrb	w0, [x25, w8, uxtw]
	bl	_WCHAR
	cbnz	w0, LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=3
	add	w8, w28, w27
	sxtw	x8, w8
	cmp	x26, x8
	b.eq	LBB0_46
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=3
	ldrb	w0, [x25, x8]
	bl	_WCHAR
	cbz	w0, LBB0_46
LBB0_39:                                ;   in Loop: Header=BB0_35 Depth=3
	cmp	w28, #1
	b.lt	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_35 Depth=3
	ldr	x8, [x23]
	add	x4, x8, x22, lsl #4
	mov	x0, x4
	str	w19, [x0, #8]!
	add	w8, w27, w28
	sub	w2, w8, #1
	mov	x1, x25
	mov	x3, x27
	bl	_re_match
	cmp	w0, #0
	b.gt	LBB0_34
LBB0_41:                                ;   in Loop: Header=BB0_35 Depth=3
	cmp	x26, w27, uxtw
	b.eq	LBB0_27
; %bb.42:                               ;   in Loop: Header=BB0_35 Depth=3
	add	w3, w27, #1
	ldr	x8, [x23]
	add	x5, x8, x21
	mov	x0, x5
	str	wzr, [x0, #8]!
	sub	w4, w26, w3
	mov	x1, x25
	mov	x2, x26
	bl	_re_search
	mov	x27, x0
	ldr	x8, [x23]
	ldr	x8, [x8, x21]
	ldr	w8, [x8]
	sub	w28, w8, w0
	tbz	w27, #31, LBB0_35
	b	LBB0_27
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x21, x28, [sp]                  ; 16-byte Folded Reload
	adrp	x27, _EGexecute.use_dfa@PAGE
Lloh27:
	adrp	x22, _kwset@GOTPAGE
Lloh28:
	ldr	x22, [x22, _kwset@GOTPAGEOFF]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
LBB0_44:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x10
	cmp	x10, x21
	b.lo	LBB0_7
LBB0_45:
	mov	x0, #-1
	b	LBB0_50
LBB0_46:
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	cbnz	w8, LBB0_49
	b	LBB0_48
LBB0_47:
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
LBB0_48:
	sub	w28, w10, w25
	sub	w27, w25, w20
LBB0_49:
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	sxtw	x8, w28
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x9]
	sxtw	x0, w27
LBB0_50:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_eolbyte,1,0                    ; @eolbyte
.zerofill __DATA,__bss,_EGexecute.use_dfa,4,2 ; @EGexecute.use_dfa
.zerofill __DATA,__bss,_EGexecute.use_dfa_checked,1,2 ; @EGexecute.use_dfa_checked
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GREP_USE_DFA"

	.comm	_kwset,8,3                      ; @kwset
	.comm	_kwset_exact_matches,8,3        ; @kwset_exact_matches
	.comm	_dfa,4,2                        ; @dfa
	.comm	_pcount,8,3                     ; @pcount
	.comm	_patterns,8,3                   ; @patterns
	.comm	_match_words,8,3                ; @match_words
	.comm	_match_lines,8,3                ; @match_lines
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
	.comm	_match_icase,8,3                ; @match_icase
	.comm	_using_utf8,8,3                 ; @using_utf8
	.no_dead_strip	_EGexecute
.subsections_via_symbols
