	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_gen_acb_excitation   ## -- Begin function ff_g723_1_gen_acb_excitation
	.p2align	4, 0x90
_ff_g723_1_gen_acb_excitation:          ## @ff_g723_1_gen_acb_excitation
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SUBFRAME_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	_PITCH_ORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	leal	(%r15,%rax), %edx
	decl	%edx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_g723_1_get_residual
	movq	%r13, %r14
	movq	_RATE_6300@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	leal	-2(%rcx), %edi
	movq	_adaptive_cb_gain170@GOTPCREL(%rip), %rax
	movq	%rax, %rsi
	cmpl	%r15d, %edi
	jle	LBB0_2
## %bb.1:
	movq	_adaptive_cb_gain85@GOTPCREL(%rip), %rsi
LBB0_2:
	cmpl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	cmoveq	%rsi, %rax
	testl	%ecx, %ecx
	movq	_PITCH_ORDER@GOTPCREL(%rip), %rdx
	jle	LBB0_5
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	4(%rcx), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	shlq	$4, %rcx
	addq	(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r15
	movq	%rdx, %r12
	movl	(%rdx), %edx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_dot_product
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_av_sat_add32
	movl	$32768, %edi                    ## imm = 0x8000
	movl	%eax, %esi
	callq	_av_sat_dadd32
	movq	%r12, %rdx
	movq	%r15, %r12
	sarl	$16, %eax
	movl	%eax, (%r15,%r13,4)
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBFRAME_LEN,4,2               ## @SUBFRAME_LEN
	.comm	_PITCH_ORDER,4,2                ## @PITCH_ORDER
	.comm	_RATE_6300,4,2                  ## @RATE_6300
	.comm	_adaptive_cb_gain85,8,3         ## @adaptive_cb_gain85
	.comm	_adaptive_cb_gain170,8,3        ## @adaptive_cb_gain170
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_gen_acb_excitation   ; -- Begin function ff_g723_1_gen_acb_excitation
	.p2align	2
_ff_g723_1_gen_acb_excitation:          ; @ff_g723_1_gen_acb_excitation
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _SUBFRAME_LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SUBFRAME_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh5:
	adrp	x25, _PITCH_ORDER@GOTPAGE
Lloh6:
	ldr	x25, [x25, _PITCH_ORDER@GOTPAGEOFF]
	ldr	w9, [x25]
	add	w8, w8, w9
	sub	w8, w8, #1
	lsl	x9, x8, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x3]
	add	w8, w2, w8
	sub	w2, w8, #1
	mov	x0, x20
	bl	_ff_g723_1_get_residual
Lloh9:
	adrp	x8, _RATE_6300@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RATE_6300@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x24]
	sub	w10, w9, #2
	cmp	w10, w23
	ccmp	w8, w22, #0, gt
Lloh12:
	adrp	x8, _adaptive_cb_gain85@GOTPAGE
Lloh13:
	ldr	x8, [x8, _adaptive_cb_gain85@GOTPAGEOFF]
Lloh14:
	adrp	x10, _adaptive_cb_gain170@GOTPAGE
Lloh15:
	ldr	x10, [x10, _adaptive_cb_gain170@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	ldr	x8, [x8]
	ldrsw	x9, [x21, #4]
	mov	w10, #80
	madd	x21, x9, x10, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_ff_dot_product
	mov	x1, x0
	bl	_av_sat_add32
	mov	x1, x0
	mov	w0, #32768
	bl	_av_sat_dadd32
	asr	w8, w0, #16
	str	w8, [x19, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x24]
	add	x20, x20, #4
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBFRAME_LEN,4,2               ; @SUBFRAME_LEN
	.comm	_PITCH_ORDER,4,2                ; @PITCH_ORDER
	.comm	_RATE_6300,4,2                  ; @RATE_6300
	.comm	_adaptive_cb_gain85,8,3         ; @adaptive_cb_gain85
	.comm	_adaptive_cb_gain170,8,3        ; @adaptive_cb_gain170
.subsections_via_symbols
