	.file	"192069.c"
	.intel_syntax noprefix
	.text
	.globl	BUFFER
	.bss
	.align 32
	.type	BUFFER, @object
	.size	BUFFER, 512
BUFFER:
	.zero	512
	.globl	PLAIN_TEXT
	.align 32
	.type	PLAIN_TEXT, @object
	.size	PLAIN_TEXT, 128
PLAIN_TEXT:
	.zero	128
	.globl	CYPHER_TEXT
	.align 32
	.type	CYPHER_TEXT, @object
	.size	CYPHER_TEXT, 128
CYPHER_TEXT:
	.zero	128
	.globl	LENGTHS
	.align 32
	.type	LENGTHS, @object
	.size	LENGTHS, 128
LENGTHS:
	.zero	128
	.globl	ENCODE
	.data
	.align 32
	.type	ENCODE, @object
	.size	ENCODE, 240
ENCODE:
	.long	4
	.string	"\001\001"
	.string	""
	.long	4
	.string	""
	.string	""
	.string	""
	.ascii	"\001"
	.long	4
	.string	"\001"
	.string	"\001"
	.long	4
	.string	""
	.string	""
	.string	""
	.string	""
	.long	2
	.string	"\001"
	.string	""
	.zero	1
	.long	4
	.string	""
	.ascii	"\001\001\001"
	.long	4
	.string	""
	.string	"\001"
	.ascii	"\001"
	.long	3
	.string	""
	.string	"\001\001"
	.long	1
	.string	"\001"
	.zero	2
	.long	4
	.string	"\001\001"
	.ascii	"\001"
	.long	3
	.string	""
	.string	""
	.string	"\001"
	.long	4
	.ascii	"\001\001\001\001"
	.long	2
	.string	"\001\001"
	.zero	1
	.long	4
	.string	"\001"
	.string	""
	.string	""
	.long	3
	.string	""
	.string	"\001"
	.string	""
	.long	4
	.string	"\001"
	.ascii	"\001\001"
	.long	2
	.string	""
	.string	""
	.string	""
	.zero	1
	.long	2
	.string	""
	.string	"\001"
	.zero	1
	.long	3
	.string	""
	.string	""
	.string	""
	.string	""
	.long	4
	.string	"\001"
	.string	""
	.ascii	"\001"
	.long	4
	.string	""
	.string	""
	.string	"\001"
	.long	3
	.string	"\001"
	.string	"\001"
	.long	3
	.string	"\001\001\001"
	.long	1
	.string	""
	.string	""
	.zero	2
	.long	3
	.string	"\001\001"
	.string	""
	.long	4
	.string	"\001\001\001"
	.long	3
	.string	"\001"
	.string	""
	.string	""
	.long	4
	.string	""
	.string	"\001\001"
	.long	4
	.string	""
	.string	"\001"
	.string	""
	.long	4
	.string	""
	.string	""
	.ascii	"\001\001"
	.globl	DECODE
	.align 32
	.type	DECODE, @object
	.size	DECODE, 64
DECODE:
	.ascii	"TE**************MNAI************OGKDWRUS********?.QZYCXBJP,L"
	.ascii	"_FVH"
	.text
	.globl	encode
	.type	encode, @function
encode:
.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, 32
	lea	rdi, PLAIN_TEXT[rip]
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, PLAIN_TEXT[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -25[rbp], al
	movsx	eax, BYTE PTR -25[rbp]
	cmp	eax, 95
	je	.L3
	cmp	eax, 95
	jg	.L4
	cmp	eax, 63
	je	.L5
	cmp	eax, 63
	jg	.L4
	cmp	eax, 44
	je	.L6
	cmp	eax, 46
	je	.L7
	jmp	.L4
.L3:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L7:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L6:
	mov	DWORD PTR -12[rbp], 2
	jmp	.L8
.L5:
	mov	DWORD PTR -12[rbp], 3
	jmp	.L8
.L4:
	movsx	eax, BYTE PTR -25[rbp]
	sub	eax, 61
	mov	DWORD PTR -12[rbp], eax
	nop
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ENCODE[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, LENGTHS[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, LENGTHS[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rcx, rdx
	lea	rdx, ENCODE[rip+4]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	cdqe
	lea	rcx, BUFFER[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L10
	add	DWORD PTR -24[rbp], 1
.L2:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L11
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, BUFFER[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, LENGTHS[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	cdqe
	lea	rdx, BUFFER[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	add	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	add	DWORD PTR -20[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L14
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	sal	eax, 4
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, DECODE[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, CYPHER_TEXT[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -24[rbp], 1
.L12:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L15
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, CYPHER_TEXT[rip]
	mov	BYTE PTR [rax+rdx], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	encode, .-encode
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L17
.L18:
	lea	rsi, PLAIN_TEXT[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	encode
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, CYPHER_TEXT[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L17:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L18
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"192069.c"
	.text
	.comm	BUFFER,512,4
	.comm	PLAIN_TEXT,128,4
	.comm	CYPHER_TEXT,128,4
	.comm	LENGTHS,128,4
	.global	ENCODE
	.data
	.align	2
	.type	ENCODE, %object
	.size	ENCODE, 240
ENCODE:
	.word	4
	.ascii	"\001\001\000\000"
	.word	4
	.ascii	"\000\000\000\001"
	.word	4
	.ascii	"\001\000\001\000"
	.word	4
	.ascii	"\000\000\000\000"
	.word	2
	.ascii	"\001\000\000"
	.space	1
	.word	4
	.ascii	"\000\001\001\001"
	.word	4
	.ascii	"\000\001\000\001"
	.word	3
	.ascii	"\000\001\001\000"
	.word	1
	.ascii	"\001\000"
	.space	2
	.word	4
	.ascii	"\001\001\000\001"
	.word	3
	.ascii	"\000\000\001\000"
	.word	4
	.ascii	"\001\001\001\001"
	.word	2
	.ascii	"\001\001\000"
	.space	1
	.word	4
	.ascii	"\001\000\000\000"
	.word	3
	.ascii	"\000\001\000\000"
	.word	4
	.ascii	"\001\000\001\001"
	.word	2
	.ascii	"\000\000\000"
	.space	1
	.word	2
	.ascii	"\000\001\000"
	.space	1
	.word	3
	.ascii	"\000\000\000\000"
	.word	4
	.ascii	"\001\000\000\001"
	.word	4
	.ascii	"\000\000\001\000"
	.word	3
	.ascii	"\001\000\001\000"
	.word	3
	.ascii	"\001\001\001\000"
	.word	1
	.ascii	"\000\000"
	.space	2
	.word	3
	.ascii	"\001\001\000\000"
	.word	4
	.ascii	"\001\001\001\000"
	.word	3
	.ascii	"\001\000\000\000"
	.word	4
	.ascii	"\000\001\001\000"
	.word	4
	.ascii	"\000\001\000\000"
	.word	4
	.ascii	"\000\000\001\001"
	.global	DECODE
	.align	2
	.type	DECODE, %object
	.size	DECODE, 64
DECODE:
	.ascii	"TE**************MNAI************OGKDWRUS********?.Q"
	.ascii	"ZYCXBJP,L_FVH"
	.text
	.align	2
	.global	encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode, %function
encode:
	@ 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	r0, .L16
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L11:
	ldr	r2, .L16
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L3
	cmp	r3, #95
	bgt	.L4
	cmp	r3, #63
	beq	.L5
	cmp	r3, #63
	bgt	.L4
	cmp	r3, #44
	beq	.L6
	cmp	r3, #46
	beq	.L7
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L7:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L8
.L6:
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L8
.L5:
	mov	r3, #3
	str	r3, [fp, #-16]
	b	.L8
.L4:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	sub	r3, r3, #61
	str	r3, [fp, #-16]
	nop
.L8:
	ldr	r2, .L16+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #3]
	and	r1, r3, #255
	ldr	r2, .L16+8
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, .L16+8
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L9
.L10:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r1, .L16+4
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r1, r1, r2
	ldr	r2, [fp, #-24]
	add	r2, r1, r2
	add	r2, r2, #4
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L16+12
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L9:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	ldr	r2, .L16+12
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L12
.L15:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L16+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L13
.L14:
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	ldr	r1, .L16+12
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, .L16+16
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L16+20
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L15
	ldr	r2, .L16+20
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	PLAIN_TEXT
	.word	ENCODE
	.word	LENGTHS
	.word	BUFFER
	.word	DECODE
	.word	CYPHER_TEXT
	.size	encode, .-encode
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%d: %s\012\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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L23+4
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L19
.L20:
	ldr	r1, .L23+8
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	bl	encode
	ldr	r2, .L23+16
	ldr	r1, [fp, #-12]
	ldr	r0, .L23+20
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L19:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L20
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	.LC0
	.word	PLAIN_TEXT
	.word	.LC1
	.word	CYPHER_TEXT
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
