	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_unlock_open_file        ## -- Begin function svn_io_unlock_open_file
	.p2align	4, 0x90
_svn_io_unlock_open_file:               ## @svn_io_unlock_open_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
	callq	_apr_file_name_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_5
LBB0_2:
	movq	%r12, %rdi
	callq	_apr_file_unlock
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_try_utf8_from_internal_style
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_5
LBB0_4:
	movq	_file_clear_locks@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_apr_pool_cleanup_kill
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get file name"

L_.str.1:                               ## @.str.1
	.asciz	"Can't unlock file '%s'"

	.comm	_file_clear_locks,4,2           ## @file_clear_locks
	.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_io_unlock_open_file        ; -- Begin function svn_io_unlock_open_file
	.p2align	2
_svn_io_unlock_open_file:               ; @svn_io_unlock_open_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_apr_file_name_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_svn_error_wrap_apr
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_apr_file_unlock
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_try_utf8_from_internal_style
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_svn_error_wrap_apr
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _file_clear_locks@GOTPAGE
Lloh5:
	ldr	x8, [x8, _file_clear_locks@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_apr_pool_cleanup_kill
Lloh7:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get file name"

l_.str.1:                               ; @.str.1
	.asciz	"Can't unlock file '%s'"

	.comm	_file_clear_locks,4,2           ; @file_clear_locks
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
