	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grep_tree
_grep_tree:                             ## @grep_tree
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r14), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -144(%rbp)
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	8(%rcx), %rsi
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	-144(%rbp), %rdi
	callq	_strbuf_addstr
	movl	-144(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_2:
	leaq	-104(%rbp), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_24
## %bb.3:
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-104(%rbp), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_24
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r12
	movq	%r15, %rdi
	callq	_tree_entry_len
	movl	%eax, %ebx
	movq	_all_entries_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rsi
	addq	8(%r14), %rsi
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_tree_entry_interesting
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_strbuf_setlen
	movq	_all_entries_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-96(%rbp), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_strbuf_add
	movl	-100(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movq	8(%r14), %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rax
	movl	$0, %r8d
	cmovneq	%rax, %r8
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r15
	movq	%r12, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_grep_oid
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	orl	%eax, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-100(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	leaq	-172(%rbp), %rsi
	leaq	-160(%rbp), %rdx
	callq	_lock_and_read_oid_file
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_oid_to_hex
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_die
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
	movq	-160(%rbp), %rdx
	leaq	-168(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_init_tree_desc
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_grep_tree
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	orl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	movq	%r12, %r15
	jmp	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_recurse_submodules@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-100(%rbp), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	movq	%r12, %r15
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rcx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	$1, %r9d
	callq	_grep_submodule
	jmp	LBB0_12
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r15
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	callq	_strbuf_setlen
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_24:
	leaq	-144(%rbp), %rdi
	callq	_strbuf_release
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entry_not_interesting,4,2      ## @entry_not_interesting
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_all_entries_interesting,4,2    ## @all_entries_interesting
	.comm	_all_entries_not_interesting,4,2 ## @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read tree (%s)"

	.comm	_recurse_submodules,8,3         ## @recurse_submodules
	.no_dead_strip	_grep_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grep_tree
_grep_tree:                             ; @grep_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x5
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x25, x1
	mov	x24, x0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x8, _entry_not_interesting@GOTPAGE
Lloh1:
	ldr	x8, [x8, _entry_not_interesting@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	ldr	w8, [x3]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #48]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_2
; %bb.1:
	add	x0, sp, #48
	bl	_strbuf_addstr
	ldr	w8, [sp, #48]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_3:
	add	x1, sp, #64
	mov	x0, x22
	bl	_tree_entry
	mov	w28, #0
	cbz	x0, LBB0_21
; %bb.4:
	sxtw	x20, w23
	str	x22, [sp]                       ; 8-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #64
	mov	x0, x22
	bl	_tree_entry
	cbz	x0, LBB0_21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #64
	bl	_tree_entry_len
	mov	x26, x0
Lloh6:
	adrp	x8, _all_entries_interesting@GOTPAGE
Lloh7:
	ldr	x8, [x8, _all_entries_interesting@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x20, lsl #2
	add	x0, sp, #48
	bl	_strbuf_addstr
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	add	x1, sp, #64
	add	x2, sp, #48
	mov	w3, #0
	mov	x4, x25
	bl	_tree_entry_interesting
	mov	x27, x0
	add	x0, sp, #48
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_strbuf_setlen
Lloh9:
	adrp	x8, _all_entries_not_interesting@GOTPAGE
Lloh10:
	ldr	x8, [x8, _all_entries_not_interesting@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x8, _entry_not_interesting@GOTPAGE
Lloh13:
	ldr	x8, [x8, _entry_not_interesting@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [sp, #72]
	mov	x0, x21
	mov	x2, x26
	bl	_strbuf_add
	ldr	w0, [sp, #68]
	bl	_S_ISREG
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x21, #8]
	add	x8, x2, x20, lsl #2
	cmp	w19, #0
	csel	x4, xzr, x8, eq
	add	x1, sp, #64
	mov	x0, x24
	mov	x3, x23
	bl	_grep_oid
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	orr	w28, w0, w28
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #68]
	bl	_S_ISDIR
	cbz	x0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #64
	add	x1, sp, #44
	add	x2, sp, #32
	bl	_lock_and_read_oid_file
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x22, x25
	mov	x25, x23
	mov	x23, x19
	mov	x19, x0
	add	x0, sp, #64
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	mov	x19, x23
	mov	x23, x25
	mov	x25, x22
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	bl	_die
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	w1, #47
	bl	_strbuf_addch
	ldr	x2, [sp, #32]
	add	x0, sp, #40
	mov	x1, x26
	bl	_init_tree_desc
	add	x2, sp, #40
	mov	x0, x24
	mov	x1, x25
	mov	x3, x21
	mov	x4, x23
	mov	x5, x19
	bl	_grep_tree
	orr	w28, w0, w28
	mov	x0, x26
	bl	_free
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_strbuf_setlen
	cbz	w28, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_5
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x8, _recurse_submodules@GOTPAGE
Lloh18:
	ldr	x8, [x8, _recurse_submodules@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #68]
	bl	_S_ISGITLINK
	cbz	x0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x3, [x21, #8]
	add	x4, x3, x20, lsl #2
	add	x2, sp, #64
	mov	x0, x24
	mov	x1, x25
	mov	w5, #1
	bl	_grep_submodule
	b	LBB0_11
LBB0_21:
	add	x0, sp, #48
	bl	_strbuf_release
	mov	x0, x28
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_entry_not_interesting,4,2      ; @entry_not_interesting
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_all_entries_interesting,4,2    ; @all_entries_interesting
	.comm	_all_entries_not_interesting,4,2 ; @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read tree (%s)"

	.comm	_recurse_submodules,8,3         ; @recurse_submodules
	.no_dead_strip	_grep_tree
.subsections_via_symbols
