	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rpza_decode_stream
LCPI0_0:
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rpza_decode_stream:                    ## @rpza_decode_stream
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_bytestream2_peek_byte
	cmpl	$225, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%r13), %r14
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_2:
	movq	%r13, %rdi
	callq	_bytestream2_get_be32
	movl	%eax, %ebx
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	addl	$4, %eax
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.3:
	movq	8(%r13), %r14
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_4:
	movq	8(%r13), %rax
	movq	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	paddd	LCPI0_0(%rip), %xmm0
	movdqa	%xmm0, %xmm1
	psrad	$31, %xmm1
	psrld	$30, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$2, %xmm1
	movd	%xmm1, %eax
	pextrd	$1, %xmm1, %ecx
	imull	%eax, %ecx
	leal	31(%rcx), %ebx
	testl	%ecx, %ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	cmovnsl	%ecx, %ebx
	sarl	$5, %ebx
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%eax, %ebx
	jle	LBB0_6
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_32
LBB0_6:
	movq	8(%r13), %rdi
	movq	16(%r13), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_ff_reget_buffer
	testl	%eax, %eax
	js	LBB0_30
## %bb.7:
	movq	16(%r13), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movl	(%rcx), %r15d
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	je	LBB0_32
## %bb.8:
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	movl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rbx
	andl	$-2, %eax
	movslq	%eax, %rcx
	leaq	1(%rcx), %r12
	leal	(%rbx,%rbx,2), %eax
	cltq
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %r13
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	-68(%rbp), %r15d                ## 4-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	je	LBB0_31
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r13, %r12
	movl	%eax, %r13d
	movl	%eax, %ebx
	andl	$31, %ebx
	incl	%ebx
	testb	$-128, %r13b
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	shll	$8, %r13d
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %r15d
	orl	%r13d, %r15d
	movq	%r12, %rdi
	callq	_bytestream2_peek_byte
	andl	$128, %eax
	movl	%eax, %r13d
	shrl	$2, %r13d
	testl	%eax, %eax
	movl	$1, %eax
	cmovnel	%eax, %ebx
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%ebx, %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	movl	%eax, %ebx
	movl	%r13d, %eax
	shrl	$5, %eax
	andl	$7, %eax
	cmpl	$6, %eax
	ja	LBB0_34
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$29, %eax
	jle	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_CHECK_BLOCK
	movl	%r15d, (%r14)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, (%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 4(%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 8(%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 12(%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	%eax, (%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	%eax, (%r14,%r12,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 8(%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 12(%r14,%r15,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, (%r14,%r13,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 4(%r14,%r13,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, 8(%r14,%r13,4)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, %r15d
	movl	%eax, 12(%r14,%r13,4)
	movq	%rbx, %r13
	xorl	%eax, %eax
	callq	_ADVANCE_BLOCK
	jmp	LBB0_11
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_CHECK_BLOCK
	xorl	%eax, %eax
	callq	_ADVANCE_BLOCK
	decl	%ebx
	jne	LBB0_20
	jmp	LBB0_11
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_bytestream2_get_be16
	movl	%eax, %r15d
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movd	%r15d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -144(%rbp)               ## 16-byte Spill
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_CHECK_BLOCK
	movdqa	-144(%rbp), %xmm0               ## 16-byte Reload
	movdqu	%xmm0, (%r14)
	movdqu	%xmm0, (%r14,%r12,4)
	movdqu	%xmm0, (%r14,%r15,4)
	movdqu	%xmm0, (%r14,%r13,4)
	xorl	%eax, %eax
	callq	_ADVANCE_BLOCK
	decl	%ebx
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_be16
	movl	%eax, %r15d
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_bytestream2_get_be16
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, -64(%rbp)
	movl	%r15d, -52(%rbp)
	movl	%r15d, %ecx
	shrl	$10, %ecx
	andl	$31, %ecx
	movl	%eax, %esi
	shrl	$10, %esi
	andl	$31, %esi
	leal	(%rcx,%rcx,4), %r9d
	leal	(%rcx,%r9,2), %r8d
	leal	(%rsi,%rsi,4), %edi
	leal	(%rsi,%rdi,4), %r13d
	addl	%r8d, %r13d
	shll	$5, %r13d
	andl	$64512, %r13d                   ## imm = 0xFC00
	leal	(%rcx,%r9,4), %r8d
	leal	(%rsi,%rdi,2), %r11d
	addl	%r8d, %r11d
	shll	$5, %r11d
	andl	$64512, %r11d                   ## imm = 0xFC00
	movl	%r15d, %esi
	shrl	$5, %esi
	andl	$31, %esi
	movl	%eax, %edi
	shrl	$5, %edi
	andl	$31, %edi
	leal	(%rsi,%rsi,4), %r8d
	leal	(%rsi,%r8,2), %r9d
	leal	(%rdi,%rdi,4), %r10d
	leal	(%rdi,%r10,4), %ecx
	addl	%r9d, %ecx
	andl	$2016, %ecx                     ## imm = 0x7E0
	leal	(%rsi,%r8,4), %r8d
	leal	(%rdi,%r10,2), %esi
	addl	%r8d, %esi
	andl	$2016, %esi                     ## imm = 0x7E0
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	andl	$31, %edi
	andl	$31, %eax
	leal	(%rdi,%rdi,4), %r8d
	leal	(%rdi,%r8,2), %r9d
	leal	(%rax,%rax,4), %r10d
	leal	(%rax,%r10,4), %edx
	addl	%r9d, %edx
	shrl	$5, %edx
	orl	%ecx, %edx
	orl	%r13d, %edx
	movq	%r12, %r15
	movl	%edx, -60(%rbp)
	leal	(%rdi,%r8,4), %ecx
	leal	(%rax,%r10,2), %eax
	addl	%ecx, %eax
	shrl	$5, %eax
	orl	%esi, %eax
	orl	%r11d, %eax
	movl	%eax, -56(%rbp)
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	leal	(,%rbx,4), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_5
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%ebx, %ebx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_9
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_CHECK_BLOCK
	movq	%r15, %rdi
	callq	_bytestream2_get_byteu
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, (%r14)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 8(%r14)
	andl	$3, %eax
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, 12(%r14)
	movq	%r15, %rdi
	callq	_bytestream2_get_byteu
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, (%r14,%r12,4)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 4(%r14,%r12,4)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 8(%r14,%r12,4)
	andl	$3, %eax
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, 12(%r14,%r12,4)
	movq	%r15, %rdi
	callq	_bytestream2_get_byteu
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	%ecx, (%r14,%rdx,4)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%ecx, (%r14,%rsi,4)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 8(%r14,%rdx,4)
	andl	$3, %eax
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, 12(%r14,%rdx,4)
	movq	%r15, %rdi
	callq	_bytestream2_get_byteu
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, (%r14,%r13,4)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 4(%r14,%r13,4)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$3, %ecx
	movl	-64(%rbp,%rcx,4), %ecx
	movl	%ecx, 8(%r14,%r13,4)
	andl	$3, %eax
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, 12(%r14,%r13,4)
	xorl	%eax, %eax
	callq	_ADVANCE_BLOCK
	decl	%ebx
	jne	LBB0_28
	jmp	LBB0_9
LBB0_29:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_30:
	movl	%eax, %ebx
	jmp	LBB0_32
LBB0_31:
	xorl	%ebx, %ebx
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.33:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %r14
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_bytestream2_get_bytes_left
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_5
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_26
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"First chunk byte is 0x%02x instead of 0xe1\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"MOV chunk size %d != encoded chunk size %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.2:                               ## @.str.2
	.asciz	"Unknown opcode %d in rpza chunk. Skip remaining %d bytes of chunk data.\n"

	.no_dead_strip	_rpza_decode_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rpza_decode_stream
lCPI0_0:
	.long	11                              ; 0xb
	.long	21                              ; 0x15
lCPI0_1:
	.long	21                              ; 0x15
	.long	11                              ; 0xb
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rpza_decode_stream:                    ; @rpza_decode_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	d11, d10, [sp, #160]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]
	bl	_bytestream2_peek_byte
	cmp	w0, #225
	b.eq	LBB0_2
; %bb.1:
	ldr	x20, [x19, #8]
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_bytestream2_peek_byte
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_av_log
LBB0_2:
	mov	x0, x19
	bl	_bytestream2_get_be32
	and	w20, w0, #0xffffff
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	add	w8, w0, #4
	cmp	w20, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x21, [x19, #8]
Lloh8:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	add	w8, w0, #4
	str	x8, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	bl	_av_log
LBB0_4:
	ldr	x8, [x19, #8]
	ldp	w9, w8, [x8]
	add	w10, w9, #3
	add	w9, w9, #6
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #2
	add	w10, w8, #3
	add	w8, w8, #6
	cmp	w10, #0
	csel	w8, w8, w10, lt
	asr	w8, w8, #2
	mul	w9, w8, w9
	add	w8, w9, #31
	cmp	w9, #0
	str	w9, [sp, #56]                   ; 4-byte Folded Spill
	csel	w20, w8, w9, lt
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cmp	w0, w20, asr #5
	b.ge	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_6:
	ldp	x0, x1, [x19, #8]
	mov	w2, #0
	bl	_ff_reget_buffer
	tbnz	w0, #31, LBB0_28
; %bb.7:
	ldr	x8, [x19, #16]
	ldp	x8, x9, [x8]
	ldr	x24, [x9]
	ldr	w20, [x8]
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cbz	w0, LBB0_28
; %bb.8:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	cmp	w20, #0
	cinc	w8, w20, lt
	asr	w9, w8, #1
	sbfx	x10, x8, #1, #31
	add	x25, x24, w9, sxtw #2
	add	x21, x10, #1
	add	x22, x10, #2
	add	x11, x10, #3
	str	x11, [sp, #8]                   ; 8-byte Folded Spill
	sbfiz	x11, x9, #1, #32
	add	x20, x24, w9, sxtw #3
	mov	w12, #1
	bfi	x12, x10, #1, #63
	add	x10, x11, #2
	stp	x12, x10, [sp, #80]             ; 16-byte Folded Spill
	add	x23, x11, #3
	and	w8, w8, #0xfffffffe
	add	w8, w8, w9
	sxtw	x9, w8
	add	x11, x9, #1
	add	x10, x9, #2
	stp	x10, x11, [sp, #16]             ; 16-byte Folded Spill
	add	x26, x9, #3
	add	x8, x24, w8, sxtw #2
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh18:
	adrp	x8, lCPI0_1@PAGE
Lloh19:
	ldr	d9, [x8, lCPI0_1@PAGEOFF]
	movi.2s	v10, #252, lsl #8
	mov	w8, #2016
	dup.2s	v11, w8
	add	x28, sp, #128
Lloh20:
	adrp	x27, lJTI0_0@PAGE
Lloh21:
	add	x27, x27, lJTI0_0@PAGEOFF
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x23, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x26, [sp, #112]            ; 16-byte Folded Spill
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldp	x25, x20, [sp, #104]            ; 16-byte Folded Reload
	ldr	x26, [sp, #120]                 ; 8-byte Folded Reload
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh22:
	adrp	x27, lJTI0_0@PAGE
Lloh23:
	add	x27, x27, lJTI0_0@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cbz	w0, LBB0_28
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	mov	x0, x19
	bl	_bytestream2_get_byte
	mov	x23, x0
	and	w8, w0, #0x1f
	add	w22, w8, #1
	tbnz	w0, #7, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_byte
	orr	w8, w0, w23, lsl #8
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_bytestream2_peek_byte
	ands	w8, w0, #0x80
	lsr	w23, w8, #2
	csinc	w22, w22, wzr, eq
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	bl	_FFMIN
	ubfx	w8, w23, #5, #3
	cmp	w8, #6
	b.hi	LBB0_30
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x22, x0
	adr	x9, LBB0_16
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cmp	w0, #29
	b.le	LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_CHECK_BLOCK
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	str	w8, [x24]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [x24, #4]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [x24, #8]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [x24, #12]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [x25]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	str	w0, [x24, x22, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [x20]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x23, [sp, #96]                  ; 8-byte Folded Reload
	str	w0, [x24, x23, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	str	w0, [x8]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w0, [x24, x8, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_be16u
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	str	w0, [x24, x26, lsl #2]
	bl	_ADVANCE_BLOCK
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w22, LBB0_11
LBB0_19:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w22, w22, #1
	bl	_CHECK_BLOCK
	bl	_ADVANCE_BLOCK
	cbnz	w22, LBB0_19
	b	LBB0_11
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_be16
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	cbz	w22, LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x27, x26
	dup.4s	v0, w0
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
	ldr	x26, [sp, #48]                  ; 8-byte Folded Reload
LBB0_22:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_CHECK_BLOCK
	ldr	q0, [sp, #64]                   ; 16-byte Folded Reload
	str	q0, [x24]
	str	q0, [x25]
	str	q0, [x20]
	sub	w22, w22, #1
	str	q0, [x26]
	bl	_ADVANCE_BLOCK
	cbnz	w22, LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, x27
	b	LBB0_10
LBB0_24:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_be16
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_bytestream2_get_be16
	str	w0, [sp, #128]
	ldr	w12, [sp, #60]                  ; 4-byte Folded Reload
	str	w12, [sp, #140]
	ubfx	w8, w12, #10, #5
	ubfx	w9, w0, #10, #5
	ubfx	w10, w12, #5, #5
	ubfx	w11, w0, #5, #5
	and	w12, w12, #0x1f
	dup.2s	v0, w8
	and	w8, w0, #0x1f
	mul.2s	v0, v0, v8
	dup.2s	v1, w9
	mla.2s	v0, v1, v9
	shl.2s	v0, v0, #5
	and.8b	v0, v0, v10
	dup.2s	v1, w10
	mul.2s	v1, v1, v8
	dup.2s	v2, w11
	mla.2s	v1, v2, v9
	and.8b	v1, v1, v11
	orr.8b	v0, v0, v1
	dup.2s	v1, w12
	mul.2s	v1, v1, v8
	dup.2s	v2, w8
	mla.2s	v1, v2, v9
	ushr.2s	v1, v1, #5
	orr.8b	v0, v0, v1
	stur	d0, [sp, #132]
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cmp	w0, w22, lsl #2
	b.lt	LBB0_5
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	x25, x20, [sp, #8]              ; 16-byte Folded Reload
	ldp	x27, x26, [sp, #24]             ; 16-byte Folded Reload
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	cbz	w22, LBB0_9
LBB0_27:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_CHECK_BLOCK
	mov	x0, x19
	bl	_bytestream2_get_byteu
	ubfx	w8, w0, #6, #2
	ldr	w8, [x28, w8, uxtw #2]
	ubfx	w9, w0, #4, #2
	ldr	w9, [x28, w9, uxtw #2]
	ubfx	w10, w0, #2, #2
	ldr	w10, [x28, w10, uxtw #2]
	stp	w8, w9, [x24]
	and	w8, w0, #0x3
	ldr	w8, [x28, w8, uxtw #2]
	stp	w10, w8, [x24, #8]
	mov	x0, x19
	bl	_bytestream2_get_byteu
	ubfx	w8, w0, #6, #2
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	str	w8, [x9]
	ubfx	w8, w0, #4, #2
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x24, x21, lsl #2]
	ubfx	w8, w0, #2, #2
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x24, x26, lsl #2]
	and	w8, w0, #0x3
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x24, x25, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_byteu
	ubfx	w8, w0, #6, #2
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #112]                  ; 8-byte Folded Reload
	str	w8, [x9]
	ubfx	w8, w0, #4, #2
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
	ubfx	w8, w0, #2, #2
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
	and	w8, w0, #0x3
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
	mov	x0, x19
	bl	_bytestream2_get_byteu
	ubfx	w8, w0, #6, #2
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x23]
	ubfx	w8, w0, #4, #2
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x24, x27, lsl #2]
	ubfx	w8, w0, #2, #2
	ldr	w8, [x28, w8, uxtw #2]
	str	w8, [x24, x20, lsl #2]
	and	w8, w0, #0x3
	ldr	w8, [x28, w8, uxtw #2]
	ldr	x9, [sp, #120]                  ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
	sub	w22, w22, #1
	bl	_ADVANCE_BLOCK
	cbnz	w22, LBB0_27
	b	LBB0_9
LBB0_28:
	ldur	x8, [x29, #-128]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.29:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_30:
	ldr	x20, [x19, #8]
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x2, l_.str.2@PAGE
Lloh31:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x23
	bl	_av_log
	b	LBB0_5
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_30-LBB0_16)>>2
	.byte	(LBB0_30-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_24-LBB0_16)>>2
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"First chunk byte is 0x%02x instead of 0xe1\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"MOV chunk size %d != encoded chunk size %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.2:                               ; @.str.2
	.asciz	"Unknown opcode %d in rpza chunk. Skip remaining %d bytes of chunk data.\n"

	.no_dead_strip	_rpza_decode_stream
.subsections_via_symbols
