	.file	"460572.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 32
x:
	.zero	32
	.section	.rodata
.LC0:
	.string	"%c"
	.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
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	encrypt
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, -1
	jne	.L3
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	encrypt
	.type	encrypt, @function
encrypt:
.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, 48
	mov	eax, edi
	mov	BYTE PTR -36[rbp], al
	movsx	eax, BYTE PTR -36[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	edx, 32
	mov	esi, 0
	lea	rdi, x[rip]
	call	memset@PLT
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 127[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 7
	mov	DWORD PTR x[rip+28], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 25
	add	eax, edx
	and	eax, 127
	sub	eax, edx
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	DWORD PTR x[rip+24], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	lea	edx, 31[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 5
	mov	DWORD PTR x[rip+20], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 27
	add	eax, edx
	and	eax, 31
	sub	eax, edx
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	mov	DWORD PTR x[rip+16], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 28
	add	eax, edx
	and	eax, 15
	sub	eax, edx
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	DWORD PTR x[rip+12], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	DWORD PTR x[rip+8], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR x[rip+4], eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR x[rip], eax
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR x[rip+4]
	mov	DWORD PTR x[rip], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR x[rip+4], eax
	mov	eax, DWORD PTR x[rip+8]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR x[rip+12]
	mov	DWORD PTR x[rip+8], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR x[rip+12], eax
	mov	eax, DWORD PTR x[rip+16]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR x[rip+20]
	mov	DWORD PTR x[rip+16], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR x[rip+20], eax
	mov	edx, DWORD PTR x[rip+24]
	mov	eax, DWORD PTR x[rip+28]
	add	eax, eax
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR x[rip+20]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR x[rip+16]
	mov	DWORD PTR x[rip+20], eax
	mov	eax, DWORD PTR x[rip+12]
	mov	DWORD PTR x[rip+16], eax
	mov	eax, DWORD PTR x[rip+8]
	mov	DWORD PTR x[rip+12], eax
	mov	eax, DWORD PTR x[rip+4]
	mov	DWORD PTR x[rip+8], eax
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR x[rip+4], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR x[rip], eax
	add	DWORD PTR -20[rbp], 1
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L8
	mov	eax, DWORD PTR x[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR x[rip+8]
	mov	esi, eax
	mov	eax, DWORD PTR x[rip+16]
	mov	edi, eax
	mov	eax, DWORD PTR x[rip+24]
	mov	edx, eax
	mov	eax, DWORD PTR x[rip+28]
	add	eax, eax
	add	eax, edx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR x[rip+20]
	add	eax, edx
	add	eax, eax
	add	eax, edi
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR x[rip+12]
	add	eax, edx
	add	eax, eax
	add	eax, esi
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR x[rip+4]
	add	eax, edx
	add	eax, eax
	add	eax, ecx
	mov	BYTE PTR -21[rbp], al
	movzx	eax, BYTE PTR -21[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	encrypt, .-encrypt
	.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	"460572.c"
	.text
	.comm	x,32,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.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
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L4+4
	bl	__isoc99_scanf
.L2:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	encrypt
	mov	r3, r0
	mov	r0, r3
	bl	putchar
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L4+4
	bl	__isoc99_scanf
	b	.L2
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	encrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	encrypt, %function
encrypt:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, r0
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	mov	r2, #32
	mov	r1, #0
	ldr	r0, .L10
	bl	memset
	ldr	r3, [fp, #-20]
	add	r2, r3, #127
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #7
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #28]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #127
	and	r2, r2, #127
	rsbpl	r3, r2, #0
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #24]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #63
	and	r2, r2, #63
	rsbpl	r3, r2, #0
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #20]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #31
	and	r2, r2, #31
	rsbpl	r3, r2, #0
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #15
	and	r2, r2, #15
	rsbpl	r3, r2, #0
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L10
	ldr	r3, [r3, #4]
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r2, .L10
	ldr	r3, [fp, #-16]
	str	r3, [r2, #4]
	ldr	r3, .L10
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, .L10
	ldr	r3, [r3, #12]
	ldr	r2, .L10
	str	r3, [r2, #8]
	ldr	r2, .L10
	ldr	r3, [fp, #-16]
	str	r3, [r2, #12]
	ldr	r3, .L10
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	ldr	r3, .L10
	ldr	r3, [r3, #20]
	ldr	r2, .L10
	str	r3, [r2, #16]
	ldr	r2, .L10
	ldr	r3, [fp, #-16]
	str	r3, [r2, #20]
	ldr	r3, .L10
	ldr	r2, [r3, #24]
	ldr	r3, .L10
	ldr	r3, [r3, #28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L7
.L8:
	ldr	r3, .L10
	ldr	r3, [r3, #20]
	str	r3, [fp, #-8]
	ldr	r3, .L10
	ldr	r3, [r3, #16]
	ldr	r2, .L10
	str	r3, [r2, #20]
	ldr	r3, .L10
	ldr	r3, [r3, #12]
	ldr	r2, .L10
	str	r3, [r2, #16]
	ldr	r3, .L10
	ldr	r3, [r3, #8]
	ldr	r2, .L10
	str	r3, [r2, #12]
	ldr	r3, .L10
	ldr	r3, [r3, #4]
	ldr	r2, .L10
	str	r3, [r2, #8]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10
	str	r3, [r2, #4]
	ldr	r2, .L10
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L7:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L8
	ldr	r3, .L10
	ldr	r3, [r3]
	and	r2, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #8]
	and	r1, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #16]
	and	r0, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #24]
	and	ip, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #28]
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r3, r3, #255
	add	r3, ip, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	ip, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #20]
	and	r3, r3, #255
	add	r3, ip, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r3, r3, #255
	add	r3, r0, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r0, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #12]
	and	r3, r3, #255
	add	r3, r0, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r3, r3, #255
	add	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r1, r3, #255
	ldr	r3, .L10
	ldr	r3, [r3, #4]
	and	r3, r3, #255
	add	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	and	r3, r3, #255
	add	r3, r2, r3
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	x
	.size	encrypt, .-encrypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
