	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decompress
_decompress:                            ## @decompress
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	$32, %esi
	callq	_bytestream2_skip
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %r14d
	movl	%eax, -44(%rbp)
	sarl	$20, %r14d
	leal	(%r14,%r14), %eax
	cltq
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	(%r15,%rax,4), %r15d
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left_p
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jle	LBB0_27
## %bb.1:
	movl	$4, %r13d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	movq	_SEEK_SET@GOTPCREL(%rip), %r15
	jle	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	movl	%eax, %r14d
	movl	%eax, %esi
	xorl	$2, %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_peek_le16
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	callq	_AV_WN16
	addl	$2, %r14d
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bytestream2_seek
	movl	-44(%rbp), %esi
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	movl	%esi, -44(%rbp)
	movl	$3, %r13d
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$4, %edi
	callq	_PAIR
	movl	%eax, %r15d
	sarl	$16, %r15d
	xorl	%r14d, %r14d
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left_p
	testq	%rax, %rax
	jle	LBB0_31
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	movq	%r12, %rdi
	callq	_bytestream2_get_eof
	testq	%rax, %rax
	jne	LBB0_31
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzwl	%r15w, %eax
	cmpl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	movl	%esi, %eax
	shll	$4, %eax
	movl	%eax, -44(%rbp)
	cmpl	$1, %r13d
	je	LBB0_32
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$8, %esi
	movl	%esi, -44(%rbp)
	addl	$-2, %r13d
	jne	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_28
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	movl	%eax, %r14d
	movl	%eax, %esi
	xorl	$2, %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_peek_le16
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	callq	_AV_WN16
	addl	$2, %r14d
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bytestream2_seek
	movl	$4, %r13d
	movl	-44(%rbp), %esi
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %ebx
	testl	%ebx, %ebx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_bytestream2_put_le32
	decl	%ebx
	jne	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_bytestream2_put_le16
	jmp	LBB0_13
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	testl	%esi, %esi
	jne	LBB0_35
	jmp	LBB0_31
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
	sarl	$16, %r12d
	testl	$65280, %r12d                   ## imm = 0xFF00
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14), %eax
	incl	%eax
	cltq
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	andl	$61440, %r12d                   ## imm = 0xF000
	cmpl	$4096, %r12d                    ## imm = 0x1000
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_put_le16
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_put_le32
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	shrl	$24, %r15d
	andl	$15, %r15d
	movl	%r15d, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	movq	_SEEK_SET@GOTPCREL(%rip), %r15
	jne	LBB0_20
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r14d
	sarl	$20, %r14d
	leal	(%r14,%r14), %eax
	cltq
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %r15d
	testl	%r15d, %r15d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_30
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	%r14, %rdi
	callq	_bytestream2_tell
	movl	%eax, %ebx
	movl	%eax, %esi
	xorl	$2, %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_bytestream2_seek
	movq	%r14, %rdi
	callq	_bytestream2_peek_le16
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	callq	_AV_WN16
	addl	$2, %ebx
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bytestream2_seek
	movl	$4, %r13d
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	decl	%r12d
	je	LBB0_25
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	shll	$4, -44(%rbp)
	decl	%r13d
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	%r14, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jg	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	$4, %r13d
	cmpl	$0, -44(%rbp)
	jne	LBB0_24
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	movl	$4, %r13d
	testl	%esi, %esi
	jne	LBB0_29
LBB0_31:
	xorl	%ecx, %ecx
LBB0_27:
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decompress
_decompress:                            ; @decompress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	w1, #32
	bl	_bytestream2_skip
	mov	x0, x21
	bl	_bytestream2_get_le32
	str	w0, [sp, #12]
	asr	w26, w0, #20
	lsl	w8, w26, #1
	ldr	w22, [x19, w8, sxtw #2]
	mov	x0, x20
	bl	_bytestream2_get_bytes_left_p
	cmp	x0, #1
	b.lt	LBB0_34
; %bb.1:
	mov	w24, #4
Lloh0:
	adrp	x23, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.le	LBB0_31
; %bb.3:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_bytestream2_tell
	mov	x22, x0
	eor	w1, w0, #0x2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
	mov	x0, x21
	bl	_bytestream2_peek_le16
	mov	x1, x0
	add	x0, sp, #12
	bl	_AV_WN16
	add	w1, w22, #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
	ldr	w8, [sp, #12]
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	w1, w8, #4
	str	w1, [sp, #12]
	mov	w24, #3
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #4
	bl	_PAIR
	mov	w26, #0
	asr	w22, w0, #16
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left_p
	cmp	x0, #0
	b.le	LBB0_34
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	mov	x0, x20
	bl	_bytestream2_get_eof
	cbnz	x0, LBB0_34
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	and	w8, w22, #0xffff
	cmp	w8, #8, lsl #12                 ; =32768
	b.ne	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	lsl	w9, w8, #4
	str	w9, [sp, #12]
	cmp	w24, #1
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	w1, w8, #8
	str	w1, [sp, #12]
	subs	w24, w24, #2
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_bytestream2_get_bytes_left
	cmp	x0, #1
	b.lt	LBB0_32
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_bytestream2_tell
	mov	x22, x0
	eor	w1, w0, #0x2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
	mov	x0, x21
	bl	_bytestream2_peek_le16
	mov	x1, x0
	add	x0, sp, #12
	bl	_AV_WN16
	add	w1, w22, #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
	mov	w24, #4
	ldr	w1, [sp, #12]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	and	w8, w22, #0xff00
	cmp	w8, #8, lsl #12                 ; =32768
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w25, w22, #0xff
	cbz	w25, LBB0_16
LBB0_15:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	w1, #0
	bl	_bytestream2_put_le32
	subs	w25, w25, #1
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_bytestream2_put_le16
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	asr	w25, w22, #16
	tst	w25, #0xff00
	b.eq	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
	bfi	w8, w26, #1, #31
	ldr	w1, [x19, w8, sxtw #2]
	and	w8, w25, #0xf000
	mov	x0, x20
	cmp	w8, #1, lsl #12                 ; =4096
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_bytestream2_put_le16
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_bytestream2_put_le32
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	ubfx	w25, w22, #24, #4
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w25, LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	asr	w26, w8, #20
	lsl	w8, w26, #1
	ldr	w22, [x19, w8, sxtw #2]
	cbnz	w22, LBB0_6
	b	LBB0_36
LBB0_25:                                ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x21
	bl	_bytestream2_tell
	mov	x22, x0
	eor	w1, w0, #0x2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
	mov	x0, x21
	bl	_bytestream2_peek_le16
	mov	x1, x0
	add	x0, sp, #12
	bl	_AV_WN16
	add	w1, w22, #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	_bytestream2_seek
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=2
	mov	w24, #4
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	subs	w25, w25, #1
	b.eq	LBB0_24
LBB0_28:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [sp, #12]
	lsl	w8, w8, #4
	str	w8, [sp, #12]
	subs	w24, w24, #1
	b.ne	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x21
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.gt	LBB0_25
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=2
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_26
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_4
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #4
	b	LBB0_5
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_36:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_35
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decompress
.subsections_via_symbols
