	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__put_rev            ## -- Begin function svn_fs_bdb__put_rev
	.p2align	4, 0x90
_svn_fs_bdb__put_rev:                   ## @svn_fs_bdb__put_rev
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdi, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r13
	movq	$0, -48(%rbp)
	leaq	-80(%rbp), %rdi
	movq	%rdx, %rsi
	movq	%r8, %rdx
	callq	_svn_fs_base__unparse_revision_skel
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	(%r15), %rdi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	incq	%rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_svn_fs_base__trail_debug
	movq	(%r13), %r15
	movq	(%r15), %r14
	movl	(%rbx), %r13d
	leaq	-60(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_svn_fs_base__set_dbt
	movl	%eax, %ebx
	movq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	callq	_svn_fs_base__skel_to_dbt
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	*%r14
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_BDB_WRAP
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_svn_fs_base__trail_debug
	movq	(%r13), %r13
	movq	(%r13), %r14
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	-60(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_svn_fs_base__recno_dbt
	movl	%eax, %ebx
	movq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	callq	_svn_fs_base__skel_to_dbt
	movq	_DB_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	*%r14
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	decq	%rax
	movq	%rax, (%r15)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revisions"

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

L_.str.2:                               ## @.str.2
	.asciz	"updating filesystem revision"

	.comm	_DB_APPEND,4,2                  ## @DB_APPEND
L_.str.3:                               ## @.str.3
	.asciz	"storing filesystem revision"

	.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_fs_bdb__put_rev            ; -- Begin function svn_fs_bdb__put_rev
	.p2align	2
_svn_fs_bdb__put_rev:                   ; @svn_fs_bdb__put_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x4
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	str	xzr, [sp, #24]
	add	x0, sp, #16
	mov	x1, x2
	mov	x2, x4
	bl	_svn_fs_base__unparse_revision_skel
	bl	_SVN_ERR
	ldr	x0, [x20]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [sp, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_svn_fs_base__trail_debug
	ldr	x20, [x23]
	ldr	x24, [x20]
	ldr	w22, [x22]
	add	x0, sp, #12
	add	x1, sp, #24
	mov	w2, #8
	bl	_svn_fs_base__set_dbt
	mov	x23, x0
	ldr	x1, [sp, #16]
	add	x0, sp, #8
	mov	x2, x21
	bl	_svn_fs_base__skel_to_dbt
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	w4, #0
	blr	x24
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_BDB_WRAP
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_svn_fs_base__trail_debug
	ldr	x23, [x23]
	ldr	x25, [x23]
	ldr	w22, [x22]
	add	x0, sp, #12
	add	x1, sp, #24
	bl	_svn_fs_base__recno_dbt
	mov	x24, x0
	ldr	x1, [sp, #16]
	add	x0, sp, #8
	mov	x2, x21
	bl	_svn_fs_base__skel_to_dbt
	mov	x3, x0
Lloh10:
	adrp	x8, _DB_APPEND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DB_APPEND@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	blr	x25
	mov	x21, x0
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_BDB_WRAP
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	sub	x8, x8, #1
	str	x8, [x20]
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revisions"

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

l_.str.2:                               ; @.str.2
	.asciz	"updating filesystem revision"

	.comm	_DB_APPEND,4,2                  ; @DB_APPEND
l_.str.3:                               ; @.str.3
	.asciz	"storing filesystem revision"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
