	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_code
_read_code:                             ## @read_code
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_get_bits_left
	cmpl	$1, %eax
	jg	LBB0_2
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_32
LBB0_2:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_show_bits
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	movq	%r14, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_show_bits
                                        ## kill: def $eax killed $eax def $rax
	decl	%eax
	cmpl	$14, %eax
	ja	LBB0_1
## %bb.4:
	movl	$3, %r14d
	movl	$1, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movl	$2, %ebx
	jmp	LBB0_14
LBB0_16:
	movq	%r14, %r12
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_show_bits
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_skip_bits
	testb	$4, %r14b
	jne	LBB0_17
## %bb.25:
	cmpl	$1, %r15d
	je	LBB0_26
## %bb.27:
	testl	%r15d, %r15d
	jne	LBB0_31
## %bb.28:
	movq	%r13, %rdi
	movl	$4, %esi
	jmp	LBB0_29
LBB0_17:
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.19:
	cmpl	$1, %r15d
	jne	LBB0_31
## %bb.20:
	movl	$4, %r15d
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_show_bits
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_show_bits
	movl	$16, %r14d
	cmpl	$1, %eax
	je	LBB0_23
	jmp	LBB0_24
LBB0_26:
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_18:
	movl	$10, %r15d
	jmp	LBB0_24
LBB0_13:
	movl	$4, %r14d
	movl	$3, %ebx
	jmp	LBB0_14
LBB0_5:
	movl	$4, %r14d
	movl	$7, %ebx
	jmp	LBB0_14
LBB0_7:
	movl	$4, %ebx
	movl	$4, %r14d
	jmp	LBB0_14
LBB0_8:
	movl	$4, %r14d
	movl	$8, %ebx
	jmp	LBB0_14
LBB0_9:
	movl	$4, %r14d
	movl	$5, %ebx
	jmp	LBB0_14
LBB0_10:
	movl	$4, %r14d
	movl	$9, %ebx
	jmp	LBB0_14
LBB0_11:
	movl	$4, %r14d
	movl	$6, %ebx
	jmp	LBB0_14
LBB0_12:
	movl	$5, %r14d
	movq	%r13, %rdi
	movl	$5, %esi
	callq	_show_bits
	movl	%eax, %ebx
	shrl	$4, %ebx
	andl	$1, %ebx
	orl	$10, %ebx
LBB0_14:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_skip_bits
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_bits
	movl	%eax, (%r15)
	movl	$1, (%r12)
	decb	%bl
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	(%r15), %ecx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jge	LBB0_32
## %bb.15:
	addl	%ecx, %edx
	negl	%edx
	movl	%edx, (%r15)
	jmp	LBB0_32
LBB0_21:
	movl	$10, %r14d
LBB0_23:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movl	%r14d, %r15d
LBB0_24:
	movq	%r13, %rdi
	movl	%r15d, %esi
LBB0_29:
	callq	_get_bits
LBB0_30:
	movl	%eax, (%rbx)
LBB0_31:
	movl	$0, (%r12)
	xorl	%eax, %eax
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_1, LBB0_1-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
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_1
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_1
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_1
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_code
_read_code:                             ; @read_code
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_get_bits_left
	cmp	w0, #1
	b.gt	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_33
LBB0_2:
	mov	x0, x21
	mov	w1, #2
	bl	_show_bits
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	w1, #4
	bl	_show_bits
	sub	w8, w0, #1
	cmp	w8, #14
	b.hi	LBB0_1
; %bb.4:
	mov	w23, #3
	mov	w24, #1
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_1
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w23, #3
	mov	w24, #2
	b	LBB0_25
LBB0_6:
	mov	x0, x21
	mov	w1, #3
	bl	_show_bits
	mov	x22, x0
	mov	x0, x21
	mov	w1, #3
	bl	_skip_bits
	tbnz	w22, #2, LBB0_10
; %bb.7:
	cmp	w23, #1
	b.eq	LBB0_15
; %bb.8:
	cbnz	w23, LBB0_32
; %bb.9:
	mov	x0, x21
	mov	w1, #4
	b	LBB0_30
LBB0_10:
	cbz	w23, LBB0_16
; %bb.11:
	cmp	w23, #1
	b.ne	LBB0_32
; %bb.12:
	mov	x0, x21
	mov	w1, #4
	bl	_show_bits
	cbz	w0, LBB0_27
; %bb.13:
	mov	w22, #4
	mov	x0, x21
	mov	w1, #4
	bl	_show_bits
	cmp	w0, #1
	b.ne	LBB0_29
; %bb.14:
	mov	w22, #16
	b	LBB0_28
LBB0_15:
	mov	w0, #0
	b	LBB0_31
LBB0_16:
	mov	w22, #10
	b	LBB0_29
LBB0_17:
	mov	w23, #4
	mov	w24, #3
	b	LBB0_25
LBB0_18:
	mov	w23, #4
	mov	w24, #7
	b	LBB0_25
LBB0_19:
	mov	w24, #4
	mov	w23, #4
	b	LBB0_25
LBB0_20:
	mov	w23, #4
	mov	w24, #8
	b	LBB0_25
LBB0_21:
	mov	w23, #4
	mov	w24, #5
	b	LBB0_25
LBB0_22:
	mov	w23, #4
	mov	w24, #9
	b	LBB0_25
LBB0_23:
	mov	w23, #4
	mov	w24, #6
	b	LBB0_25
LBB0_24:
	mov	w23, #5
	mov	x0, x21
	mov	w1, #5
	bl	_show_bits
	mov	w24, #10
	bfxil	w24, w0, #4, #1
LBB0_25:
	mov	x0, x21
	mov	x1, x23
	bl	_skip_bits
	mov	x0, x21
	mov	x1, x24
	bl	_get_bits
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	mov	w8, #1
	str	w8, [x22]
	str	wzr, [x20]
	sub	w9, w24, #1
	lsl	w8, w8, w9
	ldr	w9, [x19]
	cmp	w9, w8
	b.ge	LBB0_33
; %bb.26:
	mov	w0, #0
	add	w8, w8, w9
	neg	w8, w8
	str	w8, [x19]
	b	LBB0_33
LBB0_27:
	mov	w22, #10
LBB0_28:
	mov	x0, x21
	mov	w1, #4
	bl	_skip_bits
LBB0_29:
	mov	x0, x21
	mov	x1, x22
LBB0_30:
	bl	_get_bits
LBB0_31:
	str	w0, [x20]
LBB0_32:
	mov	w0, #0
	str	wzr, [x19]
LBB0_33:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_25-LBB0_1)>>2
	.byte	(LBB0_17-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_25-LBB0_1)>>2
	.byte	(LBB0_21-LBB0_1)>>2
	.byte	(LBB0_22-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_23-LBB0_1)>>2
	.byte	(LBB0_24-LBB0_1)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_code
.subsections_via_symbols
