	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g722_decode_frame
_g722_decode_frame:                     ## @g722_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movslq	(%r14), %rax
	movl	$8, %ecx
	movq	%rax, %r13
	subq	%rax, %rcx
	movq	_low_inv_quants@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r12), %eax
	addl	%eax, %eax
	movl	%eax, (%rsi)
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edx
	movl	4(%r12), %esi
	leaq	-64(%rbp), %rdi
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.3:
	leal	-2(%r13), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	addl	$-6, %r13d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	cmpl	(%r12), %ebx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_get_bits
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skip_bits
	movq	32(%r14), %rax
	movslq	%ebx, %rbx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rbx,4), %ecx
	imull	(%rax), %ecx
	sarl	$10, %ecx
	movslq	%ecx, %rdi
	addq	8(%rax), %rdi
	movl	$14, %esi
	callq	_av_clip_intp2
	movl	%eax, %r13d
	movq	32(%r14), %rdi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %ebx
	movl	%ebx, %esi
	callq	_ff_g722_update_low_predictor
	movq	32(%r14), %rax
	movq	_ff_g722_high_inv_quant@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r15d, %r15
	movl	(%rcx,%r15,4), %ecx
	imull	16(%rax), %ecx
	sarl	$10, %ecx
	movslq	%ecx, %rbx
	movq	24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$14, %esi
	callq	_av_clip_intp2
	movl	%eax, %r12d
	movq	32(%r14), %rdi
	addq	$16, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	callq	_ff_g722_update_high_predictor
	leal	(%r12,%r13), %eax
	movq	8(%r14), %rcx
	movslq	16(%r14), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%r14)
	movl	%eax, (%rcx,%rdx,4)
	subl	%r12d, %r13d
	movslq	16(%r14), %rax
	leal	1(%rax), %edx
	movl	%edx, 16(%r14)
	movl	%r13d, (%rcx,%rax,4)
	movslq	16(%r14), %rax
	leaq	(%rcx,%rax,4), %rdi
	addq	$-96, %rdi
	leaq	-56(%rbp), %rsi
	callq	*24(%r14)
	movl	-56(%rbp), %edi
	sarl	$11, %edi
	callq	_av_clip_int16
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, (%r15,%rbx,8)
	movl	-52(%rbp), %edi
	sarl	$11, %edi
	callq	_av_clip_int16
	movl	%eax, 4(%r15,%rbx,8)
	movslq	16(%r14), %rax
	movq	_PREV_SAMPLES_BUF_SIZE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rdi
	leaq	(%rdi,%rax,4), %rsi
	addq	$-88, %rsi
	movl	$88, %edx
	callq	_memmove
	movl	$22, 16(%r14)
	jmp	LBB0_6
LBB0_7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	(%r12), %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_low_inv_quants,8,3             ## @low_inv_quants
	.comm	_ff_g722_high_inv_quant,8,3     ## @ff_g722_high_inv_quant
	.comm	_PREV_SAMPLES_BUF_SIZE,8,3      ## @PREV_SAMPLES_BUF_SIZE
	.no_dead_strip	_g722_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g722_decode_frame
_g722_decode_frame:                     ; @g722_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x27, [x0]
	ldr	w21, [x27]
	mov	w8, #8
	sub	w9, w8, w21
Lloh3:
	adrp	x8, _low_inv_quants@GOTPAGE
Lloh4:
	ldr	x8, [x8, _low_inv_quants@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
	ldr	x8, [x8, w9, sxtw #3]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x3]
	lsl	w8, w8, #1
	str	w8, [x1]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	x8, [x22, #8]
	ldr	x20, [x8]
	ldp	w2, w1, [x19]
	add	x0, sp, #28
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_8
; %bb.2:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w28, #0
	sub	w22, w21, #2
	sub	w21, w21, #6
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w28, w28, #1
	ldr	w8, [x19]
	add	x20, x20, #8
	cmp	w28, w8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #28
	mov	w1, #2
	bl	_get_bits
	mov	x23, x0
	add	x0, sp, #28
	mov	x1, x22
	bl	_get_bits
	mov	x24, x0
	add	x0, sp, #28
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_skip_bits
	ldr	x8, [x27, #32]
	ldr	w9, [x8]
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w10, [x10, w24, sxtw #2]
	mul	w9, w10, w9
	asr	w9, w9, #10
	ldr	x8, [x8, #8]
	add	x0, x8, w9, sxtw
	mov	w1, #14
	bl	_av_clip_intp2
	mov	x25, x0
	ldr	x0, [x27, #32]
	asr	w1, w24, w21
	bl	_ff_g722_update_low_predictor
	ldr	x8, [x27, #32]
	ldr	w9, [x8, #16]
Lloh6:
	adrp	x10, _ff_g722_high_inv_quant@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ff_g722_high_inv_quant@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x10, w23, sxtw #2]
	mul	w9, w10, w9
	asr	w24, w9, #10
	ldr	x8, [x8, #24]
	add	x0, x8, w24, sxtw
	mov	w1, #14
	bl	_av_clip_intp2
	mov	x26, x0
	ldr	x8, [x27, #32]
	add	x0, x8, #16
	mov	x1, x24
	mov	x2, x23
	bl	_ff_g722_update_high_predictor
	add	w8, w26, w25
	ldr	x9, [x27, #8]
	ldrsw	x10, [x27, #16]
	add	w11, w10, #1
	str	w11, [x27, #16]
	str	w8, [x9, x10, lsl #2]
	sub	w8, w25, w26
	ldrsw	x10, [x27, #16]
	add	w11, w10, #1
	str	w11, [x27, #16]
	str	w8, [x9, x10, lsl #2]
	ldr	x8, [x27, #24]
	ldrsw	x10, [x27, #16]
	add	x9, x9, x10, lsl #2
	sub	x0, x9, #96
	add	x1, sp, #32
	blr	x8
	ldr	w8, [sp, #32]
	asr	w0, w8, #11
	bl	_av_clip_int16
	str	w0, [x20]
	ldr	w8, [sp, #36]
	asr	w0, w8, #11
	bl	_av_clip_int16
	str	w0, [x20, #4]
	ldrsw	x8, [x27, #16]
Lloh9:
	adrp	x9, _PREV_SAMPLES_BUF_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PREV_SAMPLES_BUF_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.gt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x27, #8]
	add	x8, x0, x8, lsl #2
	sub	x1, x8, #88
	mov	w2, #88
	bl	_memmove
	mov	w8, #22
	str	w8, [x27, #16]
	b	LBB0_4
LBB0_7:
	mov	w8, #1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w0, [x19]
LBB0_8:
	ldr	x8, [sp, #40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_low_inv_quants,8,3             ; @low_inv_quants
	.comm	_ff_g722_high_inv_quant,8,3     ; @ff_g722_high_inv_quant
	.comm	_PREV_SAMPLES_BUF_SIZE,8,3      ; @PREV_SAMPLES_BUF_SIZE
	.no_dead_strip	_g722_decode_frame
.subsections_via_symbols
