	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilbc_decode_frame
_ilbc_decode_frame:                     ## @ilbc_decode_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rcx), %rsi
	movq	(%rdi), %r14
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_LPC_FILTERORDER@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	shlq	$2, %r13
	addq	8(%r14), %r13
	leaq	116(%r14), %rdi
	movl	(%rcx), %edx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	92(%r14), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	16(%r14), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	movq	%r15, %r12
	movq	%r14, %rdi
	callq	_unpack_frame
	testq	%rax, %rax
	setne	%al
	movl	92(%r14), %ecx
	addl	$-6, %ecx
	cmpl	$-5, %ecx
	setb	%cl
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movb	%dl, -44(%rbp)                  ## 1-byte Spill
	movq	_LPC_FILTERORDER@GOTPCREL(%rip), %r15
	jne	LBB0_4
## %bb.3:
	movl	100(%r14), %edi
	callq	_index_conv
	movl	96(%r14), %esi
	movl	104(%r14), %edi
	movl	112(%r14), %edx
	callq	_lsf_dequantization
	movq	(%r15), %rsi
	movl	104(%r14), %edi
	movl	112(%r14), %edx
	callq	_lsf_check_stability
	movq	24(%r14), %rdi
	movl	108(%r14), %esi
	movl	104(%r14), %edx
	movq	(%r15), %rcx
	movq	%r14, %r8
	callq	_lsp_interpolate
	movq	24(%r14), %rcx
	movq	32(%r14), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_decode_residual
	movl	88(%r14), %esi
	movq	8(%r14), %rdi
	movq	32(%r14), %rcx
	movq	(%r15), %rax
	incq	%rax
	movslq	40(%r14), %r8
	decq	%r8
	imulq	%rax, %r8
	shlq	$2, %r8
	addq	24(%r14), %r8
	movl	44(%r14), %r9d
	movq	%r14, (%rsp)
	xorl	%edx, %edx
	callq	_do_plc
	movq	8(%r14), %rsi
	movq	32(%r14), %rdi
	movslq	16(%r14), %rdx
	addq	%rdx, %rdx
	callq	_memcpy
LBB0_4:
	cmpq	$0, 80(%r14)
	jne	LBB0_12
## %bb.5:
	cmpl	$20, (%r14)
	movq	32(%r14), %rax
	movslq	16(%r14), %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.6:
	leaq	(%rax,%rcx,4), %rdi
	addq	$-240, %rdi
	leaq	(%rax,%rcx,4), %rsi
	addq	$-320, %rsi                     ## imm = 0xFEC0
	movl	$60, %edx
	movl	$80, %ecx
	jmp	LBB0_8
LBB0_7:
	movq	_ENH_BLOCKL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	leaq	(%rax,%rcx,4), %rsi
	addq	$-80, %rsi
	movl	$100, %ecx
LBB0_8:
	movl	$20, %r8d
	movl	$-1, %r9d
	callq	_xcorr_coeff
	movl	%eax, 44(%r14)
	movq	32(%r14), %rsi
	movslq	16(%r14), %rdx
	addq	%rdx, %rdx
	movq	%r13, %rdi
	callq	_memcpy
	movq	(%r15), %rdx
	leaq	(,%rdx,4), %rax
	movq	%r13, %rdi
	subq	%rax, %rdi
	movq	48(%r14), %rsi
	addq	%rdx, %rdx
	callq	_memcpy
	cmpl	$0, 40(%r14)
	movq	%r15, %r12
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	movq	_SUBL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r8d
	movl	%ebx, %eax
	imull	%r8d, %eax
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	(%r12), %rcx
	incq	%rcx
	movq	%rcx, %rdx
	imulq	%rbx, %rdx
	shlq	$2, %rdx
	addq	24(%r14), %rdx
	movq	%rdi, %rsi
	callq	_filter_arfq12
	incq	%rbx
	movslq	40(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_11:
	movq	48(%r14), %rdi
	movslq	16(%r14), %rax
	movq	(%r12), %rdx
	subq	%rdx, %rax
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	addq	%rdx, %rdx
	callq	_memcpy
	movq	%r12, %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_12:
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	movslq	16(%r14), %rdx
	addq	%rdx, %rdx
	movq	%r13, %rsi
	callq	_memcpy
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	movq	_hp_out_coeffs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	72(%r14), %edx
	movl	16(%r14), %r8d
	movl	68(%r14), %ecx
	callq	_hp_output
	movq	24(%r14), %rsi
	movq	56(%r14), %rdi
	movslq	40(%r14), %rax
	movq	(%r15), %rdx
	incq	%rdx
	imulq	%rax, %rdx
	addq	%rdx, %rdx
	callq	_memcpy
	movzbl	-44(%rbp), %eax                 ## 1-byte Folded Reload
	movl	%eax, 64(%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPC_FILTERORDER,8,3            ## @LPC_FILTERORDER
	.comm	_ENH_BLOCKL,8,3                 ## @ENH_BLOCKL
	.comm	_SUBL,4,2                       ## @SUBL
	.comm	_hp_out_coeffs,4,2              ## @hp_out_coeffs
	.no_dead_strip	_ilbc_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilbc_decode_frame
_ilbc_decode_frame:                     ; @ilbc_decode_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x1, [x3, #8]
	ldr	x21, [x0]
	ldr	w26, [x21]
	ldr	x27, [x21, #8]
Lloh0:
	adrp	x25, _LPC_FILTERORDER@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LPC_FILTERORDER@GOTPAGEOFF]
	ldr	x28, [x25]
	add	x0, x21, #116
	ldr	w2, [x3]
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_13
; %bb.1:
	add	x24, x21, #92
	mov	x0, x24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x21, #16]
	str	w8, [x22]
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_13
; %bb.2:
	add	x23, x27, x28, lsl #2
	mov	x0, x21
	bl	_unpack_frame
	ldr	w8, [x21, #92]
	sub	w8, w8, #6
	cmn	w8, #5
	ccmp	x0, #0, #0, hs
	ccmp	w26, #0, #4, eq
	cset	w26, eq
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x21, #100]
	bl	_index_conv
	ldr	w0, [x21, #104]
	ldr	w1, [x21, #96]
	ldr	w2, [x21, #112]
	bl	_lsf_dequantization
	ldr	w0, [x21, #104]
	ldr	x1, [x25]
	ldr	w2, [x21, #112]
	bl	_lsf_check_stability
	ldr	x0, [x21, #24]
	ldp	w2, w1, [x21, #104]
	ldr	x3, [x25]
	mov	x4, x21
	bl	_lsp_interpolate
	ldp	x3, x2, [x21, #24]
	mov	x0, x21
	mov	x1, x24
	bl	_decode_residual
	ldr	x0, [x21, #8]
	ldr	w1, [x21, #88]
	ldp	x8, x3, [x21, #24]
	ldr	x9, [x25]
	ldp	w10, w5, [x21, #40]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	sub	x10, x10, #1
	madd	x9, x10, x9, x10
	add	x4, x8, x9, lsl #2
	mov	w2, #0
	mov	x6, x21
	bl	_do_plc
	ldr	x0, [x21, #32]
	ldr	x1, [x21, #8]
	ldrsw	x8, [x21, #16]
	lsl	x2, x8, #1
	bl	_memcpy
LBB0_4:
	ldr	x8, [x21, #80]
	cbnz	x8, LBB0_12
; %bb.5:
	ldr	w10, [x21]
	ldr	x8, [x21, #32]
	ldrsw	x9, [x21, #16]
	cmp	w10, #20
	b.ne	LBB0_7
; %bb.6:
	sub	w10, w9, #60
	add	x0, x8, w10, sxtw #2
	sub	w9, w9, #80
	add	x1, x8, w9, sxtw #2
	mov	w2, #60
	mov	w3, #80
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x10, _ENH_BLOCKL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ENH_BLOCKL@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x10]
	sub	x9, x9, x2
	add	x0, x8, x9, lsl #2
	sub	x1, x0, #80
	mov	w3, #100
LBB0_8:
	mov	w4, #20
	mov	w5, #-1
	bl	_xcorr_coeff
	str	w0, [x21, #44]
	ldr	x1, [x21, #32]
	ldrsw	x8, [x21, #16]
	lsl	x2, x8, #1
	mov	x0, x23
	bl	_memcpy
	ldr	x8, [x25]
	sub	x0, x23, x8, lsl #2
	ldr	x1, [x21, #48]
	lsl	x2, x8, #1
	bl	_memcpy
	ldr	w8, [x21, #40]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x24, #0
Lloh5:
	adrp	x27, _SUBL@GOTPAGE
Lloh6:
	ldr	x27, [x27, _SUBL@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w4, [x27]
	mul	w8, w4, w24
	add	x0, x23, w8, sxtw #2
	ldr	x8, [x21, #24]
	ldr	x9, [x25]
	add	x3, x9, #1
	mul	x9, x3, x24
	add	x2, x8, x9, lsl #2
	mov	x1, x0
	bl	_filter_arfq12
	add	x24, x24, #1
	ldrsw	x8, [x21, #40]
	cmp	x24, x8
	b.lt	LBB0_10
LBB0_11:
	ldr	x0, [x21, #48]
	ldrsw	x8, [x21, #16]
	ldr	x9, [x25]
	sub	x8, x8, x9
	add	x1, x23, x8, lsl #2
	lsl	x2, x9, #1
	bl	_memcpy
LBB0_12:
	ldr	x8, [x22, #8]
	ldr	x0, [x8]
	ldrsw	x8, [x21, #16]
	lsl	x2, x8, #1
	mov	x1, x23
	bl	_memcpy
	ldr	x8, [x22, #8]
	ldr	x0, [x8]
Lloh7:
	adrp	x8, _hp_out_coeffs@GOTPAGE
Lloh8:
	ldr	x8, [x8, _hp_out_coeffs@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldp	w3, w2, [x21, #68]
	ldr	w4, [x21, #16]
	bl	_hp_output
	ldr	x0, [x21, #56]
	ldr	x1, [x21, #24]
	ldrsw	x8, [x21, #40]
	ldr	x9, [x25]
	madd	x8, x8, x9, x8
	lsl	x2, x8, #1
	bl	_memcpy
	str	w26, [x21, #64]
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LPC_FILTERORDER,8,3            ; @LPC_FILTERORDER
	.comm	_ENH_BLOCKL,8,3                 ; @ENH_BLOCKL
	.comm	_SUBL,4,2                       ; @SUBL
	.comm	_hp_out_coeffs,4,2              ; @hp_out_coeffs
	.no_dead_strip	_ilbc_decode_frame
.subsections_via_symbols
