	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_next_length
_get_next_length:                       ## @get_next_length
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	$0, -56(%rbp)
	movq	_DB_DBT_USERMEM@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	%eax, -72(%rbp)
	movq	_DB_NEXT_DUP@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_SVN_BDB_DB_BUFFER_SMALL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.3:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__clear_dbt
	movq	_DB_DBT_PARTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	orl	%eax, -96(%rbp)
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_svn_bdb_dbc_get
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_svn_bdb_dbc_close
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	callq	_svn_bdb_dbc_close
LBB0_6:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_DBT_USERMEM,4,2             ## @DB_DBT_USERMEM
	.comm	_DB_NEXT_DUP,4,2                ## @DB_NEXT_DUP
	.comm	_SVN_BDB_DB_BUFFER_SMALL,4,2    ## @SVN_BDB_DB_BUFFER_SMALL
	.comm	_DB_DBT_PARTIAL,4,2             ## @DB_DBT_PARTIAL
	.no_dead_strip	_get_next_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_next_length
_get_next_length:                       ; @get_next_length
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #24
	bl	_svn_fs_base__clear_dbt
	str	xzr, [sp, #40]
Lloh0:
	adrp	x24, _DB_DBT_USERMEM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DB_DBT_USERMEM@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
Lloh2:
	adrp	x23, _DB_NEXT_DUP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DB_NEXT_DUP@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x21
	bl	_svn_bdb_dbc_get
	mov	x22, x0
	cbz	w0, LBB0_4
; %bb.1:
Lloh4:
	adrp	x8, _SVN_BDB_DB_BUFFER_SMALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_BDB_DB_BUFFER_SMALL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, sp
	bl	_svn_fs_base__clear_dbt
	ldr	w8, [x24]
Lloh7:
	adrp	x9, _DB_DBT_PARTIAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DB_DBT_PARTIAL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp]
	orr	w8, w8, w9
	str	w8, [sp]
	ldr	w3, [x23]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x21
	bl	_svn_bdb_dbc_get
	mov	x22, x0
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_svn_bdb_dbc_close
LBB0_4:
	ldr	x8, [sp, #32]
	str	x8, [x19]
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_svn_bdb_dbc_close
LBB0_6:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_DBT_USERMEM,4,2             ; @DB_DBT_USERMEM
	.comm	_DB_NEXT_DUP,4,2                ; @DB_NEXT_DUP
	.comm	_SVN_BDB_DB_BUFFER_SMALL,4,2    ; @SVN_BDB_DB_BUFFER_SMALL
	.comm	_DB_DBT_PARTIAL,4,2             ; @DB_DBT_PARTIAL
	.no_dead_strip	_get_next_length
.subsections_via_symbols
