	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_crc32_slice8_calc       ## -- Begin function mlx5dr_crc32_slice8_calc
	.p2align	4, 0x90
_mlx5dr_crc32_slice8_calc:              ## @mlx5dr_crc32_slice8_calc
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$8, %rsi
	jb	LBB0_2
## %bb.12:
	movq	_dr_ste_crc_tab32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r8
	movq	8(%rax), %r9
	movq	16(%rax), %r10
	movq	24(%rax), %r11
	movq	32(%rax), %r14
	movq	40(%rax), %r15
	movq	48(%rax), %r12
	movq	56(%rax), %r13
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi), %edx
	movq	%rdx, %rcx
	movq	%rdx, %rbx
	shrq	$24, %rbx
	shrq	$14, %rcx
	andl	$1020, %ecx                     ## imm = 0x3FC
	movl	(%r9,%rcx), %ecx
	xorl	(%r8,%rbx,4), %ecx
	movzbl	%dh, %ebx
	xorl	(%r10,%rbx,4), %ecx
	movzbl	%dl, %edx
	xorl	(%rdi), %eax
	xorl	(%r11,%rdx,4), %ecx
	movl	%eax, %edx
	shrl	$24, %edx
	xorl	(%r14,%rdx,4), %ecx
	movl	%eax, %edx
	shrl	$16, %edx
	movzbl	%dl, %edx
	xorl	(%r15,%rdx,4), %ecx
	movzbl	%ah, %edx
	xorl	(%r12,%rdx,4), %ecx
	movzbl	%al, %edx
	movl	%ecx, %eax
	xorl	(%r13,%rdx,4), %eax
	addq	$8, %rdi
	addq	$-8, %rsi
	cmpq	$7, %rsi
	ja	LBB0_13
## %bb.3:
	testq	%rsi, %rsi
	je	LBB0_4
LBB0_5:
	movq	_dr_ste_crc_tab32@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	testb	$1, %sil
	jne	LBB0_7
## %bb.6:
                                        ## implicit-def: $ecx
	movq	%rsi, %rbx
	cmpq	$1, %rsi
	jne	LBB0_9
	jmp	LBB0_11
LBB0_14:
	xorl	%eax, %eax
	retq
LBB0_2:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	jne	LBB0_5
LBB0_4:
	movl	%eax, %ecx
	jmp	LBB0_11
LBB0_7:
	leaq	-1(%rsi), %rbx
	movl	%eax, %ecx
	sarl	$8, %ecx
	movzbl	%al, %eax
	xorl	(%rdi), %eax
	addq	$4, %rdi
	cltq
	xorl	(%rdx,%rax,4), %ecx
	movl	%ecx, %eax
	cmpq	$1, %rsi
	je	LBB0_11
LBB0_9:
	xorl	%esi, %esi
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %eax
	sarl	$8, %ecx
	xorl	(%rdi,%rsi,4), %eax
	cltq
	xorl	(%rdx,%rax,4), %ecx
	movzbl	%cl, %eax
	sarl	$8, %ecx
	xorl	4(%rdi,%rsi,4), %eax
	cltq
	xorl	(%rdx,%rax,4), %ecx
	addq	$2, %rsi
	cmpq	%rsi, %rbx
	jne	LBB0_10
LBB0_11:
	bswapl	%ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dr_ste_crc_tab32,8,3           ## @dr_ste_crc_tab32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_crc32_slice8_calc       ; -- Begin function mlx5dr_crc32_slice8_calc
	.p2align	2
_mlx5dr_crc32_slice8_calc:              ; @mlx5dr_crc32_slice8_calc
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _dr_ste_crc_tab32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dr_ste_crc_tab32@GOTPAGEOFF]
	cmp	x1, #8
	b.lo	LBB0_5
; %bb.2:
	mov	w9, #0
	ldr	x17, [x8]
	ldp	x10, x11, [x17]
	ldp	x12, x13, [x17, #16]
	ldp	x14, x15, [x17, #32]
	ldp	x16, x17, [x17, #48]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w3, [x0]
	eor	w9, w2, w9
	add	x2, x0, #8
	lsr	x0, x3, #22
	and	x0, x0, #0x3fc
	ldr	w0, [x10, x0]
	ubfx	x4, x3, #16, #8
	ldr	w4, [x11, x4, lsl #2]
	eor	w0, w4, w0
	ubfx	x4, x3, #8, #8
	ldr	w4, [x12, x4, lsl #2]
	eor	w0, w0, w4
	and	x3, x3, #0xff
	ldr	w3, [x13, x3, lsl #2]
	eor	w0, w0, w3
	lsr	w3, w9, #24
	ldr	w3, [x14, w3, uxtw #2]
	eor	w0, w0, w3
	ubfx	w3, w9, #16, #8
	ldr	w3, [x15, w3, uxtw #2]
	eor	w0, w0, w3
	ubfx	w3, w9, #8, #8
	ldr	w3, [x16, w3, uxtw #2]
	eor	w0, w0, w3
	and	w9, w9, #0xff
	ldr	w9, [x17, w9, uxtw #2]
	eor	w9, w0, w9
	sub	x1, x1, #8
	mov	x0, x2
	cmp	x1, #7
	b.hi	LBB0_3
; %bb.4:
	mov	x0, x2
	cbnz	x1, LBB0_6
	b	LBB0_8
LBB0_5:
	mov	w9, #0
	cbz	x1, LBB0_8
LBB0_6:
	ldr	x8, [x8]
	ldr	x8, [x8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	and	w11, w9, #0xff
	eor	w10, w10, w11
	ldr	w10, [x8, w10, sxtw #2]
	eor	w9, w10, w9, asr #8
	subs	x1, x1, #1
	b.ne	LBB0_7
LBB0_8:
	rev	w0, w9
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dr_ste_crc_tab32,8,3           ; @dr_ste_crc_tab32
.subsections_via_symbols
