	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos__hooks_pre_unlock    ## -- Begin function svn_repos__hooks_pre_unlock
	.p2align	4, 0x90
_svn_repos__hooks_pre_unlock:           ## @svn_repos__hooks_pre_unlock
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rbp), %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rsi
	callq	_svn_repos_pre_unlock_hook
	leaq	-144(%rbp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_check_hook_cmd
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, -144(%rbp)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_hook_symlink_error
	jmp	LBB0_6
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rbx, -112(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_svn_repos_path
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%rax, -104(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -96(%rbp)
	testq	%r14, %r14
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %r14
	movq	%r14, -88(%rbp)
	testq	%r13, %r13
	cmoveq	%rax, %r13
	movq	%r13, -80(%rbp)
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	_SVN_REPOS__HOOK_PRE_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, (%rsp)
	leaq	-112(%rbp), %rcx
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	xorl	%r9d, %r9d
	callq	_run_hook_cmd
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"1"

L_.str.2:                               ## @.str.2
	.asciz	"0"

	.comm	_SVN_REPOS__HOOK_PRE_UNLOCK,4,2 ## @SVN_REPOS__HOOK_PRE_UNLOCK
	.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_unlock    ; -- Begin function svn_repos__hooks_pre_unlock
	.p2align	2
_svn_repos__hooks_pre_unlock:           ; @svn_repos__hooks_pre_unlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x1, x6
	bl	_svn_repos_pre_unlock_hook
	add	x1, sp, #8
	mov	x2, x19
	bl	_check_hook_cmd
	mov	x23, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_hook_symlink_error
	b	LBB0_6
LBB0_3:
	cbz	x23, LBB0_5
; %bb.4:
	str	x23, [sp, #16]
	mov	x0, x26
	mov	x1, x19
	bl	_svn_repos_path
	mov	x1, x19
	bl	_svn_dirent_local_style
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	stp	x0, x25, [sp, #24]
	cmp	x24, #0
	csel	x9, x8, x24, eq
	cmp	x22, #0
	csel	x8, x8, x22, eq
	stp	x9, x8, [sp, #40]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x21, #0
	csel	x8, x9, x8, eq
	stp	x8, xzr, [sp, #56]
Lloh9:
	adrp	x8, _SVN_REPOS__HOOK_PRE_UNLOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_REPOS__HOOK_PRE_UNLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x3, sp, #16
	mov	x0, #0
	mov	x2, x23
	mov	x4, x20
	mov	x5, #0
	mov	x6, x19
	bl	_run_hook_cmd
	bl	_SVN_ERR
LBB0_5:
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
LBB0_6:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"1"

l_.str.2:                               ; @.str.2
	.asciz	"0"

	.comm	_SVN_REPOS__HOOK_PRE_UNLOCK,4,2 ; @SVN_REPOS__HOOK_PRE_UNLOCK
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
