	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn__adler32                   ## -- Begin function svn__adler32
	.p2align	4, 0x90
_svn__adler32:                          ## @svn__adler32
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	$80, %edx
	jl	LBB0_1
## %bb.12:
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	_adler32                        ## TAILCALL
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzwl	%di, %ecx
	sarl	$16, %edi
	cmpl	$8, %edx
	jl	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	movzbl	(%rsi), %edx
	addl	%ecx, %edx
	addl	%edx, %edi
	movzbl	1(%rsi), %ecx
	addl	%edx, %ecx
	addl	%ecx, %edi
	movzbl	2(%rsi), %edx
	addl	%ecx, %edx
	addl	%edx, %edi
	movzbl	3(%rsi), %ecx
	addl	%edx, %ecx
	addl	%ecx, %edi
	movzbl	4(%rsi), %edx
	addl	%ecx, %edx
	addl	%edx, %edi
	movzbl	5(%rsi), %ecx
	addl	%edx, %ecx
	addl	%ecx, %edi
	movzbl	6(%rsi), %edx
	addl	%ecx, %edx
	addl	%edx, %edi
	movzbl	7(%rsi), %ecx
	addl	%edx, %ecx
	addl	%ecx, %edi
	leal	-8(%rax), %edx
	addq	$8, %rsi
	cmpl	$15, %eax
	ja	LBB0_11
LBB0_2:
	testl	%edx, %edx
	je	LBB0_10
## %bb.3:
	leal	-1(%rdx), %r8d
	testb	$3, %dl
	je	LBB0_7
## %bb.4:
	movl	%edx, %r9d
	andl	$3, %r9d
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%r10), %eax
	addl	%eax, %ecx
	addl	%ecx, %edi
	incq	%r10
	cmpl	%r10d, %r9d
	jne	LBB0_5
## %bb.6:
	addq	%r10, %rsi
	subl	%r10d, %edx
LBB0_7:
	cmpl	$3, %r8d
	jb	LBB0_10
## %bb.8:
	movl	%edx, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rdx), %eax
	addl	%ecx, %eax
	addl	%eax, %edi
	movzbl	1(%rsi,%rdx), %ecx
	addl	%eax, %ecx
	addl	%ecx, %edi
	movzbl	2(%rsi,%rdx), %eax
	addl	%ecx, %eax
	addl	%eax, %edi
	movzbl	3(%rsi,%rdx), %ecx
	addl	%eax, %ecx
	addl	%ecx, %edi
	addq	$4, %rdx
	cmpl	%edx, %r8d
	jne	LBB0_9
LBB0_10:
	movq	_ADLER_MOD_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%edx, %esi
	shll	$16, %esi
	movl	%ecx, %eax
	cltd
	idivl	%r8d
	orl	%edx, %esi
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADLER_MOD_BASE,4,2             ## @ADLER_MOD_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn__adler32                   ; -- Begin function svn__adler32
	.p2align	2
_svn__adler32:                          ; @svn__adler32
	.cfi_startproc
; %bb.0:
	cmp	w2, #80
	b.lt	LBB0_2
; %bb.1:
	b	_adler32
LBB0_2:
	and	w8, w0, #0xffff
	asr	w9, w0, #16
	cmp	w2, #8
	b.lt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x2
	ldrb	w11, [x1]
	add	w8, w8, w11
	add	w9, w8, w9
	ldrb	w11, [x1, #1]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #2]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #3]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #4]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #5]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #6]
	add	w8, w8, w11
	add	w9, w9, w8
	ldrb	w11, [x1, #7]
	add	w8, w8, w11
	add	w9, w9, w8
	sub	w2, w2, #8
	add	x1, x1, #8
	cmp	w10, #15
	b.hi	LBB0_3
LBB0_4:
	cbz	w2, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1], #1
	add	w8, w8, w10
	add	w9, w8, w9
	subs	w2, w2, #1
	b.ne	LBB0_5
LBB0_6:
Lloh0:
	adrp	x10, _ADLER_MOD_BASE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ADLER_MOD_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	sdiv	w11, w8, w10
	msub	w8, w11, w10, w8
	orr	w0, w8, w9, lsl #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADLER_MOD_BASE,4,2             ; @ADLER_MOD_BASE
.subsections_via_symbols
