	.file	"81626.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"plain: %s"
.LC1:
	.string	"\nEnciphered text: %s"
.LC2:
	.string	"\nDeciphered text: %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 248
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -240[rbp]
	movabs	rsi, 8027139031435933009
	movabs	rdi, 2338336246959054968
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rcx, 7307218078115657327
	movabs	rbx, 8242185974157765664
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	movabs	rsi, 3343763724177405807
	mov	QWORD PTR 32[rax], rsi
	mov	BYTE PTR 40[rax], 0
	lea	rax, -128[rbp]
	mov	DWORD PTR [rax], 1801807988
	mov	WORD PTR 4[rax], 31077
	mov	BYTE PTR 6[rax], 0
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -248[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -244[rbp], 0
	jmp	.L3
.L5:
	mov	edx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, edx
	movsx	rbx, eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L4
	mov	edx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, edx
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	movsx	eax, al
	add	eax, edx
	mov	esi, 256
	mov	edi, eax
	call	mod
	mov	edx, eax
	mov	ecx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, ecx
	cdqe
	mov	BYTE PTR -240[rbp+rax], dl
.L4:
	add	DWORD PTR -244[rbp], 1
.L3:
	mov	eax, DWORD PTR -244[rbp]
	movsx	rbx, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L5
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -248[rbp]
	add	eax, edx
	mov	DWORD PTR -248[rbp], eax
.L2:
	mov	eax, DWORD PTR -248[rbp]
	movsx	rbx, eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L6
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -248[rbp], 0
	jmp	.L7
.L11:
	mov	DWORD PTR -244[rbp], 0
	jmp	.L8
.L10:
	mov	edx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, edx
	movsx	rbx, eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L9
	mov	edx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, edx
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	movsx	ecx, al
	mov	eax, edx
	sub	eax, ecx
	mov	esi, 256
	mov	edi, eax
	call	mod
	mov	edx, eax
	mov	ecx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	add	eax, ecx
	cdqe
	mov	BYTE PTR -240[rbp+rax], dl
.L9:
	add	DWORD PTR -244[rbp], 1
.L8:
	mov	eax, DWORD PTR -244[rbp]
	movsx	rbx, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L10
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -248[rbp]
	add	eax, edx
	mov	DWORD PTR -248[rbp], eax
.L7:
	mov	eax, DWORD PTR -248[rbp]
	movsx	rbx, eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L11
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	mod
	.type	mod, @function
mod:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	jns	.L15
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	mov	edi, edx
	call	special
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -8[rbp]
	mov	eax, edx
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mod, .-mod
	.globl	special
	.type	special, @function
special:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	js	.L18
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L19
.L18:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	mov	edi, edx
	call	special
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	special, .-special
	.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	"81626.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Quick fox jumps over the lazy brown dog.\000"
	.align	2
.LC1:
	.ascii	"thekey\000"
	.align	2
.LC2:
	.ascii	"plain: %s\000"
	.align	2
.LC3:
	.ascii	"\012Enciphered text: %s\000"
	.align	2
.LC4:
	.ascii	"\012Deciphered text: %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #220
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #216
	ldr	r2, .L14+4
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strb	r2, [ip]
	sub	r3, fp, #116
	ldr	r2, .L14+8
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L3
.L5:
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	mov	r4, r3
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	bcs	.L4
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	mov	r1, r3
	sub	r2, fp, #116
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	mov	r1, #256
	mov	r0, r3
	bl	mod
	mov	r1, r0
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	and	r2, r1, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-204]
.L4:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L3:
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-220]
	cmp	r2, r3
	bhi	.L5
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	add	r3, r2, r3
	str	r3, [fp, #-224]
.L2:
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bhi	.L6
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L7
.L11:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L8
.L10:
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	mov	r4, r3
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	bcs	.L9
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	mov	r1, r3
	sub	r2, fp, #116
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r1, r3
	mov	r1, #256
	mov	r0, r3
	bl	mod
	mov	r1, r0
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	and	r2, r1, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-204]
.L9:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L8:
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-220]
	cmp	r2, r3
	bhi	.L10
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	add	r3, r2, r3
	str	r3, [fp, #-224]
.L7:
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bhi	.L11
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L14+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	mod
	.syntax unified
	.arm
	.fpu softvfp
	.type	mod, %function
mod:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L17
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	special
	mov	r3, r0
	b	.L18
.L17:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mod, .-mod
	.align	2
	.global	special
	.syntax unified
	.arm
	.fpu softvfp
	.type	special, %function
special:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L20
	ldr	r3, [fp, #-8]
	b	.L21
.L20:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	special
	mov	r3, r0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	special, .-special
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
