	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_grid
_decode_grid:                           ## @decode_grid
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %esi
	jle	LBB0_1
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_ff_dca_scf_to_grid_1@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_ff_dca_grid_1_weights@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movslq	%esi, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	(%rdi), %eax
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %r14
	movq	(%rcx,%rdx,8), %r11
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	24(%rdi), %rdx
	movq	32(%rdi), %r8
	movq	%rdi, %r13
	movq	%r14, %rdi
	movq	%r10, %r14
	movq	%r11, %r10
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	(%rdx,%r11,8), %rdx
	leal	-4(%rsi), %ebx
	movq	(%rdx,%rbx,8), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%r8,%r11,8), %rdx
	movq	%r10, %r11
	movq	%r14, %r10
	movq	%rdi, %r14
	movq	%r13, %rdi
	movl	(%rdx,%rbx,4), %r8d
	movl	(%r9), %edx
	imull	%eax, %edx
	movl	(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, (%r15)
	movl	4(%r9), %edx
	imull	%eax, %edx
	movl	4(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	4(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 4(%r15)
	movl	8(%r9), %edx
	imull	%eax, %edx
	movl	8(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	8(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 8(%r15)
	movl	12(%r9), %edx
	imull	%eax, %edx
	movl	12(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	12(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 12(%r15)
	movl	16(%r9), %edx
	imull	%eax, %edx
	movl	16(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	16(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 16(%r15)
	movl	20(%r9), %edx
	imull	%eax, %edx
	movl	20(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	20(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 20(%r15)
	movl	24(%r9), %edx
	imull	%eax, %edx
	movl	24(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	24(%r13), %edx
	addl	%r8d, %edx
	subl	%edx, %ebx
	movl	%ebx, 24(%r15)
	imull	28(%r9), %eax
	imull	28(%r12), %ecx
	addl	%eax, %ecx
	sarl	$7, %ecx
	addl	28(%r13), %r8d
	subl	%r8d, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%ecx, 28(%r15)
	incq	%rsi
	movslq	(%rdi), %rax
	cmpq	%rax, %rsi
	jge	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r8,%rsi,4), %rax
	movq	(%r14,%rax,8), %r9
	movq	8(%r14,%rax,8), %r12
	movq	(%r10,%rax,8), %rcx
	movq	8(%r10,%rax,8), %rdx
	movl	(%rcx,%rsi,4), %eax
	movl	(%rdx,%rsi,4), %ecx
	movq	(%r11,%rsi,8), %r15
	cmpq	$3, %rsi
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r9), %edx
	imull	%eax, %edx
	movl	(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, (%r15)
	movl	4(%r9), %edx
	imull	%eax, %edx
	movl	4(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 4(%r15)
	movl	8(%r9), %edx
	imull	%eax, %edx
	movl	8(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 8(%r15)
	movl	12(%r9), %edx
	imull	%eax, %edx
	movl	12(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 12(%r15)
	movl	16(%r9), %edx
	imull	%eax, %edx
	movl	16(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 16(%r15)
	movl	20(%r9), %edx
	imull	%eax, %edx
	movl	20(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 20(%r15)
	movl	24(%r9), %edx
	imull	%eax, %edx
	movl	24(%r12), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	sarl	$7, %ebx
	movl	%ebx, 24(%r15)
	imull	28(%r9), %eax
	imull	28(%r12), %ecx
	addl	%eax, %ecx
	sarl	$7, %ecx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_dca_scf_to_grid_1,8,3       ## @ff_dca_scf_to_grid_1
	.comm	_ff_dca_grid_1_weights,8,3      ## @ff_dca_grid_1_weights
	.no_dead_strip	_decode_grid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_grid
_decode_grid:                           ; @decode_grid
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, w2
	b.le	LBB0_2
LBB0_1:
	ret
LBB0_2:
Lloh0:
	adrp	x8, _ff_dca_scf_to_grid_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_dca_scf_to_grid_1@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ff_dca_grid_1_weights@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ff_dca_grid_1_weights@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sxtw	x10, w1
	add	w11, w2, #1
	ldr	w16, [x0]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	w11, w10
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w16, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, #0
	lsl	x13, x10, #3
	ldp	x14, x15, [x0, #8]
	ldr	x14, [x14, x13]
	ldr	x15, [x15, x13]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldp	x4, x5, [x0, #24]
	ldr	x4, [x4, x13]
	sub	w6, w12, #4
	ldr	x4, [x4, w6, uxtw #3]
	ldr	x5, [x5, x13]
	ldr	w5, [x5, w6, uxtw #2]
	ldr	w6, [x1]
	mul	w6, w6, w3
	ldr	w7, [x17]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16]
	ldr	w6, [x1, #4]
	mul	w6, w6, w3
	ldr	w7, [x17, #4]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #4]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #4]
	ldr	w6, [x1, #8]
	mul	w6, w6, w3
	ldr	w7, [x17, #8]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #8]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #8]
	ldr	w6, [x1, #12]
	mul	w6, w6, w3
	ldr	w7, [x17, #12]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #12]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #12]
	ldr	w6, [x1, #16]
	mul	w6, w6, w3
	ldr	w7, [x17, #16]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #16]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #16]
	ldr	w6, [x1, #20]
	mul	w6, w6, w3
	ldr	w7, [x17, #20]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #20]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #20]
	ldr	w6, [x1, #24]
	mul	w6, w6, w3
	ldr	w7, [x17, #24]
	madd	w6, w7, w2, w6
	asr	w6, w6, #7
	ldr	w7, [x4, #24]
	add	w7, w7, w5
	sub	w6, w6, w7
	str	w6, [x16, #24]
	ldr	w1, [x1, #28]
	mul	w1, w1, w3
	ldr	w17, [x17, #28]
	madd	w17, w17, w2, w1
	asr	w17, w17, #7
	ldr	w1, [x4, #28]
	add	w1, w1, w5
	sub	w17, w17, w1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	str	w17, [x16, #28]
	add	x12, x12, #1
	ldrsw	x16, [x0]
	cmp	x12, x16
	b.ge	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x16, x12, #2
	ldrsw	x17, [x8, x16]
	lsl	x2, x17, #3
	ldr	x1, [x14, x2]
	add	x4, x2, #8
	ldr	x17, [x14, x4]
	ldr	x2, [x9, x2]
	ldr	w3, [x2, x16]
	ldr	x2, [x9, x4]
	ldr	w2, [x2, x16]
	ldr	x16, [x15, x12, lsl #3]
	cmp	x12, #3
	b.hi	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w4, [x1]
	mul	w4, w4, w3
	ldr	w5, [x17]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16]
	ldr	w4, [x1, #4]
	mul	w4, w4, w3
	ldr	w5, [x17, #4]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #4]
	ldr	w4, [x1, #8]
	mul	w4, w4, w3
	ldr	w5, [x17, #8]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #8]
	ldr	w4, [x1, #12]
	mul	w4, w4, w3
	ldr	w5, [x17, #12]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #12]
	ldr	w4, [x1, #16]
	mul	w4, w4, w3
	ldr	w5, [x17, #16]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #16]
	ldr	w4, [x1, #20]
	mul	w4, w4, w3
	ldr	w5, [x17, #20]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #20]
	ldr	w4, [x1, #24]
	mul	w4, w4, w3
	ldr	w5, [x17, #24]
	madd	w4, w5, w2, w4
	asr	w4, w4, #7
	str	w4, [x16, #24]
	ldr	w1, [x1, #28]
	mul	w1, w1, w3
	ldr	w17, [x17, #28]
	madd	w17, w17, w2, w1
	asr	w17, w17, #7
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_dca_scf_to_grid_1,8,3       ; @ff_dca_scf_to_grid_1
	.comm	_ff_dca_grid_1_weights,8,3      ; @ff_dca_grid_1_weights
	.no_dead_strip	_decode_grid
.subsections_via_symbols
