	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_rerere_one_path
_do_rerere_one_path:                    ## @do_rerere_one_path
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	(%rsi), %r14
	movq	8(%rsi), %rbx
	movq	8(%rbx), %r15
	movl	(%rbx), %ecx
	movq	%rcx, %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	js	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_handle_file
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%r15)
	jle	LBB0_15
## %bb.4:
	xorl	%r14d, %r14d
	movq	_RR_HAS_PREIMAGE@GOTPCREL(%rip), %r13
	movq	_RR_HAS_POSTIMAGE@GOTPCREL(%rip), %rsi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movslq	8(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	orl	(%r13), %eax
	movups	(%rbx), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	(%r15), %rcx
	movl	(%rcx,%r14,4), %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, -96(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %r12
	movq	%rsi, %rbx
	leaq	-96(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_merge
	movq	%rbx, %rsi
	movq	%r12, %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:
	movl	(%rbx), %eax
	testl	%eax, %eax
	js	LBB0_10
## %bb.8:
	cmpl	%r14d, %eax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_remove_variant
LBB0_10:
	movq	_rerere_autoupdate@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_string_list_insert
	jmp	LBB0_13
LBB0_15:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_assign_variant
	movslq	(%rbx), %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rerere_path
	movq	%r14, %rdi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_handle_file
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movl	(%rcx,%r12,4), %eax
	movq	_RR_HAS_POSTIMAGE@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.16:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rerere_path
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_die_errno
LBB0_18:
	movl	(%r14), %eax
	notl	%eax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	andl	(%rcx,%r12,4), %eax
	movl	%eax, (%rcx,%r12,4)
LBB0_19:
	movq	_RR_HAS_PREIMAGE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx,%r12,4)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_fprintf_ln
	jmp	LBB0_20
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rerere_path
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_copy_file
	movq	_RR_HAS_POSTIMAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	orl	%eax, (%rcx,%rdx,4)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_fprintf_ln
	movq	%r13, %rdi
	callq	_free_rerere_id
	movq	$0, 8(%r13)
	jmp	LBB0_20
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_fprintf_ln
LBB0_13:
	movq	%rbx, %rdi
	callq	_free_rerere_id
	movq	$0, 8(%rbx)
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"postimage"

	.comm	_RR_HAS_POSTIMAGE,4,2           ## @RR_HAS_POSTIMAGE
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Recorded resolution for '%s'."

	.comm	_RR_HAS_PREIMAGE,4,2            ## @RR_HAS_PREIMAGE
	.comm	_rerere_autoupdate,8,3          ## @rerere_autoupdate
L_.str.2:                               ## @.str.2
	.asciz	"Resolved '%s' using previous resolution."

L_.str.3:                               ## @.str.3
	.asciz	"preimage"

L_.str.4:                               ## @.str.4
	.asciz	"cannot unlink stray '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"Recorded preimage for '%s'"

	.no_dead_strip	_do_rerere_one_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_rerere_one_path
_do_rerere_one_path:                    ; @do_rerere_one_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldp	x19, x21, [x1]
	ldr	x26, [x21, #8]
	ldr	w24, [x21]
	tbnz	w24, #31, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_handle_file
	cbz	w0, LBB0_17
LBB0_2:
	ldr	w8, [x26, #8]
Lloh0:
	adrp	x24, _RR_HAS_PREIMAGE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RR_HAS_PREIMAGE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _RR_HAS_POSTIMAGE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RR_HAS_POSTIMAGE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x27, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x26, #8]
	cmp	x27, x8
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	q0, [x21]
	str	q0, [sp]
	ldr	x9, [x26]
	ldr	w9, [x9, x27, lsl #2]
	bics	wzr, w8, w9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w27, [sp]
	mov	x1, sp
	mov	x0, x23
	mov	x2, x19
	bl	_merge
	cbnz	x0, LBB0_4
; %bb.7:
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_10
; %bb.8:
	cmp	w8, w27
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_remove_variant
LBB0_10:
Lloh4:
	adrp	x8, _rerere_autoupdate@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rerere_autoupdate@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.11:
	mov	x0, x22
	mov	x1, x19
	bl	_string_list_insert
	b	LBB0_20
LBB0_12:
	mov	x0, x21
	bl	_assign_variant
	ldrsw	x22, [x21]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_rerere_path
	mov	x3, x0
	mov	x0, x23
	mov	x1, x19
	mov	x2, #0
	bl	_handle_file
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w9, [x8, x22, lsl #2]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.13:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_rerere_path
	mov	x20, x0
	bl	_unlink
	cbz	x0, LBB0_15
; %bb.14:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die_errno
LBB0_15:
	ldr	w9, [x25]
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	lsl	x10, x22, #2
	ldr	w11, [x8, x10]
	bic	w9, w11, w9
	str	w9, [x8, x10]
LBB0_16:
	ldr	w10, [x24]
	orr	w9, w9, w10
	str	w9, [x8, x22, lsl #2]
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf_ln
	b	LBB0_21
LBB0_17:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_rerere_path
	mov	x1, x19
	mov	w2, #438
	bl	_copy_file
Lloh20:
	adrp	x8, _RR_HAS_POSTIMAGE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RR_HAS_POSTIMAGE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	lsl	x10, x24, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w21, [x8]
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_19:
	bl	__
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_fprintf_ln
LBB0_20:
	mov	x0, x20
	bl	_free_rerere_id
	str	xzr, [x20, #8]
LBB0_21:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"postimage"

	.comm	_RR_HAS_POSTIMAGE,4,2           ; @RR_HAS_POSTIMAGE
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Recorded resolution for '%s'."

	.comm	_RR_HAS_PREIMAGE,4,2            ; @RR_HAS_PREIMAGE
	.comm	_rerere_autoupdate,8,3          ; @rerere_autoupdate
l_.str.2:                               ; @.str.2
	.asciz	"Resolved '%s' using previous resolution."

l_.str.3:                               ; @.str.3
	.asciz	"preimage"

l_.str.4:                               ; @.str.4
	.asciz	"cannot unlink stray '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"Recorded preimage for '%s'"

	.no_dead_strip	_do_rerere_one_path
.subsections_via_symbols
