	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__changes_fetch      ## -- Begin function svn_fs_bdb__changes_fetch
	.p2align	4, 0x90
_svn_fs_bdb__changes_fetch:             ## @svn_fs_bdb__changes_fetch
	.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	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r8, %rdi
	callq	_apr_hash_make
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_svn_pool_create
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_svn_pool_create
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_apr_hash_make
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_svn_fs_base__trail_debug
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	(%r15), %esi
	leaq	-88(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_svn_fs_base__str_to_dbt
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_svn_fs_base__result_dbt
	movq	-88(%rbp), %rdi
	movq	_DB_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_svn_bdb_dbc_get
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_1
LBB0_17:
	movq	%rbx, %rdi
	callq	_svn_pool_destroy
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_svn_pool_destroy
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_20
## %bb.18:
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_BDB_WRAP
	jmp	LBB0_19
LBB0_1:
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__track_dbt
	movq	%rbx, %rdi
	callq	_svn_pool_clear
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edi
	movq	%rbx, %rdx
	callq	_svn_skel__parse
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	-80(%rbp), %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_svn_fs_base__parse_change_skel
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_fold_change
	testq	%rax, %rax
	jne	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax
	movq	(%rax), %rax
	movq	_svn_fs_path_change_delete@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	-112(%rbp), %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_svn_fs_path_change_replace@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-92(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_apr_hash_this
	movq	-80(%rbp), %rax
	movl	8(%rax), %edi
	movq	-112(%rbp), %rsi
	callq	_svn_fspath__skip_ancestor
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-112(%rbp), %rsi
	movl	-92(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_apr_hash_set
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_svn_fs_base__result_dbt
	movq	-88(%rbp), %rdi
	movq	_DB_NEXT_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-144(%rbp), %rsi
	movq	%r13, %rdx
	callq	_svn_bdb_dbc_get
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__track_dbt
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_svn_pool_clear
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edi
	movq	%rbx, %rdx
	callq	_svn_skel__parse
	testq	%rax, %rax
	jne	LBB0_3
LBB0_15:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	_svn_error_createf
LBB0_19:
	movq	%rax, %r14
LBB0_20:
	movq	-88(%rbp), %rdi
	callq	_svn_bdb_dbc_close
	testq	%r14, %r14
	je	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_svn_error_trace
	jmp	LBB0_25
LBB0_22:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_BDB_WRAP
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_24:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_25:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%eax, %r15d
	xorl	%r14d, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changes"

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

L_.str.2:                               ## @.str.2
	.asciz	"creating cursor for reading changes"

	.comm	_DB_SET,4,2                     ## @DB_SET
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
L_.str.3:                               ## @.str.3
	.asciz	"Error reading changes for key '%s'"

	.comm	_svn_fs_path_change_delete,8,3  ## @svn_fs_path_change_delete
	.comm	_svn_fs_path_change_replace,8,3 ## @svn_fs_path_change_replace
	.comm	_DB_NEXT_DUP,4,2                ## @DB_NEXT_DUP
	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
L_.str.4:                               ## @.str.4
	.asciz	"fetching changes"

L_.str.5:                               ## @.str.5
	.asciz	"closing changes cursor"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__changes_fetch      ; -- Begin function svn_fs_bdb__changes_fetch
	.p2align	2
_svn_fs_bdb__changes_fetch:             ; @svn_fs_bdb__changes_fetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x4
	mov	x28, x3
	mov	x23, x2
	mov	x21, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
	mov	x0, x4
	bl	_apr_hash_make
	mov	x20, x0
	mov	x0, x24
	bl	_svn_pool_create
	mov	x19, x0
	mov	x0, x24
	bl	_svn_pool_create
	mov	x25, x0
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_apr_hash_make
	mov	x26, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x28
	bl	_svn_fs_base__trail_debug
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x19, x0
	ldr	x0, [x22]
	mov	x22, x23
	ldr	x8, [x0]
	ldr	w1, [x28]
	add	x2, sp, #56
	mov	w3, #0
	blr	x8
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_BDB_WRAP
	bl	_SVN_ERR
	add	x0, sp, #48
	mov	x1, x23
	bl	_svn_fs_base__str_to_dbt
	add	x0, sp, #40
	bl	_svn_fs_base__result_dbt
	ldr	x0, [sp, #56]
Lloh9:
	adrp	x8, _DB_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DB_SET@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #48
	add	x2, sp, #40
	bl	_svn_bdb_dbc_get
	cbz	w0, LBB0_4
; %bb.1:
	mov	x28, x0
LBB0_2:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x25
	bl	_svn_pool_destroy
	mov	x0, x19
	bl	_svn_pool_destroy
Lloh12:
	adrp	x8, _DB_NOTFOUND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DB_NOTFOUND@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w28, w8
	b.eq	LBB0_19
; %bb.3:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x21
	mov	x2, x28
	bl	_BDB_WRAP
	b	LBB0_18
LBB0_4:
	add	x0, sp, #40
	mov	x1, x24
	bl	_svn_fs_base__track_dbt
	mov	x0, x25
	bl	_svn_pool_clear
	ldp	w1, w0, [sp, #40]
	mov	x2, x25
	bl	_svn_skel__parse
	cbz	x0, LBB0_17
; %bb.5:
	mov	x1, x0
Lloh17:
	adrp	x23, _svn_fs_path_change_delete@GOTPAGE
Lloh18:
	ldr	x23, [x23, _svn_fs_path_change_delete@GOTPAGEOFF]
Lloh19:
	adrp	x19, _DB_NEXT_DUP@GOTPAGE
Lloh20:
	ldr	x19, [x19, _DB_NEXT_DUP@GOTPAGEOFF]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	add	x0, sp, #32
	mov	x2, x25
	bl	_svn_fs_base__parse_change_skel
	cbnz	x0, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [sp, #32]
	mov	x0, x20
	mov	x1, x26
	bl	_fold_change
	cbnz	x0, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	x9, [x23]
Lloh21:
	adrp	x10, _svn_fs_path_change_replace@GOTPAGE
Lloh22:
	ldr	x10, [x10, _svn_fs_path_change_replace@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x20
	bl	_apr_hash_first
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x27
	bl	_apr_hash_next
	mov	x27, x0
	cbz	x0, LBB0_15
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x27
	mov	x3, #0
	bl	_apr_hash_this
	ldp	x1, x8, [sp, #24]
	ldr	w0, [x8, #8]
	bl	_svn_fspath__skip_ancestor
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #20]
	mov	x0, x20
	mov	x3, #0
	bl	_apr_hash_set
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #40
	bl	_svn_fs_base__result_dbt
	ldr	x0, [sp, #56]
	ldr	w3, [x19]
	add	x1, sp, #48
	add	x2, sp, #40
	bl	_svn_bdb_dbc_get
	cbnz	w0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #40
	mov	x1, x24
	bl	_svn_fs_base__track_dbt
	mov	x0, x25
	bl	_svn_pool_clear
	ldp	w1, w0, [sp, #40]
	mov	x2, x25
	bl	_svn_skel__parse
	mov	x1, x0
	cbnz	x0, LBB0_6
LBB0_17:
Lloh24:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	mov	x3, x22
	bl	_svn_error_createf
LBB0_18:
	mov	x27, x0
LBB0_19:
	ldr	x0, [sp, #56]
	bl	_svn_bdb_dbc_close
	cbz	x27, LBB0_21
; %bb.20:
	mov	x0, x27
	bl	_svn_error_trace
	b	LBB0_24
LBB0_21:
	mov	x22, x0
	cbz	w0, LBB0_23
; %bb.22:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x1, x0
	mov	x0, x21
	mov	x2, x22
	bl	_BDB_WRAP
	bl	_SVN_ERR
LBB0_23:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x20, [x8]
Lloh31:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	x0, [x8]
LBB0_24:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_25:
	mov	x28, x0
	mov	x27, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changes"

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

l_.str.2:                               ; @.str.2
	.asciz	"creating cursor for reading changes"

	.comm	_DB_SET,4,2                     ; @DB_SET
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
l_.str.3:                               ; @.str.3
	.asciz	"Error reading changes for key '%s'"

	.comm	_svn_fs_path_change_delete,8,3  ; @svn_fs_path_change_delete
	.comm	_svn_fs_path_change_replace,8,3 ; @svn_fs_path_change_replace
	.comm	_DB_NEXT_DUP,4,2                ; @DB_NEXT_DUP
	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
l_.str.4:                               ; @.str.4
	.asciz	"fetching changes"

l_.str.5:                               ; @.str.5
	.asciz	"closing changes cursor"

.subsections_via_symbols
