	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_crc
_update_crc:                            ## @update_crc
	.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	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_crc_table_computed@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_make_crc_table
LBB0_2:
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.3:
	movq	_crc_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %r8d
	cmpl	$1, %r15d
	jne	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_5:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rdx), %edi
	movzbl	%bl, %ecx
	xorq	%rdi, %rcx
	shrq	$8, %rbx
	xorq	(%rax,%rcx,8), %rbx
	movzbl	1(%r14,%rdx), %ecx
	movzbl	%bl, %edi
	xorq	%rcx, %rdi
	shrq	$8, %rbx
	xorq	(%rax,%rdi,8), %rbx
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_6
LBB0_7:
	testb	$1, %r8b
	je	LBB0_9
## %bb.8:
	movzbl	(%r14,%rdx), %ecx
	movzbl	%bl, %edx
	xorq	%rcx, %rdx
	shrq	$8, %rbx
	xorq	(%rax,%rdx,8), %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crc_table_computed,4,2         ## @crc_table_computed
	.comm	_crc_table,8,3                  ## @crc_table
	.no_dead_strip	_update_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_crc
_update_crc:                            ; @update_crc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _crc_table_computed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crc_table_computed@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w21, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
	bl	_make_crc_table
	cmp	w21, #1
	b.lt	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _crc_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _crc_table@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	w9, w21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20], #1
	and	x11, x19, #0xff
	eor	x10, x11, x10
	ldr	x10, [x8, x10, lsl #3]
	eor	x19, x10, x19, lsr #8
	subs	x9, x9, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_crc_table_computed,4,2         ; @crc_table_computed
	.comm	_crc_table,8,3                  ; @crc_table
	.no_dead_strip	_update_crc
.subsections_via_symbols
