	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_decoder
_init_decoder:                          ## @init_decoder
	.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
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_vkprintf
	cmpl	$2, %ebx
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	jg	LBB0_2
## %bb.1:
	movq	_le_raw_int32@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_8
LBB0_2:
	cmpl	$9, %r15d
	jl	LBB0_7
## %bb.3:
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	-48(%rbp), %rax
	movq	_word_index_offset@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setge	%cl
	movq	_index_size@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	setl	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	%r15d, %r15d
	movq	-48(%rbp), %rax
	addq	%r15, %rax
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setle	%dil
	callq	_assert
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	movq	_word_index_offset@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, -48(%rbp)
	js	LBB0_6
## %bb.4:
	movq	_idx_bytes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_6
## %bb.5:
	addq	%r15, %rax
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setle	%dil
LBB0_6:
	callq	_assert
	movq	_IndexData@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %r13
	addq	(%rax), %r13
LBB0_7:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
LBB0_8:
	movq	_Q_decoders@GOTPCREL(%rip), %r15
	movq	_MAX_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	xorl	%edi, %edi
	cmpl	%eax, (%r15)
	setl	%dil
	callq	_assert
	movq	_Header@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_zmalloc_list_decoder_ext
	movq	_allocated_list_decoders@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%r15), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r15)
	movl	%eax, (%rcx,%rdx,4)
	movl	%eax, 8(%r14)
	movl	%ebx, (%r14)
	movl	%ebx, 4(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init_decoder (N = %d, K = %d)\n"

	.comm	_le_raw_int32,4,2               ## @le_raw_int32
	.comm	_word_index_offset,8,3          ## @word_index_offset
	.comm	_index_size,8,3                 ## @index_size
	.comm	_idx_bytes,8,3                  ## @idx_bytes
	.comm	_IndexData,8,3                  ## @IndexData
	.comm	_Q_decoders,4,2                 ## @Q_decoders
	.comm	_MAX_WORDS,4,2                  ## @MAX_WORDS
	.comm	_Header,4,2                     ## @Header
	.comm	_allocated_list_decoders,8,3    ## @allocated_list_decoders
	.no_dead_strip	_init_decoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_decoder
_init_decoder:                          ; @init_decoder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x2, x22
	mov	x3, x19
	bl	_vkprintf
	cmp	w19, #2
	b.gt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _le_raw_int32@GOTPAGE
Lloh3:
	ldr	x8, [x8, _le_raw_int32@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_2:
	cmp	w24, #9
	b.lt	LBB0_8
; %bb.3:
	add	x0, sp, #8
	mov	x1, x23
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x25, _word_index_offset@GOTPAGE
Lloh6:
	ldr	x25, [x25, _word_index_offset@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
Lloh7:
	adrp	x26, _index_size@GOTPAGE
Lloh8:
	ldr	x26, [x26, _index_size@GOTPAGEOFF]
	ldr	x9, [x26]
	ccmp	x8, x9, #0, ge
	cset	w0, lt
	bl	_assert
	ldr	x8, [sp, #8]
	mov	w23, w24
	ldr	x9, [x26]
	add	x8, x8, x23
	cmp	x8, x9
	cset	w0, le
	bl	_assert
	ldr	x8, [x25]
	ldr	x9, [sp, #8]
	subs	x8, x9, x8
	str	x8, [sp, #8]
	b.mi	LBB0_6
; %bb.4:
Lloh9:
	adrp	x9, _idx_bytes@GOTPAGE
Lloh10:
	ldr	x9, [x9, _idx_bytes@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:
	add	x8, x8, x23
	cmp	x8, x9
	cset	w0, le
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	bl	_assert
Lloh12:
	adrp	x8, _IndexData@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IndexData@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	add	x23, x9, x8
LBB0_8:
Lloh15:
	adrp	x24, _Q_decoders@GOTPAGE
Lloh16:
	ldr	x24, [x24, _Q_decoders@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh17:
	adrp	x9, _MAX_WORDS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MAX_WORDS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9, lsl #1
	cset	w0, lt
	bl	_assert
Lloh20:
	adrp	x8, _Header@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Header@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	mov	w4, #0
	bl	_zmalloc_list_decoder_ext
Lloh23:
	adrp	x8, _allocated_list_decoders@GOTPAGE
Lloh24:
	ldr	x8, [x8, _allocated_list_decoders@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldrsw	x9, [x24]
	add	w10, w9, #1
	str	w10, [x24]
	str	w0, [x8, x9, lsl #2]
	stp	w19, w0, [x20, #4]
	str	w19, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init_decoder (N = %d, K = %d)\n"

	.comm	_le_raw_int32,4,2               ; @le_raw_int32
	.comm	_word_index_offset,8,3          ; @word_index_offset
	.comm	_index_size,8,3                 ; @index_size
	.comm	_idx_bytes,8,3                  ; @idx_bytes
	.comm	_IndexData,8,3                  ; @IndexData
	.comm	_Q_decoders,4,2                 ; @Q_decoders
	.comm	_MAX_WORDS,4,2                  ; @MAX_WORDS
	.comm	_Header,4,2                     ; @Header
	.comm	_allocated_list_decoders,8,3    ; @allocated_list_decoders
	.no_dead_strip	_init_decoder
.subsections_via_symbols
