	.file	"81220.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter a string"
.LC1:
	.string	"Entered String is %s\n"
	.align 8
.LC2:
	.string	"Enter the key (Non repeated elements if possible)"
.LC3:
	.string	"%d"
	.align 8
.LC4:
	.string	"Entered key converted according to Play Fair Cipher rule"
.LC5:
	.string	"Arranged key"
.LC6:
	.string	"%c "
	.align 8
.LC7:
	.string	"Entered String/Message After Processing according to Play fair cipher rule"
.LC8:
	.string	"\nCipher Text is"
	.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, 1592
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1588[rbp], -1
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -240[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -1600[rbp], 0
	mov	DWORD PTR -1596[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	cmp	al, 32
	je	.L3
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -1596[rbp]
	cdqe
	mov	BYTE PTR -240[rbp+rax], dl
	add	DWORD PTR -1596[rbp], 1
.L3:
	add	DWORD PTR -1600[rbp], 1
.L2:
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rbx, eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L4
	mov	eax, DWORD PTR -1596[rbp]
	cdqe
	mov	BYTE PTR -240[rbp+rax], 0
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1564[rbp], eax
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	cmp	al, 32
	je	.L6
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	movsx	eax, al
	lea	edx, -65[rax]
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	DWORD PTR -1440[rbp+rax*4], edx
.L6:
	add	DWORD PTR -1600[rbp], 1
.L5:
	mov	eax, DWORD PTR -1600[rbp]
	cmp	eax, DWORD PTR -1564[rbp]
	jl	.L7
	mov	eax, DWORD PTR -1600[rbp]
	mov	DWORD PTR -1584[rbp], eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -1600[rbp], 0
	mov	DWORD PTR -1596[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	cmp	al, 32
	je	.L9
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -1596[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], dl
	add	DWORD PTR -1596[rbp], 1
.L9:
	add	DWORD PTR -1600[rbp], 1
.L8:
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rbx, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L10
	mov	eax, DWORD PTR -1596[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], 0
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	DWORD PTR -1592[rbp], 0
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rbx, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L12
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	cmp	al, 74
	jne	.L13
	mov	DWORD PTR -1588[rbp], 8
	mov	eax, DWORD PTR -1588[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	movzx	eax, BYTE PTR -128[rbp+rax]
	movsx	eax, al
	lea	edx, -65[rax]
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	DWORD PTR -640[rbp+rax*4], edx
	jmp	.L14
.L12:
	cmp	DWORD PTR -1592[rbp], 9
	je	.L15
	mov	eax, DWORD PTR -1592[rbp]
	cmp	eax, DWORD PTR -1588[rbp]
	je	.L15
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	edx, DWORD PTR -1592[rbp]
	mov	DWORD PTR -640[rbp+rax*4], edx
.L15:
	add	DWORD PTR -1592[rbp], 1
.L14:
	add	DWORD PTR -1600[rbp], 1
.L11:
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rbx, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 26
	cmp	rbx, rax
	jb	.L16
	mov	eax, DWORD PTR -1600[rbp]
	mov	DWORD PTR -1560[rbp], eax
	lea	rdx, -640[rbp]
	mov	eax, DWORD PTR -1560[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	removerepeated
	mov	DWORD PTR -1556[rbp], eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	eax, DWORD PTR -640[rbp+rax*4]
	add	eax, 65
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -1600[rbp], 1
.L17:
	mov	eax, DWORD PTR -1600[rbp]
	cmp	eax, DWORD PTR -1556[rbp]
	jl	.L18
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -1592[rbp], 0
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L19
.L22:
	mov	DWORD PTR -1596[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -1592[rbp]
	cdqe
	mov	edx, DWORD PTR -640[rbp+rax*4]
	mov	eax, DWORD PTR -1596[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rsi
	mov	DWORD PTR -1552[rbp+rax*4], edx
	add	DWORD PTR -1592[rbp], 1
	add	DWORD PTR -1596[rbp], 1
.L20:
	cmp	DWORD PTR -1596[rbp], 4
	jle	.L21
	add	DWORD PTR -1600[rbp], 1
.L19:
	cmp	DWORD PTR -1600[rbp], 4
	jle	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L23
.L26:
	mov	DWORD PTR -1596[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -1596[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	eax, DWORD PTR -1552[rbp+rax*4]
	add	eax, 65
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1596[rbp], 1
.L24:
	cmp	DWORD PTR -1596[rbp], 4
	jle	.L25
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -1600[rbp], 1
.L23:
	cmp	DWORD PTR -1600[rbp], 4
	jle	.L26
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	edx, DWORD PTR -1440[rbp+rax*4]
	mov	eax, DWORD PTR -1600[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -1440[rbp+rax*4]
	cmp	edx, eax
	jne	.L28
	mov	eax, DWORD PTR -1600[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1584[rbp]
	lea	rax, -1440[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	insertelementat
	add	DWORD PTR -1584[rbp], 1
.L28:
	add	DWORD PTR -1600[rbp], 2
.L27:
	mov	eax, DWORD PTR -1600[rbp]
	cmp	eax, DWORD PTR -1584[rbp]
	jl	.L29
	mov	eax, DWORD PTR -1584[rbp]
	and	eax, 1
	test	eax, eax
	je	.L30
	mov	edx, DWORD PTR -1584[rbp]
	lea	rcx, -1440[rbp]
	mov	eax, DWORD PTR -1584[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	insertelementat
	add	DWORD PTR -1584[rbp], 1
.L30:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	eax, DWORD PTR -1440[rbp+rax*4]
	add	eax, 65
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -1600[rbp], 1
.L31:
	mov	eax, DWORD PTR -1600[rbp]
	cmp	eax, DWORD PTR -1584[rbp]
	jl	.L32
	mov	DWORD PTR -1592[rbp], 0
	jmp	.L33
.L47:
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L34
.L39:
	mov	DWORD PTR -1596[rbp], 0
	jmp	.L35
.L38:
	mov	eax, DWORD PTR -1592[rbp]
	cdqe
	mov	ecx, DWORD PTR -1440[rbp+rax*4]
	mov	eax, DWORD PTR -1596[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -1552[rbp+rax*4]
	cmp	ecx, eax
	jne	.L36
	mov	eax, DWORD PTR -1600[rbp]
	mov	DWORD PTR -1580[rbp], eax
	mov	eax, DWORD PTR -1596[rbp]
	mov	DWORD PTR -1572[rbp], eax
.L36:
	mov	eax, DWORD PTR -1592[rbp]
	add	eax, 1
	cdqe
	mov	ecx, DWORD PTR -1440[rbp+rax*4]
	mov	eax, DWORD PTR -1596[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1600[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -1552[rbp+rax*4]
	cmp	ecx, eax
	jne	.L37
	mov	eax, DWORD PTR -1600[rbp]
	mov	DWORD PTR -1576[rbp], eax
	mov	eax, DWORD PTR -1596[rbp]
	mov	DWORD PTR -1568[rbp], eax
.L37:
	add	DWORD PTR -1596[rbp], 1
.L35:
	cmp	DWORD PTR -1596[rbp], 4
	jle	.L38
	add	DWORD PTR -1600[rbp], 1
.L34:
	cmp	DWORD PTR -1600[rbp], 4
	jle	.L39
	mov	eax, DWORD PTR -1580[rbp]
	cmp	eax, DWORD PTR -1576[rbp]
	jne	.L40
	mov	eax, DWORD PTR -1572[rbp]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -1572[rbp], edx
	mov	ecx, DWORD PTR -1572[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -1572[rbp], eax
	mov	eax, DWORD PTR -1568[rbp]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -1568[rbp], edx
	mov	ecx, DWORD PTR -1568[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -1568[rbp], eax
	cmp	DWORD PTR -1572[rbp], 0
	jns	.L41
	add	DWORD PTR -1572[rbp], 5
.L41:
	cmp	DWORD PTR -1568[rbp], 0
	jns	.L42
	add	DWORD PTR -1568[rbp], 5
.L42:
	mov	eax, DWORD PTR -1572[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1580[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	mov	eax, DWORD PTR -1592[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	mov	eax, DWORD PTR -1592[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -1568[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1576[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	movsx	rax, ecx
	mov	DWORD PTR -1040[rbp+rax*4], edx
.L40:
	mov	eax, DWORD PTR -1572[rbp]
	cmp	eax, DWORD PTR -1568[rbp]
	jne	.L43
	mov	eax, DWORD PTR -1580[rbp]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -1580[rbp], edx
	mov	ecx, DWORD PTR -1580[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -1580[rbp], eax
	mov	eax, DWORD PTR -1576[rbp]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -1576[rbp], edx
	mov	ecx, DWORD PTR -1576[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -1576[rbp], eax
	cmp	DWORD PTR -1580[rbp], 0
	jns	.L44
	add	DWORD PTR -1580[rbp], 5
.L44:
	cmp	DWORD PTR -1576[rbp], 0
	jns	.L45
	add	DWORD PTR -1576[rbp], 5
.L45:
	mov	eax, DWORD PTR -1572[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1580[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	mov	eax, DWORD PTR -1592[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	mov	eax, DWORD PTR -1592[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -1568[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1576[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	movsx	rax, ecx
	mov	DWORD PTR -1040[rbp+rax*4], edx
.L43:
	mov	eax, DWORD PTR -1580[rbp]
	cmp	eax, DWORD PTR -1576[rbp]
	je	.L46
	mov	eax, DWORD PTR -1572[rbp]
	cmp	eax, DWORD PTR -1568[rbp]
	je	.L46
	mov	eax, DWORD PTR -1568[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1580[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	mov	eax, DWORD PTR -1592[rbp]
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	mov	eax, DWORD PTR -1592[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -1572[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1576[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	edx, DWORD PTR -1552[rbp+rax*4]
	movsx	rax, ecx
	mov	DWORD PTR -1040[rbp+rax*4], edx
.L46:
	add	DWORD PTR -1592[rbp], 2
.L33:
	mov	eax, DWORD PTR -1592[rbp]
	cmp	eax, DWORD PTR -1584[rbp]
	jl	.L47
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -1600[rbp], 0
	jmp	.L48
.L50:
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	eax, 23
	je	.L49
	mov	eax, DWORD PTR -1600[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	add	eax, 65
	mov	edi, eax
	call	putchar@PLT
.L49:
	add	DWORD PTR -1600[rbp], 1
.L48:
	mov	eax, DWORD PTR -1600[rbp]
	cmp	eax, DWORD PTR -1584[rbp]
	jl	.L50
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	removerepeated
	.type	removerepeated, @function
removerepeated:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L54
.L60:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L55
.L59:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L56
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L57:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L58
	sub	DWORD PTR -20[rbp], 1
	jmp	.L55
.L56:
	add	DWORD PTR -8[rbp], 1
.L55:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L59
	add	DWORD PTR -12[rbp], 1
.L54:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L60
	mov	eax, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	removerepeated, .-removerepeated
	.globl	insertelementat
	.type	insertelementat, @function
insertelementat:
.LFB2:
	.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, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -56[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -44[rbp], 23
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L63:
	cmp	rsp, rdx
	je	.L64
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L63
.L64:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L65
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L65:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L66
.L70:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jge	.L67
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L67:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jle	.L68
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L68:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L69
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -44[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
.L69:
	add	DWORD PTR -48[rbp], 1
.L66:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jle	.L70
	mov	DWORD PTR -48[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -48[rbp], 1
.L71:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jle	.L72
	mov	rsp, rsi
	nop
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	insertelementat, .-insertelementat
	.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	"81220.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a string\000"
	.align	2
.LC1:
	.ascii	"Entered String is %s\012\000"
	.align	2
.LC2:
	.ascii	"Enter the key (Non repeated elements if possible)\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Entered key converted according to Play Fair Cipher"
	.ascii	" rule\000"
	.align	2
.LC5:
	.ascii	"Arranged key\000"
	.align	2
.LC6:
	.ascii	"%c \000"
	.align	2
.LC7:
	.ascii	"Entered String/Message After Processing according t"
	.ascii	"o Play fair cipher rule\000"
	.align	2
.LC8:
	.ascii	"\012Cipher Text is\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1552
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-1544]
	ldr	r0, .L53+4
	bl	puts
	sub	r3, fp, #208
	mov	r0, r3
	bl	gets
	mov	r3, #0
	str	r3, [fp, #-1556]
	mov	r3, #0
	str	r3, [fp, #-1552]
	b	.L2
.L4:
	sub	r2, fp, #208
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	sub	r2, fp, #208
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #208
	ldr	r3, [fp, #-1552]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1552]
	add	r3, r3, #1
	str	r3, [fp, #-1552]
.L3:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L2:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1556]
	cmp	r2, r3
	bhi	.L4
	sub	r2, fp, #208
	ldr	r3, [fp, #-1552]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L53+8
	bl	printf
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1520]
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L5
.L7:
	sub	r2, fp, #208
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L6
	sub	r2, fp, #208
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #65
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1404]
.L6:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L5:
	ldr	r2, [fp, #-1556]
	ldr	r3, [fp, #-1520]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-1556]
	str	r3, [fp, #-1540]
	ldr	r0, .L53+12
	bl	puts
	sub	r3, fp, #108
	mov	r0, r3
	bl	gets
	mov	r3, #0
	str	r3, [fp, #-1556]
	mov	r3, #0
	str	r3, [fp, #-1552]
	b	.L8
.L10:
	sub	r2, fp, #108
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L9
	sub	r2, fp, #108
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #108
	ldr	r3, [fp, #-1552]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1552]
	add	r3, r3, #1
	str	r3, [fp, #-1552]
.L9:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L8:
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1556]
	cmp	r2, r3
	bhi	.L10
	sub	r2, fp, #108
	ldr	r3, [fp, #-1552]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #108
	mov	r0, r3
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1548]
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L11
.L16:
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1556]
	cmp	r2, r3
	bls	.L12
	sub	r2, fp, #108
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #74
	bne	.L13
	mov	r3, #8
	str	r3, [fp, #-1544]
	ldr	r1, [fp, #-1544]
	ldr	r0, .L53+16
	bl	printf
.L13:
	sub	r2, fp, #108
	ldr	r3, [fp, #-1556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #65
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-604]
	b	.L14
.L12:
	ldr	r3, [fp, #-1548]
	cmp	r3, #9
	beq	.L15
	ldr	r2, [fp, #-1548]
	ldr	r3, [fp, #-1544]
	cmp	r2, r3
	beq	.L15
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1548]
	str	r2, [r3, #-604]
.L15:
	ldr	r3, [fp, #-1548]
	add	r3, r3, #1
	str	r3, [fp, #-1548]
.L14:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L11:
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #26
	ldr	r3, [fp, #-1556]
	cmp	r2, r3
	bhi	.L16
	ldr	r3, [fp, #-1556]
	str	r3, [fp, #-1516]
	sub	r3, fp, #608
	mov	r1, r3
	ldr	r0, [fp, #-1516]
	bl	removerepeated
	str	r0, [fp, #-1512]
	ldr	r0, .L53+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L17
.L18:
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-604]
	add	r3, r3, #65
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L17:
	ldr	r2, [fp, #-1556]
	ldr	r3, [fp, #-1512]
	cmp	r2, r3
	blt	.L18
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-1548]
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L19
.L22:
	mov	r3, #0
	str	r3, [fp, #-1552]
	b	.L20
.L21:
	ldr	r3, [fp, #-1548]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-604]
	ldr	r2, [fp, #-1556]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1552]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1504]
	ldr	r3, [fp, #-1548]
	add	r3, r3, #1
	str	r3, [fp, #-1548]
	ldr	r3, [fp, #-1552]
	add	r3, r3, #1
	str	r3, [fp, #-1552]
.L20:
	ldr	r3, [fp, #-1552]
	cmp	r3, #4
	ble	.L21
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L19:
	ldr	r3, [fp, #-1556]
	cmp	r3, #4
	ble	.L22
	ldr	r0, .L53+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L23
.L26:
	mov	r3, #0
	str	r3, [fp, #-1552]
	b	.L24
.L25:
	ldr	r2, [fp, #-1556]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1552]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1504]
	add	r3, r3, #65
	mov	r1, r3
	ldr	r0, .L53+28
	bl	printf
	ldr	r3, [fp, #-1552]
	add	r3, r3, #1
	str	r3, [fp, #-1552]
.L24:
	ldr	r3, [fp, #-1552]
	cmp	r3, #4
	ble	.L25
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L23:
	ldr	r3, [fp, #-1556]
	cmp	r3, #4
	ble	.L26
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L27
.L29:
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1404]
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1404]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-1556]
	add	r0, r3, #1
	sub	r3, fp, #1392
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1540]
	mov	r1, r3
	bl	insertelementat
	ldr	r3, [fp, #-1540]
	add	r3, r3, #1
	str	r3, [fp, #-1540]
.L28:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #2
	str	r3, [fp, #-1556]
.L27:
	ldr	r2, [fp, #-1556]
	ldr	r3, [fp, #-1540]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-1540]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L30
	sub	r3, fp, #1392
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1540]
	mov	r1, r3
	ldr	r0, [fp, #-1540]
	bl	insertelementat
	ldr	r3, [fp, #-1540]
	add	r3, r3, #1
	str	r3, [fp, #-1540]
.L30:
	ldr	r0, .L53+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L31
.L32:
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1404]
	add	r3, r3, #65
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L31:
	ldr	r2, [fp, #-1556]
	ldr	r3, [fp, #-1540]
	cmp	r2, r3
	blt	.L32
	mov	r3, #0
	str	r3, [fp, #-1548]
	b	.L33
.L47:
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L34
.L39:
	mov	r3, #0
	str	r3, [fp, #-1552]
	b	.L35
.L38:
	ldr	r3, [fp, #-1548]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1404]
	ldr	r2, [fp, #-1556]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1552]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1504]
	cmp	r1, r3
	bne	.L36
	ldr	r3, [fp, #-1556]
	str	r3, [fp, #-1536]
	ldr	r3, [fp, #-1552]
	str	r3, [fp, #-1528]
.L36:
	ldr	r3, [fp, #-1548]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1404]
	ldr	r2, [fp, #-1556]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1552]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1504]
	cmp	r1, r3
	bne	.L37
	ldr	r3, [fp, #-1556]
	str	r3, [fp, #-1532]
	ldr	r3, [fp, #-1552]
	str	r3, [fp, #-1524]
.L37:
	ldr	r3, [fp, #-1552]
	add	r3, r3, #1
	str	r3, [fp, #-1552]
.L35:
	ldr	r3, [fp, #-1552]
	cmp	r3, #4
	ble	.L38
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L34:
	ldr	r3, [fp, #-1556]
	cmp	r3, #4
	ble	.L39
	ldr	r2, [fp, #-1536]
	ldr	r3, [fp, #-1532]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-1528]
	sub	r2, r3, #1
	ldr	r3, .L53+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-1528]
	ldr	r3, [fp, #-1524]
	sub	r2, r3, #1
	ldr	r3, .L53+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-1524]
	ldr	r3, [fp, #-1528]
	cmp	r3, #0
	bge	.L41
	ldr	r3, [fp, #-1528]
	add	r3, r3, #5
	str	r3, [fp, #-1528]
.L41:
	ldr	r3, [fp, #-1524]
	cmp	r3, #0
	bge	.L42
	ldr	r3, [fp, #-1524]
	add	r3, r3, #5
	str	r3, [fp, #-1524]
.L42:
	ldr	r2, [fp, #-1536]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1528]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	ldr	r3, [fp, #-1548]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
	ldr	r3, [fp, #-1548]
	add	r1, r3, #1
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1524]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
.L40:
	ldr	r2, [fp, #-1528]
	ldr	r3, [fp, #-1524]
	cmp	r2, r3
	bne	.L43
	ldr	r3, [fp, #-1536]
	sub	r2, r3, #1
	ldr	r3, .L53+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-1536]
	ldr	r3, [fp, #-1532]
	sub	r2, r3, #1
	ldr	r3, .L53+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-1532]
	ldr	r3, [fp, #-1536]
	cmp	r3, #0
	bge	.L44
	ldr	r3, [fp, #-1536]
	add	r3, r3, #5
	str	r3, [fp, #-1536]
.L44:
	ldr	r3, [fp, #-1532]
	cmp	r3, #0
	bge	.L45
	ldr	r3, [fp, #-1532]
	add	r3, r3, #5
	str	r3, [fp, #-1532]
.L45:
	ldr	r2, [fp, #-1536]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1528]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	ldr	r3, [fp, #-1548]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
	ldr	r3, [fp, #-1548]
	add	r1, r3, #1
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1524]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
.L43:
	ldr	r2, [fp, #-1536]
	ldr	r3, [fp, #-1532]
	cmp	r2, r3
	beq	.L46
	ldr	r2, [fp, #-1528]
	ldr	r3, [fp, #-1524]
	cmp	r2, r3
	beq	.L46
	ldr	r2, [fp, #-1536]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1524]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	ldr	r3, [fp, #-1548]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
	ldr	r3, [fp, #-1548]
	add	r1, r3, #1
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-1528]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1504]
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
.L46:
	ldr	r3, [fp, #-1548]
	add	r3, r3, #2
	str	r3, [fp, #-1548]
.L33:
	ldr	r2, [fp, #-1548]
	ldr	r3, [fp, #-1540]
	cmp	r2, r3
	blt	.L47
	ldr	r0, .L53+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1556]
	b	.L48
.L50:
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1004]
	cmp	r3, #23
	beq	.L49
	ldr	r3, [fp, #-1556]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1004]
	add	r3, r3, #65
	mov	r0, r3
	bl	putchar
.L49:
	ldr	r3, [fp, #-1556]
	add	r3, r3, #1
	str	r3, [fp, #-1556]
.L48:
	ldr	r2, [fp, #-1556]
	ldr	r3, [fp, #-1540]
	cmp	r2, r3
	blt	.L50
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L53
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1717986919
	.word	.LC8
	.size	main, .-main
	.align	2
	.global	removerepeated
	.syntax unified
	.arm
	.fpu softvfp
	.type	removerepeated, %function
removerepeated:
	@ 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
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L56
.L62:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L57
.L61:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L58
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L59
.L60:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L59:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L57
.L58:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L61
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L56:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-24]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	removerepeated, .-removerepeated
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertelementat
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertelementat, %function
insertelementat:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, sp
	mov	lr, r3
	mov	r3, #23
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-16]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L65
.L69:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L66
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	str	r1, [r3, r2, lsl #2]
.L66:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L67
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	str	r1, [r3, r2, lsl #2]
.L67:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L68
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
.L68:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L65:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L69
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L70
.L71:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	ldr	r2, [r2, r1, lsl #2]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L70:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L71
	mov	sp, lr
	nop
	ldr	r2, .L73
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC10
	.size	insertelementat, .-insertelementat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
