	.file	"extr_dict_thesaurus.c_thesaurusRead.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ths"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"could not open thesaurus file \"%s\": %m"
	.section	.rodata.str1.1
.LC2:
	.string	"unexpected delimiter"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"unexpected end of line or lexeme"
	.align 8
.LC4:
	.string	"unrecognized thesaurus state: %d"
	.section	.rodata.str1.1
.LC5:
	.string	"unexpected end of line"
	.text
	.p2align 4
	.type	thesaurusRead, @function
thesaurusRead:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rsi
	lea	rsi, .LC0[rip]
	lea	r12, 52[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	get_tsearch_config_filename@PLT
	mov	rdi, r12
	mov	rsi, rax
	mov	rbp, rax
	call	tsearch_readline_begin@PLT
	test	eax, eax
	je	.L48
.L2:
	mov	rdi, r12
	mov	DWORD PTR 28[rsp], 0
	mov	QWORD PTR 8[rsp], 0
	call	tsearch_readline@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L49
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	BYTE PTR 0[rbp], 0
	mov	ebx, DWORD PTR TR_WAITLEX[rip]
	mov	r15, rbp
	jne	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r15
	call	pg_mblen@PLT
	cdqe
	add	r15, rax
	cmp	BYTE PTR [r15], 0
	je	.L5
.L4:
	mov	rdi, r15
	call	t_isspace@PLT
	test	rax, rax
	jne	.L6
.L5:
	mov	esi, 35
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	jne	.L25
	cmp	BYTE PTR [r15], 0
	je	.L25
	mov	esi, 10
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	jne	.L25
	mov	esi, 13
	mov	rdi, r15
	call	t_iseq@PLT
	mov	r13, rax
	test	rax, rax
	je	.L50
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, rbp
	call	pfree@PLT
	mov	rdi, r12
	call	tsearch_readline@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L26
.L49:
	mov	rax, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, r12
	mov	QWORD PTR [rax], rcx
	call	tsearch_readline_end@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L51
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L50:
	.cfi_restore_state
	mov	QWORD PTR 32[rsp], 0
	xor	r14d, r14d
	cmp	BYTE PTR [r15], 0
	jne	.L8
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	DWORD PTR TR_INLEX[rip], ebx
	je	.L53
	cmp	DWORD PTR TR_WAITSUBS[rip], ebx
	je	.L54
	cmp	DWORD PTR TR_INSUBS[rip], ebx
	je	.L55
	mov	edi, DWORD PTR ERROR[rip]
	mov	edx, ebx
	lea	rsi, .LC4[rip]
	call	elog@PLT
.L14:
	mov	rdi, r15
	call	pg_mblen@PLT
	cdqe
	add	r15, rax
	cmp	BYTE PTR [r15], 0
	je	.L56
.L8:
	cmp	DWORD PTR TR_WAITLEX[rip], ebx
	jne	.L11
	mov	esi, 58
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	je	.L12
	test	r13, r13
	je	.L57
.L13:
	mov	ebx, DWORD PTR TR_WAITSUBS[rip]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L55:
	mov	rdi, r15
	call	t_isspace@PLT
	test	rax, rax
	je	.L14
	cmp	r15, r14
	je	.L58
.L21:
	mov	rax, QWORD PTR 32[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	rsi, r14
	mov	r9, r13
	lea	rdx, 1[rax]
	mov	r8d, eax
	mov	QWORD PTR 40[rsp], rdx
	mov	ecx, DWORD PTR 36[rsp]
	mov	rdx, r15
	push	rcx
	.cfi_def_cfa_offset 144
	mov	rcx, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	addWrd@PLT
	pop	rcx
	.cfi_def_cfa_offset 136
	mov	ebx, DWORD PTR TR_WAITSUBS[rip]
	pop	rsi
	.cfi_def_cfa_offset 128
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L53:
	mov	esi, 58
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	je	.L16
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8d, r13d
	mov	rdx, r15
	lea	rax, 1[r13]
	mov	rsi, r14
	mov	QWORD PTR 40[rsp], rax
	call	newLexeme@PLT
	mov	ebx, DWORD PTR TR_WAITSUBS[rip]
	mov	r13, QWORD PTR 40[rsp]
	jmp	.L14
.L54:
	mov	esi, 42
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	je	.L18
	mov	rdi, r15
	mov	ebx, DWORD PTR TR_INSUBS[rip]
	call	pg_mblen@PLT
	mov	DWORD PTR 28[rsp], 1
	movsx	r14, eax
	add	r14, r15
	jmp	.L14
.L56:
	test	r13, r13
	sete	r11b
	cmp	DWORD PTR TR_INSUBS[rip], ebx
	je	.L22
	cmp	QWORD PTR 32[rsp], 0
	sete	al
	or	r11d, eax
.L23:
	add	QWORD PTR 8[rsp], 1
	test	r11b, r11b
	je	.L25
.L27:
	mov	edi, DWORD PTR ERRCODE_CONFIG_FILE_ERROR[rip]
	call	errcode@PLT
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L25
.L16:
	mov	rdi, r15
	call	t_isspace@PLT
	test	rax, rax
	je	.L14
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8d, r13d
	mov	rdx, r15
	lea	rax, 1[r13]
	mov	rsi, r14
	mov	QWORD PTR 40[rsp], rax
	call	newLexeme@PLT
	mov	ebx, DWORD PTR TR_WAITLEX[rip]
	mov	r13, QWORD PTR 40[rsp]
	jmp	.L14
.L18:
	mov	esi, 92
	mov	rdi, r15
	call	t_iseq@PLT
	test	rax, rax
	jne	.L59
	mov	rdi, r15
	call	t_isspace@PLT
	test	rax, rax
	jne	.L14
	mov	DWORD PTR 28[rsp], 0
	mov	ebx, DWORD PTR TR_INSUBS[rip]
	mov	r14, r15
	jmp	.L14
.L22:
	mov	r8d, DWORD PTR 32[rsp]
	cmp	r14, r15
	je	.L60
.L24:
	mov	BYTE PTR 32[rsp], r11b
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	rdx, r15
	mov	r9, r13
	mov	eax, DWORD PTR 36[rsp]
	mov	rsi, r14
	push	rax
	.cfi_def_cfa_offset 144
	mov	rcx, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	addWrd@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	movzx	r11d, BYTE PTR 32[rsp]
	jmp	.L23
.L12:
	mov	rdi, r15
	call	t_isspace@PLT
	test	rax, rax
	jne	.L14
	mov	ebx, DWORD PTR TR_INLEX[rip]
	mov	r14, r15
	jmp	.L14
.L48:
	mov	edi, DWORD PTR ERRCODE_CONFIG_FILE_ERROR[rip]
	call	errcode@PLT
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L2
.L57:
	mov	edi, DWORD PTR ERRCODE_CONFIG_FILE_ERROR[rip]
	call	errcode@PLT
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L13
.L59:
	mov	rdi, r15
	mov	ebx, DWORD PTR TR_INSUBS[rip]
	call	pg_mblen@PLT
	mov	DWORD PTR 28[rsp], 0
	movsx	r14, eax
	add	r14, r15
	jmp	.L14
.L58:
	mov	edi, DWORD PTR ERRCODE_CONFIG_FILE_ERROR[rip]
	call	errcode@PLT
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L21
.L52:
	cmp	DWORD PTR TR_INSUBS[rip], ebx
	je	.L31
	add	QWORD PTR 8[rsp], 1
	jmp	.L27
.L60:
	mov	edi, DWORD PTR ERRCODE_CONFIG_FILE_ERROR[rip]
	mov	BYTE PTR 40[rsp], r11b
	call	errcode@PLT
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	r8d, DWORD PTR 32[rsp]
	movzx	r11d, BYTE PTR 40[rsp]
	jmp	.L24
.L31:
	mov	r11d, 1
	xor	r8d, r8d
	mov	r14, r13
	jmp	.L24
.L51:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	thesaurusRead, .-thesaurusRead
	.comm	TR_WAITSUBS,4,4
	.comm	TR_WAITLEX,4,4
	.comm	TR_INSUBS,4,4
	.comm	TR_INLEX,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_CONFIG_FILE_ERROR,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_dict_thesaurus.c_thesaurusRead.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ths\000"
	.align	2
.LC1:
	.ascii	"could not open thesaurus file \"%s\": %m\000"
	.align	2
.LC2:
	.ascii	"unexpected delimiter\000"
	.align	2
.LC3:
	.ascii	"unexpected end of line or lexeme\000"
	.align	2
.LC4:
	.ascii	"unrecognized thesaurus state: %d\000"
	.align	2
.LC5:
	.ascii	"unexpected end of line\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	thesaurusRead, %function
thesaurusRead:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #52
	str	r3, [sp, #20]
	ldr	r3, .L66
	ldr	r1, .L66+4
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	get_tsearch_config_filename
	mov	r1, r0
	mov	r4, r0
	add	r0, sp, #40
	bl	tsearch_readline_begin
	cmp	r0, #0
	beq	.L53
.L2:
	mov	r3, #0
	add	r0, sp, #40
	str	r3, [sp, #24]
	str	r3, [sp, #16]
	bl	tsearch_readline
	subs	r5, r0, #0
	ldr	r10, .L66+8
	ldr	fp, .L66+12
	ldr	r9, .L66+16
	ldr	r8, .L66+20
	beq	.L54
.L26:
	ldrb	r3, [r5]	@ zero_extendqisi2
	mov	r4, r5
	cmp	r3, #0
	ldr	r6, [r10]
	bne	.L4
	b	.L5
.L6:
	mov	r0, r4
	bl	pg_mblen
	ldrb	r3, [r4, r0]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
.L4:
	mov	r0, r4
	bl	t_isspace
	cmp	r0, #0
	bne	.L6
.L5:
	mov	r1, #35
	mov	r0, r4
	bl	t_iseq
	cmp	r0, #0
	bne	.L25
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	mov	r1, #10
	mov	r0, r4
	bl	t_iseq
	cmp	r0, #0
	bne	.L25
	mov	r1, #13
	mov	r0, r4
	bl	t_iseq
	subs	r7, r0, #0
	beq	.L55
.L25:
	mov	r0, r5
	bl	pfree
	add	r0, sp, #40
	bl	tsearch_readline
	subs	r5, r0, #0
	bne	.L26
.L54:
	ldr	r3, [sp, #20]
	ldr	r2, [sp, #16]
	add	r0, sp, #40
	str	r2, [r3]
	bl	tsearch_readline_end
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L56
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L55:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, r7
	strne	r5, [sp, #32]
	strne	r7, [sp, #28]
	movne	r5, r3
	bne	.L8
	b	.L57
.L11:
	ldr	r3, [r9]
	cmp	r3, r6
	beq	.L58
	ldr	r3, [r8]
	cmp	r3, r6
	beq	.L59
	ldr	r3, [fp]
	cmp	r3, r6
	beq	.L60
	ldr	r3, .L66+24
	mov	r2, r6
	ldr	r1, .L66+28
	ldr	r0, [r3]
	bl	elog
.L14:
	mov	r0, r4
	bl	pg_mblen
	ldrb	r3, [r4, r0]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
.L8:
	ldr	r3, [r10]
	cmp	r3, r6
	bne	.L11
	mov	r1, #58
	mov	r0, r4
	bl	t_iseq
	cmp	r0, #0
	beq	.L12
	cmp	r7, #0
	beq	.L62
.L51:
	ldr	r6, [r8]
	b	.L14
.L60:
	mov	r0, r4
	bl	t_isspace
	cmp	r0, #0
	beq	.L14
	cmp	r4, r5
	beq	.L63
.L21:
	ldr	r3, [sp, #24]
	mov	r2, r4
	str	r3, [sp, #8]
	ldr	r3, [sp, #28]
	mov	r1, r5
	add	ip, r3, #1
	str	r3, [sp]
	ldr	r0, [sp, #20]
	ldr	r3, [sp, #16]
	str	r7, [sp, #4]
	str	ip, [sp, #28]
	bl	addWrd
	ldr	r6, [r8]
	b	.L14
.L58:
	mov	r1, #58
	mov	r0, r4
	bl	t_iseq
	cmp	r0, #0
	beq	.L16
	str	r7, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r3, [sp, #16]
	ldr	r0, [sp, #20]
	add	r7, r7, #1
	bl	newLexeme
	b	.L51
.L59:
	mov	r1, #42
	mov	r0, r4
	bl	t_iseq
	subs	r3, r0, #0
	str	r3, [sp, #36]
	beq	.L18
	mov	r0, r4
	ldr	r6, [fp]
	bl	pg_mblen
	mov	r3, #1
	add	r5, r4, r0
	str	r3, [sp, #24]
	b	.L14
.L61:
	clz	r3, r7
	mov	r2, r3
	ldr	r3, [fp]
	lsr	r2, r2, #5
	cmp	r3, r6
	str	r5, [sp, #36]
	ldr	r5, [sp, #32]
	str	r2, [sp, #32]
	beq	.L22
	mov	r3, r2
	ldr	r2, [sp, #28]
	cmp	r2, #0
	moveq	r3, #1
	str	r3, [sp, #32]
.L23:
	ldr	r3, [sp, #32]
	cmp	r3, #0
	ldr	r3, [sp, #16]
	add	r3, r3, #1
	str	r3, [sp, #16]
	beq	.L25
.L27:
	ldr	r2, .L66+32
	ldr	r3, .L66+24
	ldr	r0, [r2]
	ldr	r4, [r3]
	bl	errcode
	ldr	r0, .L66+36
	bl	errmsg
	mov	r1, r0
	mov	r0, r4
	bl	ereport
	b	.L25
.L16:
	mov	r0, r4
	bl	t_isspace
	cmp	r0, #0
	beq	.L14
	str	r7, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r3, [sp, #16]
	ldr	r0, [sp, #20]
	bl	newLexeme
	add	r7, r7, #1
	ldr	r6, [r10]
	b	.L14
.L18:
	mov	r1, #92
	mov	r0, r4
	bl	t_iseq
	cmp	r0, #0
	mov	r0, r4
	bne	.L64
	bl	t_isspace
	cmp	r0, #0
	moveq	r5, r4
	ldreq	r6, [fp]
	streq	r0, [sp, #24]
	b	.L14
.L22:
	ldr	r3, [sp, #36]
	cmp	r3, r4
	beq	.L65
.L24:
	ldr	r3, [sp, #24]
	mov	r2, r4
	str	r3, [sp, #8]
	ldr	r3, [sp, #28]
	ldr	r1, [sp, #36]
	str	r3, [sp]
	ldr	r0, [sp, #20]
	ldr	r3, [sp, #16]
	str	r7, [sp, #4]
	bl	addWrd
	b	.L23
.L12:
	mov	r0, r4
	bl	t_isspace
	cmp	r0, #0
	moveq	r5, r4
	ldreq	r6, [r9]
	b	.L14
.L53:
	ldr	r2, .L66+32
	ldr	r3, .L66+24
	ldr	r0, [r2]
	ldr	r5, [r3]
	bl	errcode
	mov	r1, r4
	ldr	r0, .L66+40
	bl	errmsg
	mov	r1, r0
	mov	r0, r5
	bl	ereport
	b	.L2
.L62:
	ldr	r3, .L66+32
	ldr	r0, [r3]
	ldr	r3, .L66+24
	ldr	r6, [r3]
	bl	errcode
	ldr	r0, .L66+44
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	b	.L51
.L64:
	ldr	r6, [fp]
	bl	pg_mblen
	ldr	r3, [sp, #36]
	add	r5, r4, r0
	str	r3, [sp, #24]
	b	.L14
.L63:
	ldr	r3, .L66+32
	ldr	r0, [r3]
	ldr	r3, .L66+24
	ldr	r6, [r3]
	bl	errcode
	ldr	r0, .L66+48
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	b	.L21
.L57:
	ldr	r3, [fp]
	cmp	r3, r6
	beq	.L31
	ldr	r3, [sp, #16]
	add	r3, r3, #1
	str	r3, [sp, #16]
	b	.L27
.L65:
	ldr	r2, .L66+32
	ldr	r3, .L66+24
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	errcode
	ldr	r0, .L66+48
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	b	.L24
.L31:
	mov	r3, #1
	str	r7, [sp, #28]
	str	r3, [sp, #32]
	str	r7, [sp, #36]
	b	.L24
.L56:
	bl	__stack_chk_fail
.L67:
	.align	2
.L66:
	.word	.LC6
	.word	.LC0
	.word	TR_WAITLEX
	.word	TR_INSUBS
	.word	TR_INLEX
	.word	TR_WAITSUBS
	.word	ERROR
	.word	.LC4
	.word	ERRCODE_CONFIG_FILE_ERROR
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	thesaurusRead, .-thesaurusRead
	.comm	TR_WAITSUBS,4,4
	.comm	TR_WAITLEX,4,4
	.comm	TR_INSUBS,4,4
	.comm	TR_INLEX,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_CONFIG_FILE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
