	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grep_directory
_grep_directory:                        ## @grep_directory
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_4
LBB0_3:
	leaq	-64(%rbp), %rdi
	callq	_setup_standard_excludes
LBB0_4:
	movq	8(%r13), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	movq	%r14, %rdx
	callq	_fill_directory
	cmpl	$0, -64(%rbp)
	jle	LBB0_5
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %eax
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	-64(%rbp), %rcx
	movl	%eax, %r15d
	cmpq	%rcx, %rbx
	jge	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dir_path_match
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_grep_file
	orl	%r15d, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	movq	_DIR_NO_GITLINKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	testl	%r15d, %r15d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIR_NO_GITLINKS,4,2            ## @DIR_NO_GITLINKS
	.no_dead_strip	_grep_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grep_directory
_grep_directory:                        ; @grep_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	cbz	w22, LBB0_9
; %bb.1:
	cbz	w21, LBB0_3
LBB0_2:
	add	x0, sp, #8
	bl	_setup_standard_excludes
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x19
	bl	_fill_directory
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x22, #0
	mov	w21, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [sp, #8]
	cmp	x22, x8
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x8, [sp, #16]
	ldr	x1, [x8, x22, lsl #3]
	mov	x2, x19
	mov	w3, #0
	mov	x4, #0
	bl	_dir_path_match
	cbz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #16]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_grep_file
	orr	w21, w0, w21
	cbz	w21, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_5
	b	LBB0_11
LBB0_9:
Lloh0:
	adrp	x8, _DIR_NO_GITLINKS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIR_NO_GITLINKS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
	cbnz	w21, LBB0_2
	b	LBB0_3
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIR_NO_GITLINKS,4,2            ; @DIR_NO_GITLINKS
	.no_dead_strip	_grep_directory
.subsections_via_symbols
