	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lambda_matrix_id
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_4:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_5:
	.quad	12                              ## 0xc
	.quad	12                              ## 0xc
LCPI0_6:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lambda_matrix_id
	.p2align	4, 0x90
_lambda_matrix_id:                      ## @lambda_matrix_id
	.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
	testl	%esi, %esi
	jle	LBB0_13
## %bb.1:
	movl	%esi, %r14d
	movl	%r14d, %r11d
	andl	$-8, %r11d
	leaq	-8(%r11), %r8
	movq	%r8, %r10
	shrq	$3, %r10
	incq	%r10
	movq	%r10, %r9
	andq	$-2, %r9
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [2,3]
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movdqa	LCPI0_2(%rip), %xmm13           ## xmm13 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = [8,8]
	movdqa	LCPI0_5(%rip), %xmm11           ## xmm11 = [12,12]
	movdqa	LCPI0_6(%rip), %xmm12           ## xmm12 = [16,16]
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%r14, %rdx
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%rdi,%rdx,8), %rcx
	cmpl	$8, %esi
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %xmm0
	pshufd	$68, %xmm0, %xmm2               ## xmm2 = xmm0[0,1,0,1]
	testq	%r8, %r8
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rax
	xorl	%ebx, %ebx
	movdqa	%xmm9, %xmm5
	movdqa	%xmm8, %xmm4
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm4, %xmm0
	paddq	%xmm13, %xmm0
	movdqa	%xmm5, %xmm1
	paddq	%xmm13, %xmm1
	movdqa	%xmm2, %xmm7
	pcmpeqq	%xmm5, %xmm7
	movdqa	%xmm2, %xmm6
	pcmpeqq	%xmm4, %xmm6
	packssdw	%xmm6, %xmm7
	pand	%xmm3, %xmm7
	pcmpeqq	%xmm2, %xmm1
	pcmpeqq	%xmm2, %xmm0
	packssdw	%xmm0, %xmm1
	pand	%xmm3, %xmm1
	movdqu	%xmm7, (%rcx,%rbx,4)
	movdqu	%xmm1, 16(%rcx,%rbx,4)
	movdqa	%xmm4, %xmm0
	paddq	%xmm10, %xmm0
	movdqa	%xmm5, %xmm1
	paddq	%xmm10, %xmm1
	movdqa	%xmm4, %xmm6
	paddq	%xmm11, %xmm6
	movdqa	%xmm5, %xmm7
	paddq	%xmm11, %xmm7
	pcmpeqq	%xmm2, %xmm1
	pcmpeqq	%xmm2, %xmm0
	packssdw	%xmm0, %xmm1
	pand	%xmm3, %xmm1
	pcmpeqq	%xmm2, %xmm7
	pcmpeqq	%xmm2, %xmm6
	packssdw	%xmm6, %xmm7
	pand	%xmm3, %xmm7
	movdqu	%xmm1, 32(%rcx,%rbx,4)
	movdqu	%xmm7, 48(%rcx,%rbx,4)
	addq	$16, %rbx
	paddq	%xmm12, %xmm5
	paddq	%xmm12, %xmm4
	addq	$-2, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r10b
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movdqa	%xmm2, %xmm0
	pcmpeqq	%xmm5, %xmm0
	paddq	%xmm13, %xmm5
	movdqa	%xmm2, %xmm1
	pcmpeqq	%xmm4, %xmm1
	paddq	%xmm13, %xmm4
	packssdw	%xmm1, %xmm0
	pand	%xmm3, %xmm0
	pcmpeqq	%xmm2, %xmm5
	pcmpeqq	%xmm2, %xmm4
	packssdw	%xmm4, %xmm5
	pand	%xmm3, %xmm5
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm5, 16(%rcx,%rbx,4)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rax
	cmpq	%r14, %r11
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%ebx, %ebx
	cmpq	%rax, %rdx
	sete	%bl
	movl	%ebx, (%rcx,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_11
	jmp	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movdqa	%xmm9, %xmm5
	movdqa	%xmm8, %xmm4
	testb	$1, %r10b
	jne	LBB0_9
	jmp	LBB0_10
LBB0_13:
	popq	%rbx
	popq	%r14
	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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lambda_matrix_id
lCPI0_0:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_1:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lambda_matrix_id
	.p2align	2
_lambda_matrix_id:                      ; @lambda_matrix_id
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x8, #0
	mov	w9, w1
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	mov	w10, #4
	dup.2d	v1, x10
	mov	w10, #8
	dup.2d	v2, x10
	mov	w10, #12
	dup.2d	v3, x10
Lloh2:
	adrp	x10, lCPI0_1@PAGE
Lloh3:
	ldr	q4, [x10, lCPI0_1@PAGEOFF]
	mov	w10, #16
	dup.2d	v5, x10
	and	x10, x9, #0xfffffff0
	movi.4s	v6, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x11, [x0, x8, lsl #3]
	cmp	w1, #16
	b.hs	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, #0
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	dup.2d	v7, x8
	add	x12, x11, #32
	mov	x13, x10
	mov.16b	v16, v4
	mov.16b	v17, v0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.2d	v18, v16, v1
	add.2d	v19, v17, v1
	add.2d	v20, v16, v2
	add.2d	v21, v17, v2
	add.2d	v22, v16, v3
	add.2d	v23, v17, v3
	cmeq.2d	v24, v7, v16
	cmeq.2d	v25, v7, v17
	uzp1.4s	v24, v24, v25
	and.16b	v24, v24, v6
	cmeq.2d	v19, v7, v19
	cmeq.2d	v18, v7, v18
	uzp1.4s	v18, v18, v19
	and.16b	v18, v18, v6
	cmeq.2d	v19, v7, v21
	cmeq.2d	v20, v7, v20
	uzp1.4s	v19, v20, v19
	and.16b	v19, v19, v6
	cmeq.2d	v20, v7, v23
	cmeq.2d	v21, v7, v22
	uzp1.4s	v20, v21, v20
	and.16b	v20, v20, v6
	stp	q24, q18, [x12, #-32]
	stp	q19, q20, [x12], #64
	add.2d	v17, v17, v5
	add.2d	v16, v16, v5
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, x10
	cmp	x10, x9
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x8, x12
	cset	w13, eq
	str	w13, [x11, x12, lsl #2]
	add	x12, x12, #1
	cmp	x9, x12
	b.ne	LBB0_8
	b	LBB0_2
LBB0_9:
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
