	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rerere_forget                  ## -- Begin function rerere_forget
	.p2align	4, 0x90
_rerere_forget:                         ## @rerere_forget
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	callq	_repo_read_index
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	movq	_RERERE_NOAUTOUPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	callq	_setup_rerere
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_unmerge_index
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_find_conflict
	cmpl	$0, -80(%rbp)
	jle	LBB0_8
## %bb.4:
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movslq	-80(%rbp), %rax
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %r14
	movl	(%r13), %ebx
	movl	(%r14,%r12,4), %r15d
	movl	%r15d, %edi
	callq	_strlen
	movl	$0, (%rsp)
	movl	%ebx, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_match_pathspec
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	movl	(%r14,%r12,4), %esi
	leaq	-96(%rbp), %rdx
	callq	_rerere_forget_one_path
	jmp	LBB0_7
LBB0_8:
	leaq	-96(%rbp), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_write_rr
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
LBB0_9:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ## @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index file corrupt"

	.comm	_RERERE_NOAUTOUPDATE,4,2        ## @RERERE_NOAUTOUPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rerere_forget                  ; -- Begin function rerere_forget
	.p2align	2
_rerere_forget:                         ; @rerere_forget
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	stp	q0, q0, [sp]
	bl	_repo_read_index
	tbnz	x0, #63, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _RERERE_NOAUTOUPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RERERE_NOAUTOUPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x20
	bl	_setup_rerere
	tbnz	w0, #31, LBB0_9
; %bb.2:
	mov	x21, x0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_unmerge_index
	add	x1, sp, #16
	mov	x0, x20
	bl	_find_conflict
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x24, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [sp, #16]
	cmp	x24, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [sp, #24]
	ldr	w22, [x20]
	ldr	w23, [x25, x24, lsl #2]
	mov	x0, x23
	bl	_strlen
	mov	x3, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	bl	_match_pathspec
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20]
	ldr	w1, [x25, x24, lsl #2]
	mov	x2, sp
	bl	_rerere_forget_one_path
	b	LBB0_4
LBB0_7:
	mov	x0, sp
	mov	x1, x21
	bl	_write_rr
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_error
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ; @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index file corrupt"

	.comm	_RERERE_NOAUTOUPDATE,4,2        ; @RERERE_NOAUTOUPDATE
.subsections_via_symbols
