	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_change_note_fanout
_do_change_note_fanout:                 ## @do_change_note_fanout
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	addl	%ecx, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_load_tree
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
LBB0_3:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, %eax
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	addq	%r15, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leal	1(%r14), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	%r14d, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rbx
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpq	%rax, %r15
	jae	LBB0_25
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %r12
	movq	8(%r12), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_24
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movl	(%rax), %edx
	leal	(%rdx,%rsi), %r13d
	cmpl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	ja	LBB0_24
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, %ecx
	andl	$1, %ecx
	jne	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	4(%rax), %esi
	movq	-160(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movb	$47, (%rbx,%rax)
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %edi
	addq	%rbx, %rdi
	movq	16(%r12), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_memcpy
	movq	16(%r12), %rax
	addl	(%rax), %r14d
	movb	$0, (%rbx,%r14)
	cmpl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	-168(%rbp), %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	je	LBB0_13
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	8(%rax), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	subq	$8, %rsp
	movzbl	16(%rbp), %eax
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%rsi, %rbx
	movq	%r12, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	callq	_do_change_note_fanout
	movq	%rbx, %rsi
	addq	$16, %rsp
	addq	%rax, -56(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_22
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	16(%rbp), %eax
	cmpb	$-1, %al
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%al, %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_construct_path_with_fanout
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-192(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_tree_content_remove
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_die
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-192(%rbp), %r8
	movq	-184(%rbp), %rdx
	movl	8(%rdx), %ecx
	addq	$12, %rdx
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_tree_content_set
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	-56(%rbp)                       ## 8-byte Folded Spill
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_24
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	-56(%rbp)                       ## 8-byte Folded Spill
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_24
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_25:
	movq	-144(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ## @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to remove path %s"

	.no_dead_strip	_do_change_note_fanout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_change_note_fanout
_do_change_note_fanout:                 ; @do_change_note_fanout
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #112
	stur	w6, [x29, #-148]                ; 4-byte Folded Spill
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	stur	x0, [x29, #-168]                ; 8-byte Folded Spill
	mov	x8, sp
	stur	x8, [x29, #-184]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w9, w8, w9, asr #1
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x8, x9, x8
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh8:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh9:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w24, [x8]
	ldr	x20, [x1]
	cbnz	x20, LBB0_2
; %bb.1:
	mov	x0, x25
	bl	_load_tree
	ldr	x20, [x25]
	cbz	x20, LBB0_21
LBB0_2:
	mov	x28, #0
	mov	x27, #0
	stur	x23, [x29, #-128]               ; 8-byte Folded Spill
	add	x8, x23, w22, uxtw
	stp	x25, x8, [x29, #-144]           ; 16-byte Folded Spill
	add	w8, w19, #1
	stur	w8, [x29, #-152]                ; 4-byte Folded Spill
	mov	w8, w19
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x23
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	ldr	x20, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	cbz	x20, LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	x28, x8
	b.hs	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	x26, [x8, x28, lsl #3]
	ldp	x9, x8, [x26, #8]
	ldr	w2, [x8]
	add	w25, w2, w22
	ldr	w9, [x9, #8]
	and	w10, w2, #0x1
	cmp	w9, #0
	ccmp	w25, w24, #2, ne
	ccmp	w10, #0, #0, ls
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x8, #4]
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	bl	_memcpy
	mov	x23, x19
	cbz	w19, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	mov	w9, #47
	strb	w9, [x21, x8]
	ldur	w19, [x29, #-152]               ; 4-byte Folded Reload
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x21, w19, uxtw
	ldr	x8, [x26, #16]
	ldp	w2, w1, [x8]
	bl	_memcpy
	ldr	x8, [x26, #16]
	ldr	w8, [x8]
	add	w19, w8, w19
	strb	wzr, [x21, w19, uxtw]
	cmp	w25, w24
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #120
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_get_oid_hex
	cbz	w0, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26, #8]
	ldr	w0, [x8, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x1, x26
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x21
	mov	x5, x19
	ldur	w6, [x29, #-148]                ; 4-byte Folded Reload
	bl	_do_change_note_fanout
	add	x27, x0, x27
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w1, [x29, #-148]                ; 4-byte Folded Reload
	cmp	w1, #255
	b.eq	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	ldur	x19, [x29, #-176]               ; 8-byte Folded Reload
	mov	x2, x19
	bl	_construct_path_with_fanout
	mov	x0, x21
	mov	x1, x19
	bl	_strcmp
	mov	x19, x23
	cbz	w0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x2, x29, #112
	ldur	x20, [x29, #-168]               ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_tree_content_remove
	cbnz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_die
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x4, x8, [x29, #-112]
	add	x2, x8, #12
	ldr	w3, [x8, #8]
	mov	x0, x20
	ldur	x1, [x29, #-176]                ; 8-byte Folded Reload
	bl	_tree_content_set
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	mov	x19, x23
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	b	LBB0_5
LBB0_21:
	mov	x27, #0
LBB0_22:
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x27
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GIT_MAX_HEXSZ,4,2              ; @GIT_MAX_HEXSZ
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to remove path %s"

	.no_dead_strip	_do_change_note_fanout
.subsections_via_symbols
