	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_onfi_crc16                     ## -- Begin function onfi_crc16
	.p2align	4, 0x90
_onfi_crc16:                            ## @onfi_crc16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %edi
	shll	$8, %edi
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %eax
	movswl	%di, %edi
	shrl	$15, %edi
	andl	$32773, %edi                    ## imm = 0x8005
	xorl	%eax, %edi
	leal	(%rdi,%rdi), %r8d
	movswl	%di, %eax
	shrl	$15, %eax
	andl	$32773, %eax                    ## imm = 0x8005
	xorl	%r8d, %eax
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_2
LBB0_3:
	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	_onfi_crc16                     ; -- Begin function onfi_crc16
	.p2align	2
_onfi_crc16:                            ; @onfi_crc16
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_3
; %bb.1:
	mov	w8, #32773
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x1], #4
	eor	w9, w0, w9, lsl #8
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w9, w10, w9, lsl #1
	lsl	w10, w9, #16
	and	w10, w8, w10, asr #31
	eor	w0, w10, w9, lsl #1
	subs	x2, x2, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
