	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rle_uncompress
_rle_uncompress:                        ## @rle_uncompress
	.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
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_36
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	LJTI0_1(%rip), %r14
                                        ## implicit-def: $r12d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_36
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	addl	$-8, %eax
	roll	$29, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	testl	%eax, %eax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$1, %eax
	jne	LBB0_22
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_le32
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le32
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=2
	decl	%r13d
	je	LBB0_31
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	addl	$-8, %eax
	roll	$29, %eax
	cmpl	$3, %eax
	ja	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_le16
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le16
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_le24
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le24
	jmp	LBB0_30
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_le16
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_le24
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_bytestream2_put_le32
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	decl	%r13d
	je	LBB0_18
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	addl	$-8, %eax
	roll	$29, %eax
	cmpl	$3, %eax
	ja	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_bytestream2_put_byte
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_bytestream2_put_le16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_bytestream2_put_le24
	jmp	LBB0_17
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	4(%rbx), %esi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	imull	%eax, %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	imull	(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bytestream2_seek_p
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_35
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	addl	%eax, %ecx
	movl	4(%rbx), %esi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	imull	%ecx, %esi
	addl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	imull	(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bytestream2_seek_p
	jmp	LBB0_35
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$1, (%rax)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	andl	$1, %eax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_35
LBB0_36:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_38:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	xorl	%eax, %eax
	jmp	LBB0_38
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
LJTI0_1:
	.long	L0_1_set_13
	.long	L0_1_set_14
	.long	L0_1_set_15
	.long	L0_1_set_16
.set L0_2_set_26, LBB0_26-LJTI0_2
.set L0_2_set_27, LBB0_27-LJTI0_2
.set L0_2_set_28, LBB0_28-LJTI0_2
.set L0_2_set_29, LBB0_29-LJTI0_2
LJTI0_2:
	.long	L0_2_set_26
	.long	L0_2_set_27
	.long	L0_2_set_28
	.long	L0_2_set_29
	.end_data_region
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_rle_uncompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rle_uncompress
_rle_uncompress:                        ; @rle_uncompress
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x1
	bl	_bytestream2_get_bytes_left
	cmp	x0, #1
	b.lt	LBB0_35
; %bb.1:
	mov	w26, #0
	mov	w25, #0
Lloh0:
	adrp	x27, lJTI0_2@PAGE
Lloh1:
	add	x27, x27, lJTI0_2@PAGEOFF
Lloh2:
	adrp	x28, lJTI0_1@PAGE
Lloh3:
	add	x28, x28, lJTI0_1@PAGEOFF
                                        ; implicit-def: $w22
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w23, w26
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.le	LBB0_35
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	mov	x0, x20
	bl	_bytestream2_get_byte
	cbz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w8, [x21]
	sub	w8, w8, #8
	ror	w8, w8, #3
	cmp	w8, #3
	b.hi	LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	b	LBB0_21
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	cbz	w0, LBB0_30
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	cmp	w0, #2
	b.eq	LBB0_31
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x24
	cmp	w24, #1
	b.ne	LBB0_13
	b	LBB0_37
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le32
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le32
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	subs	w23, w23, #1
	b.eq	LBB0_32
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	sub	w8, w8, #8
	ror	w8, w8, #3
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	adr	x9, LBB0_11
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le16
	b	LBB0_12
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le24
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le24
	b	LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le16
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le24
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le32
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x23
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_bytestream2_put_le32
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	subs	w24, w24, #1
	b.eq	LBB0_2
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	sub	w8, w8, #8
	ror	w8, w8, #3
	cmp	w8, #3
	b.hi	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	adr	x9, LBB0_23
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_bytestream2_put_byte
	b	LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_bytestream2_put_le16
	b	LBB0_24
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_bytestream2_put_le24
	b	LBB0_24
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
	ldr	w8, [x21, #4]
	mul	w8, w8, w25
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w9, [x9]
	mul	w1, w8, w9
Lloh6:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bytestream2_seek_p
	mov	w26, #0
	b	LBB0_3
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	w26, w0, w26
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	w25, w0, w25
	ldr	w8, [x21, #4]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w9, [x9]
	madd	w8, w25, w8, w26
	mul	w1, w8, w9
Lloh9:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bytestream2_seek_p
	b	LBB0_3
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8]
	and	w9, w24, #0x1
	cmp	w8, #1
	ccmp	w9, #0, #4, eq
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w24, w26
	b	LBB0_3
LBB0_35:
Lloh12:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_36:
	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_37:
	mov	w0, #0
	b	LBB0_36
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_27-LBB0_23)>>2
	.byte	(LBB0_28-LBB0_23)>>2
	.byte	(LBB0_29-LBB0_23)>>2
	.byte	(LBB0_23-LBB0_23)>>2
lJTI0_2:
	.byte	(LBB0_15-LBB0_11)>>2
	.byte	(LBB0_16-LBB0_11)>>2
	.byte	(LBB0_17-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_rle_uncompress
.subsections_via_symbols
