	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_uncompressed
_decode_uncompressed:                   ## @decode_uncompressed
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
                                        ## implicit-def: $ebx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	subl	%r12d, %eax
	addl	%eax, %r15d
	cmpl	$5, %eax
	jne	LBB0_8
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_show_bits
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, %edi
	callq	_av_log2
	movl	%eax, %r12d
	movl	$11, %esi
	subl	%eax, %esi
	movq	%r14, %rdi
	callq	_skip_bits
	movl	$10, %eax
	cmpl	$4, %r12d
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, %ebx
	movl	$4, %eax
	movl	$1, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	testl	%r13d, %r13d
	sete	%r8b
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	cmpl	$1, (%r9)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	leaq	4(%rdx), %rsi
	movq	%rsi, (%rcx)
	movl	%edi, (%rdx)
	cmpq	-80(%rbp), %rsi                 ## 8-byte Folded Reload
	jae	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	subl	%edi, %edx
	jbe	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, (%rcx)
	xorl	%edx, %edx
	cmpl	$0, (%r9)
	sete	%dl
	movl	%edx, (%r9)
	xorl	%edi, %edi
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	addl	%r15d, %edi
	testl	%r13d, %r13d
	je	LBB0_18
	jmp	LBB0_23
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%r13d, %r13d
	jne	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r9)
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	leaq	4(%rdx), %rsi
	movq	%rsi, (%rcx)
	movl	%edi, (%rdx)
	cmpq	-80(%rbp), %rsi                 ## 8-byte Folded Reload
	jae	LBB0_12
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	subl	%edi, %edx
	jbe	LBB0_14
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, (%rcx)
	xorl	%edx, %edx
	cmpl	$0, (%r9)
	sete	%dl
	movl	%edx, (%r9)
	xorl	%edi, %edi
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%r8b, %al
	addl	%eax, %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_26:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_33:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	leaq	4(%rcx), %rax
	movq	%rax, (%rdx)
	movl	%edi, (%rcx)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rax
	jae	LBB0_24
## %bb.27:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	(%r8), %eax
	subl	%edi, %eax
	jbe	LBB0_28
## %bb.30:
	movl	%eax, (%r8)
	xorl	%r8d, %r8d
	cmpl	$0, (%r9)
	sete	%r8b
	movl	%r8d, (%r9)
	xorl	%eax, %eax
	cmpl	%r8d, %ebx
	je	LBB0_33
## %bb.31:
	leaq	8(%rcx), %r8
	movq	%r8, (%rdx)
	movl	$0, 4(%rcx)
	cmpq	%rsi, %r8
	jae	LBB0_24
## %bb.32:
	movl	%ebx, (%r9)
	jmp	LBB0_33
LBB0_12:
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_14:
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_24:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_28:
	movl	$1, %eax
	je	LBB0_33
## %bb.29:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid uncompressed codeword\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"uncompressed run overrun\n"

L_.str.2:                               ## @.str.2
	.asciz	"uncompressed run went out of bounds\n"

L_.str.3:                               ## @.str.3
	.asciz	"uncompressed run went out of boundsE\n"

	.no_dead_strip	_decode_uncompressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_uncompressed
_decode_uncompressed:                   ; @decode_uncompressed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x5
	stp	x4, x0, [sp]                    ; 16-byte Folded Spill
	mov	x22, x3
	mov	x24, x2
	mov	x26, x1
	mov	w28, #0
	mov	w21, #11
                                        ; implicit-def: $w23
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	w19, #0
	mov	w25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x26
	bl	_get_bits1
	mov	x23, x0
	mov	w8, #4
	mov	w19, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	sub	w8, w8, w27
	add	w25, w8, w25
	cmp	w8, #5
	b.ne	LBB0_7
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	mov	w1, #11
	bl	_show_bits
	cbz	w0, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	bl	_av_log2
	mov	x27, x0
	sub	w1, w21, w0
	mov	x0, x26
	bl	_skip_bits
	cmp	w27, #4
	b.le	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	w8, #10
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w19, #0
	cset	w8, eq
	cbz	w25, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x20]
	cmp	w9, #1
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x22]
	str	w28, [x9], #4
	str	x9, [x22]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	cmp	x9, x10
	b.hs	LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x24]
	subs	w9, w9, w28
	b.ls	LBB0_28
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w28, #0
	str	w9, [x24]
	ldr	w9, [x20]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x20]
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w28, w28, w25
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w19, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x20]
	cbnz	w9, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x22]
	str	w28, [x9], #4
	str	x9, [x22]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	cmp	x9, x10
	b.hs	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x24]
	subs	w9, w9, w28
	b.ls	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w28, #0
	str	w9, [x24]
	ldr	w9, [x20]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x20]
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w28, w28, w8
	b	LBB0_1
LBB0_19:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
LBB0_20:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
LBB0_21:
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_23:
	ldr	x8, [x22]
	mov	x9, x8
	str	w28, [x9], #4
	str	x9, [x22]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	cmp	x9, x10
	b.hs	LBB0_33
; %bb.24:
	ldr	w9, [x24]
	subs	w9, w9, w28
	b.ls	LBB0_29
; %bb.25:
	str	w9, [x24]
	ldr	w9, [x20]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x20]
	cmp	w23, w9
	b.ne	LBB0_31
; %bb.26:
	mov	w0, #0
	b	LBB0_22
LBB0_27:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_20
LBB0_28:
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_20
LBB0_29:
	b.ne	LBB0_35
; %bb.30:
	mov	w0, #1
	b	LBB0_22
LBB0_31:
	add	x9, x8, #8
	str	x9, [x22]
	str	wzr, [x8, #4]
	cmp	x9, x10
	b.hs	LBB0_33
; %bb.32:
	mov	w0, #0
	str	w23, [x20]
	b	LBB0_22
LBB0_33:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_34:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_21
LBB0_35:
Lloh17:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_34
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid uncompressed codeword\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"uncompressed run overrun\n"

l_.str.2:                               ; @.str.2
	.asciz	"uncompressed run went out of bounds\n"

l_.str.3:                               ; @.str.3
	.asciz	"uncompressed run went out of boundsE\n"

	.no_dead_strip	_decode_uncompressed
.subsections_via_symbols
