	.file	"extr_search-common.c_extract_words.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\037@@"
.LC1:
	.string	"O"
.LC2:
	.string	"W"
.LC3:
	.string	"error at %.30s\n"
	.text
	.p2align 4
	.globl	extract_words
	.type	extract_words, @function
extract_words:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	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
	mov	ebp, r9d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	mov	DWORD PTR 4[rsp], r8d
	test	edx, edx
	jne	.L53
.L2:
	test	ebp, ebp
	je	.L3
	mov	rax, QWORD PTR 96[rsp]
	shr	rax, 32
	jne	.L54
.L3:
	cmp	r15d, DWORD PTR 4[rsp]
	jge	.L8
.L6:
	mov	ebp, 65536
	xor	r12d, r12d
	mov	r14d, 1
	mov	r13d, 1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	BYTE PTR [rbx], 31
	je	.L15
	mov	rdi, rbx
	call	get_word@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L55
.L20:
	cmp	DWORD PTR 4[rsp], r15d
	jle	.L8
.L9:
	cmp	BYTE PTR [rbx], 0
	je	.L8
	cmp	r12, rbx
	je	.L56
.L10:
	movsx	rax, r14d
	mov	r12, rbx
	sub	r12, rax
	test	r14d, r14d
	jne	.L11
	mov	rdi, rbx
	call	get_notword@PLT
	test	eax, eax
	js	.L8
	je	.L11
	sub	eax, 1
	lea	rdx, 1[rbx+rax]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	al, 9
	cmove	ebp, r13d
	add	rbx, 1
	cmp	rbx, rdx
	je	.L11
.L12:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 31
	jne	.L14
.L15:
	lea	rax, 2[rbx]
	mov	esi, 2
	sub	esi, eax
	cmp	BYTE PTR 1[rbx], 63
	jbe	.L57
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdx, rax
	lea	r11d, [rsi+rax]
	add	rax, 1
	cmp	BYTE PTR [rdx], 63
	ja	.L19
	lea	eax, -1[r11]
	xor	edi, edi
	mov	r10, rbx
	mov	r14d, 1
	cmp	eax, 509
	mov	rbx, rdx
	setbe	dil
.L18:
	mov	QWORD PTR 24[rsp], r10
	mov	DWORD PTR 16[rsp], r11d
	call	assert@PLT
	mov	r10, QWORD PTR 24[rsp]
	movsx	r9, r15d
	add	r15d, 1
	sal	r9, 4
	add	r9, QWORD PTR 8[rsp]
	mov	r11d, DWORD PTR 16[rsp]
	cmp	BYTE PTR [r10], 31
	je	.L58
	mov	rsi, r10
	mov	edx, r11d
	mov	QWORD PTR 24[rsp], r9
	lea	rdi, buff.1955[rip]
	call	my_lc_str@PLT
	cmp	eax, 510
	mov	DWORD PTR 16[rsp], eax
	setle	dil
	movzx	edi, dil
	call	assert@PLT
	mov	esi, DWORD PTR 16[rsp]
	lea	rdi, buff.1955[rip]
	call	word_hash@PLT
	mov	r9, QWORD PTR 24[rsp]
	mov	QWORD PTR [r9], rax
	mov	DWORD PTR 8[r9], ebp
	cmp	DWORD PTR 4[rsp], r15d
	jg	.L9
.L8:
	xor	r8d, r8d
	test	r15d, r15d
	jg	.L59
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
	.p2align 4,,10
	.p2align 3
.L55:
	.cfi_restore_state
	lea	eax, -1[rax]
	xor	edi, edi
	mov	r10, rbx
	mov	r11d, r14d
	cmp	eax, 509
	movsx	rax, r14d
	setbe	dil
	add	rbx, rax
	xor	r14d, r14d
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L56:
	mov	rsi, rbx
	lea	rdi, .LC3[rip]
	call	kprintf@PLT
	mov	edi, 2
	call	exit@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L58:
	mov	esi, r11d
	mov	rdi, r10
	mov	QWORD PTR 16[rsp], r9
	call	word_hash@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	QWORD PTR [r9], rax
	mov	DWORD PTR 8[r9], 0
	jmp	.L20
.L54:
	mov	eax, DWORD PTR 96[rsp]
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 96[rsp]
	jle	.L4
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	make_tag@PLT
	mov	rdx, rax
.L5:
	movsx	rax, r15d
	sal	rax, 4
	add	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], rdx
	mov	edx, r15d
	mov	DWORD PTR 8[rax], 0
	lea	eax, 1[r15]
	mov	r15d, eax
	cmp	eax, DWORD PTR 4[rsp]
	jl	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L59:
	lea	edx, -1[r15]
.L7:
	mov	rbx, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	rdi, rbx
	call	qsort_q@PLT
	mov	rdi, rbx
	xor	r8d, r8d
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L28:
	movsx	rax, edx
	add	edx, 1
	sal	rax, 4
	add	rax, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR [rax]
	cmp	edx, r15d
	jl	.L26
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L27:
	add	edx, 1
	add	ecx, DWORD PTR 24[rax]
	add	rax, 16
	cmp	edx, r15d
	je	.L25
.L26:
	cmp	QWORD PTR 16[rax], rsi
	je	.L27
	mov	QWORD PTR [rdi], rsi
	add	r8d, 1
	add	rdi, 16
	mov	DWORD PTR -8[rdi], ecx
	cmp	edx, r15d
	jl	.L28
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	movsx	rax, r8d
	mov	r13, QWORD PTR 8[rsp]
	add	r8d, 1
	sal	rax, 4
	add	r13, rax
	mov	QWORD PTR 0[r13], rsi
	mov	DWORD PTR 8[r13], ecx
	jmp	.L1
.L57:
	mov	r10, rbx
	mov	edi, 1
	add	rbx, 1
	mov	r11d, 1
	mov	r14d, 1
	jmp	.L18
.L53:
	mov	esi, 3
	lea	rdi, .LC0[rip]
	mov	r15d, 1
	call	word_hash@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR [rcx], rax
	mov	DWORD PTR 8[rcx], 0
	jmp	.L2
.L4:
	neg	edx
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	make_tag@PLT
	mov	rdx, rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	extract_words, .-extract_words
	.local	buff.1955
	.comm	buff.1955,512,32
	.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-common.c_extract_words.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\037@@\000"
	.align	2
.LC1:
	.ascii	"O\000"
	.align	2
.LC2:
	.ascii	"W\000"
	.align	2
.LC3:
	.ascii	"error at %.30s\012\000"
	.text
	.align	2
	.global	extract_words
	.syntax unified
	.arm
	.fpu softvfp
	.type	extract_words, %function
extract_words:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	add	r5, sp, #52
	subs	r7, r2, #0
	mov	r4, r0
	ldm	r5, {r5, r6, r8}
	mov	r9, r3
	bne	.L57
.L2:
	cmp	r5, #0
	beq	.L3
	cmp	r8, #0
	bne	.L58
.L3:
	ldr	r3, [sp, #48]
	cmp	r7, r3
	bge	.L8
.L6:
	mov	r5, #65536
	mov	r10, #0
	mov	r8, #1
	ldr	fp, .L64
	b	.L9
.L11:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #31
	beq	.L59
	mov	r0, r4
	bl	get_word
	subs	r8, r0, #0
	bne	.L60
.L20:
	ldr	r3, [sp, #48]
	cmp	r3, r7
	ble	.L8
.L9:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	cmp	r10, r4
	beq	.L61
.L10:
	cmp	r8, #0
	sub	r10, r4, r8
	bne	.L11
	mov	r0, r4
	bl	get_notword
	subs	r1, r0, #0
	blt	.L8
	beq	.L11
	mov	r3, r4
	add	r1, r4, r1
	b	.L12
.L14:
	cmp	r2, #9
	moveq	r5, #1
	cmp	r1, r3
	mov	r4, r3
	beq	.L11
.L12:
	mov	r6, r3
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #31
	bne	.L14
.L15:
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	cmp	r3, #63
	movls	r0, #1
	movls	r2, r0
	movls	r8, r0
	addls	r4, r6, r0
	bls	.L18
	mov	r2, #1
	add	r3, r6, #2
.L19:
	mov	r4, r3
	ldrb	r1, [r3], #1	@ zero_extendqisi2
	mov	r0, r2
	cmp	r1, #63
	add	r2, r2, #1
	bhi	.L19
	ldr	r3, .L64+4
	mov	r8, #1
	cmp	r0, r3
	movhi	r0, #0
	movls	r0, #1
.L18:
	str	r2, [sp, #4]
	bl	assert
	ldrb	r1, [r6]	@ zero_extendqisi2
	add	r2, r9, r7, lsl #3
	lsl	r3, r7, #3
	cmp	r1, #31
	str	r2, [sp]
	add	r7, r7, #1
	ldr	r2, [sp, #4]
	str	r3, [sp, #4]
	beq	.L62
	mov	r1, r6
	mov	r0, fp
	bl	my_lc_str
	mov	r6, r0
	ldr	r3, .L64+8
	cmp	r0, r3
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	mov	r1, r6
	mov	r0, fp
	bl	word_hash
	ldr	r3, [sp, #4]
	str	r0, [r9, r3]
	ldr	r3, [sp]
	str	r5, [r3, #4]
	ldr	r3, [sp, #48]
	cmp	r3, r7
	bgt	.L9
.L8:
	cmp	r7, #0
	movle	r0, #0
	bgt	.L63
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L60:
	ldr	r3, .L64+4
	sub	r0, r8, #1
	cmp	r0, r3
	mov	r6, r4
	mov	r2, r8
	add	r4, r4, r8
	movhi	r0, #0
	movls	r0, #1
	mov	r8, #0
	b	.L18
.L61:
	mov	r1, r4
	ldr	r0, .L64+12
	bl	kprintf
	mov	r0, #2
	bl	exit
	b	.L10
.L62:
	mov	r1, r2
	mov	r0, r6
	bl	word_hash
	mov	r2, #0
	ldr	r3, [sp, #4]
	str	r0, [r9, r3]
	ldr	r3, [sp]
	str	r2, [r3, #4]
	b	.L20
.L58:
	cmp	r6, #0
	beq	.L3
	movgt	r2, r6
	movgt	r1, #1
	movle	r1, #1
	rsble	r2, r6, #0
	ldrgt	r0, .L64+16
	ldrle	r0, .L64+20
	bl	make_tag
	mov	r3, r0
	mov	r2, #0
	ldr	r0, [sp, #48]
	add	r1, r7, #1
	str	r3, [r9, r7, lsl #3]
	cmp	r1, r0
	add	r3, r9, r7, lsl #3
	str	r2, [r3, #4]
	movge	r2, r7
	movge	r7, r1
	bge	.L7
	mov	r7, r1
	b	.L6
.L63:
	sub	r2, r7, #1
.L7:
	mov	r1, #0
	mov	r0, r9
	bl	qsort_q
	mov	r0, #0
	mov	r3, r0
	add	lr, r9, #4
.L28:
	lsl	r1, r3, #3
	add	r2, r9, r3, lsl #3
	add	r3, r3, #1
	cmp	r3, r7
	ldr	ip, [r9, r1]
	ldr	r2, [r2, #4]
	blt	.L25
	b	.L26
.L27:
	ldr	r1, [lr, r3, lsl #3]
	add	r3, r3, #1
	cmp	r3, r7
	add	r2, r2, r1
	beq	.L26
.L25:
	ldr	r1, [r9, r3, lsl #3]
	cmp	r1, ip
	beq	.L27
	cmp	r3, r7
	str	ip, [r9, r0, lsl #3]
	str	r2, [lr, r0, lsl #3]
	add	r0, r0, #1
	blt	.L28
	b	.L1
.L26:
	add	r3, r9, r0, lsl #3
	str	ip, [r9, r0, lsl #3]
	add	r0, r0, #1
	str	r2, [r3, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L57:
	mov	r1, #3
	ldr	r0, .L64+24
	bl	word_hash
	mov	r3, #0
	mov	r7, #1
	stm	r9, {r0, r3}
	b	.L2
.L59:
	mov	r6, r4
	b	.L15
.L65:
	.align	2
.L64:
	.word	.LANCHOR0
	.word	509
	.word	510
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	extract_words, .-extract_words
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	buff.4239, %object
	.size	buff.4239, 512
buff.4239:
	.space	512
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
