	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_checksum
_verify_checksum:                       ## @verify_checksum
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.4:
	movq	_SVN_ERR_CORRUPT_PACKED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
LBB0_1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addl	$-4, %eax
	movl	%eax, (%rdi)
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_svn_checksum__from_digest_fnv1a_32x4
	movq	%rax, %r14
	movq	_svn_checksum_fnv1a_32x4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movl	(%rbx), %ecx
	leaq	-32(%rbp), %rdi
	movq	%r15, %r8
	callq	_svn_checksum
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_svn_checksum_mismatch_err
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_3:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_CORRUPT_PACKED_DATA,4,2 ## @SVN_ERR_CORRUPT_PACKED_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File too short"

	.comm	_svn_checksum_fnv1a_32x4,4,2    ## @svn_checksum_fnv1a_32x4
L_.str.1:                               ## @.str.1
	.asciz	"checksum mismatch"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_verify_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_checksum
_verify_checksum:                       ; @verify_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	w8, [x0]
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_ERR_CORRUPT_PACKED_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_CORRUPT_PACKED_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	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
	add	sp, sp, #64
	b	_svn_error_create
LBB0_2:
	mov	x19, x1
	mov	x21, x0
	sub	w8, w8, #4
	str	w8, [x0]
	ldr	x9, [x0, #8]
	add	x0, x9, w8, sxtw #2
	bl	_svn_checksum__from_digest_fnv1a_32x4
	mov	x20, x0
Lloh5:
	adrp	x8, _svn_checksum_fnv1a_32x4@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_checksum_fnv1a_32x4@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x2, [x21, #8]
	ldr	w3, [x21]
	add	x0, sp, #8
	mov	x4, x19
	bl	_svn_checksum
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_svn_checksum_match
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x1, [sp, #8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_svn_checksum_mismatch_err
	bl	_SVN_ERR
LBB0_4:
Lloh10:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_CORRUPT_PACKED_DATA,4,2 ; @SVN_ERR_CORRUPT_PACKED_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File too short"

	.comm	_svn_checksum_fnv1a_32x4,4,2    ; @svn_checksum_fnv1a_32x4
l_.str.1:                               ; @.str.1
	.asciz	"checksum mismatch"

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