	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grep
_grep:                                  ## @grep
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_eolbyte@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	callq	_reset
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r12, %r12
	je	LBB0_11
## %bb.3:
	movq	_directories@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RECURSE_DIRECTORIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	_BZflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_bzbufdesc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_BZ2_bzclose
	jmp	LBB0_10
LBB0_11:
	movq	_totalcc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_lastout@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_totalnl@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_max_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_outleft@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_after_last_match@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_pending@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edi, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fillbuf
	testl	%eax, %eax
	je	LBB0_12
## %bb.14:
	movq	_binary_files@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_BINARY_BINARY_FILES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_out_quiet@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	sete	%dl
	movq	_WITHOUT_MATCH_BINARY_FILES@GOTPCREL(%rip), %rbx
	testb	%dl, %cl
	jne	LBB0_17
## %bb.15:
	cmpq	(%rbx), %rax
	je	LBB0_17
## %bb.16:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_64
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_is_EISDIR
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_64
## %bb.13:
	movq	_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r14), %esi
	callq	_suppressible_error
	jmp	LBB0_64
LBB0_17:
	movq	_bufbeg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	testb	%r14b, %r14b
	setne	%sil
	movq	_buflim@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	%edi, %edx
	shll	$7, %esi
	addl	$-128, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	(%r13), %rax
	movq	%rbx, %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_64
## %bb.20:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ecx
	movl	$1, %eax
	jmp	LBB0_21
LBB0_8:
	movl	%ebx, %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%r12, %rcx
	callq	_error
LBB0_10:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_grepdir
	movl	%eax, %ebx
	addl	$-2, %ebx
	jmp	LBB0_64
LBB0_18:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_21:
	movq	_done_on_match@GOTPCREL(%rip), %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	%rcx, (%rdx)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addl	%eax, (%r15)
	xorl	%r12d, %r12d
	movq	_buflim@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_lastout@GOTPCREL(%rip), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fillbuf
	testl	%eax, %eax
	movq	_buflim@GOTPCREL(%rip), %rbx
	je	LBB0_45
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
	movq	_bufbeg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_lastnl@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpq	$0, (%r15)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, (%r15)
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	%r13, %rax
	cmpq	(%rbx), %rax
	je	LBB0_54
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movb	-1(%rax), %cl
	movb	%r14b, -1(%rax)
	movq	(%rbx), %r13
	incq	%r13
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdx
	decq	%r13
	cmpb	%r14b, -2(%rdx)
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	movb	%cl, -1(%rax)
	movq	%rax, %rdi
	subq	%r12, %rdi
	cmpq	%rax, %r13
	cmoveq	%rdi, %r13
	movq	(%rbx), %r12
	cmpq	%r13, %rdi
	jae	LBB0_37
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_outleft@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rsi
	callq	_grepbuf
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_pending@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_prpending
	movq	(%rbx), %rax
	jmp	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_outleft@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_60
## %bb.34:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_done_on_match@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_out_invert@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_60
LBB0_37:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_out_before@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_bufbeg@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	(%r15), %rdx
	cmpq	%rdx, %r13
	sete	%al
	movq	%r13, %rbx
	testl	%ecx, %ecx
	jle	LBB0_38
## %bb.47:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%r8, %r13
	jbe	LBB0_38
## %bb.48:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rdx, %r13
	je	LBB0_38
## %bb.49:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%esi, %esi
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rax
	decq	%rbx
	cmpb	%r14b, -2(%rax)
	jne	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_53 Depth=2
	incl	%esi
	cmpq	%rdx, %rbx
	sete	%al
	cmpl	%ecx, %esi
	jge	LBB0_38
## %bb.51:                              ##   in Loop: Header=BB0_53 Depth=2
	cmpq	%r8, %rbx
	jbe	LBB0_38
## %bb.52:                              ##   in Loop: Header=BB0_53 Depth=2
	cmpq	%rdx, %rbx
	jne	LBB0_53
LBB0_38:                                ##   in Loop: Header=BB0_22 Depth=1
	subq	%r13, %r12
	testb	%al, %al
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	$0, (%r15)
LBB0_40:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	%r12, %r13
	subq	%rbx, %r13
	movq	_out_byte@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_totalcc@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_buflim@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r13d, %r8d
	subl	%r8d, %esi
	callq	_add_count
	movq	%rax, (%r15)
	movq	_lastout@GOTPCREL(%rip), %r15
LBB0_42:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_out_line@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	callq	_nlscan
	jmp	LBB0_44
LBB0_54:
	testq	%r12, %r12
	je	LBB0_60
## %bb.55:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movb	%r14b, (%rax)
	movq	_outleft@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_56
## %bb.57:
	movq	_bufbeg@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	subq	%r12, %r13
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_grepbuf
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%eax, %ecx
	jmp	LBB0_58
LBB0_45:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_is_EISDIR
	testl	%eax, %eax
	jne	LBB0_60
## %bb.46:
	movq	_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rbx), %esi
	callq	_suppressible_error
	jmp	LBB0_60
LBB0_56:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_58:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_pending@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_60
## %bb.59:
	movq	(%rbx), %rdi
	callq	_prpending
LBB0_60:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	_done_on_match@GOTPCREL(%rip), %rcx
	subq	%rax, (%rcx)
	movq	_out_quiet@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	subl	%edx, %eax
	movl	%eax, (%rcx)
	notl	%eax
	testl	%eax, %edx
	je	LBB0_61
## %bb.62:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_64
## %bb.63:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	_filename@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_printf
	jmp	LBB0_64
LBB0_61:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_64:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eolbyte,1,0                    ## @eolbyte
	.comm	_directories,8,3                ## @directories
	.comm	_RECURSE_DIRECTORIES,8,3        ## @RECURSE_DIRECTORIES
	.comm	_BZflag,8,3                     ## @BZflag
	.comm	_bzbufdesc,8,3                  ## @bzbufdesc
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_totalcc,8,3                    ## @totalcc
	.comm	_lastout,8,3                    ## @lastout
	.comm	_totalnl,8,3                    ## @totalnl
	.comm	_max_count,8,3                  ## @max_count
	.comm	_outleft,8,3                    ## @outleft
	.comm	_after_last_match,8,3           ## @after_last_match
	.comm	_pending,8,3                    ## @pending
	.comm	_filename,8,3                   ## @filename
	.comm	_binary_files,8,3               ## @binary_files
	.comm	_BINARY_BINARY_FILES,8,3        ## @BINARY_BINARY_FILES
	.comm	_out_quiet,4,2                  ## @out_quiet
	.comm	_WITHOUT_MATCH_BINARY_FILES,8,3 ## @WITHOUT_MATCH_BINARY_FILES
	.comm	_bufbeg,8,3                     ## @bufbeg
	.comm	_buflim,8,3                     ## @buflim
	.comm	_done_on_match,8,3              ## @done_on_match
	.comm	_lastnl,8,3                     ## @lastnl
	.comm	_out_invert,4,2                 ## @out_invert
	.comm	_out_before,4,2                 ## @out_before
	.comm	_out_byte,8,3                   ## @out_byte
	.comm	_out_line,8,3                   ## @out_line
L_.str.1:                               ## @.str.1
	.asciz	"Binary file %s matches\n"

	.comm	_Zflag,8,3                      ## @Zflag
	.comm	_gzbufdesc,4,2                  ## @gzbufdesc
	.no_dead_strip	_grep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grep
_grep:                                  ; @grep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _eolbyte@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eolbyte@GOTPAGEOFF]
	ldrb	w25, [x8]
	bl	_reset
	cbz	w0, LBB0_43
; %bb.1:
	cbz	x19, LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _directories@GOTPAGE
Lloh3:
	ldr	x8, [x8, _directories@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _RECURSE_DIRECTORIES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RECURSE_DIRECTORIES@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [x20]
	bl	_S_ISDIR
	cbz	x0, LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _BZflag@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BZflag@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _bzbufdesc@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bzbufdesc@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x9]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_55
; %bb.5:
	mov	x0, x21
	bl	_close
	cbz	x0, LBB0_56
; %bb.6:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #0
	mov	x3, x19
	bl	_error
	b	LBB0_56
LBB0_7:
Lloh19:
	adrp	x8, _totalcc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _totalcc@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
Lloh22:
	adrp	x26, _lastout@GOTPAGE
Lloh23:
	ldr	x26, [x26, _lastout@GOTPAGEOFF]
	str	xzr, [x26]
Lloh24:
	adrp	x8, _totalnl@GOTPAGE
Lloh25:
	ldr	x8, [x8, _totalnl@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
Lloh27:
	adrp	x8, _max_count@GOTPAGE
Lloh28:
	ldr	x8, [x8, _max_count@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _outleft@GOTPAGE
Lloh31:
	ldr	x9, [x9, _outleft@GOTPAGEOFF]
Lloh32:
	str	x8, [x9]
Lloh33:
	adrp	x8, _after_last_match@GOTPAGE
Lloh34:
	ldr	x8, [x8, _after_last_match@GOTPAGEOFF]
Lloh35:
	str	xzr, [x8]
Lloh36:
	adrp	x8, _pending@GOTPAGE
Lloh37:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
Lloh38:
	str	xzr, [x8]
	mov	x0, #0
	mov	x1, x20
	bl	_fillbuf
	cbz	w0, LBB0_42
; %bb.8:
Lloh39:
	adrp	x21, _binary_files@GOTPAGE
Lloh40:
	ldr	x21, [x21, _binary_files@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh41:
	adrp	x9, _BINARY_BINARY_FILES@GOTPAGE
Lloh42:
	ldr	x9, [x9, _BINARY_BINARY_FILES@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
Lloh44:
	adrp	x10, _out_quiet@GOTPAGE
Lloh45:
	ldr	x10, [x10, _out_quiet@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	cmp	w10, #0
	ccmp	x8, x9, #0, eq
Lloh47:
	adrp	x22, _WITHOUT_MATCH_BINARY_FILES@GOTPAGE
Lloh48:
	ldr	x22, [x22, _WITHOUT_MATCH_BINARY_FILES@GOTPAGEOFF]
Lloh49:
	adrp	x24, _bufbeg@GOTPAGE
Lloh50:
	ldr	x24, [x24, _bufbeg@GOTPAGEOFF]
Lloh51:
	adrp	x27, _buflim@GOTPAGE
Lloh52:
	ldr	x27, [x27, _buflim@GOTPAGEOFF]
	b.eq	LBB0_10
; %bb.9:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
LBB0_10:
	ldr	x0, [x24]
	ldr	w8, [x27]
	sub	w2, w8, w0
	mov	w8, #-128
	cmp	w25, #0
	csel	w1, w8, wzr, eq
	bl	_memchr
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_43
; %bb.12:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	w10, #1
	mov	w9, #1
	b	LBB0_14
LBB0_13:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	w10, #0
	mov	x9, #0
LBB0_14:
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	mov	x28, #0
	mov	x22, #0
	mov	w21, #0
Lloh53:
	adrp	x11, _done_on_match@GOTPAGE
Lloh54:
	ldr	x11, [x11, _done_on_match@GOTPAGEOFF]
	ldr	x8, [x11]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	add	x8, x8, x9
	str	x8, [x11]
Lloh55:
	adrp	x9, _out_quiet@GOTPAGE
Lloh56:
	ldr	x9, [x9, _out_quiet@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, w10
	str	w8, [x9]
Lloh57:
	adrp	x19, _totalcc@GOTPAGE
Lloh58:
	ldr	x19, [x19, _totalcc@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_fillbuf
	cbz	w0, LBB0_50
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_32 Depth 2
	ldr	x8, [x24]
Lloh59:
	adrp	x9, _lastnl@GOTPAGE
Lloh60:
	ldr	x9, [x9, _lastnl@GOTPAGEOFF]
Lloh61:
	str	x8, [x9]
	ldr	x9, [x26]
	cbz	x9, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	str	x8, [x26]
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x27]
	add	x8, x8, x22
	cmp	x8, x9
	b.eq	LBB0_45
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldurb	w9, [x8, #-1]
	sturb	w25, [x8, #-1]
	ldr	x10, [x27]
	add	x10, x10, #1
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w11, [x10, #-2]
	sub	x10, x10, #1
	cmp	w11, w25
	b.ne	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	sturb	w9, [x8, #-1]
	sub	x0, x8, x28
	cmp	x10, x8
	csel	x22, x0, x10, eq
	ldr	x28, [x27]
	cmp	x0, x22
	b.hs	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh62:
	adrp	x8, _outleft@GOTPAGE
Lloh63:
	ldr	x8, [x8, _outleft@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, x22
	bl	_grepbuf
	add	w21, w21, w0
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh65:
	adrp	x23, _pending@GOTPAGE
Lloh66:
	ldr	x23, [x23, _pending@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x22
	bl	_prpending
	ldr	x8, [x23]
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh67:
	adrp	x9, _outleft@GOTPAGE
Lloh68:
	ldr	x9, [x9, _outleft@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	orr	x8, x9, x8
	cbz	x8, LBB0_52
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	cbz	w21, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh70:
	adrp	x8, _done_on_match@GOTPAGE
Lloh71:
	ldr	x8, [x8, _done_on_match@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
Lloh73:
	adrp	x9, _out_invert@GOTPAGE
Lloh74:
	ldr	x9, [x9, _out_invert@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_52
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh76:
	adrp	x8, _out_before@GOTPAGE
Lloh77:
	ldr	x8, [x8, _out_before@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x8]
	ldr	x8, [x24]
	ldr	x10, [x26]
	cmp	x22, x10
	cset	w11, eq
	cmp	w9, #1
	ccmp	x22, x8, #0, ge
	ccmp	x22, x10, #4, hi
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, x22
	b	LBB0_36
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w12, #0
	mov	x23, x22
LBB0_32:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w11, [x23, #-2]
	sub	x23, x23, #1
	cmp	w11, w25
	b.ne	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	add	w12, w12, #1
	cmp	x23, x10
	cset	w11, eq
	cmp	w12, w9
	b.ge	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=2
	cmp	x23, x8
	b.ls	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=2
	cmp	x23, x10
	b.ne	LBB0_32
LBB0_36:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	x28, x28, x22
	tbnz	w11, #0, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_16 Depth=1
	str	xzr, [x26]
LBB0_38:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x9, x22, x28
	sub	x22, x9, x23
Lloh79:
	adrp	x9, _out_byte@GOTPAGE
Lloh80:
	ldr	x9, [x9, _out_byte@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cbz	x9, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x19]
	ldr	w9, [x27]
	add	w8, w22, w8
	sub	w1, w9, w8
	bl	_add_count
	str	x0, [x19]
LBB0_40:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh82:
	adrp	x8, _out_line@GOTPAGE
Lloh83:
	ldr	x8, [x8, _out_line@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.41:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_nlscan
	b	LBB0_15
LBB0_42:
Lloh85:
	adrp	x20, _errno@GOTPAGE
Lloh86:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_is_EISDIR
	cbz	w0, LBB0_54
LBB0_43:
	mov	w21, #0
LBB0_44:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_45:
	cbz	x28, LBB0_52
; %bb.46:
	add	x9, x8, #1
	str	x9, [x27]
	strb	w25, [x8]
Lloh87:
	adrp	x8, _outleft@GOTPAGE
Lloh88:
	ldr	x8, [x8, _outleft@GOTPAGEOFF]
Lloh89:
	ldr	x8, [x8]
	cbz	x8, LBB0_48
; %bb.47:
	ldr	x8, [x24]
	add	x8, x8, x22
	sub	x0, x8, x28
	ldr	x1, [x27]
	bl	_grepbuf
	add	w21, w21, w0
LBB0_48:
Lloh90:
	adrp	x8, _pending@GOTPAGE
Lloh91:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	cbz	x8, LBB0_52
; %bb.49:
	ldr	x0, [x27]
	bl	_prpending
	b	LBB0_52
LBB0_50:
Lloh93:
	adrp	x20, _errno@GOTPAGE
Lloh94:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_is_EISDIR
	cbnz	w0, LBB0_52
; %bb.51:
Lloh95:
	adrp	x8, _filename@GOTPAGE
Lloh96:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh97:
	ldr	x0, [x8]
	ldr	w1, [x20]
	bl	_suppressible_error
LBB0_52:
Lloh98:
	adrp	x10, _done_on_match@GOTPAGE
Lloh99:
	ldr	x10, [x10, _done_on_match@GOTPAGEOFF]
	ldr	x8, [x10]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	sub	x8, x8, x9
	str	x8, [x10]
Lloh100:
	adrp	x10, _out_quiet@GOTPAGE
Lloh101:
	ldr	x10, [x10, _out_quiet@GOTPAGEOFF]
	ldr	w8, [x10]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	sub	w8, w8, w9
	bic	w9, w9, w8
	str	w8, [x10]
	cmp	w9, #0
	ccmp	w21, #0, #4, ne
	b.eq	LBB0_44
; %bb.53:
Lloh102:
	adrp	x0, l_.str.1@PAGE
Lloh103:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
Lloh104:
	adrp	x8, _filename@GOTPAGE
Lloh105:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh106:
	ldr	x1, [x8]
	bl	_printf
	b	LBB0_44
LBB0_54:
Lloh107:
	adrp	x8, _filename@GOTPAGE
Lloh108:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh109:
	ldr	x0, [x8]
	ldr	w1, [x20]
	bl	_suppressible_error
	mov	w21, #0
	b	LBB0_44
LBB0_55:
	bl	_BZ2_bzclose
LBB0_56:
	mov	x0, x19
	mov	x1, x20
	bl	_grepdir
	sub	w21, w0, #2
	b	LBB0_44
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.cfi_endproc
                                        ; -- End function
	.comm	_eolbyte,1,0                    ; @eolbyte
	.comm	_directories,8,3                ; @directories
	.comm	_RECURSE_DIRECTORIES,8,3        ; @RECURSE_DIRECTORIES
	.comm	_BZflag,8,3                     ; @BZflag
	.comm	_bzbufdesc,8,3                  ; @bzbufdesc
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_totalcc,8,3                    ; @totalcc
	.comm	_lastout,8,3                    ; @lastout
	.comm	_totalnl,8,3                    ; @totalnl
	.comm	_max_count,8,3                  ; @max_count
	.comm	_outleft,8,3                    ; @outleft
	.comm	_after_last_match,8,3           ; @after_last_match
	.comm	_pending,8,3                    ; @pending
	.comm	_filename,8,3                   ; @filename
	.comm	_binary_files,8,3               ; @binary_files
	.comm	_BINARY_BINARY_FILES,8,3        ; @BINARY_BINARY_FILES
	.comm	_out_quiet,4,2                  ; @out_quiet
	.comm	_WITHOUT_MATCH_BINARY_FILES,8,3 ; @WITHOUT_MATCH_BINARY_FILES
	.comm	_bufbeg,8,3                     ; @bufbeg
	.comm	_buflim,8,3                     ; @buflim
	.comm	_done_on_match,8,3              ; @done_on_match
	.comm	_lastnl,8,3                     ; @lastnl
	.comm	_out_invert,4,2                 ; @out_invert
	.comm	_out_before,4,2                 ; @out_before
	.comm	_out_byte,8,3                   ; @out_byte
	.comm	_out_line,8,3                   ; @out_line
l_.str.1:                               ; @.str.1
	.asciz	"Binary file %s matches\n"

	.comm	_Zflag,8,3                      ; @Zflag
	.comm	_gzbufdesc,4,2                  ; @gzbufdesc
	.no_dead_strip	_grep
.subsections_via_symbols
