	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_adler32
_update_adler32:                        ## @update_adler32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %eax
	movzwl	%ax, %r11d
	shrl	$16, %eax
	testl	%edx, %edx
	je	LBB0_13
## %bb.1:
	movl	$2147975281, %r8d               ## imm = 0x80078071
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r9, %rsi
	incq	%rsi
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %ecx
	imulq	%r8, %rcx
	shrq	$47, %rcx
	imull	$65521, %ecx, %ecx              ## imm = 0xFFF1
	subl	%ecx, %r11d
	movl	%eax, %ecx
	imulq	%r8, %rcx
	shrq	$47, %rcx
	imull	$65521, %ecx, %ecx              ## imm = 0xFFF1
	subl	%ecx, %eax
	testl	%edx, %edx
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	cmpl	$5550, %edx                     ## imm = 0x15AE
	movl	$5550, %r10d                    ## imm = 0x15AE
	cmovbl	%edx, %r10d
	subl	%r10d, %edx
	testl	%r10d, %r10d
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r10), %r9d
	testb	$3, %r10b
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %ecx
	andl	$3, %ecx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rsi,%r14), %ebx
	addl	%ebx, %r11d
	addl	%r11d, %eax
	incq	%r14
	cmpl	%r14d, %ecx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	%r14d, %r10d
	addq	%rsi, %r14
	cmpl	$3, %r9d
	jb	LBB0_11
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r14
	cmpl	$3, %r9d
	jb	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %r10d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14,%rcx), %ebx
	addl	%r11d, %ebx
	addl	%ebx, %eax
	movzbl	1(%r14,%rcx), %edi
	addl	%ebx, %edi
	addl	%edi, %eax
	movzbl	2(%r14,%rcx), %ebx
	addl	%edi, %ebx
	addl	%ebx, %eax
	movzbl	3(%r14,%rcx), %r11d
	addl	%ebx, %r11d
	addl	%r11d, %eax
	addq	$4, %rcx
	cmpl	%ecx, %r10d
	jne	LBB0_10
	jmp	LBB0_11
LBB0_13:
	shll	$16, %eax
	orl	%r11d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_adler32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_adler32
_update_adler32:                        ; @update_adler32
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xffff
	lsr	w9, w0, #16
	cbz	w2, LBB0_7
; %bb.1:
	mov	w10, #5550
	mov	w11, #32881
	movk	w11, #32775, lsl #16
	mov	w12, #65521
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	umull	x13, w8, w11
	lsr	x13, x13, #47
	msub	w8, w13, w12, w8
	umull	x13, w9, w11
	lsr	x13, x13, #47
	msub	w9, w13, w12, w9
	cbz	w2, LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w2, w10
	csel	w13, w2, w10, lo
	sub	w2, w2, w13
	cbz	w13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w14, w13, #1
	mov	x15, x1
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w16, [x15], #1
	add	w8, w8, w16
	add	w9, w8, w9
	subs	w13, w13, #1
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x1, x14
	add	x1, x13, #1
	b	LBB0_2
LBB0_7:
	orr	w0, w8, w9, lsl #16
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_adler32
.subsections_via_symbols
