	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hcs                        ## -- Begin function get_hcs
	.p2align	4, 0x90
_get_hcs:                               ## @get_hcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$65535, %eax                    ## imm = 0xFFFF
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r8,4), %edx
	movl	%edx, %esi
	shll	$8, %esi
	xorl	%eax, %esi
	addl	%eax, %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %esi                    ## imm = 0x8000
	cmovel	%eax, %ecx
	movl	%edx, %eax
	shll	$9, %eax
	xorl	%ecx, %eax
	addl	%ecx, %ecx
	movl	%ecx, %esi
	xorl	$4129, %esi                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%ecx, %esi
	movl	%edx, %eax
	shll	$10, %eax
	xorl	%esi, %eax
	addl	%esi, %esi
	movl	%esi, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%esi, %ecx
	movl	%edx, %eax
	shll	$11, %eax
	xorl	%ecx, %eax
	addl	%ecx, %ecx
	movl	%ecx, %esi
	xorl	$4129, %esi                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%ecx, %esi
	movl	%edx, %eax
	shll	$12, %eax
	xorl	%esi, %eax
	addl	%esi, %esi
	movl	%esi, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%esi, %ecx
	movl	%edx, %eax
	shll	$13, %eax
	xorl	%ecx, %eax
	addl	%ecx, %ecx
	movl	%ecx, %esi
	xorl	$4129, %esi                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%ecx, %esi
	movl	%edx, %eax
	shll	$14, %eax
	xorl	%esi, %eax
	addl	%esi, %esi
	movl	%esi, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%esi, %ecx
	shll	$15, %edx
	xorl	%ecx, %edx
	addl	%ecx, %ecx
	movl	%ecx, %eax
	xorl	$4129, %eax                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%ecx, %eax
	movzwl	%ax, %eax
	incq	%r8
	cmpq	$84, %r8
	jne	LBB0_1
## %bb.2:
	xorl	$65535, %eax                    ## imm = 0xFFFF
	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
	.globl	_get_hcs                        ; -- Begin function get_hcs
	.p2align	2
_get_hcs:                               ; @get_hcs
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	w10, #65535
	mov	w9, #4129
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0, x8]
	eor	w12, w10, w11, lsl #8
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #9
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #10
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #11
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #12
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #13
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w12, w10, w11, lsl #14
	lsl	w10, w10, #1
	eor	w13, w10, w9
	tst	w12, #0x8000
	csel	w10, w10, w13, eq
	eor	w11, w10, w11, lsl #15
	lsl	w10, w10, #1
	eor	w12, w10, w9
	tst	w11, #0x8000
	csel	w10, w10, w12, eq
	and	w10, w10, #0xffff
	add	x8, x8, #4
	cmp	x8, #336
	b.ne	LBB0_1
; %bb.2:
	eor	w0, w10, #0xffff
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
