	.file	"654009.c"
	.intel_syntax noprefix
	.text
	.globl	xorText
	.type	xorText, @function
xorText:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	seta	al
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	imul	rcx, rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	setbe	al
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rdx
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jb	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	xorText, .-xorText
	.globl	hashText
	.type	hashText, @function
hashText:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rsi
	mov	r10, rdi
	mov	rsi, r10
	mov	rdi, r11
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	eax, r8d
	mov	DWORD PTR -56[rbp], r9d
	mov	BYTE PTR -52[rbp], al
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR -9[rbp], al
	mov	QWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	xor	al, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	esi, BYTE PTR [rax]
	mov	rdi, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	add	rax, rdi
	movzx	edx, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	xor	edx, esi
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	add	QWORD PTR -8[rbp], 1
.L5:
	mov	rax, QWORD PTR -24[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hashText, .-hashText
	.globl	swapLandR
	.type	swapLandR, @function
swapLandR:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	swapLandR, .-swapLandR
	.globl	applyRound
	.type	applyRound, @function
applyRound:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	eax, r8d
	mov	DWORD PTR -56[rbp], r9d
	mov	BYTE PTR -52[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	movsx	ecx, BYTE PTR -52[rbp]
	mov	r8d, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdi, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rax
	call	hashText
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdi, QWORD PTR [rcx]
	mov	rsi, QWORD PTR 8[rcx]
	mov	rcx, rdx
	mov	rdx, rax
	call	xorText
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swapLandR
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	applyRound, .-applyRound
	.globl	applyRounds
	.type	applyRounds, @function
applyRounds:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	eax, r8d
	mov	DWORD PTR -56[rbp], r9d
	mov	BYTE PTR -52[rbp], al
	mov	QWORD PTR -8[rbp], 0
	jmp	.L10
.L11:
	movsx	ecx, BYTE PTR -52[rbp]
	mov	r8d, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rdi, QWORD PTR -24[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rax
	call	applyRound
	add	QWORD PTR -8[rbp], 1
.L10:
	cmp	QWORD PTR -8[rbp], 20
	jbe	.L11
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swapLandR
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	applyRounds, .-applyRounds
	.section	.rodata
.LC0:
	.string	"Error allocating more memory."
	.text
	.globl	getText
	.type	getText, @function
getText:
.LFB11:
	.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	edi, 2560
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 2560
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L14
	add	QWORD PTR -32[rbp], 2560
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -48[rbp], rax
.L15:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 13
	call	exit@PLT
.L14:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -52[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -40[rbp], 1
	call	getchar@PLT
	mov	DWORD PTR -52[rbp], eax
.L13:
	cmp	DWORD PTR -52[rbp], -1
	jne	.L16
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getText, .-getText
	.section	.rodata
	.align 8
.LC1:
	.string	"How to use: ./dannycrypt [KEY]"
	.align 8
.LC2:
	.string	"Then type into stdin either the text to en/decrypt."
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 0
	mov	eax, 0
	call	getText
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	cmp	DWORD PTR -148[rbp], 2
	je	.L19
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L28
.L19:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	and	eax, 127
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	je	.L21
	mov	DWORD PTR -132[rbp], 0
	jmp	.L22
.L23:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	add	rax, rcx
	add	rax, 1
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -132[rbp], 1
.L22:
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	eax, 128
	sub	rax, QWORD PTR -104[rbp]
	cmp	rdx, rax
	jb	.L23
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -104[rbp]
	sub	rax, -128
	mov	QWORD PTR -72[rbp], rax
.L21:
	mov	rax, QWORD PTR -72[rbp]
	shr	rax, 7
	mov	QWORD PTR -96[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -133[rbp], al
	mov	QWORD PTR -128[rbp], 0
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -128[rbp]
	sal	rax, 7
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -112[rbp], 64
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	add	rdx, rcx
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	r8d, eax
	movsx	ecx, BYTE PTR -133[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, -32[rbp]
	lea	rdi, -48[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rax
	call	applyRounds
	add	QWORD PTR -128[rbp], 1
.L24:
	mov	rax, QWORD PTR -128[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jb	.L25
	mov	QWORD PTR -120[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	QWORD PTR -120[rbp], 1
.L26:
	mov	rax, QWORD PTR -72[rbp]
	cmp	QWORD PTR -120[rbp], rax
	jb	.L27
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L28:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"654009.c"
	.text
	.align	2
	.global	xorText
	.syntax unified
	.arm
	.fpu softvfp
	.type	xorText, %function
xorText:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	sub	ip, fp, #20
	stm	ip, {r0, r1}
	sub	r1, fp, #28
	stm	r1, {r2, r3}
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mul	r2, r3, r2
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r1, r3
	movls	r3, #1
	movhi	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-16]
	mul	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r0, r3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	xorText, .-xorText
	.global	__aeabi_uidivmod
	.align	2
	.global	hashText
	.syntax unified
	.arm
	.fpu softvfp
	.type	hashText, %function
hashText:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	sub	ip, fp, #28
	stm	ip, {r0, r1}
	sub	r1, fp, #36
	stm	r1, {r2, r3}
	ldrb	r3, [fp, #4]
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L6:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-17]
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r4, [r3]	@ zero_extendqisi2
	ldr	r5, [fp, #-36]
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	add	r3, r5, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	eor	r2, r2, r4
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L6
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	hashText, .-hashText
	.align	2
	.global	swapLandR
	.syntax unified
	.arm
	.fpu softvfp
	.type	swapLandR, %function
swapLandR:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	swapLandR, .-swapLandR
	.align	2
	.global	applyRound
	.syntax unified
	.arm
	.fpu softvfp
	.type	applyRound, %function
applyRound:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	sub	r1, fp, #28
	stm	r1, {r2, r3}
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	str	r3, [sp]
	sub	r3, fp, #28
	ldm	r3, {r2, r3}
	sub	r1, fp, #12
	ldm	r1, {r0, r1}
	bl	hashText
	ldr	r1, [fp, #-16]
	sub	r3, fp, #12
	ldm	r3, {r2, r3}
	ldm	r1, {r0, r1}
	bl	xorText
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	free
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	swapLandR
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	applyRound, .-applyRound
	.align	2
	.global	applyRounds
	.syntax unified
	.arm
	.fpu softvfp
	.type	applyRounds, %function
applyRounds:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	sub	r1, fp, #28
	stm	r1, {r2, r3}
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	str	r3, [sp]
	sub	r3, fp, #28
	ldm	r3, {r2, r3}
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	applyRound
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #20
	bls	.L11
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	swapLandR
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	applyRounds, .-applyRounds
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error allocating more memory.\000"
	.text
	.align	2
	.global	getText
	.syntax unified
	.arm
	.fpu softvfp
	.type	getText, %function
getText:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r0, #2560
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	bl	getchar
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #2560
	str	r3, [fp, #-20]
	b	.L13
.L16:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L14
	ldr	r3, [fp, #-20]
	add	r3, r3, #2560
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	realloc
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L15
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-32]
.L15:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L18+4
	bl	fwrite
	mov	r0, #13
	bl	exit
.L14:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	bl	getchar
	str	r0, [fp, #-28]
.L13:
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L16
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-40]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	stderr
	.word	.LC0
	.size	getText, .-getText
	.section	.rodata
	.align	2
.LC1:
	.ascii	"How to use: ./dannycrypt [KEY]\000"
	.align	2
.LC2:
	.ascii	"Then type into stdin either the text to en/decrypt."
	.ascii	"\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #40
	mov	r0, r3
	bl	getText
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	beq	.L21
	ldr	r0, .L32+4
	bl	puts
	ldr	r0, .L32+8
	bl	puts
	mov	r3, #1
	b	.L30
.L21:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	and	r3, r3, #127
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L23
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L24
.L25:
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-68]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L24:
	ldr	r3, [fp, #-52]
	rsb	r2, r3, #128
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	bhi	.L25
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r3, r3, #128
	str	r3, [fp, #-36]
.L23:
	ldr	r3, [fp, #-36]
	lsr	r3, r3, #7
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-69]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L26
.L27:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #7
	str	r3, [fp, #-44]
	mov	r3, #64
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-64]
	sub	r1, fp, #16
	sub	r0, fp, #24
	str	r3, [sp, #4]
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	str	r3, [sp]
	sub	r3, fp, #32
	ldm	r3, {r2, r3}
	bl	applyRounds
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L26:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L27
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L28
.L29:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L28:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bcc	.L29
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	free
	mov	r3, #0
.L30:
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
