	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_codebook
_read_codebook:                         ## @read_codebook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, 12(%rbx)
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	$0, 16(%rbx)
	movl	(%rbx), %ecx
	movq	40(%rbx), %rdx
	movl	%ecx, (%rdx)
	movq	32(%rbx), %rsi
	movl	%ecx, (%rsi)
	movq	24(%rbx), %rax
	movl	%ecx, (%rax)
	movl	4(%rbx), %ecx
	movl	%ecx, 4(%rdx)
	movl	%ecx, 4(%rsi)
	movl	%ecx, 4(%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, 8(%rdx)
	movl	%ecx, 8(%rsi)
	movl	%ecx, 8(%rax)
	movl	12(%rbx), %ecx
	movl	%ecx, 12(%rdx)
	movl	%ecx, 12(%rsi)
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	callq	_get_byte
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %edi
	leal	1(%rdi), %ecx
	sarl	%ecx
	addl	%eax, %ecx
	addl	%eax, %eax
	addl	%edi, %edi
	movq	_uiclp@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	(%rbx), %rsi
	movslq	%eax, %r8
	addq	%r8, %rsi
	movl	(%rdx,%rsi,8), %eax
	movq	24(%rbx), %r9
	movl	%eax, (%r9)
	movl	(%rbx), %eax
	subl	%ecx, %eax
	cltq
	movl	(%rdx,%rax,8), %eax
	movq	32(%rbx), %r10
	movl	%eax, (%r10)
	movslq	(%rbx), %rax
	movslq	%edi, %rdi
	addq	%rdi, %rax
	movl	(%rdx,%rax,8), %esi
	movq	40(%rbx), %rax
	movl	%esi, (%rax)
	movslq	4(%rbx), %rsi
	addq	%r8, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 4(%r9)
	movl	4(%rbx), %esi
	subl	%ecx, %esi
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 4(%r10)
	movslq	4(%rbx), %rsi
	addq	%rdi, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 4(%rax)
	movslq	8(%rbx), %rsi
	addq	%r8, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 8(%r9)
	movl	8(%rbx), %esi
	subl	%ecx, %esi
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 8(%r10)
	movslq	8(%rbx), %rsi
	addq	%rdi, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 8(%rax)
	movslq	12(%rbx), %rsi
	addq	%r8, %rsi
	movl	(%rdx,%rsi,8), %esi
	movl	%esi, 12(%r9)
	movl	12(%rbx), %esi
	subl	%ecx, %esi
	movslq	%esi, %rcx
	movl	(%rdx,%rcx,8), %ecx
	movl	%ecx, 12(%r10)
	movslq	12(%rbx), %rcx
	addq	%rdi, %rcx
	movl	(%rdx,%rcx,8), %ecx
LBB0_3:
	movl	%ecx, 12(%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uiclp,8,3                      ## @uiclp
	.no_dead_strip	_read_codebook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_codebook
_read_codebook:                         ; @read_codebook
	.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	x20, x1
	mov	x19, x0
	bl	_get_byte
	str	w0, [x19]
	bl	_get_byte
	str	w0, [x19, #4]
	bl	_get_byte
	str	w0, [x19, #8]
	bl	_get_byte
	str	w0, [x19, #12]
	cbz	w20, LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
	ldr	w9, [x19]
	ldr	x10, [x19, #40]
	str	w9, [x10]
	ldp	x8, x11, [x19, #24]
	str	w9, [x11]
	str	w9, [x8]
	ldr	w9, [x19, #4]
	str	w9, [x10, #4]
	str	w9, [x11, #4]
	str	w9, [x8, #4]
	ldr	w9, [x19, #8]
	str	w9, [x10, #8]
	str	w9, [x11, #8]
	str	w9, [x8, #8]
	ldr	w9, [x19, #12]
	str	w9, [x10, #12]
	str	w9, [x11, #12]
	b	LBB0_3
LBB0_2:
	bl	_get_byte
	str	w0, [x19, #16]
	bl	_get_byte
	str	w0, [x19, #20]
	lsl	w11, w0, #1
	ldr	w8, [x19, #16]
	add	w9, w8, #1
	add	w10, w0, w9, asr #1
Lloh0:
	adrp	x9, _uiclp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _uiclp@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w12, [x19]
	add	w12, w12, w11
	ldr	x12, [x9, w12, sxtw #3]
	ldp	x13, x14, [x19, #24]
	str	w12, [x13]
	ldr	w12, [x19]
	sub	w12, w12, w10
	ldr	x12, [x9, w12, sxtw #3]
	lsl	w15, w8, #1
	str	w12, [x14]
	ldr	w8, [x19]
	add	w8, w8, w15
	ldr	x12, [x9, w8, sxtw #3]
	ldr	x8, [x19, #40]
	str	w12, [x8]
	ldr	w12, [x19, #4]
	add	w12, w12, w11
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x13, #4]
	ldr	w12, [x19, #4]
	sub	w12, w12, w10
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x14, #4]
	ldr	w12, [x19, #4]
	add	w12, w12, w15
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x8, #4]
	ldr	w12, [x19, #8]
	add	w12, w12, w11
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x13, #8]
	ldr	w12, [x19, #8]
	sub	w12, w12, w10
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x14, #8]
	ldr	w12, [x19, #8]
	add	w12, w12, w15
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x8, #8]
	ldr	w12, [x19, #12]
	add	w11, w12, w11
	ldr	x11, [x9, w11, sxtw #3]
	str	w11, [x13, #12]
	ldr	w11, [x19, #12]
	sub	w10, w11, w10
	ldr	x10, [x9, w10, sxtw #3]
	str	w10, [x14, #12]
	ldr	w10, [x19, #12]
	add	w10, w10, w15
	ldr	x9, [x9, w10, sxtw #3]
LBB0_3:
	str	w9, [x8, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_uiclp,8,3                      ; @uiclp
	.no_dead_strip	_read_codebook
.subsections_via_symbols
