	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function truespeech_read_frame
_truespeech_read_frame:                 ## @truespeech_read_frame
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	56(%rdi), %rdi
	movl	$8, %edx
	callq	*64(%rbx)
	movq	56(%rbx), %rsi
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_init_get_bits
	movq	_ts_codebook@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	56(%rax), %r12
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 56(%rcx)
	movq	(%r15), %rax
	movq	48(%rax), %r12
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 48(%rcx)
	movq	(%r15), %rax
	movq	40(%rax), %r12
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 40(%rcx)
	movq	(%r15), %rax
	movq	32(%rax), %r12
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 32(%rcx)
	movq	(%r15), %rax
	movq	24(%rax), %r12
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	(%r15), %rax
	movq	16(%rax), %r12
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r15), %rax
	movq	8(%rax), %r12
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	cltq
	movq	(%r12,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r15), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	cltq
	movq	(%r15,%rax,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	shll	$4, %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movq	16(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_get_bits
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%r14, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	24(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%r14, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	shll	$4, %eax
	movq	8(%rbx), %rcx
	orl	%eax, 4(%rcx)
	movq	%r14, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	24(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	%r14, %rdi
	movl	$14, %esi
	callq	_get_bits
	movq	24(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$27, %esi
	callq	_get_bits_long
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	addl	%eax, %eax
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$27, %esi
	callq	_get_bits_long
	movq	40(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	32(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	shll	$2, %eax
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$27, %esi
	callq	_get_bits_long
	movq	40(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	32(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	%r14, %rdi
	callq	_get_bits1
	shll	$3, %eax
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movl	$27, %esi
	callq	_get_bits_long
	movq	40(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	32(%rbx), %rcx
	movl	%eax, 12(%rcx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ts_codebook,8,3                ## @ts_codebook
	.no_dead_strip	_truespeech_read_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function truespeech_read_frame
_truespeech_read_frame:                 ; @truespeech_read_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldp	x0, x8, [x0, #56]
	mov	w2, #8
	blr	x8
	ldr	x1, [x19, #56]
	add	x0, sp, #12
	mov	w2, #256
	bl	_init_get_bits
Lloh0:
	adrp	x20, _ts_codebook@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ts_codebook@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x21, [x8, #56]
	add	x0, sp, #12
	mov	w1, #3
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #56]
	ldr	x8, [x20]
	ldr	x21, [x8, #48]
	add	x0, sp, #12
	mov	w1, #3
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #48]
	ldr	x8, [x20]
	ldr	x21, [x8, #40]
	add	x0, sp, #12
	mov	w1, #3
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #40]
	ldr	x8, [x20]
	ldr	x21, [x8, #32]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #32]
	ldr	x8, [x20]
	ldr	x21, [x8, #24]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #24]
	ldr	x8, [x20]
	ldr	x21, [x8, #16]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #16]
	ldr	x8, [x20]
	ldr	x21, [x8, #8]
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	ldr	x8, [x21, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9, #8]
	ldr	x8, [x20]
	ldr	x20, [x8]
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	ldr	x8, [x20, w0, sxtw #3]
	ldr	x9, [x19, #48]
	str	x8, [x9]
	add	x0, sp, #12
	bl	_get_bits1
	str	w0, [x19]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	lsl	w8, w0, #4
	ldr	x9, [x19, #8]
	str	w8, [x9]
	add	x0, sp, #12
	mov	w1, #7
	bl	_get_bits
	ldr	x8, [x19, #16]
	str	w0, [x8, #12]
	add	x0, sp, #12
	mov	w1, #7
	bl	_get_bits
	ldr	x8, [x19, #16]
	str	w0, [x8, #8]
	add	x0, sp, #12
	mov	w1, #7
	bl	_get_bits
	ldr	x8, [x19, #16]
	str	w0, [x8, #4]
	add	x0, sp, #12
	mov	w1, #7
	bl	_get_bits
	ldr	x8, [x19, #16]
	str	w0, [x8]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #8]
	str	w0, [x8, #4]
	add	x0, sp, #12
	mov	w1, #14
	bl	_get_bits
	ldr	x8, [x19, #24]
	str	w0, [x8, #4]
	add	x0, sp, #12
	mov	w1, #14
	bl	_get_bits
	ldr	x8, [x19, #24]
	str	w0, [x8]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #4]
	orr	w9, w9, w0, lsl #4
	str	w9, [x8, #4]
	add	x0, sp, #12
	mov	w1, #14
	bl	_get_bits
	ldr	x8, [x19, #24]
	str	w0, [x8, #12]
	add	x0, sp, #12
	mov	w1, #14
	bl	_get_bits
	ldr	x8, [x19, #24]
	str	w0, [x8, #8]
	add	x0, sp, #12
	bl	_get_bits1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	add	x0, sp, #12
	mov	w1, #27
	bl	_get_bits_long
	ldr	x8, [x19, #40]
	str	x0, [x8]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #32]
	str	w0, [x8]
	add	x0, sp, #12
	bl	_get_bits1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w0, lsl #1
	str	w9, [x8]
	add	x0, sp, #12
	mov	w1, #27
	bl	_get_bits_long
	ldr	x8, [x19, #40]
	str	x0, [x8, #8]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #32]
	str	w0, [x8, #4]
	add	x0, sp, #12
	bl	_get_bits1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w0, lsl #2
	str	w9, [x8]
	add	x0, sp, #12
	mov	w1, #27
	bl	_get_bits_long
	ldr	x8, [x19, #40]
	str	x0, [x8, #16]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #32]
	str	w0, [x8, #8]
	add	x0, sp, #12
	bl	_get_bits1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w0, lsl #3
	str	w9, [x8]
	add	x0, sp, #12
	mov	w1, #27
	bl	_get_bits_long
	ldr	x8, [x19, #40]
	str	x0, [x8, #24]
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	ldr	x8, [x19, #32]
	str	w0, [x8, #12]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ts_codebook,8,3                ; @ts_codebook
	.no_dead_strip	_truespeech_read_frame
.subsections_via_symbols
