	.file	"extr_hooks.c_svn_repos__hooks_pre_commit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_repos__hooks_pre_commit
	.type	svn_repos__hooks_pre_commit, @function
svn_repos__hooks_pre_commit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	mov	rsi, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	svn_repos_pre_commit_hook@PLT
	lea	rsi, 8[rsp]
	mov	rdx, rbx
	mov	rdi, rax
	call	check_hook_cmd@PLT
	test	rax, rax
	je	.L2
	cmp	QWORD PTR 8[rsp], 0
	mov	r12, rax
	jne	.L18
	mov	rsi, rbx
	mov	rdi, r14
	mov	QWORD PTR 32[rsp], rax
	mov	QWORD PTR 24[rsp], 0
	call	svn_repos_path@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	svn_dirent_local_style@PLT
	mov	esi, DWORD PTR [r14]
	lea	rdi, 16[rsp]
	mov	QWORD PTR 48[rsp], r13
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR 56[rsp], 0
	call	svn_fs_get_access@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR 16[rsp]
	test	rdi, rdi
	je	.L6
	call	svn_fs__access_get_lock_tokens@PLT
	mov	rdi, rax
	mov	r13, rax
	call	apr_hash_count@PLT
	test	rax, rax
	jne	.L19
.L6:
	mov	r9, QWORD PTR 24[rsp]
	test	r9, r9
	je	.L20
.L8:
	lea	rcx, 32[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	rdx, r12
	mov	r8, rbp
	push	rbx
	.cfi_def_cfa_offset 144
	mov	esi, DWORD PTR SVN_REPOS__HOOK_PRE_COMMIT[rip]
	xor	edi, edi
	call	run_hook_cmd@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
.L2:
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	lea	rdi, 24[rsp]
	mov	rdx, rbx
	mov	rsi, r13
	call	lock_token_content@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rax
	call	hook_symlink_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	ecx, DWORD PTR APR_OS_DEFAULT[rip]
	mov	edx, DWORD PTR APR_READ[rip]
	lea	rdi, 24[rsp]
	mov	r8, rbx
	mov	esi, DWORD PTR SVN_NULL_DEVICE_NAME[rip]
	call	svn_io_file_open@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	r9, QWORD PTR 24[rsp]
	jmp	.L8
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_repos__hooks_pre_commit, .-svn_repos__hooks_pre_commit
	.comm	SVN_REPOS__HOOK_PRE_COMMIT,4,4
	.comm	SVN_NULL_DEVICE_NAME,4,4
	.comm	SVN_NO_ERROR,8,8
	.comm	APR_READ,4,4
	.comm	APR_OS_DEFAULT,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_hooks.c_svn_repos__hooks_pre_commit.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_repos__hooks_pre_commit
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_repos__hooks_pre_commit, %function
svn_repos__hooks_pre_commit:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r3
	mov	r7, r1
	mov	r1, r3
	ldr	r3, .L22
	sub	sp, sp, #52
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r5, r0
	bl	svn_repos_pre_commit_hook
	mov	r2, r4
	add	r1, sp, #16
	bl	check_hook_cmd
	subs	r6, r0, #0
	beq	.L2
	ldr	r8, [sp, #16]
	cmp	r8, #0
	bne	.L18
	mov	r1, r4
	mov	r0, r5
	str	r8, [sp, #24]
	str	r6, [sp, #28]
	bl	svn_repos_path
	mov	r1, r4
	bl	svn_dirent_local_style
	mov	r3, r0
	ldr	r1, [r5]
	add	r0, sp, #20
	str	r3, [sp, #32]
	str	r9, [sp, #36]
	str	r8, [sp, #40]
	bl	svn_fs_get_access
	bl	SVN_ERR
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L6
	bl	svn_fs__access_get_lock_tokens
	mov	r5, r0
	bl	apr_hash_count
	cmp	r0, #0
	bne	.L19
.L6:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
.L8:
	stmib	sp, {r3, r4}
	ldr	r1, .L22+4
	str	r7, [sp]
	mov	r2, r6
	ldr	r1, [r1]
	add	r3, sp, #28
	mov	r0, #0
	bl	run_hook_cmd
	bl	SVN_ERR
.L2:
	ldr	r3, .L22+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L19:
	mov	r1, r5
	mov	r2, r4
	add	r0, sp, #24
	bl	lock_token_content
	bl	SVN_ERR
	b	.L6
.L18:
	bl	hook_symlink_error
	b	.L1
.L20:
	ldr	r3, .L22+12
	ldr	r2, .L22+16
	ldr	r1, .L22+20
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r0, sp, #24
	bl	svn_io_file_open
	bl	SVN_ERR
	ldr	r3, [sp, #24]
	b	.L8
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	SVN_REPOS__HOOK_PRE_COMMIT
	.word	SVN_NO_ERROR
	.word	APR_OS_DEFAULT
	.word	APR_READ
	.word	SVN_NULL_DEVICE_NAME
	.size	svn_repos__hooks_pre_commit, .-svn_repos__hooks_pre_commit
	.comm	SVN_REPOS__HOOK_PRE_COMMIT,4,4
	.comm	SVN_NULL_DEVICE_NAME,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	APR_READ,4,4
	.comm	APR_OS_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
