	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_silk_decode_superframe      ## -- Begin function ff_silk_decode_superframe
	.p2align	4, 0x90
_ff_silk_decode_superframe:             ## @ff_silk_decode_superframe
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$60, %r9d
	jg	LBB0_3
## %bb.1:
	movl	%r8d, %ebx
	cmpl	$2, %r8d
	jg	LBB0_3
## %bb.2:
	movq	_OPUS_BANDWIDTH_WIDEBAND@GOTPCREL(%rip), %rdi
	cmpl	%ecx, (%rdi)
	jb	LBB0_3
## %bb.5:
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$21, %r9d
	setge	%al
	xorl	%edx, %edx
	cmpl	$41, %r9d
	setge	%dl
	leal	(%rax,%rdx), %r14d
	incl	%r14d
	movl	%r9d, %eax
	cltd
	idivl	%r14d
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$33, %rax
	addl	%edx, %eax
	movl	%eax, (%r12)
	leal	(%rcx,%rcx,4), %edx
	leal	40(,%rdx,4), %edx
	movl	%edx, 4(%r12)
	imull	%edx, %eax
	movl	%eax, 8(%r12)
	movl	%ecx, 12(%r12)
	xorl	%eax, %eax
	cmpl	%ecx, (%rdi)
	sete	%al
	movl	%eax, 16(%r12)
	cmpl	%ebx, 20(%r12)
	jge	LBB0_7
## %bb.6:
	movq	40(%r12), %rdi
	addq	$16, %rdi
	callq	_silk_flush_frame
LBB0_7:
	movl	%ebx, %ecx
	movl	%ebx, 20(%r12)
	movl	%r14d, -116(%rbp)               ## 4-byte Spill
	movl	%r14d, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	testl	%ebx, %ebx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	jle	LBB0_14
## %bb.8:
	leaq	-96(%rbp), %r14
	xorl	%eax, %eax
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	-136(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ff_opus_rc_dec_log
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ff_opus_rc_dec_log
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	addq	$24, %r14
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_14:
	leaq	-96(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_15 Depth=1
	movslq	8(%r12), %rax
	movslq	%r14d, %rdx
	imulq	%rax, %rdx
	shlq	$2, %rdx
	movq	(%r15), %rsi
	addq	%rdx, %rsi
	addq	8(%r15), %rdx
	movq	%r12, %rdi
	callq	_silk_unmix_ms
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	$0, 32(%r12)
	incq	%r14
	addq	$4, -112(%rbp)                  ## 8-byte Folded Spill
	cmpq	-136(%rbp), %r14                ## 8-byte Folded Reload
	je	LBB0_29
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	testl	%r13d, %r13d
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 32(%r12)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	(%rbx), %r9d
	movl	-72(%rbp,%r14,4), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_silk_decode_frame
	incq	%r15
	addq	$24, %rbx
	cmpq	%r15, %r13
	jne	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, 32(%r12)
	je	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	40(%r12), %rdi
	cmpq	$0, 24(%rdi)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	addq	$16, %rdi
	callq	_silk_flush_frame
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	24(%r12), %eax
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	cmpl	$1, %r13d
	jne	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=1
	testl	%eax, %eax
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jg	LBB0_26
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$1, %eax
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_24
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r12), %edx
	movl	%edx, %eax
	imull	%r14d, %eax
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	(%r15,%rbx,8), %rdi
	movq	40(%r12), %rax
	movl	(%rax), %eax
	movq	_SILK_HISTORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edx, %eax
	leal	(%rax,%rcx), %esi
	addl	$-2, %esi
	shll	$2, %edx
	callq	_memcpy
	incq	%rbx
	movslq	24(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_27
	jmp	LBB0_28
LBB0_3:
	movl	48(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.4:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_29:
	movl	-116(%rbp), %eax                ## 4-byte Reload
	imull	8(%r12), %eax
	jmp	LBB0_30
LBB0_13:
	movl	48(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_avpriv_report_missing_feature
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_32
## %bb.31:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OPUS_BANDWIDTH_WIDEBAND,4,2    ## @OPUS_BANDWIDTH_WIDEBAND
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid parameters passed to the SILK decoder.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"LBRR frames"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_SILK_HISTORY,4,2               ## @SILK_HISTORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_silk_decode_superframe      ; -- Begin function ff_silk_decode_superframe
	.p2align	2
_ff_silk_decode_superframe:             ; @ff_silk_decode_superframe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	cmp	w5, #60
	b.gt	LBB0_26
; %bb.1:
	mov	x27, x4
	cmp	w4, #2
	b.gt	LBB0_26
; %bb.2:
Lloh3:
	adrp	x8, _OPUS_BANDWIDTH_WIDEBAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPUS_BANDWIDTH_WIDEBAND@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w3
	b.lo	LBB0_26
; %bb.3:
	mov	x21, x2
	mov	x22, x1
	cmp	w5, #20
	mov	w9, #1
	cinc	w9, w9, gt
	cmp	w5, #40
	cinc	w9, w9, gt
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	sdiv	w9, w5, w9
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	mov	w10, #20
	mul	w10, w3, w10
	add	w10, w10, #40
	stp	w9, w10, [x20]
	mul	w9, w9, w10
	stp	w9, w3, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, w3
	cset	w8, eq
	str	w8, [x20, #16]
	ldr	w8, [x20, #20]
	cmp	w8, w27
	b.ge	LBB0_5
; %bb.4:
	ldr	x8, [x20, #40]
	add	x0, x8, #16
	bl	_silk_flush_frame
LBB0_5:
	mov	w23, w27
	str	w27, [x20, #20]
	cmp	w27, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x24, #0
	add	x25, sp, #24
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x26, x25
LBB0_8:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	w1, #1
	bl	_ff_opus_rc_dec_log
	str	w0, [x26], #4
	subs	x19, x19, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_ff_opus_rc_dec_log
	cbnz	w0, LBB0_29
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	add	x25, x25, #24
	cmp	x24, x23
	b.ne	LBB0_7
LBB0_11:
	mov	x24, #0
Lloh5:
	adrp	x28, _SILK_HISTORY@GOTPAGE
Lloh6:
	ldr	x28, [x28, _SILK_HISTORY@GOTPAGEOFF]
	add	x19, sp, #24
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x20, #8]
	mul	w8, w8, w24
	sbfiz	x8, x8, #2, #32
	ldp	x9, x10, [x21]
	add	x1, x9, x8
	add	x2, x10, x8
	mov	x0, x20
	bl	_silk_unmix_ms
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	str	xzr, [x20, #32]
	add	x24, x24, #1
	add	x19, x19, #4
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_28
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	cmp	w27, #1
	b.lt	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, #0
	add	x8, sp, #24
	add	x8, x8, x24, lsl #2
	add	x26, x8, #24
	mov	x27, x19
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w5, [x27], #24
	ldr	w6, [x26]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x3, x25
	mov	x4, x23
	bl	_silk_decode_frame
	add	x25, x25, #1
	cmp	x23, x25
	b.ne	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x20, #40]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, x8, #16
	bl	_silk_flush_frame
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x20, #24]
	ldr	w27, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w27, #1
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #1
	b.ge	LBB0_24
	b	LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #1
	b.ne	LBB0_12
LBB0_24:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, #0
LBB0_25:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, x25, lsl #3]
	ldr	w9, [x20, #8]
	mul	w10, w9, w24
	add	x0, x8, w10, sxtw #2
	ldr	x8, [x20, #40]
	ldr	w8, [x8]
	ldr	w10, [x28]
	sub	w8, w8, w9
	add	w8, w8, w10
	sub	w1, w8, #2
	lsl	w2, w9, #2
	bl	_memcpy
	add	x25, x25, #1
	ldrsw	x8, [x20, #24]
	cmp	x25, x8
	b.lt	LBB0_25
	b	LBB0_13
LBB0_26:
	ldr	w0, [x20, #48]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.27:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_AVERROR
LBB0_28:
	ldr	w8, [x20, #8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	mul	w0, w8, w9
	b	LBB0_30
LBB0_29:
	ldr	w0, [x20, #48]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_avpriv_report_missing_feature
Lloh20:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
LBB0_30:
	ldr	x8, [sp, #72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_OPUS_BANDWIDTH_WIDEBAND,4,2    ; @OPUS_BANDWIDTH_WIDEBAND
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid parameters passed to the SILK decoder.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"LBRR frames"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_SILK_HISTORY,4,2               ; @SILK_HISTORY
.subsections_via_symbols
