	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function generate_raw_frame
LCPI0_0:
	.quad	3                               ## 0x3
	.quad	4                               ## 0x4
LCPI0_1:
	.quad	1                               ## 0x1
	.quad	2                               ## 0x2
LCPI0_2:
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
LCPI0_3:
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
LCPI0_4:
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	13                              ## 0xd
LCPI0_5:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_generate_raw_frame:                    ## @generate_raw_frame
	.cfi_startproc
## %bb.0:
	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
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	movslq	%ecx, %r13
	movl	%r8d, %r12d
	movl	%r13d, %edx
	leaq	-1(%rdx), %r10
	leaq	-9(%rdx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movq	%r10, %rax
	andq	$-8, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	52(%rdi), %rbx
	leaq	(,%r13,4), %r8
	xorl	%r11d, %r11d
	movl	$3435973837, %r14d              ## imm = 0xCCCCCCCD
	movaps	LCPI0_0(%rip), %xmm8            ## xmm8 = [3,4]
	movaps	LCPI0_1(%rip), %xmm9            ## xmm9 = [1,2]
	pcmpeqd	%xmm12, %xmm12
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [5,5,5,5]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [9,9,9,9]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [13,13,13,13]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [16,16]
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	addq	%r8, %rbx
	addq	%r8, %rdi
	cmpq	%r12, %r11
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movl	%r11d, %eax
	imulq	%r14, %rax
	shrq	$35, %rax
	imull	%esi, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	andl	$-2, %ecx
	subl	%ecx, %eax
	imull	$10000, %eax, %r9d              ## imm = 0x2710
	movq	%r11, %rax
	imulq	%r13, %rax
	movl	%r9d, (%r15,%rax,4)
	cmpl	$2, %r13d
	jl	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ecx
	cmpq	$8, %r10
	jb	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm7                ## xmm7 = xmm0[0,0,0,0]
	cmpq	$8, -80(%rbp)                   ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r10d, %r10d
	movaps	%xmm9, %xmm4
	movaps	%xmm8, %xmm0
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	xorl	%r10d, %r10d
	movaps	%xmm9, %xmm4
	movaps	%xmm8, %xmm0
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movaps	%xmm4, %xmm1
	shufps	$136, %xmm0, %xmm1              ## xmm1 = xmm1[0,2],xmm0[0,2]
	movaps	%xmm1, %xmm5
	psubd	%xmm12, %xmm5
	movaps	%xmm1, %xmm2
	paddd	%xmm3, %xmm2
	pmulld	%xmm7, %xmm5
	pmulld	%xmm7, %xmm2
	movdqu	%xmm5, -48(%rbx,%r10,4)
	movdqu	%xmm2, -32(%rbx,%r10,4)
	movaps	%xmm1, %xmm2
	paddd	%xmm10, %xmm2
	paddd	%xmm11, %xmm1
	pmulld	%xmm7, %xmm2
	pmulld	%xmm7, %xmm1
	movdqu	%xmm2, -16(%rbx,%r10,4)
	movdqu	%xmm1, (%rbx,%r10,4)
	addq	$16, %r10
	paddq	%xmm6, %xmm4
	paddq	%xmm6, %xmm0
	addq	$-2, %r14
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	movl	$3435973837, %r14d              ## imm = 0xCCCCCCCD
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	orq	$1, %r10
	shufps	$136, %xmm0, %xmm4              ## xmm4 = xmm4[0,2],xmm0[0,2]
	movaps	%xmm4, %xmm0
	psubd	%xmm12, %xmm0
	paddd	%xmm3, %xmm4
	pmulld	%xmm7, %xmm0
	pmulld	%xmm7, %xmm4
	addq	%rax, %r10
	movdqu	%xmm0, (%r15,%r10,4)
	movdqu	%xmm4, 16(%r15,%r10,4)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	cmpq	-64(%rbp), %r10                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rcx), %eax
	imull	%r9d, %eax
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%rdi,%rcx,4)
	incq	%rcx
	addl	%r9d, %eax
	cmpq	%rcx, %rdx
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_generate_raw_frame
.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 generate_raw_frame
lCPI0_0:
	.quad	3                               ; 0x3
	.quad	4                               ; 0x4
lCPI0_1:
	.quad	1                               ; 0x1
	.quad	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_generate_raw_frame:                    ; @generate_raw_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w4, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, #0
	mov	x9, #0
	sxtw	x10, w3
	mov	w11, w4
	mov	w12, w3
	sub	x13, x12, #1
	and	x14, x13, #0xfffffffffffffff0
	orr	x15, x14, #0x1
	add	x16, x0, #36
	sbfiz	x17, x3, #2, #32
	mov	w2, #52429
	movk	w2, #52428, lsl #16
Lloh0:
	adrp	x4, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x4, lCPI0_0@PAGEOFF]
	mov	w4, #16
	dup.2d	v1, x4
Lloh2:
	adrp	x4, lCPI0_1@PAGE
Lloh3:
	ldr	q2, [x4, lCPI0_1@PAGEOFF]
	mov	w4, #10000
	movi.4s	v3, #1
	movi.4s	v4, #5
	movi.4s	v5, #9
	movi.4s	v6, #13
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x16, x16, x17
	add	x8, x8, x10
	cmp	x9, x11
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	and	x5, x9, #0xffffffff
	mul	x5, x5, x2
	lsr	x5, x5, #35
	mul	w5, w5, w1
	and	w6, w5, #0x1
	cmp	w5, #0
	cneg	w5, w6, lt
	mul	w5, w5, w4
	mul	x6, x9, x10
	str	w5, [x0, x6, lsl #2]
	cmp	w3, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x13, #16
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #1
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	dup.4s	v7, w5
	mov	x6, x16
	mov	x7, x14
	mov.16b	v16, v2
	mov.16b	v17, v0
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	uzp1.4s	v18, v16, v17
	add.4s	v19, v18, v3
	add.4s	v20, v18, v4
	add.4s	v21, v18, v5
	add.4s	v18, v18, v6
	mul.4s	v19, v7, v19
	mul.4s	v20, v7, v20
	mul.4s	v21, v7, v21
	mul.4s	v18, v7, v18
	stp	q19, q20, [x6, #-32]
	stp	q21, q18, [x6], #64
	add.2d	v17, v17, v1
	add.2d	v16, v16, v1
	subs	x7, x7, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x15
	cmp	x13, x14
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x6, x19, x8
	add	x6, x0, x6, lsl #2
	sub	x7, x12, x19
	madd	w19, w5, w19, w5
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w19, [x6], #4
	add	w19, w19, w5
	subs	x7, x7, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	mov	w0, #0
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_generate_raw_frame
.subsections_via_symbols
