	.file	"extr_search-x-data.c_init_decoder.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_decoder, @function
init_decoder:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsx	rbx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	ebx, 8
	jg	.L11
.L2:
	mov	eax, DWORD PTR MAX_WORDS[rip]
	xor	edi, edi
	add	eax, eax
	cmp	eax, DWORD PTR Q_decoders[rip]
	setg	dil
	call	assert@PLT
	mov	ecx, DWORD PTR le_golomb[rip]
	xor	r8d, r8d
	mov	esi, ebp
	movsx	rbx, DWORD PTR Q_decoders[rip]
	mov	rax, QWORD PTR allocated_list_decoders[rip]
	mov	edi, r12d
	lea	edx, 1[rbx]
	lea	rbx, [rax+rbx*4]
	mov	DWORD PTR Q_decoders[rip], edx
	mov	rdx, r14
	call	zmalloc_list_decoder@PLT
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR 8[r13], eax
	mov	DWORD PTR 0[r13], ebp
	mov	DWORD PTR 4[r13], ebp
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rsp
	mov	edx, 8
	mov	rsi, r8
	call	memcpy@PLT
	mov	rax, QWORD PTR [rsp]
	xor	edi, edi
	cmp	rax, QWORD PTR word_index_offset[rip]
	jl	.L3
	xor	edi, edi
	cmp	rax, QWORD PTR index_size[rip]
	setl	dil
.L3:
	call	assert@PLT
	mov	rax, QWORD PTR [rsp]
	xor	edi, edi
	add	rax, rbx
	cmp	rax, QWORD PTR index_size[rip]
	setle	dil
	call	assert@PLT
	mov	rax, QWORD PTR [rsp]
	sub	rax, QWORD PTR word_index_offset[rip]
	mov	edi, 0
	mov	QWORD PTR [rsp], rax
	js	.L4
	mov	rdx, QWORD PTR idx_bytes[rip]
	cmp	rax, rdx
	jge	.L4
	add	rbx, rax
	xor	edi, edi
	cmp	rdx, rbx
	setge	dil
.L4:
	call	assert@PLT
	mov	r14, QWORD PTR [rsp]
	add	r14, QWORD PTR IndexData[rip]
	jmp	.L2
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	init_decoder, .-init_decoder
	.comm	word_index_offset,8,8
	.comm	le_golomb,4,4
	.comm	index_size,8,8
	.comm	idx_bytes,8,8
	.comm	allocated_list_decoders,8,8
	.comm	Q_decoders,4,4
	.comm	MAX_WORDS,4,4
	.comm	IndexData,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_search-x-data.c_init_decoder.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_decoder, %function
init_decoder:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r3, #8
	mov	r6, r3
	ldr	r3, .L14
	sub	sp, sp, #44
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r10, [sp, #80]
	bgt	.L11
.L2:
	ldr	r6, .L14+4
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [r6]
	cmp	r3, r2, lsl #1
	movlt	r0, #1
	movge	r0, #0
	bl	assert
	mov	ip, #0
	ldr	r8, [r6]
	ldr	r3, .L14+12
	str	ip, [sp]
	add	r1, r8, #1
	ldr	ip, .L14+16
	str	r1, [r6]
	mov	r2, r10
	ldr	r3, [r3]
	mov	r0, r7
	mov	r1, r5
	ldr	r6, [ip]
	bl	zmalloc_list_decoder
	ldr	r3, .L14
	str	r0, [r6, r8, lsl #2]
	str	r0, [r4, #8]
	str	r5, [r4]
	str	r5, [r4, #4]
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r1, r10
	mov	r2, #8
	add	r0, sp, #24
	bl	memcpy
	add	fp, sp, #24
	ldmia	fp, {r10-fp}
	ldr	r3, .L14+20
	ldmia	r3, {r0-r1}
	cmp	r10, r0
	sbcs	r3, fp, r1
	bge	.L13
	mov	r0, #0
	ldr	r2, .L14+24
.L3:
	str	r2, [sp, #12]
	bl	assert
	ldr	r2, [sp, #12]
	ldmia	r2, {r0-r1}
	adds	r2, r10, r6
	adc	r3, fp, r6, asr #31
	cmp	r0, r2
	sbcs	r3, r1, r3
	movge	r0, #1
	movlt	r0, #0
	bl	assert
	ldr	r3, .L14+20
	ldm	r3, {r2, r3}
	subs	r8, r10, r2
	sbc	r9, fp, r3
	cmp	r8, #0
	sbcs	r3, r9, #0
	asr	r3, r6, #31
	blt	.L8
	ldr	r1, .L14+28
	ldmia	r1, {r0-r1}
	cmp	r8, r0
	sbcs	ip, r9, r1
	bge	.L8
	adds	ip, r6, r8
	adc	r3, r3, r9
	str	ip, [sp, #16]
	str	r3, [sp, #20]
	add	r3, sp, #16
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	movge	r0, #1
	movlt	r0, #0
.L4:
	bl	assert
	ldr	r3, .L14+32
	ldr	r10, [r3]
	add	r10, r10, r8
	b	.L2
.L13:
	ldr	r2, .L14+24
	ldmia	r2, {r0-r1}
	cmp	r10, r0
	sbcs	r3, fp, r1
	movlt	r0, #1
	movge	r0, #0
	b	.L3
.L8:
	mov	r0, #0
	b	.L4
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	Q_decoders
	.word	MAX_WORDS
	.word	le_golomb
	.word	allocated_list_decoders
	.word	word_index_offset
	.word	index_size
	.word	idx_bytes
	.word	IndexData
	.size	init_decoder, .-init_decoder
	.comm	word_index_offset,8,8
	.comm	le_golomb,4,4
	.comm	index_size,8,8
	.comm	idx_bytes,8,8
	.comm	allocated_list_decoders,4,4
	.comm	Q_decoders,4,4
	.comm	MAX_WORDS,4,4
	.comm	IndexData,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
