	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crc_update                     ## -- Begin function crc_update
	.p2align	4, 0x90
_crc_update:                            ## @crc_update
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	4(%rdi), %ecx
	leal	-8(%rcx), %r8d
	decb	%cl
	movl	$1, %r11d
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %r11d
	movq	16(%rdi), %r9
	movl	%edx, %r10d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ecx, %eax
	incq	%r15
	movl	%eax, %r14d
	cmpq	%r15, %r10
	je	LBB0_22
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r15,4), %eax
	testq	%r9, %r9
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	shrl	$7, %ecx
	xorl	%eax, %ecx
	andl	$1, %ecx
	negl	%ecx
	andl	$129, %ecx
	xorl	%eax, %ecx
	movl	%eax, %ebx
	shrl	%ebx
	movl	%eax, %edx
	shrl	$6, %edx
	xorl	%ebx, %edx
	andl	$1, %edx
	negl	%edx
	andl	$66, %edx
	movl	%eax, %r12d
	shrl	$2, %r12d
	movl	%eax, %ebx
	shrl	$5, %ebx
	xorl	%r12d, %ebx
	andl	$1, %ebx
	negl	%ebx
	andl	$36, %ebx
	xorl	%edx, %ebx
	xorl	%ecx, %ebx
	movl	%eax, %ecx
	shrl	$3, %ecx
	shrl	$4, %eax
	xorl	%ecx, %eax
	andl	$1, %eax
	negl	%eax
	andl	$24, %eax
	xorl	%ebx, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %ecx
	shll	%cl, %eax
	xorl	%r14d, %eax
	xorl	%ecx, %ecx
	movl	$0, %ebx
	testl	%r11d, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ebx, %eax
	testl	%r11d, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ecx, %eax
	xorl	%ecx, %ecx
	movl	$0, %ebx
	testl	%r11d, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ebx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ebx, %eax
	testl	%r11d, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ecx, %eax
	xorl	%ecx, %ecx
	movl	$0, %ebx
	testl	%r11d, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ebx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ebx, %eax
	testl	%r11d, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ecx
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ecx, %eax
	xorl	%ecx, %ecx
	movl	$0, %ebx
	testl	%r11d, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ebx
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %eax
	xorl	%ebx, %eax
	testl	%r11d, %eax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ecx
	jmp	LBB0_21
LBB0_1:
	movl	%r14d, %eax
LBB0_22:
	movl	%eax, (%rdi)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function crc_update
lCPI0_0:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967291                      ; 0xfffffffb
	.long	4294967290                      ; 0xfffffffa
	.long	4294967289                      ; 0xfffffff9
lCPI0_2:
	.long	24                              ; 0x18
	.long	36                              ; 0x24
	.long	66                              ; 0x42
	.long	129                             ; 0x81
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	4294967293                      ; 0xfffffffd
	.long	4294967294                      ; 0xfffffffe
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_crc_update
	.p2align	2
_crc_update:                            ; @crc_update
	.cfi_startproc
; %bb.0:
	ldr	w12, [x0]
	cmp	w2, #1
	b.lt	LBB0_29
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	w10, [x0, #4]
	sub	w9, w10, #8
	sub	w10, w10, #1
	mov	w11, #1
	lsl	w10, w11, w10
	mov	w11, w2
Lloh0:
	adrp	x13, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x13, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x13, lCPI0_1@PAGE
Lloh3:
	ldr	d1, [x13, lCPI0_1@PAGEOFF]
	movi.4s	v2, #1
Lloh4:
	adrp	x13, lCPI0_2@PAGE
Lloh5:
	ldr	q3, [x13, lCPI0_2@PAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	add	x1, x1, #4
	subs	x11, x11, #1
	b.eq	LBB0_29
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x1]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	dup.4s	v4, w13
	dup.2s	v5, w13
	lsr	w14, w13, #1
	ushl.2s	v5, v5, v1
	mov.s	v5[2], w14
	mov.s	v5[3], w13
	ushl.4s	v4, v4, v0
	eor.16b	v4, v4, v5
	and.16b	v4, v4, v2
	cmeq.4s	v4, v4, #0
	bic.16b	v4, v3, v4
	ext.16b	v5, v4, v4, #8
	orr.8b	v4, v4, v5
	mov.s	w14, v4[1]
	fmov	w15, s4
	orr	w14, w15, w14
	eor	w13, w14, w13
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w13, w9
	eor	w12, w13, w12
	tst	w12, w10
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0, #8]
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	eor	w12, w13, w12, lsl #1
	tst	w12, w10
	b.ne	LBB0_2
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
	b	LBB0_3
LBB0_29:
	str	w12, [x0]
	ret
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
