	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tgq_decode_block
_tgq_decode_block:                      ## @tgq_decode_block
	.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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%rdx, %rdi
	movl	$8, %esi
	callq	_get_sbits
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	imull	(%rcx), %eax
	movl	%eax, (%r13)
	movl	$1, %ebx
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movq	(%r12,%rax,8), %rax
	movl	$0, (%r13,%rax,4)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movq	(%r12,%rax,8), %rax
	movl	$0, (%r13,%rax,4)
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_skip_bits
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$64, %ebx
	jge	LBB0_19
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_show_bits
	cmpl	$7, %eax
	ja	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %eax
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ebx, %rbx
	leal	-1(%rax), %edx
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpl	$3, %edx
	jb	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	andl	$-4, %eax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rbx,8), %rdx
	movl	$0, (%r13,%rdx,4)
	movq	8(%r12,%rbx,8), %rdx
	movl	$0, (%r13,%rdx,4)
	movq	16(%r12,%rbx,8), %rdx
	movl	$0, (%r13,%rdx,4)
	movq	24(%r12,%rbx,8), %rdx
	addq	$4, %rbx
	movl	$0, (%r13,%rdx,4)
	addl	$-4, %eax
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rbx,8), %rax
	incq	%rbx
	movl	$0, (%r13,%rax,4)
	decl	%ecx
	jne	LBB0_10
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_show_bits
	movq	%r14, %rdi
	movl	$6, %esi
	cmpl	$63, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_skip_bits
	movq	%r14, %rdi
	movl	$8, %esi
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_get_sbits
	movslq	%ebx, %rcx
	movq	(%r12,%rcx,8), %rcx
	leaq	(,%rcx,4), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	(%rsi), %rdx
	imull	(%rdx), %eax
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%r12,%rcx,8), %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, (%r13,%rcx,4)
	jmp	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%r12,%rcx,8), %rcx
	xorl	%edx, %edx
	subl	(%rax,%rcx,4), %edx
	movl	%edx, (%r13,%rcx,4)
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	jmp	LBB0_18
LBB0_19:
	addl	$2048, (%r13)                   ## imm = 0x800
	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_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_tgq_decode_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tgq_decode_block
_tgq_decode_block:                      ; @tgq_decode_block
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	mov	x0, x2
	mov	w1, #8
	bl	_get_sbits
	ldr	x8, [x21]
	ldr	w8, [x8]
	mul	w8, w8, w0
	str	w8, [x19]
	add	x23, x22, #16
	mov	w25, #1
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #6
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_get_sbits
	ldr	x9, [x21]
	ldr	x8, [x22, w25, sxtw #3]
	add	x9, x9, x8, lsl #2
	ldr	w9, [x9]
	mul	w9, w9, w0
	str	w9, [x19, x8, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #64
	b.ge	LBB0_22
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	mov	x0, x20
	mov	w1, #3
	bl	_show_bits
	cmp	w0, #7
	b.hi	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, w0
	adr	x9, LBB0_7
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #2
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #6
	bl	_get_bits
	subs	w8, w0, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x10, w25
	cmp	w8, #3
	b.hs	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	mov	x25, x10
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #2
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #6
	bl	_show_bits
	cmp	w0, #63
	b.ne	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #6
	bl	_skip_bits
	mov	x0, x20
	mov	w1, #8
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	ldr	x8, [x21]
	ldr	x9, [x22, w25, sxtw #3]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
	str	w8, [x19, x9]
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, w25, sxtw #3]
	add	w9, w25, #1
	str	wzr, [x19, x8, lsl #2]
	mov	x25, x9
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w26, w25, #1
	ldr	x8, [x22, w25, sxtw #3]
	str	wzr, [x19, x8, lsl #2]
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	mov	x25, x26
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	ldr	x8, [x21]
	ldr	x9, [x22, w25, sxtw #3]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
	neg	w8, w8
	str	w8, [x19, x9]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x8, #1
	and	x8, x9, #0x1fffffffc
	add	x25, x8, x10
	add	x10, x23, x10, lsl #3
	mov	x11, x8
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x12, x13, [x10, #-16]
	ldp	x14, x15, [x10], #32
	str	wzr, [x19, x12, lsl #2]
	str	wzr, [x19, x13, lsl #2]
	str	wzr, [x19, x14, lsl #2]
	str	wzr, [x19, x15, lsl #2]
	subs	x11, x11, #4
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x9, x8
	b.eq	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w0, w8
	mov	x9, x25
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x25, x9, #1
	ldr	x9, [x22, x9, lsl #3]
	str	wzr, [x19, x9, lsl #2]
	mov	x9, x25
	subs	w8, w8, #1
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_4
LBB0_22:
	ldr	w8, [x19]
	add	w8, w8, #2048
	str	w8, [x19]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
                                        ; -- End function
	.no_dead_strip	_tgq_decode_block
.subsections_via_symbols
