	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dequantization_int_97
LCPI0_0:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dequantization_int_97:                 ## @dequantization_int_97
	.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
	movq	%r8, %r11
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdx), %rdx
	movq	8(%rdx), %r8
	movl	(%r8), %ebx
	movl	4(%r8), %eax
	cmpl	%ebx, %eax
	jle	LBB0_21
## %bb.1:
	movq	%r9, %r10
	movq	(%rdx), %rdi
	movl	4(%rdi), %edx
	subl	(%rdi), %edx
	movq	(%rcx), %r9
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	(%r11), %r14
	movl	%edx, %edi
	andl	$-8, %edi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	addq	$-8, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movq	%rcx, %rdi
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rcx
	negq	%rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leaq	48(%r14), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	48(%r9), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -168(%rbp)                 ## 8-byte Spill
	leaq	4(%r9), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	leaq	4(%r14), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [32768,32768,32768,32768]
	xorl	%r12d, %r12d
	movl	%esi, %r14d
	movq	%r10, -120(%rbp)                ## 8-byte Spill
	movq	%r11, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r8), %ebx
	movl	4(%r8), %eax
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	movl	%eax, %ecx
	subl	%ebx, %ecx
	incl	%r14d
	cmpl	%ecx, %r12d
	jge	LBB0_21
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	testl	%edx, %edx
	jle	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %r13d
	subl	(%rax), %r13d
	leal	(%r12,%rsi), %ecx
	imull	%r13d, %ecx
	addl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	8(%r11), %eax
	imull	%r12d, %eax
	movslq	%ecx, %rcx
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rcx,4), %r9
	movslq	%eax, %rbx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rax
	movl	(%r10), %r15d
	cmpl	$8, %edx
	jb	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r9, %rcx
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jae	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rcx
	testb	$1, %dl
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax,%rdi,4), %ecx
	imull	%r15d, %ecx
	addl	$32768, %ecx                    ## imm = 0x8000
	sarl	$16, %ecx
	movl	%ecx, (%r9,%rdi,4)
	movq	%rdi, %rcx
	orq	$1, %rcx
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	notq	%rdi
	cmpq	-144(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_2
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	imull	%r14d, %r13d
	addl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movslq	%r13d, %rax
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rax,4), %rax
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rbx,4), %rbx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%rbx,%rcx,4), %edi
	imull	%r15d, %edi
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	movl	%edi, -4(%rax,%rcx,4)
	movl	(%rbx,%rcx,4), %edi
	imull	%r15d, %edi
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	movl	%edi, (%rax,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_20
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movd	%r15d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rbx,4), %rsi
	movl	%r14d, %ecx
	imull	%r13d, %ecx
	addl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movslq	%ecx, %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rcx,4), %r11
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-48(%rsi,%r10,4), %xmm2
	movdqu	-32(%rsi,%r10,4), %xmm3
	pmulld	%xmm1, %xmm2
	pmulld	%xmm1, %xmm3
	paddd	%xmm0, %xmm2
	paddd	%xmm0, %xmm3
	psrad	$16, %xmm2
	psrad	$16, %xmm3
	movdqu	%xmm2, -48(%r11,%r10,4)
	movdqu	%xmm3, -32(%r11,%r10,4)
	movdqu	-16(%rsi,%r10,4), %xmm2
	movdqu	(%rsi,%r10,4), %xmm3
	pmulld	%xmm1, %xmm2
	pmulld	%xmm1, %xmm3
	paddd	%xmm0, %xmm2
	paddd	%xmm0, %xmm3
	psrad	$16, %xmm2
	psrad	$16, %xmm3
	movdqu	%xmm2, -16(%r11,%r10,4)
	movdqu	%xmm3, (%r11,%r10,4)
	addq	$16, %r10
	addq	$-2, %rcx
	jne	LBB0_11
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r10d, %r10d
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -80(%rbp)                   ## 1-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movdqu	(%rax,%r10,4), %xmm2
	movdqu	16(%rax,%r10,4), %xmm3
	pmulld	%xmm1, %xmm2
	pmulld	%xmm1, %xmm3
	paddd	%xmm0, %xmm2
	paddd	%xmm0, %xmm3
	psrad	$16, %xmm2
	psrad	$16, %xmm3
	movdqu	%xmm2, (%r9,%r10,4)
	movdqu	%xmm3, 16(%r9,%r10,4)
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rdi
	cmpq	%rdx, %rcx
	movq	-120(%rbp), %r10                ## 8-byte Reload
	movq	-112(%rbp), %r11                ## 8-byte Reload
	je	LBB0_2
	jmp	LBB0_16
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dequantization_int_97
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequantization_int_97
_dequantization_int_97:                 ; @dequantization_int_97
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	ldr	x10, [x2]
	ldr	x8, [x10, #8]
	ldp	w7, w6, [x8]
	cmp	w6, w7
	b.le	LBB0_13
; %bb.1:
	mov	w9, #0
	ldr	x10, [x10]
	ldp	w10, w11, [x10]
	sub	w10, w11, w10
	ldp	x11, x12, [x3]
	ldr	x12, [x12]
	and	x13, x10, #0xfffffff0
	ldr	x14, [x4]
	add	x15, x11, #32
	add	x16, x14, #32
	orr	w17, wzr, #0x8000
	mov	x2, x1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w7, w6, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #1
	add	w2, w2, #1
	sub	w3, w6, w7
	cmp	w9, w3
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w6, w3, [x12]
	sub	w19, w3, w6
	ldr	w3, [x4, #8]
	mul	w6, w3, w9
	ldr	w3, [x5]
	madd	w7, w2, w19, w0
	cmp	w10, #16
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w9, w1
	madd	w19, w19, w20, w0
	sxtw	x19, w19
	sxtw	x20, w6
	add	x19, x11, x19, lsl #2
	add	x20, x14, x20, lsl #2
	sub	x19, x19, x20
	cmp	x19, #64
	b.hs	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, #0
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x7, x19, w7, sxtw
	add	x7, x11, x7, lsl #2
	add	x20, x19, w6, sxtw
	sub	x6, x10, x19
	add	x19, x14, x20, lsl #2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w20, [x19], #4
	madd	w20, w20, w3, w17
	asr	w20, w20, #16
	str	w20, [x7], #4
	subs	x6, x6, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	dup.4s	v0, w3
	add	x19, x15, w7, sxtw #2
	mov	x20, x13
	add	x21, x16, w6, sxtw #2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q2, [x21, #-32]
	ldp	q3, q4, [x21], #64
	movi.4s	v5, #128, lsl #8
	mla.4s	v5, v1, v0
	movi.4s	v1, #128, lsl #8
	mla.4s	v1, v2, v0
	movi.4s	v2, #128, lsl #8
	mla.4s	v2, v3, v0
	movi.4s	v3, #128, lsl #8
	mla.4s	v3, v4, v0
	sshr.4s	v4, v5, #16
	sshr.4s	v1, v1, #16
	sshr.4s	v2, v2, #16
	stp	q4, q1, [x19, #-32]
	sshr.4s	v1, v3, #16
	stp	q2, q1, [x19], #64
	subs	x20, x20, #16
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x13
	cmp	x13, x10
	b.eq	LBB0_2
	b	LBB0_8
LBB0_13:
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dequantization_int_97
.subsections_via_symbols
