	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_wma_run_level_decode        ## -- Begin function ff_wma_run_level_decode
	.p2align	4, 0x90
_ff_wma_run_level_decode:               ## @ff_wma_run_level_decode
	.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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %r12d
	movl	24(%rbp), %ebx
	cmpl	%r12d, %ebx
	jge	LBB0_15
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	40(%rbp), %eax
	decl	%eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r15d
	movl	%eax, %r12d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r12,8), %ebx
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, %r14d
	decl	%r14d
	andl	$-2147483648, %r14d             ## imm = 0x80000000
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	xorl	(%rax,%r12,4), %r14d
	movl	%r15d, %r12d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	andl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	movq	16(%rbp), %rcx
	movl	%r14d, (%rcx,%rax,4)
	incl	%ebx
	cmpl	%r12d, %ebx
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	_VLCBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VLCMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_get_vlc2
	cmpl	$2, %eax
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_ff_wma_get_large_val
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_get_bits1
	movq	%r13, %rdi
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_get_bits1
	testl	%eax, %eax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	48(%rbp), %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %ebx
	addl	$4, %ebx
	jmp	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	56(%rbp), %esi
	callq	_get_bits
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	48(%rbp), %esi
	callq	_get_bits
	addl	%eax, %ebx
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_get_bits1
	decl	%eax
	xorl	%eax, %r14d
	subl	%eax, %r14d
	jmp	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	cmpl	%r12d, %ebx
	jle	LBB0_18
## %bb.16:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_av_log
LBB0_17:
	movl	$-1, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_VLCBITS,4,2                    ## @VLCBITS
	.comm	_VLCMAX,4,2                     ## @VLCMAX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"broken escape sequence\n"

L_.str.1:                               ## @.str.1
	.asciz	"overflow (%d > %d) in spectral RLE, ignoring\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_wma_run_level_decode        ; -- Begin function ff_wma_run_level_decode
	.p2align	2
_ff_wma_run_level_decode:               ; @ff_wma_run_level_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x7
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w27, [x29, #16]
	cmp	w7, w27
	b.ge	LBB0_14
; %bb.1:
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	ldr	w8, [x29, #28]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #24]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #20]
	sub	w28, w8, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, w19, uxtw #3]
	add	w20, w20, w8
	mov	x0, x26
	bl	_get_bits1
	sub	w8, w0, #1
	ldr	w9, [x24, w19, uxtw #2]
	and	w8, w8, #0x80000000
	eor	w8, w8, w9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w20, w28
	str	w8, [x21, w9, uxtw #2]
	add	w20, w20, #1
	cmp	w20, w27
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
Lloh0:
	adrp	x8, _VLCBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLCBITS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _VLCMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLCMAX@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x26
	bl	_get_vlc2
	mov	x19, x0
	cmp	w0, #2
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #1
	b.eq	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	cbz	w22, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_ff_wma_get_large_val
	mov	x19, x0
	mov	x0, x26
	bl	_get_bits1
	cbz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_get_bits1
	cbz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_get_bits1
	cbnz	w0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_get_bits
	add	w8, w20, w0
	add	w20, w8, #4
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_get_bits
	mov	x19, x0
	mov	x0, x26
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_get_bits
	add	w20, w0, w20
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #2
	bl	_get_bits
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_get_bits1
	sub	w8, w0, #1
	eor	w9, w8, w19
	sub	w8, w9, w8
	b	LBB0_3
LBB0_14:
	cmp	w20, w27
	b.le	LBB0_17
; %bb.15:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	stp	x20, x27, [sp]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_16:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_av_log
	mov	w0, #-1
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VLCBITS,4,2                    ; @VLCBITS
	.comm	_VLCMAX,4,2                     ; @VLCMAX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"broken escape sequence\n"

l_.str.1:                               ; @.str.1
	.asciz	"overflow (%d > %d) in spectral RLE, ignoring\n"

.subsections_via_symbols
