	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_bdb__get_checksum_rep   ## -- Begin function svn_fs_bdb__get_checksum_rep
	.p2align	4, 0x90
_svn_fs_bdb__get_checksum_rep:          ## @svn_fs_bdb__get_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	%rcx, %rbx
	movq	(%rdx), %rax
	movq	_svn_checksum_sha1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	(%rsi), %r14
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_svn_fs_base__trail_debug
	movq	(%r14), %r14
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	leaq	-80(%rbp), %rdi
	movq	%r13, %rsi
	callq	_svn_fs_base__checksum_to_dbt
	movl	%eax, %r15d
	leaq	-48(%rbp), %rdi
	callq	_svn_fs_base__result_dbt
	movq	%r14, %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_fs_base__track_dbt
	movq	_DB_NOTFOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_svn_fs_base__err_no_such_checksum_rep
	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_3:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_apr_pstrmemdup
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
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_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__get_checksum_rep   ; -- Begin function svn_fs_bdb__get_checksum_rep
	.p2align	2
_svn_fs_bdb__get_checksum_rep:          ; @svn_fs_bdb__get_checksum_rep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x2]
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	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x1]
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, x3
	bl	_svn_fs_base__trail_debug
	ldr	x24, [x24]
	ldr	x26, [x24]
	ldr	w23, [x23]
	add	x0, sp, #8
	mov	x1, x21
	bl	_svn_fs_base__checksum_to_dbt
	mov	x25, x0
	mov	x0, sp
	bl	_svn_fs_base__result_dbt
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	w4, #0
	blr	x26
	mov	x23, x0
	mov	x0, sp
	mov	x1, x20
	bl	_svn_fs_base__track_dbt
Lloh7:
	adrp	x8, _DB_NOTFOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DB_NOTFOUND@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	bl	_svn_fs_base__err_no_such_checksum_rep
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _SVN_ERR_BAD_CHECKSUM_KIND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_ERR_BAD_CHECKSUM_KIND@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_svn_error_create
LBB0_4:
	ldp	w2, w1, [sp]
	mov	x0, x20
	bl	_apr_pstrmemdup
	str	x0, [x19]
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
