	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_type2
_decode_type2:                          ## @decode_type2
	.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	%rsi, %r15
	movq	%rdi, %r13
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_81
## %bb.1:
	movl	$1, %ebx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	jle	LBB0_81
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_27 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_25 Depth 3
                                        ##       Child Loop BB0_42 Depth 3
                                        ##       Child Loop BB0_51 Depth 3
                                        ##       Child Loop BB0_48 Depth 3
                                        ##       Child Loop BB0_53 Depth 3
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_36 Depth 3
                                        ##     Child Loop BB0_79 Depth 2
                                        ##     Child Loop BB0_73 Depth 2
                                        ##     Child Loop BB0_71 Depth 2
                                        ##     Child Loop BB0_76 Depth 2
                                        ##     Child Loop BB0_63 Depth 2
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jg	LBB0_8
LBB0_59:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %ecx
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	$1, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	xorl	%ebx, %ebx
	movl	%r12d, %ecx
	testq	%rax, %rax
	jle	LBB0_60
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_27 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_25 Depth 3
                                        ##       Child Loop BB0_42 Depth 3
                                        ##       Child Loop BB0_51 Depth 3
                                        ##       Child Loop BB0_48 Depth 3
                                        ##       Child Loop BB0_53 Depth 3
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_36 Depth 3
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	cmpl	$18, %eax
	jl	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	leal	-17(%rax), %ebx
	cmpl	$21, %eax
	jge	LBB0_27
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_58
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=2
	testl	%r12d, %r12d
	je	LBB0_32
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	movl	%eax, %r14d
	cmpl	$15, %eax
	ja	LBB0_32
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	testl	%r14d, %r14d
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$255, %ecx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ecx, %ebx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	leal	255(%rbx), %ecx
	testq	%rax, %rax
	jg	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %r14d
	addl	$15, %r14d
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le32
	decl	%r14d
	testl	%r14d, %r14d
	jle	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%r14d
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	movl	%eax, %r14d
	cmpl	$15, %eax
	ja	LBB0_32
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movl	%r14d, %ebx
	shrl	$2, %ebx
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %r12d
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%r12,4), %ecx
	movl	$1, %r12d
	negl	%ecx
	leal	(%rax,%rcx), %esi
	addl	$-2049, %esi                    ## imm = 0xF7FF
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movl	%r14d, %ebx
	andl	$3, %ebx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	cmpl	$15, %eax
	ja	LBB0_14
## %bb.29:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movl	%r14d, %ebx
	shrl	$2, %ebx
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %r13d
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%r13,4), %ecx
	negl	%ecx
	leal	(%rax,%rcx), %esi
	addl	$-2049, %esi                    ## imm = 0xF7FF
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movl	%r14d, %ebx
	andl	$3, %ebx
	je	LBB0_56
## %bb.30:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_31
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$64, %r14d
	jb	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movl	%r14d, %r12d
	shrl	$2, %r12d
	notl	%r12d
	orl	$-8, %r12d
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	shll	$3, %eax
	subl	%eax, %r12d
	movl	%r14d, %ebx
	shrl	$5, %ebx
	decl	%ebx
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	addl	%eax, %r12d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	movq	%rdi, %r12
	callq	_bytestream2_seek
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%r14d, %ebx
	andl	$3, %ebx
	je	LBB0_49
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_36
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$32, %r14d
	jb	LBB0_57
## %bb.39:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movl	%r14d, %r12d
	andl	$31, %r12d
	jne	LBB0_45
## %bb.40:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$255, %ecx
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ecx, %ebx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	testl	%eax, %eax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	leal	255(%rbx), %ecx
	testq	%rax, %rax
	jg	LBB0_42
LBB0_44:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %r12d
	addl	$31, %r12d
LBB0_45:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %ebx
	movl	%eax, %r13d
	sarl	$2, %r13d
	notl	%r13d
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	addl	%eax, %r13d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movl	%r13d, %esi
	callq	_bytestream2_seek
	cmpl	$6, %r12d
	jl	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	movl	%eax, %r13d
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_tell
	subl	%eax, %r13d
	cmpl	$3, %r13d
	jg	LBB0_50
LBB0_47:                                ##   in Loop: Header=BB0_8 Depth=2
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%r12d
	jne	LBB0_48
	jmp	LBB0_52
LBB0_50:                                ##   in Loop: Header=BB0_8 Depth=2
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_le32
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le32
	addl	$-2, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%r12d
	jne	LBB0_51
LBB0_52:                                ##   in Loop: Header=BB0_8 Depth=2
	andl	$3, %ebx
	je	LBB0_49
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_53
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%r12d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	movl	%eax, %r14d
	jmp	LBB0_7
LBB0_56:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	$1, %r12d
	jmp	LBB0_7
LBB0_57:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	cmpl	$15, %r14d
	ja	LBB0_64
## %bb.61:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %r13d
	shrl	$2, %r13d
	notl	%r13d
	callq	_bytestream2_get_byte
	shll	$2, %eax
	subl	%eax, %r13d
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_init
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	addl	%eax, %r13d
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bytestream2_seek
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movl	%r14d, %ebx
	andl	$3, %ebx
	je	LBB0_2
## %bb.62:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_63:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_63
	jmp	LBB0_77
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %ebx
	andl	$7, %ebx
	jne	LBB0_67
## %bb.65:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_78
LBB0_66:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %ebx
	addl	$7, %ebx
LBB0_67:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	movl	%eax, %r12d
	movl	%r14d, %eax
	andl	$8, %eax
	shll	$11, %eax
	movl	%r13d, %ecx
	sarl	$2, %ecx
	addl	%eax, %ecx
	subl	%ecx, %r12d
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	cmpl	%eax, %r12d
	je	LBB0_81
## %bb.68:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	$-16384, %r12d                  ## imm = 0xC000
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	subq	%rsi, %rdx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	movq	%rdi, %r12
	callq	_bytestream2_seek
	cmpl	$6, %ebx
	jl	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_tell_p
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_bytestream2_tell
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	cmpl	$3, %ecx
	jg	LBB0_72
LBB0_70:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	.p2align	4, 0x90
LBB0_71:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_71
	jmp	LBB0_74
LBB0_72:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_le32
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_le32
	addl	$-2, %ebx
	.p2align	4, 0x90
LBB0_73:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%ebx
	jne	LBB0_73
LBB0_74:                                ##   in Loop: Header=BB0_4 Depth=1
	andl	$3, %r13d
	je	LBB0_2
## %bb.75:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_76:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_put_byte
	decl	%r13d
	jne	LBB0_76
LBB0_77:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_peek_byte
	movl	%eax, %r14d
	movq	%r12, %r13
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_3
LBB0_78:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$255, %ecx
	.p2align	4, 0x90
LBB0_79:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %ebx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	%r13, %rdi
	callq	_bytestream2_peek_byte
	testl	%eax, %eax
	jne	LBB0_66
## %bb.80:                              ##   in Loop: Header=BB0_79 Depth=2
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	leal	255(%rbx), %ecx
	testq	%rax, %rax
	jg	LBB0_79
	jmp	LBB0_66
LBB0_58:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_59
LBB0_81:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_decode_type2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_type2
_decode_type2:                          ; @decode_type2
	.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, x1
	mov	x20, x0
	bl	_bytestream2_get_bytes_left
	cmp	x0, #1
	b.lt	LBB0_78
; %bb.1:
	mov	w21, #0
	mov	w27, #0
	mov	w28, #1
Lloh0:
	adrp	x25, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SEEK_SET@GOTPAGEOFF]
	mov	w26, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_peek_byte
	mov	x21, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.le	LBB0_78
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
                                        ;       Child Loop BB0_44 Depth 3
                                        ;       Child Loop BB0_52 Depth 3
                                        ;       Child Loop BB0_50 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
                                        ;     Child Loop BB0_76 Depth 2
                                        ;     Child Loop BB0_72 Depth 2
                                        ;     Child Loop BB0_70 Depth 2
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	x0, #1
	b.lt	LBB0_57
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x28
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w27, #0
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	mov	x21, x0
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	mov	w8, #0
	mov	w28, #0
	cmp	x0, #0
	b.le	LBB0_57
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
                                        ;       Child Loop BB0_44 Depth 3
                                        ;       Child Loop BB0_52 Depth 3
                                        ;       Child Loop BB0_50 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
	cbz	w8, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cmp	w0, #18
	b.lt	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	sub	w21, w0, #17
	cmp	w0, #21
	b.ge	LBB0_19
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w21, w21, #1
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	mov	x21, x0
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.le	LBB0_56
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	cbz	w27, LBB0_32
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	mov	x21, x0
	cmp	w0, #15
	b.hi	LBB0_32
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	cbnz	w21, LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbz	w0, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w21, #0
	b	LBB0_27
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w21, w21, #1
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cmp	w0, #15
	b.hi	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	lsr	w23, w21, #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x22, x0
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	mov	x0, x19
	bl	_bytestream2_tell_p
	add	w8, w23, w22, lsl #2
	sub	w8, w0, w8
	sub	w1, w8, #2049
	ldr	w2, [x25]
	add	x0, sp, #12
	bl	_bytestream2_seek
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	ands	w22, w21, #0x3
	b.eq	LBB0_54
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	cmp	w22, #1
	b.eq	LBB0_7
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	cmp	w22, #2
	b.eq	LBB0_7
	b	LBB0_38
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w8, #255
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x21, x8
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbnz	w0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=3
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	add	w8, w21, #255
	cmp	x0, #0
	b.gt	LBB0_25
LBB0_27:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	w8, w21, w0
	add	w21, w8, #15
LBB0_28:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le32
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le32
	sub	w21, w21, #1
	cmp	w21, #1
	b.lt	LBB0_30
LBB0_29:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w21, w21, #1
	b.ne	LBB0_29
LBB0_30:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	mov	x21, x0
	cmp	w0, #15
	b.hi	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w27, #1
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	lsr	w23, w21, #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x22, x0
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	mov	x0, x19
	bl	_bytestream2_tell_p
	add	w8, w23, w22, lsl #2
	sub	w8, w0, w8
	sub	w1, w8, #2049
	ldr	w2, [x25]
	add	x0, sp, #12
	bl	_bytestream2_seek
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	ands	w22, w21, #0x3
	b.ne	LBB0_36
	b	LBB0_8
LBB0_32:                                ;   in Loop: Header=BB0_9 Depth=2
	cmp	w21, #64
	b.lo	LBB0_39
; %bb.33:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	mov	w8, #-8
	orn	w22, w8, w21, lsr #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	sub	w23, w22, w0, lsl #3
	lsr	w8, w21, #5
	sub	w22, w8, #1
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	mov	x0, x19
	bl	_bytestream2_tell_p
	add	w1, w23, w0
	ldr	w2, [x25]
	add	x0, sp, #12
	bl	_bytestream2_seek
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
LBB0_34:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w22, w22, #1
	b.ne	LBB0_34
; %bb.35:                               ;   in Loop: Header=BB0_9 Depth=2
	ands	w22, w21, #0x3
	b.eq	LBB0_54
LBB0_36:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	cmp	w22, #1
	b.eq	LBB0_6
; %bb.37:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	mov	w27, #0
	cmp	w22, #2
	b.eq	LBB0_7
LBB0_38:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	b	LBB0_7
LBB0_39:                                ;   in Loop: Header=BB0_9 Depth=2
	cmp	w21, #32
	b.lo	LBB0_55
; %bb.40:                               ;   in Loop: Header=BB0_9 Depth=2
	and	w24, w21, #0x1f
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	cbnz	w24, LBB0_47
; %bb.41:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbz	w0, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w22, #0
	b	LBB0_46
LBB0_43:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w8, #255
LBB0_44:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x22, x8
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbnz	w0, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=3
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	add	w8, w22, #255
	cmp	x0, #0
	b.gt	LBB0_44
LBB0_46:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	w8, w22, w0
	add	w24, w8, #31
LBB0_47:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x22, x0
	eor	w23, w26, w0, asr #2
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	mov	x0, x19
	bl	_bytestream2_tell_p
	add	w1, w0, w23
	ldr	w2, [x25]
	add	x0, sp, #12
	bl	_bytestream2_seek
	cmp	w24, #6
	b.lt	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x19
	bl	_bytestream2_tell_p
	mov	x23, x0
	add	x0, sp, #12
	bl	_bytestream2_tell
	sub	w8, w23, w0
	cmp	w8, #3
	b.gt	LBB0_51
LBB0_49:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
LBB0_50:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w24, w24, #1
	b.ne	LBB0_50
	b	LBB0_53
LBB0_51:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_le32
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le32
	sub	w23, w24, #2
LBB0_52:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w23, w23, #1
	b.ne	LBB0_52
LBB0_53:                                ;   in Loop: Header=BB0_9 Depth=2
	ands	w22, w22, #0x3
	b.ne	LBB0_36
LBB0_54:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w27, #1
	b	LBB0_8
LBB0_55:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_56:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
LBB0_57:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	cmp	w21, #15
	b.hi	LBB0_62
; %bb.58:                               ;   in Loop: Header=BB0_4 Depth=1
	eor	w22, w26, w21, lsr #2
	mov	x0, x20
	bl	_bytestream2_get_byte
	sub	w22, w22, w0, lsl #2
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	mov	x0, x19
	bl	_bytestream2_tell_p
	add	w1, w22, w0
	ldr	w2, [x25]
	add	x0, sp, #12
	bl	_bytestream2_seek
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	ands	w22, w21, #0x3
	b.eq	LBB0_74
LBB0_59:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	cmp	w22, #1
	b.eq	LBB0_2
; %bb.60:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	cmp	w22, #2
	b.eq	LBB0_2
; %bb.61:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	b	LBB0_2
LBB0_62:                                ;   in Loop: Header=BB0_4 Depth=1
	ands	w24, w21, #0x7
	b.ne	LBB0_66
; %bb.63:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbz	w0, LBB0_75
; %bb.64:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
LBB0_65:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	add	w8, w22, w0
	add	w24, w8, #7
LBB0_66:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x22, x0
	mov	x0, x19
	bl	_bytestream2_tell_p
	lsl	w8, w21, #11
	and	w8, w8, #0x4000
	add	w8, w8, w22, asr #2
	sub	w23, w0, w8
	mov	x0, x19
	bl	_bytestream2_tell_p
	cmp	w23, w0
	b.eq	LBB0_78
; %bb.67:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #4, lsl #12           ; =16384
	ldp	x1, x8, [x19]
	sub	x2, x8, x1
	add	x0, sp, #12
	bl	_bytestream2_init
	ldr	w2, [x25]
	add	x0, sp, #12
	mov	x1, x23
	bl	_bytestream2_seek
	cmp	w24, #6
	b.lt	LBB0_69
; %bb.68:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_bytestream2_tell_p
	mov	x23, x0
	add	x0, sp, #12
	bl	_bytestream2_tell
	sub	w8, w23, w0
	cmp	w8, #3
	b.gt	LBB0_71
LBB0_69:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
LBB0_70:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w24, w24, #1
	b.ne	LBB0_70
	b	LBB0_73
LBB0_71:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_le32
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_le32
	sub	w23, w24, #2
LBB0_72:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_put_byte
	subs	w23, w23, #1
	b.ne	LBB0_72
LBB0_73:                                ;   in Loop: Header=BB0_4 Depth=1
	ands	w22, w22, #0x3
	b.ne	LBB0_59
LBB0_74:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	b	LBB0_3
LBB0_75:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #255
LBB0_76:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x22, x8
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_peek_byte
	cbnz	w0, LBB0_65
; %bb.77:                               ;   in Loop: Header=BB0_76 Depth=2
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	add	w8, w22, #255
	cmp	x0, #0
	b.gt	LBB0_76
	b	LBB0_65
LBB0_78:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_decode_type2
.subsections_via_symbols
