	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_crc_flex
_check_crc_flex:                        ## @check_crc_flex
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	movl	$-1, %eax
	cmpl	$3, %esi
	jl	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_crc_flex_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	%esi, %r8d
	andl	$-2, %r8d
	movl	$65535, %ebx                    ## imm = 0xFFFF
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%bh, %edx
	shll	$8, %ebx
	movzbl	(%rdi,%rcx), %eax
	xorl	%eax, %edx
	movzwl	(%r9,%rdx,2), %eax
	movzwl	%bx, %edx
	xorl	%eax, %edx
	shll	$8, %eax
	shrl	$8, %edx
	movzbl	1(%rdi,%rcx), %ebx
	xorl	%edx, %ebx
	movzwl	(%r9,%rbx,2), %edx
	movzwl	%ax, %ebx
	xorl	%edx, %ebx
	addq	$2, %rcx
	cmpl	%ecx, %r8d
	jne	LBB0_2
## %bb.3:
	testb	$1, %sil
	je	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	shll	$8, %eax
	shrl	$8, %ebx
	movzbl	(%rdi,%rcx), %ecx
	xorl	%ebx, %ecx
	movzwl	(%r9,%rcx,2), %ecx
	movzwl	%ax, %ebx
	xorl	%ecx, %ebx
LBB0_5:
	xorl	%eax, %eax
	cmpl	$28784, %ebx                    ## imm = 0x7070
	setne	%al
	negl	%eax
	popq	%rbx
	popq	%rbp
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crc_flex_table,8,3             ## @crc_flex_table
	.no_dead_strip	_check_crc_flex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_crc_flex
_check_crc_flex:                        ; @check_crc_flex
	.cfi_startproc
; %bb.0:
	cmp	w1, #3
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #-1
	ret
LBB0_2:
Lloh0:
	adrp	x8, _crc_flex_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crc_flex_table@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	mov	w8, #65535
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0], #1
	ubfx	w11, w8, #8, #8
	eor	w10, w11, w10
	ldrh	w10, [x9, w10, uxtw #1]
	ubfiz	w8, w8, #8, #8
	eor	w8, w8, w10
	subs	w1, w1, #1
	b.ne	LBB0_3
; %bb.4:
	mov	w9, #28784
	cmp	w8, w9
	csetm	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crc_flex_table,8,3             ; @crc_flex_table
	.no_dead_strip	_check_crc_flex
.subsections_via_symbols
