	.file	"425429.c"
	.intel_syntax noprefix
	.text
	.globl	reverse
	.type	reverse, @function
reverse:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR -12[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 8
	mov	BYTE PTR -11[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 16
	mov	BYTE PTR -10[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 24
	mov	BYTE PTR -9[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -11[rbp]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -10[rbp]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	or	eax, edx
	cdqe
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	reverse, .-reverse
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"dict.preparsed"
.LC2:
	.string	"wb"
.LC3:
	.string	"dict.index"
.LC4:
	.string	"dict.desc"
	.align 8
.LC5:
	.string	"Error: Some files couldn't be opened\n"
.LC6:
	.string	"\t"
.LC7:
	.string	"Parse error!\n"
.LC8:
	.string	"word: %s\ndesc: %s\n"
.LC9:
	.string	"\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1936
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -10112[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -10096[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -10088[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -10080[rbp], rax
	cmp	QWORD PTR -10096[rbp], 0
	je	.L5
	cmp	QWORD PTR -10088[rbp], 0
	je	.L5
	cmp	QWORD PTR -10080[rbp], 0
	jne	.L8
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L14
.L13:
	lea	rax, -10016[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -10072[rbp], rax
	lea	rsi, .LC6[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -10104[rbp], rax
	cmp	QWORD PTR -10072[rbp], 0
	je	.L9
	cmp	QWORD PTR -10104[rbp], 0
	jne	.L10
.L9:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -10104[rbp]
	mov	rdx, QWORD PTR -10072[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L14
.L10:
	mov	rcx, QWORD PTR -10072[rbp]
	lea	rax, -10064[rbp]
	mov	edx, 31
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -10112[rbp]
	mov	rdi, rax
	call	reverse
	mov	QWORD PTR -10032[rbp], rax
	mov	rdx, QWORD PTR -10088[rbp]
	lea	rax, -10064[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 40
	mov	rdi, rax
	call	fwrite@PLT
.L12:
	mov	rax, QWORD PTR -10104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -10116[rbp], eax
	mov	eax, DWORD PTR -10116[rbp]
	cdqe
	add	QWORD PTR -10112[rbp], rax
	mov	eax, DWORD PTR -10116[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -10080[rbp]
	mov	rax, QWORD PTR -10104[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	lea	rsi, .LC6[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -10104[rbp], rax
	cmp	QWORD PTR -10104[rbp], 0
	jne	.L11
	jmp	.L8
.L11:
	add	QWORD PTR -10112[rbp], 1
	mov	rax, QWORD PTR -10080[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	jmp	.L12
.L8:
	mov	rdx, QWORD PTR -10096[rbp]
	lea	rax, -10016[rbp]
	mov	esi, 10000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L13
	mov	eax, 0
.L14:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"425429.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	reverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse, %function
reverse:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	strb	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-11]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #16
	and	r3, r3, #255
	strb	r3, [fp, #-10]
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	orr	r3, r3, r2
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	reverse, .-reverse
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"dict.preparsed\000"
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"dict.index\000"
	.align	2
.LC5:
	.ascii	"dict.desc\000"
	.align	2
.LC6:
	.ascii	"Error: Some files couldn't be opened\012\000"
	.align	2
.LC7:
	.ascii	"\011\000"
	.align	2
.LC8:
	.ascii	"Parse error!\012\000"
	.align	2
.LC9:
	.ascii	"word: %s\012desc: %s\012\000"
	.align	2
.LC10:
	.ascii	"\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 10072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10048
	sub	sp, sp, #28
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1876]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L18+4
	ldr	r0, .L18+8
	bl	fopen
	str	r0, [r4, #-1868]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L18+12
	ldr	r0, .L18+16
	bl	fopen
	str	r0, [r4, #-1864]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L18+12
	ldr	r0, .L18+20
	bl	fopen
	str	r0, [r4, #-1860]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1868]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1864]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1860]
	cmp	r3, #0
	bne	.L10
.L7:
	ldr	r3, .L18+24
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L18+28
	bl	fwrite
	mov	r3, #1
	b	.L16
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, .L18+32
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-1856]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L18+32
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-1872]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1856]
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1872]
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r3, .L18+24
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L18+36
	bl	fwrite
	ldr	r3, .L18+24
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r3, [r3, #-1872]
	ldr	r2, [r2, #-1856]
	ldr	r1, .L18+40
	bl	fprintf
	mov	r3, #2
	b	.L16
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #56
	mov	r2, #31
	ldr	r1, [r1, #-1856]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1876]
	bl	reverse
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-1816]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r0, fp, #9984
	sub	r0, r0, #12
	sub	r0, r0, #56
	ldr	r3, [r3, #-1864]
	mov	r2, #1
	mov	r1, #36
	bl	fwrite
.L14:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1872]
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-1852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-1876]
	ldr	r3, [r3, #-1852]
	add	r3, r2, r3
	str	r3, [r1, #-1876]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-1852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r3, [r3, #-1860]
	mov	r2, #1
	ldr	r0, [r0, #-1872]
	bl	fwrite
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L18+32
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-1872]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1872]
	cmp	r3, #0
	bne	.L13
	b	.L10
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1876]
	add	r3, r3, #1
	str	r3, [r2, #-1876]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1860]
	mov	r2, #1
	mov	r1, #1
	ldr	r0, .L18+44
	bl	fwrite
	b	.L14
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r2, [r2, #-1868]
	ldr	r1, .L18+48
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
.L16:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	10000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
