	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function microread_i2c_add_len_crc
_microread_i2c_add_len_crc:             ## @microread_i2c_add_len_crc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	movl	$1, %esi
	callq	_skb_push
	movl	%ebx, (%rax)
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	8(%r14), %rcx
	cmpl	$8, %eax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_1:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_4:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rdi
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %ebx
	andl	$3, %ebx
	cmpq	$24, %rdi
	jae	LBB0_6
## %bb.5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,4), %xmm2
	pxor	%xmm0, %xmm2
	movdqu	16(%rcx,%rdi,4), %xmm0
	pxor	%xmm1, %xmm0
	movdqu	32(%rcx,%rdi,4), %xmm1
	movdqu	48(%rcx,%rdi,4), %xmm3
	movdqu	64(%rcx,%rdi,4), %xmm4
	pxor	%xmm1, %xmm4
	pxor	%xmm2, %xmm4
	movdqu	80(%rcx,%rdi,4), %xmm2
	pxor	%xmm3, %xmm2
	pxor	%xmm0, %xmm2
	movdqu	96(%rcx,%rdi,4), %xmm0
	pxor	%xmm4, %xmm0
	movdqu	112(%rcx,%rdi,4), %xmm1
	pxor	%xmm2, %xmm1
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_7
LBB0_8:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	leaq	(%rcx,%rdi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rdi), %xmm2
	pxor	%xmm2, %xmm0
	movdqu	(%rsi,%rdi), %xmm2
	pxor	%xmm2, %xmm1
	addq	$32, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_10
LBB0_11:
	pxor	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pxor	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	pxor	%xmm1, %xmm0
	movd	%xmm0, %esi
	cmpq	%rax, %rdx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	xorl	(%rcx,%rdx,4), %esi
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_skb_put_u8                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_microread_i2c_add_len_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function microread_i2c_add_len_crc
_microread_i2c_add_len_crc:             ; @microread_i2c_add_len_crc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w20, [x0]
	mov	w1, #1
	bl	_skb_push
	str	w20, [x0]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w1, #0
	b	LBB0_7
LBB0_3:
	mov	w1, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff0
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	eor.16b	v0, v1, v0
	eor3.16b	v0, v2, v0, v3
	ext.16b	v1, v0, v0, #8
	eor.8b	v0, v0, v1
	mov.s	w11, v0[1]
	fmov	w12, s0
	eor	w1, w12, w11
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	eor	w1, w10, w1
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skb_put_u8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_microread_i2c_add_len_crc
.subsections_via_symbols
