	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crc24
_crc24:                                 ## @crc24
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CRC24_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	_CRC24_POLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%esi, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rsi,4), %eax
	shll	$16, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	leal	(%rax,%rax), %edx
	shll	$8, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	xorl	%edx, %eax
	incq	%rsi
	movl	%eax, %edx
	cmpl	%esi, %r8d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%edx, %eax
LBB0_4:
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRC24_INIT,4,2                 ## @CRC24_INIT
	.comm	_CRC24_POLY,4,2                 ## @CRC24_POLY
	.no_dead_strip	_crc24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crc24
_crc24:                                 ; @crc24
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CRC24_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRC24_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cbz	w1, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _CRC24_POLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRC24_POLY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	eor	w9, w9, w10, lsl #16
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #8
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	subs	w1, w1, #1
	b.ne	LBB0_2
LBB0_3:
	and	w0, w9, #0xffffff
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CRC24_INIT,4,2                 ; @CRC24_INIT
	.comm	_CRC24_POLY,4,2                 ; @CRC24_POLY
	.no_dead_strip	_crc24
.subsections_via_symbols
