	.file	"114207.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3176
	.cfi_offset 3, -24
	mov	DWORD PTR -11364[rbp], edi
	mov	QWORD PTR -11376[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -11296[rbp]
	mov	edx, 10240
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	lea	rdx, -1040[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -11344[rbp], 0
	mov	DWORD PTR -11336[rbp], 0
	mov	DWORD PTR -11340[rbp], 0
	mov	DWORD PTR -11356[rbp], 0
	lea	rax, -11360[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -11360[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -11320[rbp], rax
	mov	DWORD PTR -11352[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -11360[rbp]
	cdqe
	mov	edx, DWORD PTR -11352[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -11320[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -11348[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -11320[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -11348[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -11348[rbp], 1
.L3:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11348[rbp], eax
	jl	.L4
	add	DWORD PTR -11352[rbp], 1
.L2:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11352[rbp], eax
	jl	.L5
	mov	DWORD PTR -11352[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -11296[rbp]
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -11352[rbp], 1
.L6:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11352[rbp], eax
	jl	.L7
	mov	eax, DWORD PTR -11360[rbp]
	mov	DWORD PTR -11352[rbp], eax
	jmp	.L8
.L9:
	lea	rdx, -11296[rbp]
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -11352[rbp], 1
.L8:
	cmp	DWORD PTR -11352[rbp], 9
	jle	.L9
	mov	DWORD PTR -11352[rbp], 0
	jmp	.L10
.L19:
	lea	rdx, -11296[rbp]
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -11336[rbp], eax
	mov	eax, DWORD PTR -11336[rbp]
	add	DWORD PTR -11340[rbp], eax
	mov	DWORD PTR -11348[rbp], 0
	jmp	.L11
.L18:
	mov	eax, DWORD PTR -11352[rbp]
	cmp	eax, DWORD PTR -11348[rbp]
	je	.L26
	lea	rdx, -11296[rbp]
	mov	eax, DWORD PTR -11348[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -11328[rbp], eax
	mov	eax, DWORD PTR -11328[rbp]
	cmp	eax, DWORD PTR -11336[rbp]
	setge	al
	movzx	eax, al
	mov	edx, DWORD PTR -11336[rbp]
	mov	DWORD PTR -11344[rbp], edx
	cmp	DWORD PTR -11344[rbp], eax
	jne	.L15
	mov	eax, DWORD PTR -11328[rbp]
	mov	DWORD PTR -11344[rbp], eax
	jmp	.L15
.L17:
	lea	rdx, -11296[rbp]
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	sal	rax, 10
	add	rdx, rax
	mov	eax, DWORD PTR -11336[rbp]
	sub	eax, DWORD PTR -11344[rbp]
	cdqe
	add	rdx, rax
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -11344[rbp]
	movsx	rdx, eax
	lea	rcx, -11296[rbp]
	mov	eax, DWORD PTR -11348[rbp]
	cdqe
	sal	rax, 10
	add	rcx, rax
	lea	rax, -1056[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	pref
	mov	DWORD PTR -11324[rbp], eax
	cmp	DWORD PTR -11324[rbp], 0
	je	.L16
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -11320[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -11348[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -11344[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L13
.L16:
	sub	DWORD PTR -11344[rbp], 1
.L15:
	cmp	DWORD PTR -11344[rbp], 0
	jg	.L17
	jmp	.L13
.L26:
	nop
.L13:
	add	DWORD PTR -11348[rbp], 1
.L11:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11348[rbp], eax
	jl	.L18
	add	DWORD PTR -11352[rbp], 1
.L10:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11352[rbp], eax
	jl	.L19
	mov	eax, DWORD PTR -11360[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -11312[rbp], rax
	mov	eax, DWORD PTR -11360[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -11304[rbp], rax
	mov	DWORD PTR -11352[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -11312[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -11352[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -11352[rbp], 1
.L20:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11352[rbp], eax
	jl	.L21
	mov	edx, DWORD PTR -11360[rbp]
	mov	esi, DWORD PTR -11360[rbp]
	mov	r8, QWORD PTR -11312[rbp]
	lea	rdi, -11356[rbp]
	mov	rcx, QWORD PTR -11304[rbp]
	mov	rax, QWORD PTR -11320[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	maximum
	mov	edx, DWORD PTR -11356[rbp]
	mov	eax, DWORD PTR -11340[rbp]
	sub	eax, edx
	mov	DWORD PTR -11332[rbp], eax
	mov	eax, DWORD PTR -11332[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -11312[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -11304[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	DWORD PTR -11352[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -11352[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -11320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -11352[rbp], 1
.L22:
	mov	eax, DWORD PTR -11360[rbp]
	cmp	DWORD PTR -11352[rbp], eax
	jl	.L23
	mov	rax, QWORD PTR -11320[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	maximum
	.type	maximum, @function
maximum:
.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, 112
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -96[rbp], r8
	mov	QWORD PTR -104[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	cmp	DWORD PTR -76[rbp], 0
	je	.L28
	mov	DWORD PTR -60[rbp], 0
	jmp	.L29
.L34:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, -48[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -56[rbp], 1
.L30:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L31
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, -48[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -56[rbp], 1
.L32:
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, 1
	cmp	DWORD PTR -56[rbp], eax
	jl	.L33
	mov	eax, DWORD PTR -76[rbp]
	lea	esi, -1[rax]
	lea	r8, -48[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	maximum
	add	DWORD PTR -60[rbp], 1
.L29:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jg	.L34
	jmp	.L35
.L28:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, 1
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -52[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L36:
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, 1
	cmp	DWORD PTR -60[rbp], eax
	jl	.L37
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -52[rbp], eax
	jle	.L35
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR [rax], edx
.L35:
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	maximum, .-maximum
	.globl	pref
	.type	pref, @function
pref:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	jmp	.L41
.L43:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L42
	mov	DWORD PTR -12[rbp], 0
.L42:
	add	DWORD PTR -16[rbp], 1
.L41:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jg	.L43
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pref, .-pref
	.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	"114207.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 11328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #11328
	sub	sp, sp, #12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-3132]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-3136]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #3072
	sub	r3, r3, #4
	mov	r2, #10240
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1040]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3112]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3104]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3108]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3124]
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L27+4
	bl	__isoc99_scanf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #4
	mov	r0, r2
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-3100]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L2
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	mov	r0, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3100]
	add	r4, r2, r3
	mov	r1, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3116]
	b	.L3
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3100]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	add	r3, r3, #1
	str	r3, [r2, #-3116]
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3116]
	cmp	r2, r3
	blt	.L4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L6
.L7:
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	lsl	r2, r2, #10
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	cmp	r2, r3
	blt	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	str	r3, [r2, #-3120]
	b	.L8
.L9:
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	lsl	r2, r2, #10
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	cmp	r3, #9
	ble	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L10
.L19:
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	lsl	r2, r2, #10
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-3104]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-3108]
	ldr	r3, [r3, #-3104]
	add	r3, r2, r3
	str	r3, [r1, #-3108]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3116]
	b	.L11
.L18:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-3120]
	ldr	r3, [r3, #-3116]
	cmp	r2, r3
	beq	.L26
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3116]
	lsl	r2, r2, #10
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-3084]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-3084]
	ldr	r3, [r3, #-3104]
	cmp	r2, r3
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3104]
	str	r3, [r1, #-3112]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3112]
	cmp	r3, r2
	bne	.L15
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3084]
	str	r3, [r2, #-3112]
	b	.L15
.L17:
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	lsl	r2, r2, #10
	add	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r1, [r1, #-3104]
	ldr	r2, [r2, #-3112]
	sub	r2, r1, r2
	add	r2, r3, r2
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3116]
	lsl	r2, r2, #10
	add	r1, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-3112]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strncat
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	pref
	str	r0, [r4, #-3080]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3080]
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3100]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3112]
	str	r2, [r3]
	b	.L13
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3112]
	sub	r3, r3, #1
	str	r3, [r2, #-3112]
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3112]
	cmp	r3, #0
	bgt	.L17
	b	.L13
.L26:
	nop
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	add	r3, r3, #1
	str	r3, [r2, #-3116]
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3116]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	cmp	r2, r3
	blt	.L19
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #4
	mov	r0, r2
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-3096]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #4
	mov	r0, r2
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-3092]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L20
.L21:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3096]
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	cmp	r2, r3
	blt	.L21
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-3128]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-3128]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3096]
	str	r3, [sp, #4]
	sub	r3, fp, #11264
	sub	r3, r3, #12
	sub	r3, r3, #52
	str	r3, [sp]
	ldr	r3, [ip, #-3092]
	ldr	r0, [r0, #-3100]
	bl	maximum
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3124]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3108]
	sub	r3, r2, r3
	str	r3, [r1, #-3088]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-3088]
	ldr	r0, .L27+4
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3096]
	bl	free
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3092]
	bl	free
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L22
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L22:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3120]
	cmp	r2, r3
	blt	.L23
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3100]
	bl	free
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	maximum
	.syntax unified
	.arm
	.fpu softvfp
	.type	maximum, %function
maximum:
	@ args = 8, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-84]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L30
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L31
.L36:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r2, r2, r3
	ldr	r1, [fp, #-72]
	ldr	r3, [fp, #-68]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-76]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L32
.L33:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #48
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L32:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-84]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L33
	b	.L34
.L35:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #48
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L34:
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-68]
	sub	r1, r3, #1
	sub	r3, fp, #48
	str	r3, [sp, #4]
	ldr	r3, [fp, #-80]
	str	r3, [sp]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-72]
	ldr	r0, [fp, #-64]
	bl	maximum
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L31:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bgt	.L36
	b	.L37
.L30:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L38
.L39:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-76]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L38:
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	ble	.L37
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
.L37:
	mov	r3, #1
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC3
	.size	maximum, .-maximum
	.align	2
	.global	pref
	.syntax unified
	.arm
	.fpu softvfp
	.type	pref, %function
pref:
	@ 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	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L45
.L47:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L46
	mov	r3, #0
	str	r3, [fp, #-16]
.L46:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L45:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L47
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pref, .-pref
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
