	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idcin_decode_vlcs
_idcin_decode_vlcs:                     ## @idcin_decode_vlcs
	.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), %rax
	movq	(%rax), %rcx
	movq	24(%rdi), %rax
	movq	(%rax), %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	imulq	%rcx, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	jle	LBB0_13
## %bb.1:
	movq	%rdi, %r15
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rcx
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	testq	%rcx, %rcx
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%r9), %r12
	movq	(%r15), %r13
	movq	32(%r15), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%rsi), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	cmpq	%r12, %r14
	jge	LBB0_12
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	movslq	%eax, %rdi
	movq	_HUF_TOKENS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	(%r13,%rdi,4), %eax
	cmpl	%r10d, %eax
	jl	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rdi,8), %r8
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=3
	movq	16(%r15), %rdx
	movslq	%r11d, %rdi
	incl	%r11d
	movzbl	(%rdx,%rdi), %ebx
	movl	$8, %edx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=3
	cltq
	movq	(%r8,%rax,8), %rax
	movl	%ebx, %ecx
	andb	$1, %cl
	movzbl	%cl, %ecx
	shrb	%bl
	decl	%edx
	movl	(%rax,%rcx,4), %eax
	cmpl	%r10d, %eax
	jl	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%edx, %edx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	cmpl	8(%r15), %r11d
	jl	LBB0_9
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	-72(%rbp), %r9                  ## 8-byte Folded Reload
	cmpq	-64(%rbp), %r9                  ## 8-byte Folded Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jl	LBB0_2
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movl	$-1, %eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HUF_TOKENS,4,2                 ## @HUF_TOKENS
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Huffman decode error.\n"

	.no_dead_strip	_idcin_decode_vlcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idcin_decode_vlcs
_idcin_decode_vlcs:                     ; @idcin_decode_vlcs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	ldr	x9, [x1]
	ldr	x9, [x9]
	ldr	x0, [x0, #24]
	ldr	x10, [x0]
	mul	x10, x10, x9
	cmp	x10, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w13, #0
	mov	w16, #0
	mov	w15, #0
	mov	w7, #0
	mov	x11, #0
	ldr	x12, [x0, #8]
Lloh0:
	adrp	x14, _HUF_TOKENS@GOTPAGE
Lloh1:
	ldr	x14, [x14, _HUF_TOKENS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	x12, #1
	b.lt	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x17, x12, x11
	ldr	x2, [x8]
	ldr	x3, [x8, #32]
	mov	x5, x11
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	x6, [x1, #8]
	ldr	x6, [x6]
	str	w4, [x6, x5, lsl #2]
	add	x5, x5, #1
	mov	x7, x4
	cmp	x5, x17
	b.ge	LBB0_12
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	w6, [x14]
	ldr	w4, [x2, w7, sxtw #2]
	cmp	w4, w6
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x7, [x3, w7, sxtw #3]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=3
	ldr	x15, [x8, #16]
	ldrb	w15, [x15, w13, sxtw]
	add	w13, w13, #1
	mov	w16, #8
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	ldr	x4, [x7, w4, sxtw #3]
	and	x19, x15, #0x1
	ubfx	w15, w15, #1, #7
	sub	w16, w16, #1
	ldr	w4, [x4, x19, lsl #2]
	cmp	w4, w6
	b.lt	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbnz	w16, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	w15, [x8, #8]
	cmp	w13, w15
	b.lt	LBB0_7
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x4, x7
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x9, x11
	cmp	x11, x10
	mov	x7, x4
	b.lt	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HUF_TOKENS,4,2                 ; @HUF_TOKENS
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Huffman decode error.\n"

	.no_dead_strip	_idcin_decode_vlcs
.subsections_via_symbols
