	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rerere_remaining               ## -- Begin function rerere_remaining
	.p2align	4, 0x90
_rerere_remaining:                      ## @rerere_remaining
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_RERERE_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_setup_rerere
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r12, %rdi
	callq	_repo_read_index
	testq	%rax, %rax
	js	LBB0_11
## %bb.2:
	movq	(%r12), %rdi
	cmpl	$0, (%rdi)
	jle	LBB0_10
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_string_list_insert
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	cmpl	(%rdi), %r15d
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rax
	movslq	%r15d, %rsi
	movq	(%rax,%rsi,8), %rbx
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-44(%rbp), %rdx
	callq	_check_one_conflict
	movl	%eax, %r15d
	movl	-44(%rbp), %eax
	movq	_PUNTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_RESOLVED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_string_list_lookup
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_free_rerere_id
	movq	_RERERE_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_9
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RERERE_READONLY,4,2            ## @RERERE_READONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index file corrupt"

	.comm	_PUNTED,4,2                     ## @PUNTED
	.comm	_RESOLVED,4,2                   ## @RESOLVED
	.comm	_RERERE_RESOLVED,4,2            ## @RERERE_RESOLVED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rerere_remaining               ; -- Begin function rerere_remaining
	.p2align	2
_rerere_remaining:                      ; @rerere_remaining
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RERERE_READONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RERERE_READONLY@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_setup_rerere
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
LBB0_2:
	mov	x0, x20
	bl	_repo_read_index
	tbnz	x0, #63, LBB0_11
; %bb.3:
	ldr	x0, [x20]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.4:
	mov	w21, #0
Lloh3:
	adrp	x23, _PUNTED@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PUNTED@GOTPAGEOFF]
Lloh5:
	adrp	x24, _RESOLVED@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RESOLVED@GOTPAGEOFF]
Lloh7:
	adrp	x25, _RERERE_RESOLVED@GOTPAGE
Lloh8:
	ldr	x25, [x25, _RERERE_RESOLVED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22]
	mov	x0, x19
	bl	_string_list_insert
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	ldr	w8, [x0]
	cmp	w21, w8
	b.ge	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #8]
	ldr	x22, [x8, w21, sxtw #3]
	add	x2, sp, #12
	mov	x1, x21
	bl	_check_one_conflict
	mov	x21, x0
	ldr	w8, [sp, #12]
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22]
	mov	x0, x19
	bl	_string_list_lookup
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x0
	bl	_free_rerere_id
	ldr	w8, [x25]
	str	w8, [x22]
	b	LBB0_6
LBB0_11:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	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
	add	sp, sp, #96
	b	_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RERERE_READONLY,4,2            ; @RERERE_READONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index file corrupt"

	.comm	_PUNTED,4,2                     ; @PUNTED
	.comm	_RESOLVED,4,2                   ; @RESOLVED
	.comm	_RERERE_RESOLVED,4,2            ; @RERERE_RESOLVED
.subsections_via_symbols
