	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txn_body_unlock
_txn_body_unlock:                       ## @txn_body_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rsi
	movl	(%rdi), %edx
	movl	8(%rbx), %r8d
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rcx
	callq	_svn_fs_bdb__lock_token_get
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, 16(%r14)
	je	LBB0_1
LBB0_10:
	movq	-24(%rbp), %rdi
	movl	(%r14), %esi
	movq	%rbx, %rdx
	callq	_delete_lock_and_token
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	-24(%rbp), %rdi
	callq	_strcmp
	movq	(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	movq	%rcx, %rdi
	callq	_SVN_FS__ERR_NO_SUCH_LOCK
	jmp	LBB0_11
LBB0_2:
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	callq	_svn_fs_base__err_no_lock_token
	jmp	LBB0_11
LBB0_5:
	movq	-24(%rbp), %rdx
	movl	8(%rbx), %r8d
	leaq	-32(%rbp), %rdi
	movq	%rcx, %rsi
	movq	%rbx, %rcx
	callq	_svn_fs_bdb__lock_get
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	-32(%rbp), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	movq	-32(%rbp), %rax
	movq	(%rax), %rdx
	callq	_SVN_FS__ERR_LOCK_OWNER_MISMATCH
	jmp	LBB0_11
LBB0_7:
	callq	_SVN_FS__ERR_NO_USER
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_txn_body_unlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txn_body_unlock
_txn_body_unlock:                       ; @txn_body_unlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x1]
	ldr	w2, [x0]
	ldr	w4, [x19, #8]
	add	x0, sp, #8
	mov	x3, x19
	bl	_svn_fs_bdb__lock_token_get
	bl	_SVN_ERR
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_3
LBB0_1:
	ldr	x0, [sp, #8]
	ldr	w1, [x20]
	mov	x2, x19
	bl	_delete_lock_and_token
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_6
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_strcmp
	ldr	x8, [x19]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w1, [x20]
	mov	x0, x8
	bl	_SVN_FS__ERR_NO_SUCH_LOCK
	b	LBB0_2
LBB0_6:
	ldr	x0, [x19]
	ldr	w1, [x20]
	bl	_svn_fs_base__err_no_lock_token
	b	LBB0_2
LBB0_7:
	ldr	x2, [sp, #8]
	ldr	w4, [x19, #8]
	mov	x0, sp
	mov	x1, x8
	mov	x3, x19
	bl	_svn_fs_bdb__lock_get
	bl	_SVN_ERR
	ldr	x0, [x19]
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x9, [sp]
	ldr	x1, [x9]
	mov	x0, x8
	bl	_strcmp
	cbz	x0, LBB0_1
; %bb.10:
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x1, [x8]
	ldr	x8, [sp]
	ldr	x2, [x8]
	bl	_SVN_FS__ERR_LOCK_OWNER_MISMATCH
	b	LBB0_2
LBB0_11:
	bl	_SVN_FS__ERR_NO_USER
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_txn_body_unlock
.subsections_via_symbols
