	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decode_pitch_vector
LCPI0_0:
	.quad	0x3fe47ae147ae147b              ## double 0.64000000000000001
	.quad	0x3fe47ae147ae147b              ## double 0.64000000000000001
LCPI0_1:
	.quad	0x3fc70a3d70a3d70a              ## double 0.17999999999999999
	.quad	0x3fc70a3d70a3d70a              ## double 0.17999999999999999
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x3fe47ae147ae147b              ## double 0.64000000000000001
LCPI0_3:
	.quad	0x3fc70a3d70a3d70a              ## double 0.17999999999999999
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_pitch_vector:                   ## @decode_pitch_vector
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r8d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	8(%rdi), %r9d
	movq	_MODE_8k85@GOTPCREL(%rip), %rax
	leaq	32(%rdi), %rcx
	movl	8(%rsi), %edx
	cmpl	(%rax), %r9d
	jbe	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_decode_pitch_lag_high
	jmp	LBB0_3
LBB0_2:
	leaq	-36(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_decode_pitch_lag_low
LBB0_3:
	movl	-36(%rbp), %eax
	movl	%eax, 12(%r14)
	movl	-40(%rbp), %ecx
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	setle	%dil
	setg	%dl
	addl	%eax, %edx
	movl	%edx, -36(%rbp)
	movslq	%edx, %rax
	shlq	$2, %rax
	negq	%rax
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	movq	_ac_inter@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	(%rcx,%rdi,4), %r8d
	movq	_LP_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_AMRWB_SFR_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	*24(%r14)
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	16(%r14), %rdi
	movl	(%r12), %edx
	shll	$2, %edx
	movq	%rbx, %rsi
	jmp	LBB0_17
LBB0_5:
	movl	(%r12), %edx
	movq	16(%r14), %rsi
	testl	%edx, %edx
	jle	LBB0_16
## %bb.6:
	cmpl	$4, %edx
	jb	LBB0_7
## %bb.8:
	leaq	(%rbx,%rdx,4), %rax
	addq	$4, %rax
	cmpq	%rax, %rsi
	jae	LBB0_11
## %bb.9:
	leaq	(%rsi,%rdx,4), %rax
	leaq	-4(%rbx), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_11
LBB0_7:
	xorl	%eax, %eax
LBB0_14:
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movss	-4(%rbx,%rax,4), %xmm2          ## xmm2 = mem[0],zero,zero,zero
	movss	(%rbx,%rax,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	cvtss2sd	%xmm3, %xmm3
	mulsd	%xmm0, %xmm3
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	movss	4(%rbx,%rax,4), %xmm3           ## xmm3 = mem[0],zero,zero,zero
	cvtss2sd	%xmm3, %xmm3
	mulsd	%xmm1, %xmm3
	addsd	%xmm2, %xmm3
	xorps	%xmm2, %xmm2
	cvtsd2ss	%xmm3, %xmm2
	movss	%xmm2, (%rsi,%rax,4)
	leaq	1(%rax), %rcx
	movq	%rcx, %rax
	cmpq	%rcx, %rdx
	jne	LBB0_15
LBB0_16:
	shll	$2, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_17:
	callq	_memcpy
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%edx, %eax
	andl	$-4, %eax
	leaq	(,%rdx,4), %rcx
	andq	$-16, %rcx
	xorl	%edi, %edi
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [6.4000000000000001E-1,6.4000000000000001E-1]
	movapd	LCPI0_1(%rip), %xmm1            ## xmm1 = [1.7999999999999999E-1,1.7999999999999999E-1]
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cvtps2pd	-4(%rbx,%rdi), %xmm2
	cvtps2pd	8(%rbx,%rdi), %xmm3
	cvtps2pd	(%rbx,%rdi), %xmm4
	mulpd	%xmm0, %xmm4
	mulpd	%xmm0, %xmm3
	cvtps2pd	4(%rbx,%rdi), %xmm5
	mulpd	%xmm1, %xmm5
	mulpd	%xmm1, %xmm2
	addpd	%xmm4, %xmm2
	cvtps2pd	12(%rbx,%rdi), %xmm4
	addpd	%xmm5, %xmm3
	addpd	%xmm5, %xmm2
	mulpd	%xmm1, %xmm4
	addpd	%xmm3, %xmm4
	cvtpd2ps	%xmm4, %xmm3
	cvtpd2ps	%xmm2, %xmm2
	unpcklpd	%xmm3, %xmm2                    ## xmm2 = xmm2[0],xmm3[0]
	movupd	%xmm2, (%rsi,%rdi)
	addq	$16, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_12
## %bb.13:
	cmpq	%rdx, %rax
	je	LBB0_16
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_8k85,4,2                  ## @MODE_8k85
	.comm	_ac_inter,4,2                   ## @ac_inter
	.comm	_LP_ORDER,4,2                   ## @LP_ORDER
	.comm	_AMRWB_SFR_SIZE,4,2             ## @AMRWB_SFR_SIZE
	.no_dead_strip	_decode_pitch_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_pitch_vector
_decode_pitch_vector:                   ; @decode_pitch_vector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x4, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w5, [x0, #8]
Lloh0:
	adrp	x8, _MODE_8k85@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_8k85@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w2, [x1, #8]
	add	x3, x0, #32
	add	x0, sp, #12
	add	x1, sp, #8
	cmp	w5, w8
	b.ls	LBB0_2
; %bb.1:
	bl	_decode_pitch_lag_high
	b	LBB0_3
LBB0_2:
	bl	_decode_pitch_lag_low
LBB0_3:
	ldp	w9, w8, [sp, #8]
	str	w8, [x20, #12]
	cmp	w9, #1
	cset	w10, lt
	cmp	w9, #0
	cinc	w8, w8, gt
	str	w8, [sp, #12]
	ldr	x11, [x20, #24]
	sub	x8, x19, w8, sxtw #2
	add	x1, x8, #4
Lloh3:
	adrp	x8, _ac_inter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ac_inter@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _LP_ORDER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LP_ORDER@GOTPAGEOFF]
	add	w4, w9, w10, lsl #2
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x22, _AMRWB_SFR_SIZE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _AMRWB_SFR_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w6, w8, #1
	mov	x0, x19
	mov	w3, #4
	blr	x11
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x20, #16]
	ldr	w8, [x22]
	lsl	w2, w8, #2
	mov	x1, x19
	b	LBB0_15
LBB0_5:
	ldr	w8, [x22]
	ldr	x1, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.6:
	cmp	w8, #8
	b.lo	LBB0_11
; %bb.7:
	lsl	x9, x8, #2
	add	x10, x1, x9
	sub	x11, x19, #4
	add	x9, x9, x19
	add	x9, x9, #4
	cmp	x1, x9
	ccmp	x11, x10, #2, lo
	b.lo	LBB0_11
; %bb.8:
	and	x9, x8, #0xfffffff8
	add	x10, x1, #16
	add	x11, x19, #12
	mov	x12, #5243
	movk	x12, #18350, lsl #16
	movk	x12, #31457, lsl #32
	movk	x12, #16356, lsl #48
	dup.2d	v0, x12
	mov	x12, #55050
	movk	x12, #28835, lsl #16
	movk	x12, #2621, lsl #32
	movk	x12, #16327, lsl #48
	dup.2d	v1, x12
	mov	x12, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d2, d3, [x11, #-16]
	ldp	d4, d5, [x11]
	fcvtl	v2.2d, v2.2s
	fcvtl	v3.2d, v3.2s
	fcvtl	v4.2d, v4.2s
	fcvtl	v5.2d, v5.2s
	ldur	d6, [x11, #-12]
	ldur	d7, [x11, #-4]
	ldur	d16, [x11, #4]
	ldur	d17, [x11, #12]
	fcvtl	v6.2d, v6.2s
	fcvtl	v7.2d, v7.2s
	fcvtl	v16.2d, v16.2s
	fcvtl	v17.2d, v17.2s
	fmul.2d	v6, v6, v0
	fmul.2d	v7, v7, v0
	fmul.2d	v16, v16, v0
	fmul.2d	v17, v17, v0
	fmla.2d	v6, v1, v2
	fmla.2d	v7, v1, v3
	fmla.2d	v16, v1, v4
	fmla.2d	v17, v1, v5
	ldr	d2, [x11, #16]
	fcvtl	v2.2d, v2.2s
	fmla.2d	v6, v1, v3
	fmla.2d	v7, v1, v4
	fmla.2d	v16, v1, v5
	fmla.2d	v17, v1, v2
	fcvtn	v2.2s, v6.2d
	fcvtn	v3.2s, v7.2d
	fcvtn	v4.2s, v16.2d
	stp	d2, d3, [x10, #-16]
	fcvtn	v2.2s, v17.2d
	stp	d4, d2, [x10], #32
	add	x11, x11, #32
	subs	x12, x12, #8
	b.ne	LBB0_9
; %bb.10:
	cmp	x9, x8
	b.ne	LBB0_12
	b	LBB0_14
LBB0_11:
	mov	x9, #0
LBB0_12:
	sub	x10, x8, x9
	lsl	x11, x9, #2
	add	x9, x1, x11
	add	x11, x19, x11
	mov	x12, #5243
	movk	x12, #18350, lsl #16
	movk	x12, #31457, lsl #32
	movk	x12, #16356, lsl #48
	mov	x13, #55050
	movk	x13, #28835, lsl #16
	movk	x13, #2621, lsl #32
	movk	x13, #16327, lsl #48
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	s0, s1, [x11, #-4]
	fcvt	d0, s0
	fcvt	d1, s1
	fmov	d2, x12
	fmul	d1, d1, d2
	fmov	d2, x13
	fmadd	d0, d0, d2, d1
	ldr	s1, [x11, #4]!
	fcvt	d1, s1
	fmadd	d0, d1, d2, d0
	fcvt	s0, d0
	str	s0, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_13
LBB0_14:
	lsl	w2, w8, #2
	mov	x0, x19
LBB0_15:
	bl	_memcpy
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_8k85,4,2                  ; @MODE_8k85
	.comm	_ac_inter,4,2                   ; @ac_inter
	.comm	_LP_ORDER,4,2                   ; @LP_ORDER
	.comm	_AMRWB_SFR_SIZE,4,2             ; @AMRWB_SFR_SIZE
	.no_dead_strip	_decode_pitch_vector
.subsections_via_symbols
