	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_file
_close_file:                            ## @close_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 40(%rdi)
	je	LBB0_20
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movl	84(%rdi), %edi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_svn_checksum_parse_hex
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	80(%r12), %edi
	movq	%r14, %rsi
	callq	_svn_checksum__from_digest_md5
	movq	%rax, %r15
	movq	-64(%rbp), %rdi
	movq	%rax, %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	72(%r12), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movl	(%rax), %edx
	movl	24(%r13), %ecx
	leaq	-68(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_get_eol_style
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	64(%r12), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movl	(%rax), %esi
	movl	56(%r12), %edx
	movl	52(%r12), %ecx
	movl	48(%r12), %r8d
	movq	16(%r12), %r9
	movl	44(%r12), %eax
	leaq	-48(%rbp), %rdi
	pushq	%r14
	pushq	%rax
	callq	_svn_subst_build_keywords3
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %r8
	jmp	LBB0_12
LBB0_2:
	movq	-64(%rbp), %r13
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movl	8(%r12), %edi
	movq	%r14, %rsi
	callq	_svn_dirent_local_style
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_svn_checksum_mismatch_err
	jmp	LBB0_21
LBB0_4:
	movq	64(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$0, 24(%r12)
	je	LBB0_6
LBB0_7:
	movq	$0, -56(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	$0, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_11
LBB0_10:
	xorl	%r8d, %r8d
LBB0_12:
	movl	40(%r12), %edi
	movq	-56(%rbp), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	8(%r12), %esi
	movl	24(%r12), %r10d
	movl	16(%r13), %ebx
	movl	20(%r13), %eax
	movl	%r15d, %ecx
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	callq	_svn_subst_copy_and_translate4
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	40(%r12), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_svn_io_remove_file2
LBB0_13:
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 32(%r12)
	je	LBB0_15
## %bb.14:
	movl	8(%r12), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_svn_io_set_file_executable
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_15:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	cmpl	$0, 24(%r12)
	jne	LBB0_18
## %bb.17:
	movl	8(%r12), %esi
	movq	%r14, %rdx
	callq	_svn_io_set_file_affected_time
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_18:
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_20
## %bb.19:
	movl	8(%r12), %edi
	movq	_svn_wc_notify_update_add@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_svn_wc_create_notify
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	(%r12), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	*8(%rcx)
LBB0_20:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	8(%r12), %esi
	movl	40(%r12), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_svn_io_file_rename2
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_svn_checksum_md5,4,2           ## @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Checksum mismatch for '%s'"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_svn_wc_notify_update_add,4,2   ## @svn_wc_notify_update_add
	.comm	_svn_node_file,4,2              ## @svn_node_file
	.no_dead_strip	_close_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_file
_close_file:                            ; @close_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_18
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x0]
	ldr	w0, [x0, #84]
	bl	_svn_stream_close
	bl	_SVN_ERR
Lloh0:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #40
	mov	x2, x21
	mov	x3, x19
	bl	_svn_checksum_parse_hex
	bl	_SVN_ERR
	ldr	w0, [x20, #80]
	mov	x1, x19
	bl	_svn_checksum__from_digest_md5
	mov	x21, x0
	ldr	x0, [sp, #40]
	mov	x1, x21
	bl	_svn_checksum_match
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x20, #72]
Lloh3:
	adrp	x22, _TRUE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
Lloh5:
	adrp	x23, _FALSE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.3:
	stp	xzr, xzr, [sp, #16]
	ldr	w2, [x8]
	ldr	w3, [x24, #24]
	add	x0, sp, #36
	add	x1, sp, #24
	bl	_get_eol_style
	bl	_SVN_ERR
	ldr	w21, [x22]
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_9
LBB0_4:
	ldr	w1, [x8]
	ldp	w3, w2, [x20, #52]
	ldr	x5, [x20, #16]
	ldp	w6, w4, [x20, #44]
	add	x0, sp, #16
	mov	x7, x19
	bl	_svn_subst_build_keywords3
	bl	_SVN_ERR
	ldr	x4, [sp, #16]
	b	LBB0_10
LBB0_5:
	ldr	x22, [sp, #40]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x23, x0
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x4, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	bl	_svn_checksum_mismatch_err
	b	LBB0_19
LBB0_6:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	w9, [x20, #24]
	cbz	w9, LBB0_20
LBB0_8:
	stp	xzr, xzr, [sp, #16]
	ldr	w21, [x23]
	cbnz	x8, LBB0_4
LBB0_9:
	mov	x4, #0
LBB0_10:
	ldr	w0, [x20, #40]
	ldr	w1, [x20, #8]
	ldr	x2, [sp, #24]
	ldr	w5, [x22]
	ldr	w6, [x20, #24]
	ldp	w8, w7, [x24, #16]
	str	x19, [sp, #8]
	str	w8, [sp]
	mov	x3, x21
	bl	_svn_subst_copy_and_translate4
	bl	_SVN_ERR
	ldr	w0, [x20, #40]
	ldr	w1, [x23]
	mov	x2, x19
	bl	_svn_io_remove_file2
LBB0_11:
	bl	_SVN_ERR
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w0, [x20, #8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x3, x19
	bl	_svn_io_set_file_executable
	bl	_SVN_ERR
LBB0_13:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	w1, [x20, #8]
	mov	x2, x19
	bl	_svn_io_set_file_affected_time
	bl	_SVN_ERR
LBB0_16:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	w0, [x20, #8]
Lloh9:
	adrp	x8, _svn_wc_notify_update_add@GOTPAGE
Lloh10:
	ldr	x8, [x8, _svn_wc_notify_update_add@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_wc_create_notify
	mov	x1, x0
Lloh12:
	adrp	x8, _svn_node_file@GOTPAGE
Lloh13:
	ldr	x8, [x8, _svn_node_file@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	mov	x2, x19
	blr	x9
LBB0_18:
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_19:
	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
	add	sp, sp, #112
	ret
LBB0_20:
	ldr	w0, [x20, #40]
	ldr	w1, [x20, #8]
	ldr	w2, [x23]
	mov	x3, x19
	bl	_svn_io_file_rename2
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_svn_checksum_md5,4,2           ; @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checksum mismatch for '%s'"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_svn_wc_notify_update_add,4,2   ; @svn_wc_notify_update_add
	.comm	_svn_node_file,4,2              ; @svn_node_file
	.no_dead_strip	_close_file
.subsections_via_symbols
