	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos__hooks_pre_commit    ## -- Begin function svn_repos__hooks_pre_commit
	.p2align	4, 0x90
_svn_repos__hooks_pre_commit:           ## @svn_repos__hooks_pre_commit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rcx, %rsi
	callq	_svn_repos_pre_commit_hook
	leaq	-104(%rbp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_check_hook_cmd
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, -104(%rbp)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_hook_symlink_error
	jmp	LBB0_10
LBB0_3:
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:
	movq	$0, -88(%rbp)
	movq	%r15, -80(%rbp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_svn_repos_path
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%rax, -72(%rbp)
	movq	%r13, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	(%rbx), %esi
	leaq	-96(%rbp), %rdi
	callq	_svn_fs_get_access
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_svn_fs__access_get_lock_tokens
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_apr_hash_count
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_lock_token_content
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %r9
	testq	%r9, %r9
	jne	LBB0_8
LBB0_7:
	movq	_SVN_NULL_DEVICE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_APR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-88(%rbp), %rdi
	movq	%r12, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %r9
LBB0_8:
	movq	_SVN_REPOS__HOOK_PRE_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, (%rsp)
	leaq	-80(%rbp), %rcx
	xorl	%edi, %edi
	movq	%r15, %rdx
	movq	%r14, %r8
	callq	_run_hook_cmd
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NULL_DEVICE_NAME,4,2       ## @SVN_NULL_DEVICE_NAME
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_SVN_REPOS__HOOK_PRE_COMMIT,4,2 ## @SVN_REPOS__HOOK_PRE_COMMIT
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos__hooks_pre_commit    ; -- Begin function svn_repos__hooks_pre_commit
	.p2align	2
_svn_repos__hooks_pre_commit:           ; @svn_repos__hooks_pre_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	x1, x3
	bl	_svn_repos_pre_commit_hook
	add	x1, sp, #16
	mov	x2, x19
	bl	_check_hook_cmd
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_hook_symlink_error
	b	LBB0_10
LBB0_3:
	cbz	x21, LBB0_9
; %bb.4:
	str	xzr, [sp]
	str	x21, [sp, #24]
	mov	x0, x22
	mov	x1, x19
	bl	_svn_repos_path
	mov	x1, x19
	bl	_svn_dirent_local_style
	stp	x0, x23, [sp, #32]
	str	xzr, [sp, #48]
	ldr	w1, [x22]
	add	x0, sp, #8
	bl	_svn_fs_get_access
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.5:
	bl	_svn_fs__access_get_lock_tokens
	mov	x22, x0
	bl	_apr_hash_count
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, sp
	mov	x1, x22
	mov	x2, x19
	bl	_lock_token_content
	bl	_SVN_ERR
	ldr	x5, [sp]
	cbnz	x5, LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _SVN_NULL_DEVICE_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NULL_DEVICE_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _APR_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, sp
	mov	x4, x19
	bl	_svn_io_file_open
	bl	_SVN_ERR
	ldr	x5, [sp]
LBB0_8:
Lloh12:
	adrp	x8, _SVN_REPOS__HOOK_PRE_COMMIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_REPOS__HOOK_PRE_COMMIT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x3, sp, #24
	mov	x0, #0
	mov	x2, x21
	mov	x4, x20
	mov	x6, x19
	bl	_run_hook_cmd
	bl	_SVN_ERR
LBB0_9:
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_10:
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NULL_DEVICE_NAME,4,2       ; @SVN_NULL_DEVICE_NAME
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_SVN_REPOS__HOOK_PRE_COMMIT,4,2 ; @SVN_REPOS__HOOK_PRE_COMMIT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
