	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function files_transaction_finish
_files_transaction_finish:              ## @files_transaction_finish
	.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, %rbx
	movq	%rsi, %r12
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_files_downcast
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_assert
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.5:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_REF_NEEDS_COMMIT@GOTPCREL(%rip), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	(%r12), %rax
	cmpq	%rax, %r15
	jae	LBB0_3
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %r13
	movq	16(%r13), %rbx
	movl	(%r13), %r9d
	testl	%r9d, (%r14)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_REF_LOG_ONLY@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %esi
	leaq	4(%rbx), %rdx
	leaq	28(%r13), %rcx
	movl	24(%r13), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_files_log_ref_write
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %eax
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_clear_loose_ref_cache
	movq	%rbx, %rdi
	callq	_commit_ref
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_13
LBB0_1:
	movq	_REF_TRANSACTION_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	jmp	LBB0_41
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.15:
	xorl	%ebx, %ebx
	movq	_REF_DELETING@GOTPCREL(%rip), %r15
	movq	_REF_IS_PRUNING@GOTPCREL(%rip), %r13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	movq	(%r12), %rax
	cmpq	%rax, %rbx
	jae	LBB0_22
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %r14
	movl	(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_REF_LOG_ONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, (%r13)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_strbuf_reset
	movl	8(%r14), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	_REF_IS_PRUNING@GOTPCREL(%rip), %r13
	callq	_files_reflog_path
	movl	-48(%rbp), %edi
	callq	_unlink_or_warn
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	8(%r14), %esi
	movq	_REMOVE_EMPTY_PARENTS_REFLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_try_remove_empty_parents
	jmp	LBB0_21
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movq	%rax, %r15
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_strbuf_addf
	movq	%r15, %rdi
	callq	_free
LBB0_13:
	movq	%rbx, %rdi
	callq	_unlock_ref
	movq	$0, 16(%r13)
LBB0_14:
	movq	_TRANSACTION_GENERIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_35
LBB0_4:
	xorl	%eax, %eax
LBB0_22:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.23:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ref_transaction_commit
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_ref_transaction_free
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	testl	%r13d, %r13d
	jne	LBB0_35
## %bb.24:
	movq	(%r12), %rax
LBB0_25:
	testq	%rax, %rax
	je	LBB0_34
## %bb.26:
	xorl	%ebx, %ebx
	movq	_REF_DELETING@GOTPCREL(%rip), %r15
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_34
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %r14
	movl	(%r14), %ecx
	testl	%ecx, (%r15)
	je	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_REF_LOG_ONLY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	16(%r14), %r8
	movl	4(%r14), %ecx
	movq	_REF_ISPACKED@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_REF_ISSYMREF@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r8, %r13
	callq	_strbuf_reset
	movl	(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	callq	_files_ref_path
	movl	-48(%rbp), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_unlink_or_msg
	testq	%rax, %rax
	jne	LBB0_14
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_REF_DELETED_LOOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	(%r12), %rax
	jmp	LBB0_33
LBB0_34:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_clear_loose_ref_cache
	xorl	%r13d, %r13d
LBB0_35:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_files_transaction_cleanup
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_40
## %bb.36:
	xorl	%ebx, %ebx
	movq	_REF_DELETED_LOOSE@GOTPCREL(%rip), %r14
	movq	_REMOVE_EMPTY_PARENTS_REF@GOTPCREL(%rip), %r15
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_40
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%r14), %edx
	testl	%edx, (%rcx)
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movl	8(%rcx), %esi
	movl	(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_try_remove_empty_parents
	movq	(%r12), %rax
	jmp	LBB0_39
LBB0_40:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
LBB0_41:
	movl	%r13d, %eax
	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	"ref_transaction_finish"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_REF_TRANSACTION_CLOSED,4,2     ## @REF_TRANSACTION_CLOSED
	.comm	_REF_NEEDS_COMMIT,4,2           ## @REF_NEEDS_COMMIT
	.comm	_REF_LOG_ONLY,4,2               ## @REF_LOG_ONLY
L_.str.1:                               ## @.str.1
	.asciz	"cannot update the ref '%s': %s"

	.comm	_TRANSACTION_GENERIC_ERROR,4,2  ## @TRANSACTION_GENERIC_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"couldn't set '%s'"

	.comm	_REF_DELETING,4,2               ## @REF_DELETING
	.comm	_REF_IS_PRUNING,4,2             ## @REF_IS_PRUNING
	.comm	_REMOVE_EMPTY_PARENTS_REFLOG,4,2 ## @REMOVE_EMPTY_PARENTS_REFLOG
	.comm	_REF_ISPACKED,4,2               ## @REF_ISPACKED
	.comm	_REF_ISSYMREF,4,2               ## @REF_ISSYMREF
	.comm	_REF_DELETED_LOOSE,4,2          ## @REF_DELETED_LOOSE
	.comm	_REMOVE_EMPTY_PARENTS_REF,4,2   ## @REMOVE_EMPTY_PARENTS_REF
	.no_dead_strip	_files_transaction_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function files_transaction_finish
_files_transaction_finish:              ; @files_transaction_finish
	.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	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	bl	_files_downcast
	mov	x20, x0
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x21
	bl	_assert
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x27, #0
	ldr	x26, [x19, #16]
	ldr	x22, [x26]
Lloh5:
	adrp	x28, _REF_NEEDS_COMMIT@GOTPAGE
Lloh6:
	ldr	x28, [x28, _REF_NEEDS_COMMIT@GOTPAGEOFF]
Lloh7:
	adrp	x24, _REF_LOG_ONLY@GOTPAGE
Lloh8:
	ldr	x24, [x24, _REF_LOG_ONLY@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldr	x8, [x19]
	cmp	x27, x8
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x25, [x8, x27, lsl #3]
	ldr	x23, [x25, #16]
	ldr	w5, [x25]
	ldr	w8, [x28]
	tst	w8, w5
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	tst	w8, w5
	b.eq	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x23
	ldr	w1, [x2], #4
	add	x3, x25, #28
	ldr	w4, [x25, #24]
	mov	x0, x20
	mov	x6, x21
	bl	_files_log_ref_write
	cbnz	x0, LBB0_30
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_clear_loose_ref_cache
	mov	x0, x23
	bl	_commit_ref
	cbz	x0, LBB0_2
; %bb.8:
	ldr	w2, [x23]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strbuf_addf
	b	LBB0_31
LBB0_9:
	mov	w23, #0
Lloh11:
	adrp	x8, _REF_TRANSACTION_CLOSED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REF_TRANSACTION_CLOSED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	b	LBB0_40
LBB0_10:
Lloh14:
	adrp	x25, _REF_DELETING@GOTPAGE
Lloh15:
	ldr	x25, [x25, _REF_DELETING@GOTPAGEOFF]
	cbz	x8, LBB0_18
; %bb.11:
	mov	x23, #0
Lloh16:
	adrp	x27, _REF_IS_PRUNING@GOTPAGE
Lloh17:
	ldr	x27, [x27, _REF_IS_PRUNING@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	cmp	x23, x8
	b.hs	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x28, [x8, x23, lsl #3]
	ldr	w8, [x28]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	w2, [x28, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_files_reflog_path
	ldr	w0, [sp, #8]
	bl	_unlink_or_warn
	cbnz	w0, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x28, #8]
Lloh18:
	adrp	x8, _REMOVE_EMPTY_PARENTS_REFLOG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REMOVE_EMPTY_PARENTS_REFLOG@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_try_remove_empty_parents
	b	LBB0_12
LBB0_18:
	cbz	x22, LBB0_21
; %bb.19:
	mov	x0, x22
	mov	x1, x21
	bl	_ref_transaction_commit
	mov	x23, x0
	mov	x0, x22
	bl	_ref_transaction_free
	str	xzr, [x26]
	cbnz	w23, LBB0_34
; %bb.20:
	ldr	x8, [x19]
LBB0_21:
	cbz	x8, LBB0_33
; %bb.22:
	mov	x22, #0
Lloh21:
	adrp	x23, _REF_ISPACKED@GOTPAGE
Lloh22:
	ldr	x23, [x23, _REF_ISPACKED@GOTPAGEOFF]
Lloh23:
	adrp	x26, _REF_DELETED_LOOSE@GOTPAGE
Lloh24:
	ldr	x26, [x26, _REF_DELETED_LOOSE@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x22, x22, #1
	cmp	x22, x8
	b.hs	LBB0_33
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x28, [x9, x22, lsl #3]
	ldr	w9, [x28]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w10, [x24]
	tst	w10, w9
	b.ne	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x27, [x28, #16]
	ldr	w9, [x28, #4]
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
Lloh25:
	adrp	x10, _REF_ISSYMREF@GOTPAGE
Lloh26:
	ldr	x10, [x10, _REF_ISSYMREF@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	w2, [x27]
	add	x1, sp, #8
	mov	x0, x20
	bl	_files_ref_path
	ldr	w0, [sp, #8]
	mov	x1, x21
	bl	_unlink_or_msg
	cbnz	x0, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	ldr	x8, [x19]
	b	LBB0_23
LBB0_30:
	mov	x0, x21
	mov	x1, #0
	bl	_strbuf_detach
	mov	x22, x0
	ldr	w2, [x23]
	str	x0, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strbuf_addf
	mov	x0, x22
	bl	_free
LBB0_31:
	mov	x0, x23
	bl	_unlock_ref
	str	xzr, [x25, #16]
LBB0_32:
Lloh30:
	adrp	x8, _TRANSACTION_GENERIC_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TRANSACTION_GENERIC_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w23, [x8]
	b	LBB0_34
LBB0_33:
	mov	x0, x20
	bl	_clear_loose_ref_cache
	mov	w23, #0
LBB0_34:
	mov	x0, x20
	mov	x1, x19
	bl	_files_transaction_cleanup
	ldr	x8, [x19]
	cbz	x8, LBB0_39
; %bb.35:
	mov	x21, #0
Lloh33:
	adrp	x22, _REF_DELETED_LOOSE@GOTPAGE
Lloh34:
	ldr	x22, [x22, _REF_DELETED_LOOSE@GOTPAGEOFF]
Lloh35:
	adrp	x24, _REMOVE_EMPTY_PARENTS_REF@GOTPAGE
Lloh36:
	ldr	x24, [x24, _REMOVE_EMPTY_PARENTS_REF@GOTPAGEOFF]
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x21, x21, #1
	cmp	x21, x8
	b.hs	LBB0_39
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x21, lsl #3]
	ldr	w10, [x9]
	ldr	w11, [x22]
	tst	w11, w10
	b.eq	LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	ldr	w1, [x9, #8]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_try_remove_empty_parents
	ldr	x8, [x19]
	b	LBB0_36
LBB0_39:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_40:
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ref_transaction_finish"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_REF_TRANSACTION_CLOSED,4,2     ; @REF_TRANSACTION_CLOSED
	.comm	_REF_NEEDS_COMMIT,4,2           ; @REF_NEEDS_COMMIT
	.comm	_REF_LOG_ONLY,4,2               ; @REF_LOG_ONLY
l_.str.1:                               ; @.str.1
	.asciz	"cannot update the ref '%s': %s"

	.comm	_TRANSACTION_GENERIC_ERROR,4,2  ; @TRANSACTION_GENERIC_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"couldn't set '%s'"

	.comm	_REF_DELETING,4,2               ; @REF_DELETING
	.comm	_REF_IS_PRUNING,4,2             ; @REF_IS_PRUNING
	.comm	_REMOVE_EMPTY_PARENTS_REFLOG,4,2 ; @REMOVE_EMPTY_PARENTS_REFLOG
	.comm	_REF_ISPACKED,4,2               ; @REF_ISPACKED
	.comm	_REF_ISSYMREF,4,2               ; @REF_ISSYMREF
	.comm	_REF_DELETED_LOOSE,4,2          ; @REF_DELETED_LOOSE
	.comm	_REMOVE_EMPTY_PARENTS_REF,4,2   ; @REMOVE_EMPTY_PARENTS_REF
	.no_dead_strip	_files_transaction_finish
.subsections_via_symbols
