	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_file
_handle_file:                           ## @handle_file
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_ll_merge_marker_size
	movl	%eax, %r12d
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_rerere_file_getline@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, -40(%rbp)
	movl	$0, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_handle_path
	movl	%eax, %r15d
	movq	-40(%rbp), %rdi
	callq	_fclose
	cmpl	$0, -64(%rbp)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %r12d
	movl	-64(%rbp), %edi
	callq	_strerror
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_7:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_error_errno
	movl	%eax, -64(%rbp)
LBB0_10:
	testl	%r15d, %r15d
	js	LBB0_11
## %bb.14:
	xorl	%eax, %eax
	cmpl	-64(%rbp), %eax
	sbbl	%eax, %eax
	orl	%r15d, %eax
	jmp	LBB0_15
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_error_errno
	jmp	LBB0_15
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_unlink_or_warn
LBB0_13:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_error_errno
	movq	-40(%rbp), %rdi
	callq	_fclose
	movl	$-1, %eax
LBB0_15:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rerere_file_getline,4,2        ## @rerere_file_getline
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"could not open '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"w"

L_.str.3:                               ## @.str.3
	.asciz	"could not write '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"there were errors while writing '%s' (%s)"

L_.str.5:                               ## @.str.5
	.asciz	"failed to flush '%s'"

L_.str.6:                               ## @.str.6
	.asciz	"could not parse conflict hunks in '%s'"

	.no_dead_strip	_handle_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_file
_handle_file:                           ; @handle_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_ll_merge_marker_size
	mov	x22, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _rerere_file_getline@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rerere_file_getline@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	str	x0, [sp, #40]
	str	wzr, [sp, #16]
	cbz	x0, LBB0_10
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fopen
	str	x0, [sp, #24]
	cbz	x0, LBB0_14
LBB0_3:
	add	x1, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_handle_path
	mov	x21, x0
	ldr	x0, [sp, #40]
	bl	_fclose
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_.str.4@PAGE
Lloh8:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x22, x0
	ldr	w0, [sp, #16]
	bl	_strerror
	str	x0, [sp]
	mov	x0, x22
	mov	x1, x19
	bl	_error
LBB0_5:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_8
; %bb.6:
	bl	_fclose
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x0, l_.str.5@PAGE
Lloh10:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_error_errno
	str	w0, [sp, #16]
LBB0_8:
	tbnz	w21, #31, LBB0_11
; %bb.9:
	ldr	w8, [sp, #16]
	cmp	w8, #0
	csinv	w0, w21, wzr, eq
	b	LBB0_15
LBB0_10:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_error_errno
	b	LBB0_15
LBB0_11:
	cbz	x20, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_unlink_or_warn
LBB0_13:
Lloh13:
	adrp	x0, l_.str.6@PAGE
Lloh14:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_error
	b	LBB0_15
LBB0_14:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_error_errno
	ldr	x0, [sp, #40]
	bl	_fclose
	mov	w0, #-1
LBB0_15:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_rerere_file_getline,4,2        ; @rerere_file_getline
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"could not open '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"w"

l_.str.3:                               ; @.str.3
	.asciz	"could not write '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"there were errors while writing '%s' (%s)"

l_.str.5:                               ; @.str.5
	.asciz	"failed to flush '%s'"

l_.str.6:                               ; @.str.6
	.asciz	"could not parse conflict hunks in '%s'"

	.no_dead_strip	_handle_file
.subsections_via_symbols
