	.file	"extr_export.c_close_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Checksum mismatch for '%s'"
	.text
	.p2align 4
	.type	close_file, @function
close_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR 40[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	r8d, r8d
	jne	.L2
.L11:
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbp, QWORD PTR [rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR 84[rdi]
	mov	r13, rsi
	mov	r12, rdx
	call	svn_stream_close@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, r13
	mov	rcx, r12
	lea	rdi, 16[rsp]
	mov	esi, DWORD PTR svn_checksum_md5[rip]
	call	svn_checksum_parse_hex@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	edi, DWORD PTR 80[rbx]
	mov	rsi, r12
	call	svn_checksum__from_digest_md5@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, rax
	mov	r13, rax
	call	svn_checksum_match@PLT
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR 72[rbx]
	test	rax, rax
	je	.L24
	mov	ecx, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR [rax]
	lea	rsi, 24[rsp]
	lea	rdi, 12[rsp]
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	call	get_eol_style@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	r13d, DWORD PTR TRUE[rip]
	mov	rax, QWORD PTR 64[rbx]
.L12:
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR 44[rbx]
	lea	rdi, 32[rsp]
	mov	ecx, DWORD PTR 52[rbx]
	mov	edx, DWORD PTR 56[rbx]
	mov	r9, QWORD PTR 16[rbx]
	push	r12
	.cfi_def_cfa_offset 104
	push	rsi
	.cfi_def_cfa_offset 112
	mov	r8d, DWORD PTR 48[rbx]
	mov	esi, DWORD PTR [rax]
	call	svn_subst_build_keywords3@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
.L8:
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, r13d
	mov	edi, DWORD PTR 40[rbx]
	mov	r9d, DWORD PTR TRUE[rip]
	push	r12
	.cfi_def_cfa_offset 104
	push	rax
	.cfi_def_cfa_offset 112
	mov	eax, DWORD PTR 20[rbp]
	push	rax
	.cfi_def_cfa_offset 120
	mov	eax, DWORD PTR 24[rbx]
	push	rax
	.cfi_def_cfa_offset 128
	mov	r8, QWORD PTR 64[rsp]
	mov	rdx, QWORD PTR 56[rsp]
	call	svn_subst_copy_and_translate4@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	edi, DWORD PTR 40[rbx]
	mov	esi, DWORD PTR FALSE[rip]
	mov	rdx, r12
	call	svn_io_remove_file2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
.L7:
	cmp	QWORD PTR 32[rbx], 0
	jne	.L25
.L9:
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L10
	mov	eax, DWORD PTR 24[rbx]
	test	eax, eax
	jne	.L10
	mov	esi, DWORD PTR 8[rbx]
	mov	rdx, r12
	call	svn_io_set_file_affected_time@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rax], 0
	je	.L11
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR svn_wc_notify_update_add[rip]
	mov	rdx, r12
	call	svn_wc_create_notify@PLT
	mov	rdx, r12
	mov	rsi, rax
	mov	eax, DWORD PTR svn_node_file[rip]
	mov	DWORD PTR [rsi], eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	[QWORD PTR 8[rax]]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR FALSE[rip]
	mov	rcx, r12
	mov	esi, DWORD PTR TRUE[rip]
	call	svn_io_set_file_executable@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 64[rbx]
	mov	r13d, DWORD PTR FALSE[rip]
	test	rax, rax
	je	.L26
.L6:
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, r12
	call	svn_dirent_local_style@PLT
	lea	rdi, .LC0[rip]
	mov	ebx, eax
	call	_@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8d, ebx
	mov	rdx, r12
	mov	ecx, eax
	mov	rsi, r13
	call	svn_checksum_mismatch_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR 24[rbx]
	test	esi, esi
	jne	.L6
	mov	edi, DWORD PTR 40[rbx]
	mov	esi, DWORD PTR 8[rbx]
	mov	rcx, r12
	mov	edx, r13d
	call	svn_io_file_rename2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	jmp	.L7
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	close_file, .-close_file
	.comm	svn_wc_notify_update_add,4,4
	.comm	svn_node_file,4,4
	.comm	svn_checksum_md5,4,4
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,8,8
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_export.c_close_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Checksum mismatch for '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_file, %function
close_file:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, [r0, #20]
	sub	sp, sp, #52
	cmp	r3, #0
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bne	.L2
.L11:
	ldr	r3, .L33+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r4, r0
	mov	r6, r1
	mov	r5, r2
	ldr	r0, [r0, #52]
	ldr	r7, [r4]
	bl	svn_stream_close
	bl	SVN_ERR
	ldr	r3, .L33+8
	mov	r2, r6
	ldr	r1, [r3]
	add	r0, sp, #28
	mov	r3, r5
	bl	svn_checksum_parse_hex
	bl	SVN_ERR
	mov	r1, r5
	ldr	r0, [r4, #48]
	bl	svn_checksum__from_digest_md5
	mov	r6, r0
	ldr	r0, [sp, #28]
	mov	r1, r6
	bl	svn_checksum_match
	cmp	r0, #0
	beq	.L29
	ldr	r3, [r4, #44]
	cmp	r3, #0
	beq	.L30
	mov	ip, #0
	ldr	r2, [r3]
	add	r1, sp, #36
	ldr	r3, [r7, #16]
	ldr	r8, .L33+12
	add	r0, sp, #32
	str	ip, [sp, #36]
	str	ip, [sp, #40]
	bl	get_eol_style
	bl	SVN_ERR
	ldr	r6, .L33+16
	ldr	r9, [r8]
	ldr	r3, [r4, #40]
.L12:
	cmp	r3, #0
	beq	.L8
	ldr	r1, [r3]
	ldr	r0, [r4, #24]
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #28]
	str	r0, [sp, #8]
	str	r5, [sp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r4, #32]
	ldr	r2, [r4, #36]
	add	r0, sp, #40
	bl	svn_subst_build_keywords3
	bl	SVN_ERR
.L8:
	str	r5, [sp, #20]
	ldr	r3, [r7, #8]
	ldr	ip, [r8]
	str	r3, [sp, #16]
	ldr	r0, [r7, #12]
	ldr	r1, [r4, #12]
	ldr	r2, [sp, #40]
	str	ip, [sp, #4]
	str	r2, [sp]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	mov	r3, r9
	ldr	r2, [sp, #36]
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #20]
	bl	svn_subst_copy_and_translate4
	bl	SVN_ERR
	mov	r2, r5
	ldr	r1, [r6]
	ldr	r0, [r4, #20]
	bl	svn_io_remove_file2
	bl	SVN_ERR
.L7:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L31
.L9:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L10
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L10
	mov	r2, r5
	ldr	r1, [r4, #4]
	bl	svn_io_set_file_affected_time
	bl	SVN_ERR
.L10:
	ldr	r3, [r4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L33+20
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	bl	svn_wc_create_notify
	mov	r1, r0
	ldr	r2, .L33+24
	ldr	r3, [r4]
	ldr	r0, [r2]
	mov	r2, r5
	str	r0, [r1]
	ldm	r3, {r0, r4}
	blx	r4
	b	.L11
.L31:
	ldr	r3, .L33+12
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	mov	r3, r5
	bl	svn_io_set_file_executable
	bl	SVN_ERR
	b	.L9
.L30:
	ldr	r3, [r4, #40]
	ldr	r6, .L33+16
	cmp	r3, #0
	ldr	r9, [r6]
	beq	.L32
.L6:
	mov	r2, #0
	ldr	r8, .L33+12
	str	r2, [sp, #36]
	str	r2, [sp, #40]
	b	.L12
.L29:
	ldr	r0, .L33+28
	ldr	r7, [sp, #28]
	bl	_
	mov	r3, r0
	mov	r1, r5
	ldr	r0, [r4, #4]
	mov	r4, r3
	bl	svn_dirent_local_style
	mov	r3, r4
	str	r0, [sp]
	mov	r2, r5
	mov	r0, r7
	mov	r1, r6
	bl	svn_checksum_mismatch_err
	b	.L1
.L32:
	ldr	r2, [r4, #12]
	cmp	r2, #0
	bne	.L6
	mov	r2, r9
	mov	r3, r5
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #20]
	bl	svn_io_file_rename2
	bl	SVN_ERR
	b	.L7
.L28:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC1
	.word	SVN_NO_ERROR
	.word	svn_checksum_md5
	.word	TRUE
	.word	FALSE
	.word	svn_wc_notify_update_add
	.word	svn_node_file
	.word	.LC0
	.size	close_file, .-close_file
	.comm	svn_wc_notify_update_add,4,4
	.comm	svn_node_file,4,4
	.comm	svn_checksum_md5,4,4
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
