	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__open_uuids_table   ## -- Begin function svn_fs_bdb__open_uuids_table
	.p2align	4, 0x90
_svn_fs_bdb__open_uuids_table:          ## @svn_fs_bdb__open_uuids_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	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	-56(%rbp), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_db_create
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	-56(%rbp), %rdi
	movq	_APR_UUID_FORMATTED_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	*(%rdi)
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	-56(%rbp), %rdi
	movq	8(%rdi), %r14
	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	*%r14
	testq	%r12, %r12
	jne	LBB0_3
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	*16(%rdi)
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_svn_fs_bdb__open_uuids_table
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %edi
	callq	_BDB_ERR
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movl	(%r13), %r14d
	leal	1(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	$0, -60(%rbp)
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	callq	_svn_fs_base__clear_dbt
	leaq	-60(%rbp), %rax
	movq	%rax, -112(%rbp)
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -104(%rbp)
	movq	_DB_DBT_USERMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -96(%rbp)
	leaq	-136(%rbp), %r12
	movq	%r12, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	%rbx, -136(%rbp)
	movl	%r14d, -128(%rbp)
	leaq	-84(%rbp), %r13
	movq	%r13, %rdi
	callq	_apr_uuid_get
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_apr_uuid_format
	movq	-56(%rbp), %rdi
	movq	_DB_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	*24(%rdi)
	movl	%eax, %edi
	callq	_BDB_ERR
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_5:
	movq	-56(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_CREATE,4,2                  ## @DB_CREATE
	.comm	_DB_EXCL,4,2                    ## @DB_EXCL
	.comm	_APR_UUID_FORMATTED_LENGTH,4,2  ## @APR_UUID_FORMATTED_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uuids"

	.comm	_DB_RECNO,4,2                   ## @DB_RECNO
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_DB_DBT_USERMEM,4,2             ## @DB_DBT_USERMEM
	.comm	_DB_APPEND,4,2                  ## @DB_APPEND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__open_uuids_table   ; -- Begin function svn_fs_bdb__open_uuids_table
	.p2align	2
_svn_fs_bdb__open_uuids_table:          ; @svn_fs_bdb__open_uuids_table
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _DB_CREATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DB_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DB_EXCL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DB_EXCL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	x2, #0
	csel	w22, w8, wzr, ne
	bl	_svn_fs_bdb__check_version
	bl	_BDB_ERR
	sub	x0, x29, #64
	mov	x1, x20
	mov	w2, #0
	bl	_db_create
	bl	_BDB_ERR
	ldur	x0, [x29, #-64]
	ldr	x8, [x0]
Lloh9:
	adrp	x23, _APR_UUID_FORMATTED_LENGTH@GOTPAGE
Lloh10:
	ldr	x23, [x23, _APR_UUID_FORMATTED_LENGTH@GOTPAGEOFF]
	ldr	w1, [x23]
	blr	x8
	bl	_BDB_ERR
	ldur	x0, [x29, #-64]
	ldr	x24, [x0, #8]
	mov	x1, #0
	bl	_SVN_BDB_OPEN_PARAMS
Lloh11:
	adrp	x8, _DB_RECNO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DB_RECNO@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	mov	x4, x22
	mov	w5, #438
	blr	x24
	cbnz	x21, LBB0_3
; %bb.1:
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldur	x0, [x29, #-64]
	ldr	x8, [x0, #16]
	mov	w1, #0
	blr	x8
	bl	_BDB_ERR
Lloh19:
	adrp	x8, _TRUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh21:
	ldr	x2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_svn_fs_bdb__open_uuids_table
	b	LBB0_6
LBB0_3:
	bl	_BDB_ERR
	cbz	x21, LBB0_5
; %bb.4:
	mov	x21, sp
	ldr	w22, [x23]
	add	w8, w22, #1
	mov	x9, x8
Lloh22:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh23:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	stur	wzr, [x29, #-120]
	sub	x0, x29, #88
	bl	_svn_fs_base__clear_dbt
	sub	x8, x29, #120
	stur	x8, [x29, #-88]
	movi.2s	v0, #4
	stur	d0, [x29, #-80]
Lloh24:
	adrp	x8, _DB_DBT_USERMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DB_DBT_USERMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldur	w9, [x29, #-72]
	orr	w8, w9, w8
	stur	w8, [x29, #-72]
	sub	x0, x29, #112
	bl	_svn_fs_base__clear_dbt
	stur	x20, [x29, #-112]
	stur	w22, [x29, #-104]
	sub	x0, x29, #116
	bl	_apr_uuid_get
	sub	x1, x29, #116
	mov	x0, x20
	bl	_apr_uuid_format
	ldur	x0, [x29, #-64]
	ldr	x8, [x0, #24]
Lloh27:
	adrp	x9, _DB_APPEND@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DB_APPEND@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x9]
	sub	x2, x29, #88
	sub	x3, x29, #112
	mov	w1, #0
	blr	x8
	bl	_BDB_ERR
	mov	sp, x21
LBB0_5:
	ldur	x8, [x29, #-64]
	str	x8, [x19]
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_CREATE,4,2                  ; @DB_CREATE
	.comm	_DB_EXCL,4,2                    ; @DB_EXCL
	.comm	_APR_UUID_FORMATTED_LENGTH,4,2  ; @APR_UUID_FORMATTED_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uuids"

	.comm	_DB_RECNO,4,2                   ; @DB_RECNO
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_DB_DBT_USERMEM,4,2             ; @DB_DBT_USERMEM
	.comm	_DB_APPEND,4,2                  ; @DB_APPEND
.subsections_via_symbols
