	.file	"36075696.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s "
	.text
	.globl	encryption
	.type	encryption, @function
encryption:
.LFB6:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movabs	rax, 5208208757389214273
	movabs	rdx, 5786930140093827657
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	movabs	rax, 6365651522798441041
	mov	QWORD PTR -48[rbp], rax
	mov	WORD PTR -40[rbp], 23129
	mov	BYTE PTR -38[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L2
.L10:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	edx, BYTE PTR -64[rbp+rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L4
	mov	eax, DWORD PTR -68[rbp]
	lea	ecx, 3[rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movsx	rax, ecx
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR [rdx], al
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	jne	.L6
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 65
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 89
	jne	.L7
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 66
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jne	.L8
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 67
	jmp	.L5
.L8:
	add	DWORD PTR -68[rbp], 1
.L3:
	cmp	DWORD PTR -68[rbp], 22
	jle	.L9
.L5:
	add	DWORD PTR -72[rbp], 1
.L2:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L10
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	encryption, .-encryption
	.section	.rodata
.LC1:
	.string	"%s"
	.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, 16
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	encryption
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L14
	mov	eax, 0
	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	"36075696.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s \000"
	.align	2
.LC0:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	encryption
	.syntax unified
	.arm
	.fpu softvfp
	.type	encryption, %function
encryption:
	@ 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, #-48]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L2
.L10:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L3
.L9:
	sub	r2, fp, #36
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-40]
	add	r2, r3, #3
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	sub	r1, fp, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-32]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L5
.L4:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L6
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #65
	strb	r2, [r3]
	b	.L5
.L6:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #89
	bne	.L7
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #66
	strb	r2, [r3]
	b	.L5
.L7:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bne	.L8
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #67
	strb	r2, [r3]
	b	.L5
.L8:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L3:
	ldr	r3, [fp, #-40]
	cmp	r3, #22
	ble	.L9
.L5:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L2:
	ldr	r0, [fp, #-48]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bhi	.L10
	ldr	r1, [fp, #-48]
	ldr	r0, .L12+8
	bl	printf
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	encryption, .-encryption
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L15
.L16:
	ldr	r0, [fp, #-8]
	bl	encryption
.L15:
	ldr	r1, [fp, #-8]
	ldr	r0, .L18
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
