	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__set_checksum_rep   ## -- Begin function svn_fs_bdb__set_checksum_rep
	.p2align	4, 0x90
_svn_fs_bdb__set_checksum_rep:          ## @svn_fs_bdb__set_checksum_rep
	.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, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	(%rsi), %rax
	movq	_svn_checksum_sha1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r14
	leaq	-48(%rbp), %rdi
	callq	_svn_fs_base__checksum_to_dbt
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_svn_fs_base__trail_debug
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rbx
	movl	(%r13), %r14d
	leaq	-44(%rbp), %rdi
	callq	_svn_fs_base__result_dbt
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	-48(%rbp), %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	*%rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %r14d
	leaq	-44(%rbp), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_svn_fs_base__track_dbt
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_2
## %bb.3:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_fs_base__str_to_dbt
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	callq	_svn_fs_base__trail_debug
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	(%r13), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	*8(%rdi)
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_BDB_WRAP
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_SVN_ERR_BAD_CHECKSUM_KIND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_checksum_to_cstring_display
	movq	%rax, %r14
	movq	_SVN_ERR_FS_ALREADY_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	(%r12), %r8d
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_svn_error_createf
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_checksum_sha1,8,3          ## @svn_checksum_sha1
	.comm	_SVN_ERR_BAD_CHECKSUM_KIND,4,2  ## @SVN_ERR_BAD_CHECKSUM_KIND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only SHA1 checksums can be used as keys in the checksum-reps table.\n"

L_.str.1:                               ## @.str.1
	.asciz	"checksum-reps"

L_.str.2:                               ## @.str.2
	.asciz	"get"

	.comm	_DB_NOTFOUND,4,2                ## @DB_NOTFOUND
	.comm	_SVN_ERR_FS_ALREADY_EXISTS,4,2  ## @SVN_ERR_FS_ALREADY_EXISTS
L_.str.3:                               ## @.str.3
	.asciz	"Representation key for checksum '%s' exists in filesystem '%s'."

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

L_.str.5:                               ## @.str.5
	.asciz	"storing checksum-reps record"

	.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__set_checksum_rep   ; -- Begin function svn_fs_bdb__set_checksum_rep
	.p2align	2
_svn_fs_bdb__set_checksum_rep:          ; @svn_fs_bdb__set_checksum_rep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _svn_checksum_sha1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_checksum_sha1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x26, [x0, #8]
	add	x0, sp, #12
	bl	_svn_fs_base__checksum_to_dbt
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_svn_fs_base__trail_debug
	ldr	x24, [x26]
	ldr	x27, [x24]
	ldr	w25, [x20]
	add	x0, sp, #8
	bl	_svn_fs_base__result_dbt
	mov	x3, x0
	add	x2, sp, #12
	mov	x0, x24
	mov	x1, x25
	mov	w4, #0
	blr	x27
	mov	x24, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_svn_fs_base__track_dbt
Lloh7:
	adrp	x8, _DB_NOTFOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DB_NOTFOUND@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_4
; %bb.2:
	add	x0, sp, #8
	mov	x1, x22
	bl	_svn_fs_base__str_to_dbt
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_svn_fs_base__trail_debug
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x21, x0
	ldr	x0, [x26]
	ldr	x8, [x0, #8]
	ldr	w1, [x20]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	w4, #0
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_BDB_WRAP
	bl	_SVN_ERR
Lloh16:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	b	LBB0_5
LBB0_3:
Lloh19:
	adrp	x8, _SVN_ERR_BAD_CHECKSUM_KIND@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVN_ERR_BAD_CHECKSUM_KIND@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_svn_error_create
LBB0_4:
	mov	x0, x23
	mov	x1, x21
	bl	_svn_checksum_to_cstring_display
	mov	x20, x0
Lloh24:
	adrp	x8, _SVN_ERR_FS_ALREADY_EXISTS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_ERR_FS_ALREADY_EXISTS@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	w4, [x19]
	mov	x0, x21
	mov	x1, #0
	mov	x3, x20
	bl	_svn_error_createf
LBB0_5:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_checksum_sha1,8,3          ; @svn_checksum_sha1
	.comm	_SVN_ERR_BAD_CHECKSUM_KIND,4,2  ; @SVN_ERR_BAD_CHECKSUM_KIND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only SHA1 checksums can be used as keys in the checksum-reps table.\n"

l_.str.1:                               ; @.str.1
	.asciz	"checksum-reps"

l_.str.2:                               ; @.str.2
	.asciz	"get"

	.comm	_DB_NOTFOUND,4,2                ; @DB_NOTFOUND
	.comm	_SVN_ERR_FS_ALREADY_EXISTS,4,2  ; @SVN_ERR_FS_ALREADY_EXISTS
l_.str.3:                               ; @.str.3
	.asciz	"Representation key for checksum '%s' exists in filesystem '%s'."

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

l_.str.5:                               ; @.str.5
	.asciz	"storing checksum-reps record"

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