	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function csid_get_lane_assign
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
LCPI0_4:
	.long	48                              ## 0x30
	.long	48                              ## 0x30
	.long	48                              ## 0x30
	.long	48                              ## 0x30
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_csid_get_lane_assign:                  ## @csid_get_lane_assign
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %rsi
	cmpl	$8, %r9d
	jae	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r9d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r8, %rax
	andq	$-2, %rax
	movdqa	LCPI0_0(%rip), %xmm6            ## xmm6 = [0,1,2,3]
	pxor	%xmm0, %xmm0
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm10           ## xmm10 = [16,16,16,16]
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm8            ## xmm8 = [32,32,32,32]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [48,48,48,48]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm6, %xmm1
	pslld	$2, %xmm1
	movdqa	%xmm1, %xmm7
	paddd	%xmm10, %xmm7
	movdqa	%xmm6, %xmm5
	pslld	$25, %xmm5
	paddd	%xmm11, %xmm5
	cvttps2dq	%xmm5, %xmm5
	movdqu	(%rsi,%rcx,4), %xmm3
	pmulld	%xmm5, %xmm3
	por	%xmm0, %xmm3
	movdqu	16(%rsi,%rcx,4), %xmm0
	movdqu	32(%rsi,%rcx,4), %xmm5
	movdqu	48(%rsi,%rcx,4), %xmm4
	pslld	$23, %xmm7
	paddd	%xmm11, %xmm7
	cvttps2dq	%xmm7, %xmm7
	pmulld	%xmm0, %xmm7
	por	%xmm2, %xmm7
	movdqa	%xmm1, %xmm0
	paddd	%xmm8, %xmm0
	paddd	%xmm9, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm11, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm5, %xmm0
	por	%xmm3, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm11, %xmm1
	cvttps2dq	%xmm1, %xmm2
	pmulld	%xmm4, %xmm2
	por	%xmm7, %xmm2
	addq	$16, %rcx
	paddd	%xmm10, %xmm6
	addq	$-2, %rax
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rsi,%rcx,4), %xmm1
	movdqa	%xmm6, %xmm3
	pslld	$2, %xmm3
	paddd	LCPI0_1(%rip), %xmm3
	movdqu	16(%rsi,%rcx,4), %xmm4
	pslld	$25, %xmm6
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm5, %xmm6
	cvttps2dq	%xmm6, %xmm6
	pmulld	%xmm1, %xmm6
	por	%xmm6, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm5, %xmm3
	cvttps2dq	%xmm3, %xmm1
	pmulld	%xmm4, %xmm1
	por	%xmm1, %xmm2
LBB0_10:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%r9, %rdi
	je	LBB0_13
LBB0_11:
	leal	(,%rdi,4), %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rdi,4), %edx
	shll	%cl, %edx
	orl	%edx, %eax
	incq	%rdi
	addl	$4, %ecx
	cmpq	%rdi, %r9
	jne	LBB0_12
LBB0_13:
	popq	%rbp
	retq
LBB0_5:
	movdqa	LCPI0_0(%rip), %xmm6            ## xmm6 = [0,1,2,3]
	pxor	%xmm0, %xmm0
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_csid_get_lane_assign
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function csid_get_lane_assign
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_csid_get_lane_assign:                  ; @csid_get_lane_assign
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	and	x10, x8, #0xfffffff0
	movi.2d	v0, #0000000000000000
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #32
	movi.4s	v2, #16
	movi.4s	v3, #32
	movi.4s	v4, #48
	mov	x12, x10
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q16, q17, [x11, #-32]
	ldp	q18, q19, [x11], #64
	shl.4s	v20, v1, #2
	add.4s	v21, v20, v2
	add.4s	v22, v20, v3
	add.4s	v23, v20, v4
	ushl.4s	v16, v16, v20
	ushl.4s	v17, v17, v21
	ushl.4s	v18, v18, v22
	ushl.4s	v19, v19, v23
	orr.16b	v0, v16, v0
	orr.16b	v5, v17, v5
	orr.16b	v6, v18, v6
	orr.16b	v7, v19, v7
	add.4s	v1, v1, v2
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v0, v5, v0
	orr.16b	v0, v6, v0
	orr.16b	v0, v7, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w0, w11, w12
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	lsl	w11, w10, #2
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	lsl	w10, w10, w11
	orr	w0, w10, w0
	add	w11, w11, #4
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_csid_get_lane_assign
.subsections_via_symbols
