	.file	"692109.c"
	.intel_syntax noprefix
	.text
	.globl	words
	.bss
	.align 32
	.type	words, @object
	.size	words, 512
words:
	.zero	512
	.globl	encoded
	.align 32
	.type	encoded, @object
	.size	encoded, 4160
encoded:
	.zero	4160
	.globl	minHeap
	.align 32
	.type	minHeap, @object
	.size	minHeap, 260
minHeap:
	.zero	260
	.text
	.globl	Insert
	.type	Insert, @function
Insert:
.LFB6:
	.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	eax, DWORD PTR minHeap[rip+256]
	add	eax, 1
	mov	DWORD PTR minHeap[rip+256], eax
	mov	eax, DWORD PTR minHeap[rip+256]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, minHeap[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR minHeap[rip+256]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, minHeap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, minHeap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -8[rbp], eax
.L2:
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jg	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Insert, .-Insert
	.globl	DeleteMin
	.type	DeleteMin, @function
DeleteMin:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR minHeap[rip+4]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR minHeap[rip+256]
	lea	edx, -1[rax]
	mov	DWORD PTR minHeap[rip+256], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR minHeap[rip+4], eax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR minHeap[rip+256]
	cmp	DWORD PTR -16[rbp], eax
	je	.L6
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jge	.L6
	add	DWORD PTR -16[rbp], 1
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L12
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, minHeap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, minHeap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, minHeap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
.L5:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR minHeap[rip+256]
	cmp	edx, eax
	jle	.L10
	jmp	.L9
.L12:
	nop
.L9:
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	DeleteMin, .-DeleteMin
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB8:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cmp, .-cmp
	.globl	CheckPrefix
	.type	CheckPrefix, @function
CheckPrefix:
.LFB9:
	.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	DWORD PTR -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, cmp[rip]
	mov	edx, 65
	mov	rsi, rax
	lea	rdi, encoded[rip]
	call	qsort@PLT
	mov	DWORD PTR -20[rbp], 1
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	lea	rdx, encoded[rip]
	add	rax, rdx
	add	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	lea	rdx, encoded[rip]
	add	rax, rdx
	add	rax, 1
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L17
	mov	eax, 0
	jmp	.L18
.L17:
	add	DWORD PTR -20[rbp], 1
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L19
	mov	eax, 1
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	CheckPrefix, .-CheckPrefix
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%c %d"
.LC2:
	.string	"%c %s"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, words[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	Insert
	add	DWORD PTR -52[rbp], 1
.L21:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L22
	mov	DWORD PTR -48[rbp], 1
	jmp	.L23
.L24:
	mov	eax, 0
	call	DeleteMin
	mov	DWORD PTR -32[rbp], eax
	mov	eax, 0
	call	DeleteMin
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	edi, eax
	call	Insert
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	DWORD PTR -56[rbp], eax
	add	DWORD PTR -48[rbp], 1
.L23:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L24
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L25
.L30:
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	lea	rdx, encoded[rip]
	add	rax, rdx
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 6
	add	rax, rcx
	lea	rcx, encoded[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	mov	ebx, eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	lea	rdx, encoded[rip]
	add	rax, rdx
	add	rax, 1
	mov	rdi, rax
	call	strlen@PLT
	imul	ebx, eax
	mov	edx, ebx
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	DWORD PTR -40[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L26:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L27
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jne	.L28
	mov	eax, DWORD PTR -64[rbp]
	mov	edi, eax
	call	CheckPrefix
	test	eax, eax
	je	.L28
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L29
.L28:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L29:
	add	DWORD PTR -44[rbp], 1
.L25:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L30
	mov	eax, 0
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"692109.c"
	.text
	.comm	words,512,4
	.comm	encoded,4160,4
	.comm	minHeap,260,4
	.align	2
	.global	Insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	Insert, %function
Insert:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L4
	ldr	r3, [r3, #256]
	add	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2, #256]
	ldr	r3, .L4
	ldr	r3, [r3, #256]
	ldr	r1, .L4
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3, #256]
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r2, .L4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L4
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, .L4
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r2, .L4
	ldr	r3, [fp, #-8]
	str	r3, [r2, r1, lsl #2]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L4
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, .L4
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bgt	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	minHeap
	.size	Insert, .-Insert
	.align	2
	.global	DeleteMin
	.syntax unified
	.arm
	.fpu softvfp
	.type	DeleteMin, %function
DeleteMin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	ldr	r3, .L15
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, .L15
	ldr	r3, [r3, #256]
	sub	r2, r3, #1
	ldr	r1, .L15
	str	r2, [r1, #256]
	ldr	r2, .L15
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L15
	str	r3, [r2, #4]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L7
.L12:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, .L15
	ldr	r3, [r3, #256]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L8
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, .L15
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L15
	ldr	r3, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bge	.L8
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	ldr	r2, .L15
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L15
	ldr	r3, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L14
	ldr	r2, .L15
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L15
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L15
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L15
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, .L15
	ldr	r3, [r3, #256]
	cmp	r2, r3
	ble	.L12
	b	.L11
.L14:
	nop
.L11:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	minHeap
	.size	DeleteMin, .-DeleteMin
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ 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]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp, .-cmp
	.align	2
	.global	CheckPrefix
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckPrefix, %function
CheckPrefix:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	r3, .L24
	mov	r2, #65
	ldr	r0, .L24+4
	bl	qsort
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L20
.L23:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	ldr	r2, .L24+4
	add	r3, r3, r2
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	ldr	r2, .L24+4
	add	r3, r3, r2
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	b	.L22
.L21:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L23
	mov	r3, #1
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	cmp
	.word	encoded
	.size	CheckPrefix, .-CheckPrefix
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"%c %d\000"
	.align	2
.LC2:
	.ascii	"%c %s\000"
	.align	2
.LC3:
	.ascii	"Yes\000"
	.align	2
.LC4:
	.ascii	"No\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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L39+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L27
.L28:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, .L39+8
	add	r1, r3, r2
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, .L39+8
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L39+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, .L39+8
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	Insert
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L27:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L28
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L29
.L30:
	bl	DeleteMin
	str	r0, [fp, #-24]
	bl	DeleteMin
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r0, r3
	bl	Insert
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L29:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L30
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L39+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L31
.L36:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L32
.L33:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	ldr	r2, .L39+16
	add	r1, r3, r2
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	ldr	r2, .L39+16
	add	r3, r3, r2
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L39+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, .L39+8
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r4, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	ldr	r2, .L39+16
	add	r3, r3, r2
	add	r3, r3, #1
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mul	r2, r3, r4
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L32:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L33
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	CheckPrefix
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L39+24
	bl	puts
	b	.L35
.L34:
	ldr	r0, .L39+28
	bl	puts
.L35:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L31:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L36
	mov	r3, #0
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC5
	.word	.LC0
	.word	words
	.word	.LC1
	.word	encoded
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
