	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_frame
_decode_frame:                          ## @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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rcx), %edx
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %r12
	cmpl	$13, %edx
	jl	LBB0_23
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdi, %r15
	movl	4(%rcx), %esi
	leaq	-68(%rbp), %rdi
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_24
## %bb.2:
	leaq	-68(%rbp), %rdi
	movl	$32, %esi
	callq	_get_bits_long
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-68(%rbp), %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_skip_bits_long
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_get_bits_long
LBB0_4:
	movl	(%rbx), %ecx
	addl	%ecx, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_23
## %bb.5:
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leaq	-68(%rbp), %r14
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_get_sbits
	movl	%eax, %r12d
	andl	$128, %r12d
	xorl	%edx, %edx
	btl	$7, %r12d
	sbbl	%edx, %edx
	xorl	%eax, %edx
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	jne	LBB0_6
## %bb.7:
	movq	_AV_CH_LAYOUT_MONO@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	$2, %ebx
	subl	%eax, %ebx
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)
	movl	%ebx, (%r15)
	movl	(%rcx), %eax
	movl	%eax, 4(%r15)
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_get_sbits
	movq	%rax, %r13
	movl	%r13d, -56(%rbp)
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	leaq	-68(%rbp), %r12
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_sbits
	movl	%eax, -60(%rbp)
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_get_sbits
	movl	%eax, -52(%rbp)
LBB0_10:
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, (%rsi)
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_24
## %bb.11:
	movl	%ebx, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	-68(%rbp), %r15
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_20
	.p2align	4, 0x90
LBB0_13:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(,%rcx,4), %rbx
	addq	(%rax), %rbx
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_get_sbits
	movq	%rax, %r13
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	-76(%rbp), %r14d                ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%r13d, (%rbx)
	movq	_step_index_tables@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	-16(%rax,%rcx,8), %rax
	movslq	%r12d, %rcx
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	addl	(%rax,%rcx,8), %edi
	addq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	decl	%r14d
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_av_clip
	movl	%eax, %r14d
	movq	_size_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movl	(%rax,%rcx,4), %eax
	movslq	%eax, %rbx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_get_bits
	movq	%rbx, %rdx
	decl	%ebx
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	leal	-1(%r13), %esi
	btl	%ebx, %eax
	movl	%r13d, %r12d
	movl	$0, %ecx
	cmovael	%ecx, %r12d
	xorl	%eax, %r12d
	cmpl	%esi, %r12d
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movb	$7, %cl
	subb	%dl, %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	shll	$6, %r14d
	orl	%eax, %r14d
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	$5785, %edx                     ## imm = 0x1699
	callq	_av_clip
	movq	_predict_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %eax
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_ff_adpcm_step_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edx
	movl	%ebx, %ecx
	sarl	%cl, %edx
	addl	%edx, %eax
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %edi
	negl	%edi
	testl	%edx, %r13d
	cmovel	%eax, %edi
	addl	%ecx, %edi
	callq	_av_clip_int16
	movl	%eax, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	-144(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	-64(%rbp,%rax,4), %edi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp,%rax,4), %r13d
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	jg	LBB0_13
	jmp	LBB0_20
LBB0_22:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	-136(%rbp), %r12                ## 8-byte Reload
LBB0_23:
	movl	(%r12), %eax
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.25:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.comm	_AV_CH_LAYOUT_MONO,4,2          ## @AV_CH_LAYOUT_MONO
	.comm	_size_table,8,3                 ## @size_table
	.comm	_predict_table,8,3              ## @predict_table
	.comm	_ff_adpcm_step_table,8,3        ## @ff_adpcm_step_table
	.comm	_step_index_tables,8,3          ## @step_index_tables
	.no_dead_strip	_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_frame
_decode_frame:                          ; @decode_frame
	.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, x2
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w2, [x3]
	cmp	w2, #13
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x25, x0
	ldr	w1, [x3, #4]
	add	x0, sp, #52
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_7
; %bb.2:
	add	x0, sp, #52
	mov	w1, #32
	bl	_get_bits_long
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #52
	mov	w1, #32
	bl	_skip_bits_long
	add	x0, sp, #52
	mov	w1, #32
	bl	_get_bits_long
	mov	x22, x0
LBB0_4:
	ldr	w8, [x19]
	cmp	w22, w8, lsl #1
	b.le	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldr	x8, [sp, #72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.8:
	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_9:
	add	x0, sp, #52
	mov	w1, #8
	bl	_get_sbits
	mov	x26, x0
	tst	w26, #0x80
	cinv	w24, w26, ne
	mov	w8, #1
	cinc	w9, w8, ne
	str	w24, [sp, #56]
Lloh8:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	str	w9, [x25]
Lloh10:
	adrp	x9, _AV_CH_LAYOUT_MONO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AV_CH_LAYOUT_MONO@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x25, #4]
	add	x0, sp, #52
	mov	w1, #16
	bl	_get_sbits
	mov	x23, x0
	str	w0, [sp, #64]
	tbz	w26, #7, LBB0_11
; %bb.10:
	add	x0, sp, #52
	mov	w1, #8
	bl	_get_sbits
	str	w0, [sp, #60]
	add	x0, sp, #52
	mov	w1, #16
	bl	_get_sbits
	str	w0, [sp, #68]
LBB0_11:
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	str	w22, [x1]
	mov	x0, x25
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_7
; %bb.12:
	stp	x20, x19, [sp]                  ; 16-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	lsl	x26, x8, #2
Lloh12:
	adrp	x21, _step_index_tables@GOTPAGE
Lloh13:
	ldr	x21, [x21, _step_index_tables@GOTPAGEOFF]
	str	w22, [sp, #36]                  ; 4-byte Folded Spill
	cmp	w22, #1
	b.ge	LBB0_14
	b	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_21 Depth=1
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	lsl	x8, x9, #2
	add	x9, sp, #56
	ldr	w24, [x9, x8]
	add	x9, sp, #64
	ldr	w23, [x9, x8]
	ldr	w22, [sp, #36]                  ; 4-byte Folded Reload
	cmp	w22, #1
	b.lt	LBB0_21
LBB0_14:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x22, x8, x9, lsl #2
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, sp, #52
	mov	w1, #16
	bl	_get_sbits
	mov	x23, x0
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	str	w23, [x22]
	ldr	x8, [x21]
	sub	w9, w24, #2
	ldr	x8, [x8, w9, sxtw #3]
	ldr	x8, [x8, w25, sxtw #3]
	add	w24, w27, w8
	add	x22, x22, x26
	subs	w19, w19, #1
	b.eq	LBB0_21
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	w1, #0
	mov	w2, #88
	bl	_av_clip
                                        ; kill: def $w0 killed $w0 def $x0
Lloh14:
	adrp	x8, _size_table@GOTPAGE
Lloh15:
	ldr	x8, [x8, _size_table@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	sxtw	x27, w0
	ldr	w24, [x8, w0, sxtw #2]
	add	x0, sp, #52
	mov	x1, x24
	bl	_get_bits
	sub	w20, w24, #1
	mov	w8, #1
	lsl	w8, w8, w20
	sub	w9, w8, #1
	ands	w28, w8, w0
	csel	w8, wzr, w8, eq
	eor	w25, w8, w0
	cmp	w25, w9
	b.eq	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w8, #7
	sub	w8, w8, w24
	lsl	w8, w25, w8
	orr	w0, w8, w27, lsl #6
	mov	w1, #0
	mov	w2, #5785
	bl	_av_clip
Lloh17:
	adrp	x8, _predict_table@GOTPAGE
Lloh18:
	ldr	x8, [x8, _predict_table@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
	cbz	w25, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh20:
	adrp	x9, _ff_adpcm_step_table@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ff_adpcm_step_table@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w9, [x9, x27, lsl #2]
	asr	w9, w9, w20
	add	w8, w9, w8
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	w28, #0
	cneg	w8, w8, ne
	add	w0, w8, w23
	bl	_av_clip_int16
	mov	x23, x0
	b	LBB0_16
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.22:
	mov	w8, #1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_6
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.comm	_AV_CH_LAYOUT_MONO,4,2          ; @AV_CH_LAYOUT_MONO
	.comm	_size_table,8,3                 ; @size_table
	.comm	_predict_table,8,3              ; @predict_table
	.comm	_ff_adpcm_step_table,8,3        ; @ff_adpcm_step_table
	.comm	_step_index_tables,8,3          ; @step_index_tables
	.no_dead_strip	_decode_frame
.subsections_via_symbols
