	.file	"extr_text-data.c_load_dictionary.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	load_dictionary
	.type	load_dictionary, @function
load_dictionary:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR MAX_FILE_DICTIONARY_BYTES[rip]
	call	load_index_part@PLT
	mov	DWORD PTR [r15], eax
	mov	edi, eax
	call	assert@PLT
	mov	QWORD PTR 8[r15], rbx
	xor	edi, edi
	cmp	rbx, 3
	setg	dil
	call	assert@PLT
	movsx	r12, DWORD PTR [r15]
	mov	edx, DWORD PTR [r12]
	mov	DWORD PTR 28[rsp], edx
	test	edx, edx
	js	.L13
	mov	rax, rbx
	movsx	rbp, edx
	xor	edi, edi
	sar	rax, 2
	sub	rax, 1
	cmp	rax, rbp
	setg	dil
.L2:
	call	assert@PLT
	mov	esi, DWORD PTR 28[rsp]
	mov	rax, QWORD PTR 8[r12]
	xor	edi, edi
	mov	DWORD PTR 16[r15], esi
	movsx	rdx, DWORD PTR [rax]
	lea	eax, 8[0+rsi*4]
	cmp	edx, eax
	jl	.L3
	xor	edi, edi
	cmp	rdx, rbx
	setle	dil
.L3:
	call	assert@PLT
	mov	rax, QWORD PTR 8[r12]
	xor	edi, edi
	movsx	rax, DWORD PTR [rax+rbp*4]
	cmp	rax, rbx
	setle	dil
	call	assert@PLT
	mov	r14d, DWORD PTR 28[rsp]
	lea	edi, 0[0+r14*8]
	call	zmalloc@PLT
	mov	QWORD PTR 32[r15], rax
	mov	r11, rax
	mov	eax, DWORD PTR 28[rsp]
	test	r14d, r14d
	jle	.L23
	sub	eax, 1
	xor	r14d, r14d
	mov	DWORD PTR 8[rsp], eax
	lea	rax, 4[0+rax*4]
	mov	QWORD PTR [rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[r12]
	mov	r13d, DWORD PTR [r15]
	mov	rbp, r14
	xor	edi, edi
	mov	edx, DWORD PTR [rax+r14]
	add	r14, 4
	add	r13d, edx
	cmp	edx, DWORD PTR [rax+r14]
	setl	dil
	movsx	r13, r13d
	call	assert@PLT
	mov	rax, QWORD PTR 8[r12]
	xor	edi, edi
	movsx	rax, DWORD PTR [rax+r14]
	cmp	rax, rbx
	setle	dil
	call	assert@PLT
	mov	rdx, QWORD PTR 8[r12]
	mov	eax, DWORD PTR 0[r13]
	xor	edi, edi
	add	eax, DWORD PTR [rdx+rbp]
	add	eax, 1
	cmp	eax, DWORD PTR [rdx+r14]
	setl	dil
	call	assert@PLT
	mov	eax, DWORD PTR 4[r13]
	xor	edi, edi
	sub	eax, 1
	cmp	eax, 31
	setbe	dil
	call	assert@PLT
	cmp	QWORD PTR [rsp], r14
	jne	.L5
	mov	r11, QWORD PTR 32[r15]
.L4:
	mov	ebp, DWORD PTR 8[rsp]
	mov	DWORD PTR 20[r15], 32
	xor	esi, esi
	xor	edi, edi
	xor	r14d, r14d
	mov	r13d, 1
	lea	rbp, 4[0+rbp*4]
	mov	rdx, rbp
	mov	rbp, r14
	mov	r14, r12
	mov	r12, rsi
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, 4294967295
	cmp	rbp, rax
	jg	.L6
	mov	DWORD PTR 20[r15], r13d
.L6:
	mov	rax, QWORD PTR 24[r15]
	mov	ecx, 32
	mov	r10, rbp
	mov	r9, QWORD PTR 40[r15]
	sub	ecx, r13d
	mov	esi, DWORD PTR 28[rsp]
	mov	QWORD PTR [rax+r12], rbp
	sar	r10, cl
	movsx	rax, edi
	sub	rax, r10
	lea	rax, [r11+rax*8]
	mov	QWORD PTR [r9+r12], rax
	test	esi, esi
	jle	.L7
	mov	ebx, 1
	mov	QWORD PTR 16[rsp], r12
	mov	r12, rbp
	mov	rbp, rdx
	mov	eax, ebx
	xor	ebx, ebx
	sal	eax, cl
	mov	QWORD PTR 8[rsp], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbx, 4
	cmp	rbp, rbx
	je	.L24
.L9:
	mov	rcx, QWORD PTR 8[r14]
	mov	eax, DWORD PTR [r15]
	add	eax, DWORD PTR [rcx+rbx]
	cdqe
	cmp	DWORD PTR 4[rax], r13d
	jne	.L8
	mov	rcx, QWORD PTR 32[r15]
	add	r12, QWORD PTR 8[rsp]
	lea	esi, 1[rdi]
	mov	DWORD PTR [rsp], esi
	mov	QWORD PTR [rcx+rdi*8], rax
	xor	edi, edi
	movabs	rax, 4294967296
	cmp	r12, rax
	setle	dil
	add	rbx, 4
	call	assert@PLT
	movsx	rdi, DWORD PTR [rsp]
	cmp	rbp, rbx
	jne	.L9
.L24:
	mov	rdx, rbp
	mov	rbp, r12
	mov	r12, QWORD PTR 16[rsp]
.L7:
	add	r13d, 1
	add	r12, 8
	cmp	r13d, 33
	je	.L10
	mov	r11, QWORD PTR 32[r15]
	jmp	.L11
.L10:
	xor	r8d, r8d
	cmp	DWORD PTR 28[rsp], edi
	je	.L25
.L12:
	mov	edi, r8d
	call	assert@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsx	rbp, DWORD PTR 28[rsp]
	xor	edi, edi
	jmp	.L2
.L25:
	movabs	rax, 4294967296
	mov	r8d, 1
	cmp	rbp, rax
	je	.L12
	mov	eax, DWORD PTR 28[rsp]
	test	eax, eax
	sete	al
	xor	r8d, r8d
	test	rbp, rbp
	sete	r8b
	and	r8d, eax
	jmp	.L12
.L23:
	sub	eax, 1
	mov	DWORD PTR 8[rsp], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	load_dictionary, .-load_dictionary
	.comm	MAX_FILE_DICTIONARY_BYTES,4,4
	.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_text-data.c_load_dictionary.c"
	.text
	.align	2
	.global	load_dictionary
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_dictionary, %function
load_dictionary:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	add	r5, sp, #64
	ldmia	r5, {r4-r5}
	stm	sp, {r4-r5}
	ldr	r1, .L23
	mov	r6, r0
	ldr	r1, [r1]
	mov	r0, #0
	str	r1, [sp, #8]
	bl	load_index_part
	str	r0, [r6]
	bl	assert
	add	r4, sp, #64
	ldmia	r4, {r3-r4}
	cmp	r3, #4
	sbcs	r3, r4, #0
	movge	r0, #1
	add	r4, sp, #64
	ldmia	r4, {r3-r4}
	movlt	r0, #0
	str	r3, [r6, #8]
	str	r4, [r6, #12]
	bl	assert
	ldr	r9, [r6]
	ldr	r8, [r9]
	cmp	r8, #0
	movlt	r0, #0
	blt	.L2
	ldr	r3, [sp, #64]
	ldr	r2, [sp, #68]
	lsr	r3, r3, #2
	orr	r3, r3, r2, lsl #30
	subs	r10, r3, #1
	asr	r3, r2, #2
	sbc	fp, r3, #0
	asr	r3, r8, #31
	cmp	r8, r10
	sbcs	r3, r3, fp
	movlt	r0, #1
	movge	r0, #0
.L2:
	bl	assert
	ldr	r3, [r9, #4]
	str	r8, [r6, #16]
	ldr	r2, [r3]
	add	r3, r8, #2
	cmp	r2, r3, lsl #2
	movlt	r0, #0
	blt	.L3
	add	r1, sp, #64
	ldmia	r1, {r0-r1}
	asr	r3, r2, #31
	cmp	r0, r2
	sbcs	r3, r1, r3
	movge	r0, #1
	movlt	r0, #0
.L3:
	bl	assert
	add	r1, sp, #64
	ldmia	r1, {r0-r1}
	ldr	r3, [r9, #4]
	lsl	r7, r8, #2
	ldr	r2, [r3, r8, lsl #2]
	cmp	r0, r2
	asr	r3, r2, #31
	sbcs	r3, r1, r3
	movge	r0, #1
	movlt	r0, #0
	bl	assert
	mov	r0, r7
	bl	zmalloc
	cmp	r8, #0
	str	r0, [r6, #28]
	ble	.L4
	mov	r7, #0
.L5:
	ldr	r3, [r9, #4]
	lsl	r2, r7, #2
	add	r4, r2, #4
	ldr	r5, [r3, r7, lsl #2]
	ldr	r0, [r3, r4]
	ldr	r10, [r6]
	cmp	r5, r0
	movge	r0, #0
	movlt	r0, #1
	bl	assert
	add	r3, sp, #64
	ldmia	r3, {r2-r3}
	ldr	r1, [r9, #4]
	add	fp, r5, r10
	ldr	r0, [r1, r4]
	cmp	r2, r0
	asr	r1, r0, #31
	sbcs	r3, r3, r1
	movge	r0, #1
	movlt	r0, #0
	bl	assert
	ldr	r1, [r9, #4]
	ldr	ip, [r5, r10]
	ldr	r3, [r1, r7, lsl #2]
	ldr	r0, [r1, r4]
	add	r3, r3, ip
	add	r3, r3, #1
	cmp	r3, r0
	movge	r0, #0
	movlt	r0, #1
	bl	assert
	ldr	r0, [fp, #4]
	add	r7, r7, #1
	sub	r0, r0, #1
	cmp	r0, #31
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	cmp	r8, r7
	bne	.L5
	ldr	r0, [r6, #28]
.L4:
	mov	r3, #32
	mov	fp, #1
	mov	r4, #0
	mov	r5, #0
	mov	ip, #0
	str	r3, [r6, #20]
.L12:
	mvn	r2, #0
	mov	r3, #0
	cmp	r2, r4
	rsb	r10, fp, #32
	sbcs	r3, r3, r5
	lsr	r3, r4, r10
	strge	fp, [r6, #20]
	orr	r3, r3, r5, lsl fp
	subs	r7, r10, #32
	ldr	lr, [r6, #24]
	ldr	r2, [r6, #32]
	orrpl	r3, r3, r5, asr r7
	sub	r3, ip, r3
	add	lr, lr, fp, lsl #3
	add	r2, r2, fp, lsl #2
	add	r3, r0, r3, lsl #2
	cmp	r8, #0
	stmdb	lr, {r4-r5}
	str	r3, [r2, #-4]
	ble	.L8
	mov	r3, #1
	lsl	r10, r3, r10
	mov	r7, #0
	str	r10, [sp, #20]
	b	.L10
.L9:
	cmp	r8, r7
	beq	.L8
.L10:
	ldr	r3, [r9, #4]
	ldr	r2, [r6]
	ldr	r3, [r3, r7, lsl #2]
	add	r7, r7, #1
	add	r3, r3, r2
	ldr	r2, [r3, #4]
	cmp	r2, fp
	bne	.L9
	ldr	r2, [sp, #20]
	add	r10, ip, #1
	adds	r4, r4, r2
	adc	r5, r5, #0
	cmp	r4, #1
	sbcs	r2, r5, #1
	ldr	r2, [r6, #28]
	movlt	r0, #1
	movge	r0, #0
	str	r3, [r2, ip, lsl #2]
	bl	assert
	cmp	r8, r7
	mov	ip, r10
	bne	.L10
.L8:
	add	fp, fp, #1
	cmp	fp, #33
	ldrne	r0, [r6, #28]
	bne	.L12
.L11:
	cmp	r8, ip
	movne	r0, #0
	beq	.L22
.L13:
	bl	assert
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	cmp	r5, #1
	cmpeq	r4, #0
	moveq	r0, #1
	beq	.L13
	orrs	r3, r4, r5
	moveq	r0, #1
	movne	r0, #0
	cmp	r8, #0
	movne	r0, #0
	bl	assert
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	.align	2
.L23:
	.word	MAX_FILE_DICTIONARY_BYTES
	.size	load_dictionary, .-load_dictionary
	.comm	MAX_FILE_DICTIONARY_BYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
