	.file	"161229.c"
	.intel_syntax noprefix
	.text
	.globl	test_little_endian
	.type	test_little_endian, @function
test_little_endian:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 1
	lea	rax, -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	sete	al
	movzx	eax, al
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test_little_endian, .-test_little_endian
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"Can't open output file %s\n"
.LC2:
	.string	"0x%08x, "
	.text
	.globl	longs_to_file
	.type	longs_to_file, @function
longs_to_file:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, 0
	call	test_little_endian
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L6
.L11:
	cmp	DWORD PTR -12[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 8
	or	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 16
	or	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 24
	or	DWORD PTR -20[rbp], eax
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 24
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 16
	or	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	sal	eax, 8
	or	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	movzx	eax, al
	or	DWORD PTR -20[rbp], eax
.L8:
	cmp	DWORD PTR -16[rbp], 3
	jne	.L9
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
.L9:
	cmp	DWORD PTR -16[rbp], 5
	jne	.L10
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
.L10:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -16[rbp], 1
.L6:
	cmp	DWORD PTR -16[rbp], 7
	jle	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	longs_to_file, .-longs_to_file
	.section	.rodata
.LC3:
	.string	"0x%02x, "
	.text
	.globl	bytes_to_file
	.type	bytes_to_file, @function
bytes_to_file:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 7
	cmp	eax, 7
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L15:
	add	DWORD PTR -16[rbp], 1
.L14:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L16
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 7
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	bytes_to_file, .-bytes_to_file
	.section	.rodata
.LC4:
	.string	"forth.dic"
.LC5:
	.string	"rb"
.LC6:
	.string	"Can't open input file %s\n"
.LC7:
	.string	"dicthdr.h"
.LC8:
	.string	"dict.h"
.LC9:
	.string	"userarea.h"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 2
	je	.L19
	lea	rax, .LC4[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L20:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	lea	rcx, -28[rbp]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 8
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	longs_to_file
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	call	bytes_to_file
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	bytes_to_file
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"161229.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_little_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_little_endian, %function
test_little_endian:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	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	test_little_endian, .-test_little_endian
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"Can't open output file %s\012\000"
	.align	2
.LC3:
	.ascii	"0x%08x, \000"
	.text
	.align	2
	.global	longs_to_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	longs_to_file, %function
longs_to_file:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L14
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L14+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	bl	test_little_endian
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #8
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #16
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #24
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L10
.L9:
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #24
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #16
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	lsl	r3, r3, #8
	ldr	r2, [fp, #-20]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-20]
	orr	r3, r3, r2
	str	r3, [fp, #-20]
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L11
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L12
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L12:
	ldr	r2, [fp, #-20]
	ldr	r1, .L14+12
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L13
	ldr	r1, [fp, #-12]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.size	longs_to_file, .-longs_to_file
	.section	.rodata
	.align	2
.LC4:
	.ascii	"0x%02x, \000"
	.text
	.align	2
	.global	bytes_to_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	bytes_to_file, %function
bytes_to_file:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r1, .L22
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L22+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L17:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L20:
	ldr	r0, [fp, #-28]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, .L22+12
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-16]
	and	r3, r3, #7
	cmp	r3, #7
	bne	.L19
	ldr	r1, [fp, #-12]
	mov	r0, #10
	bl	fputc
.L19:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-16]
	and	r3, r3, #7
	cmp	r3, #0
	beq	.L21
	ldr	r1, [fp, #-12]
	mov	r0, #10
	bl	fputc
.L21:
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC4
	.size	bytes_to_file, .-bytes_to_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	"forth.dic\000"
	.align	2
.LC6:
	.ascii	"rb\000"
	.align	2
.LC7:
	.ascii	"Can't open input file %s\012\000"
	.align	2
.LC8:
	.ascii	"dicthdr.h\000"
	.align	2
.LC9:
	.ascii	"dict.h\000"
	.align	2
.LC10:
	.ascii	"userarea.h\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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L25
	ldr	r3, .L30+4
	str	r3, [fp, #-16]
	b	.L26
.L25:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L26:
	ldr	r1, .L30+8
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L30+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L27:
	sub	r2, fp, #24
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #8
	ldr	r1, [fp, #-12]
	ldr	r0, .L30+20
	bl	longs_to_file
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L30+24
	bl	bytes_to_file
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L30+28
	bl	bytes_to_file
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC11
	.word	.LC5
	.word	.LC6
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
