	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_rerere_dir
_find_rerere_dir:                       ## @find_rerere_dir
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GIT_MAX_RAWSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_sha1_hex
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_rerere_dir@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_rerere_dir_nr@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_rerere_dir_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_sha1_pos
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	$32, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movl	24(%rax), %edi
	movq	%r12, %rsi
	callq	_hashcpy
	movq	%rbx, %r12
	movl	%r15d, %ebx
	notl	%ebx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	$0, 16(%r14)
	movq	(%r12), %rdi
	movl	(%r13), %esi
	incl	%esi
	movq	_rerere_dir_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ALLOC_GROW
	movl	(%r13), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r13)
	movq	(%r12), %rcx
	leaq	(%rcx,%rbx,8), %rsi
	leaq	(%rcx,%rbx,8), %rdi
	addq	$8, %rdi
	leal	(%rax,%r15), %edx
	incl	%edx
	callq	_MOVE_ARRAY
	movq	(%r12), %rax
	movq	%r14, (%rax,%rbx,8)
	movq	%r14, %rdi
	callq	_scan_rerere_dir
	movl	%ebx, %r15d
	movq	%r12, %rbx
LBB0_4:
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GIT_MAX_RAWSZ,4,2              ## @GIT_MAX_RAWSZ
	.comm	_rerere_dir,8,3                 ## @rerere_dir
	.comm	_rerere_dir_nr,4,2              ## @rerere_dir_nr
	.comm	_rerere_dir_hash,4,2            ## @rerere_dir_hash
	.comm	_rerere_dir_alloc,4,2           ## @rerere_dir_alloc
	.no_dead_strip	_find_rerere_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_rerere_dir
_find_rerere_dir:                       ; @find_rerere_dir
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _GIT_MAX_RAWSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIT_MAX_RAWSZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x1, x20
	bl	_get_sha1_hex
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x22, _rerere_dir@GOTPAGE
Lloh9:
	ldr	x22, [x22, _rerere_dir@GOTPAGEOFF]
	ldr	x1, [x22]
Lloh10:
	adrp	x23, _rerere_dir_nr@GOTPAGE
Lloh11:
	ldr	x23, [x23, _rerere_dir_nr@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh12:
	adrp	x8, _rerere_dir_hash@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rerere_dir_hash@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_sha1_pos
	mov	x19, x0
	tbz	w0, #31, LBB0_4
; %bb.3:
	mov	w0, #32
	bl	_xmalloc
	mov	x21, x0
	ldr	w0, [x0, #24]
	mov	x1, x20
	bl	_hashcpy
	mvn	w20, w19
	stp	xzr, xzr, [x21, #8]
	str	xzr, [x21]
	ldr	x0, [x22]
	ldr	w8, [x23]
	add	w1, w8, #1
Lloh15:
	adrp	x8, _rerere_dir_alloc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _rerere_dir_alloc@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_ALLOC_GROW
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	x9, [x22]
	lsl	x23, x20, #3
	add	x1, x9, x23
	add	x0, x1, #8
	add	w2, w8, w19
	bl	_MOVE_ARRAY
	ldr	x8, [x22]
	str	x21, [x8, x23]
	mov	x0, x21
	bl	_scan_rerere_dir
	mov	x19, x20
LBB0_4:
	ldr	x8, [x22]
	ldr	x0, [x8, w19, sxtw #3]
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GIT_MAX_RAWSZ,4,2              ; @GIT_MAX_RAWSZ
	.comm	_rerere_dir,8,3                 ; @rerere_dir
	.comm	_rerere_dir_nr,4,2              ; @rerere_dir_nr
	.comm	_rerere_dir_hash,4,2            ; @rerere_dir_hash
	.comm	_rerere_dir_alloc,4,2           ; @rerere_dir_alloc
	.no_dead_strip	_find_rerere_dir
.subsections_via_symbols
