	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ionic_cq_map
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_3:
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.space	4
	.space	4
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ionic_cq_map
	.p2align	4, 0x90
_ionic_cq_map:                          ## @ionic_cq_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, 24(%rdi)
	movl	%edx, 16(%rdi)
	movl	(%rdi), %r11d
	testq	%r11, %r11
	je	LBB0_13
## %bb.1:
	movq	8(%rdi), %rcx
	movl	4(%rdi), %r10d
	cmpl	$4, %r11d
	jae	LBB0_3
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_11
LBB0_3:
	movl	%r11d, %r8d
	andl	$-4, %r8d
	movd	%r10d, %xmm0
	pshufd	$80, %xmm0, %xmm3               ## xmm3 = xmm0[0,0,1,1]
	leaq	-4(%r8), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	incq	%r9
	movq	%rsi, %xmm8
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	%r9, %rdx
	andq	$-2, %rdx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <0,1,u,u>
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = <2,2,u,u>
	pshufd	$68, %xmm8, %xmm4               ## xmm4 = xmm8[0,1,0,1]
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = <4,4,u,u>
	movdqa	LCPI0_3(%rip), %xmm6            ## xmm6 = <6,6,u,u>
	movdqa	LCPI0_4(%rip), %xmm7            ## xmm7 = <8,8,u,u>
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm3, %xmm0
	pmulld	%xmm1, %xmm0
	pmulld	%xmm3, %xmm2
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	paddq	%xmm4, %xmm0
	paddq	%xmm4, %xmm2
	movdqu	%xmm0, (%rcx,%rdi,8)
	movdqu	%xmm2, 16(%rcx,%rdi,8)
	movdqa	%xmm1, %xmm0
	paddd	%xmm5, %xmm0
	movdqa	%xmm1, %xmm2
	paddd	%xmm6, %xmm2
	pmulld	%xmm3, %xmm0
	pmulld	%xmm3, %xmm2
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	paddq	%xmm4, %xmm0
	paddq	%xmm4, %xmm2
	movdqu	%xmm0, 32(%rcx,%rdi,8)
	movdqu	%xmm2, 48(%rcx,%rdi,8)
	addq	$8, %rdi
	paddd	%xmm7, %xmm1
	addq	$-2, %rdx
	jne	LBB0_6
## %bb.7:
	testb	$1, %r9b
	je	LBB0_9
LBB0_8:
	movdqa	%xmm3, %xmm0
	pmulld	%xmm1, %xmm0
	paddd	LCPI0_1(%rip), %xmm1
	pmulld	%xmm3, %xmm1
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	pshufd	$68, %xmm8, %xmm2               ## xmm2 = xmm8[0,1,0,1]
	paddq	%xmm2, %xmm0
	paddq	%xmm2, %xmm1
	movdqu	%xmm0, (%rcx,%rdi,8)
	movdqu	%xmm1, 16(%rcx,%rdi,8)
LBB0_9:
	cmpq	%r11, %r8
	je	LBB0_13
## %bb.10:
	leaq	(%rcx,%r8,8), %rcx
LBB0_11:
	movl	%r10d, %edx
	imull	%r8d, %edx
	subq	%r8, %r11
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	addq	%rsi, %rax
	movq	%rax, (%rcx,%rdi,8)
	addl	%r10d, %edx
	incq	%rdi
	cmpq	%rdi, %r11
	jne	LBB0_12
LBB0_13:
	popq	%rbp
	retq
LBB0_4:
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <0,1,u,u>
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ionic_cq_map
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ionic_cq_map
	.p2align	2
_ionic_cq_map:                          ; @ionic_cq_map
	.cfi_startproc
; %bb.0:
	str	x1, [x0, #24]
	str	w2, [x0, #16]
	ldr	w10, [x0]
	cbz	w10, LBB0_8
; %bb.1:
	ldr	x12, [x0, #8]
	ldr	w8, [x0, #4]
	cmp	w10, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	mov	x9, x12
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffff8
	add	x9, x12, x11, lsl #3
	dup.2s	v0, w8
Lloh0:
	adrp	x13, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x13, lCPI0_0@PAGEOFF]
	add	x12, x12, #32
	movi.2s	v2, #2
	movi.2s	v3, #4
	movi.2s	v4, #6
	dup.2d	v5, x1
	movi.2s	v6, #8
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.2s	v7, v1, v2
	add.2s	v16, v1, v3
	add.2s	v17, v1, v4
	mul.2s	v18, v0, v1
	mul.2s	v7, v0, v7
	mul.2s	v16, v0, v16
	mul.2s	v17, v0, v17
	uaddw.2d	v18, v5, v18
	uaddw.2d	v7, v5, v7
	uaddw.2d	v16, v5, v16
	uaddw.2d	v17, v5, v17
	stp	q18, q7, [x12, #-32]
	stp	q16, q17, [x12], #64
	add.2s	v1, v1, v6
	subs	x13, x13, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x10
	b.eq	LBB0_8
LBB0_6:
	mul	w12, w8, w11
	sub	x10, x10, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x1, w12, uxtw
	str	x11, [x9], #8
	add	w12, w12, w8
	subs	x10, x10, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
