	.file	"637237.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Starting encipher"
.LC1:
	.string	"State at init:"
	.align 8
.LC2:
	.string	"key[0] = 0x%08x, key[0] = 0x%08x, key[0] = 0x%08x, key[0] = 0x%08x\n"
	.align 8
.LC3:
	.string	"v0 = 0x%08x, v1 = 0x%08x, sum = 0x%08x\n"
.LC4:
	.string	"round: %02d\n"
	.align 8
.LC5:
	.string	"v0_0_0 = 0x%08x, v0_0_1 = 0x%08x, v0_0 = 0x%08x, v0_1 = 0x%08x, v0_delta = 0x%08x, v0 = 0x%08x\n"
.LC6:
	.string	"sum = 0x%08x\n"
	.align 8
.LC7:
	.string	"v1_0 = 0x%08x, v1_1 = 0x%08x, v1_delta = 0x%08x, v1 = 0x%08x\n"
	.text
	.globl	enc
	.type	enc, @function
enc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], -1640531527
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 4
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	shr	eax, 5
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	xor	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 3
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	xor	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	DWORD PTR -48[rbp], eax
	mov	r8d, DWORD PTR -16[rbp]
	mov	edi, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	sub	rsp, 8
	mov	esi, DWORD PTR -48[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -36[rbp]
	add	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	shr	eax, 5
	xor	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	shr	eax, 11
	mov	eax, eax
	and	eax, 3
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	xor	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -44[rbp], eax
	mov	esi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -52[rbp], 1
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jb	.L3
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	enc, .-enc
	.section	.rodata
.LC8:
	.string	"Starting decipher."
	.align 8
.LC9:
	.string	"v0 = 0x%04x, v1 = 0x%04x, sum = 0x%04x\n"
	.align 8
.LC10:
	.string	"v1_delta = 0x%04x, v1 = 0x%04x\n"
.LC11:
	.string	"sum = 0x%04x\n"
	.align 8
.LC12:
	.string	"v0_delta = 0x%04x, v0 = 0x%04x\n"
	.text
	.globl	dec
	.type	dec, @function
dec:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -12[rbp], -1640531527
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 5
	xor	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 11
	mov	eax, eax
	and	eax, 3
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	xor	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	sub	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 5
	xor	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 3
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	xor	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L5:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L6
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dec, .-dec
	.section	.rodata
	.align 8
.LC13:
	.string	"Reference model for XTEA block cipher"
	.align 8
.LC14:
	.string	"-------------------------------------"
	.align 8
.LC15:
	.string	"Block before encipher: 0x%04x 0x%04x\n"
	.align 8
.LC16:
	.string	"Block after encipher:  0x%04x 0x%04x\n"
	.align 8
.LC17:
	.string	"Block after decipher:  0x%04x 0x%04x\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 66051
	mov	DWORD PTR -28[rbp], 67438087
	mov	DWORD PTR -24[rbp], 134810123
	mov	DWORD PTR -20[rbp], 202182159
	mov	DWORD PTR -40[rbp], 1094861636
	mov	DWORD PTR -36[rbp], 1162233672
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	enc
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	dec
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"637237.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Starting encipher\000"
	.align	2
.LC3:
	.ascii	"State at init:\000"
	.align	2
.LC4:
	.ascii	"key[0] = 0x%08x, key[0] = 0x%08x, key[0] = 0x%08x, "
	.ascii	"key[0] = 0x%08x\012\000"
	.align	2
.LC5:
	.ascii	"v0 = 0x%08x, v1 = 0x%08x, sum = 0x%08x\012\000"
	.align	2
.LC6:
	.ascii	"round: %02d\012\000"
	.align	2
.LC7:
	.ascii	"v0_0_0 = 0x%08x, v0_0_1 = 0x%08x, v0_0 = 0x%08x, v0"
	.ascii	"_1 = 0x%08x, v0_delta = 0x%08x, v0 = 0x%08x\012\000"
	.align	2
.LC8:
	.ascii	"sum = 0x%08x\012\000"
	.align	2
.LC9:
	.ascii	"v1_0 = 0x%08x, v1_1 = 0x%08x, v1_delta = 0x%08x, v1"
	.ascii	" = 0x%08x\012\000"
	.text
	.align	2
	.global	enc
	.syntax unified
	.arm
	.fpu softvfp
	.type	enc, %function
enc:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r0, .L4
	bl	puts
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L4+4
	str	r3, [fp, #-40]
	ldr	r0, .L4+8
	bl	puts
	ldr	r3, [fp, #-72]
	ldr	r1, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L4+12
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-52]
	ldr	r0, .L4+16
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L3:
	ldr	r1, [fp, #-56]
	ldr	r0, .L4+20
	bl	printf
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	lsr	r3, r3, #5
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	eor	r3, r3, r2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	eor	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L4+24
	bl	printf
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r1, [fp, #-44]
	ldr	r0, .L4+28
	bl	printf
	ldr	r3, [fp, #-52]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #5
	eor	r3, r3, r2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #11
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L4+32
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bcc	.L3
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	-1640531527
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	enc, .-enc
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Starting decipher.\000"
	.align	2
.LC11:
	.ascii	"v0 = 0x%04x, v1 = 0x%04x, sum = 0x%04x\012\000"
	.align	2
.LC12:
	.ascii	"v1_delta = 0x%04x, v1 = 0x%04x\012\000"
	.align	2
.LC13:
	.ascii	"sum = 0x%04x\012\000"
	.align	2
.LC14:
	.ascii	"v0_delta = 0x%04x, v0 = 0x%04x\012\000"
	.text
	.align	2
	.global	dec
	.syntax unified
	.arm
	.fpu softvfp
	.type	dec, %function
dec:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r0, .L9
	bl	puts
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L9+4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, .L9+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L7
.L8:
	ldr	r1, [fp, #-32]
	ldr	r0, .L9+12
	bl	printf
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-28]
	lsr	r3, r3, #5
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #11
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-12]
	ldr	r0, .L9+16
	bl	printf
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L9+20
	bl	printf
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #5
	eor	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-8]
	ldr	r0, .L9+24
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L8
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC10
	.word	-1640531527
	.word	.LC11
	.word	.LC6
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	dec, .-dec
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Reference model for XTEA block cipher\000"
	.align	2
.LC16:
	.ascii	"-------------------------------------\000"
	.align	2
.LC17:
	.ascii	"Block before encipher: 0x%04x 0x%04x\012\000"
	.align	2
.LC18:
	.ascii	"Block after encipher:  0x%04x 0x%04x\012\000"
	.align	2
.LC19:
	.ascii	"Block after decipher:  0x%04x 0x%04x\012\000"
	.align	2
.LC0:
	.word	66051
	.word	67438087
	.word	134810123
	.word	202182159
	.align	2
.LC1:
	.word	1094861636
	.word	1162233672
	.align	2
.LC20:
	.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, #32
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L14+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, .L14+8
	sub	r3, fp, #32
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r0, .L14+12
	bl	puts
	ldr	r0, .L14+16
	bl	puts
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L14+20
	bl	printf
	mov	r0, #10
	bl	putchar
	sub	r2, fp, #24
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #32
	bl	enc
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L14+24
	bl	printf
	mov	r0, #10
	bl	putchar
	sub	r2, fp, #24
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #32
	bl	dec
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L14+28
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC20
	.word	.LC0
	.word	.LC1
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
