	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_JangGu_vlc
_decode_JangGu_vlc:                     ## @decode_JangGu_vlc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_20
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r13
	addq	$4, %r13
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	incq	%r13
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$7, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %edx
	xorl	%eax, %eax
	btl	%r12d, %edx
	setb	%al
	cmpl	$2, %r14d
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%r14d, %r14d
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=2
	xorl	%ebx, %ebx
	movl	$2, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	$-1, %edx
	shll	%cl, %edx
	incl	%edx
	testl	%eax, %eax
	cmovel	%edx, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	decl	%ecx
	shll	%cl, %eax
	movl	%ebx, %edx
	movl	%eax, %ebx
	addl	%edx, %ebx
	movl	$1, %r14d
	testl	%ecx, %ecx
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_decode_JangGu_integrate
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incl	%ecx
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_decode_JangGu_integrate
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=2
	xorl	%ecx, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	%r12d, %eax
	addl	$-1, %eax
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=2
	addl	%r15d, %r12d
	cmpl	$8, %r12d
	movl	%eax, %r12d
	jne	LBB0_5
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, %r15d
	addl	$-7, %r15d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_JangGu_vlc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_JangGu_vlc
_decode_JangGu_vlc:                     ; @decode_JangGu_vlc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w3, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	mov	w22, #0
	mov	w8, #0
	mov	w9, #0
	mov	w23, #0
	add	x24, x1, #4
	mov	w25, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w21, w10
	sub	w21, w10, #7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	add	x24, x24, #1
	cmp	w23, w19
	b.eq	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cbz	w21, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #7
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x24]
	lsr	w10, w10, w26
	and	w10, w10, #0x1
	cmp	w9, #2
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w9, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w10, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	cbz	w8, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w22, #0
	mov	w9, #2
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	lsl	w9, w25, w8
	cmp	w10, #0
	csinc	w22, w22, w9, ne
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	subs	w8, w8, #1
	lsl	w9, w10, w8
	add	w22, w22, w9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w9, #1
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	mov	x1, x22
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w9, #0
	add	w8, w8, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	mov	w1, #0
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=2
	bl	_decode_JangGu_integrate
	mov	w9, #0
	mov	w8, #0
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	subs	w10, w26, #1
	b.lo	LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=2
	add	w11, w21, w26
	mov	x26, x10
	cmp	w11, #8
	b.ne	LBB0_6
	b	LBB0_2
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_JangGu_vlc
.subsections_via_symbols
