	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__open_revisions_table ## -- Begin function svn_fs_bdb__open_revisions_table
	.p2align	4, 0x90
_svn_fs_bdb__open_revisions_table:      ## @svn_fs_bdb__open_revisions_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_DB_CREATE@GOTPCREL(%rip), %rax
	movq	_DB_EXCL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	cmovel	%eax, %ebx
	xorl	%eax, %eax
	callq	_svn_fs_bdb__check_version
	movl	%eax, %edi
	callq	_BDB_ERR
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_db_create
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	-32(%rbp), %rdi
	movq	(%rdi), %r15
	xorl	%esi, %esi
	callq	_SVN_BDB_OPEN_PARAMS
	movq	_DB_RECNO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	movl	$438, %r9d                      ## imm = 0x1B6
	callq	*%r15
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_CREATE,4,2                  ## @DB_CREATE
	.comm	_DB_EXCL,4,2                    ## @DB_EXCL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revisions"

	.comm	_DB_RECNO,4,2                   ## @DB_RECNO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__open_revisions_table ; -- Begin function svn_fs_bdb__open_revisions_table
	.p2align	2
_svn_fs_bdb__open_revisions_table:      ; @svn_fs_bdb__open_revisions_table
	.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
Lloh0:
	adrp	x8, _DB_CREATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DB_CREATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DB_EXCL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DB_EXCL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	x2, #0
	csel	w21, wzr, w8, eq
	bl	_svn_fs_bdb__check_version
	bl	_BDB_ERR
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #0
	bl	_db_create
	bl	_BDB_ERR
	ldr	x0, [sp, #8]
	ldr	x19, [x0]
	mov	x1, #0
	bl	_SVN_BDB_OPEN_PARAMS
Lloh6:
	adrp	x8, _DB_RECNO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DB_RECNO@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	mov	x4, x21
	mov	w5, #438
	blr	x19
	bl	_BDB_ERR
	ldr	x8, [sp, #8]
	str	x8, [x20]
	mov	w0, #0
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_CREATE,4,2                  ; @DB_CREATE
	.comm	_DB_EXCL,4,2                    ; @DB_EXCL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revisions"

	.comm	_DB_RECNO,4,2                   ; @DB_RECNO
.subsections_via_symbols
