	.file	"139639.c"
	.intel_syntax noprefix
	.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, 2256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -2224[rbp]
	mov	eax, 0
	mov	ecx, 100
	mov	rdi, rdx
	rep stosq
	lea	rdx, -1424[rbp]
	mov	eax, 0
	mov	ecx, 100
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -624[rbp], 48
	mov	QWORD PTR -616[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -416[rbp], 48
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -208[rbp], 48
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -2244[rbp], 0
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -416[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -624[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -2232[rbp], eax
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -2228[rbp], eax
	mov	eax, DWORD PTR -2228[rbp]
	mov	DWORD PTR -2240[rbp], eax
	mov	eax, DWORD PTR -2232[rbp]
	cmp	eax, DWORD PTR -2228[rbp]
	jl	.L2
	mov	eax, DWORD PTR -2232[rbp]
	mov	DWORD PTR -2240[rbp], eax
.L2:
	lea	rax, -624[rbp]
	mov	rdi, rax
	call	strlen@PLT
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -2236[rbp]
	cdqe
	movzx	eax, BYTE PTR -624[rbp+rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, DWORD PTR -2244[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -2244[rbp], edx
	mov	edx, ecx
	cdqe
	mov	DWORD PTR -2224[rbp+rax*4], edx
	sub	DWORD PTR -2236[rbp], 1
.L3:
	cmp	DWORD PTR -2236[rbp], 0
	jns	.L4
	mov	DWORD PTR -2244[rbp], 0
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	strlen@PLT
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -2236[rbp]
	cdqe
	movzx	eax, BYTE PTR -416[rbp+rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	eax, DWORD PTR -2244[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -2244[rbp], edx
	mov	edx, ecx
	cdqe
	mov	DWORD PTR -1424[rbp+rax*4], edx
	sub	DWORD PTR -2236[rbp], 1
.L5:
	cmp	DWORD PTR -2236[rbp], 0
	jns	.L6
	mov	DWORD PTR -2244[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	mov	esi, eax
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	edx, DWORD PTR -2224[rbp+rax*4]
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	lea	ecx, [rdx+rax]
	mov	edx, ecx
	mov	eax, 3435973837
	imul	rax, rdx
	shr	rax, 32
	mov	edx, eax
	shr	edx, 3
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, edx
	add	eax, esi
	mov	edx, eax
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	BYTE PTR -208[rbp+rax], dl
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	edx, DWORD PTR -2224[rbp+rax*4]
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	add	eax, edx
	mov	edx, eax
	mov	eax, 3435973837
	imul	rax, rdx
	shr	rax, 32
	shr	eax, 3
	lea	edx, 48[rax]
	mov	eax, DWORD PTR -2244[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -208[rbp+rax], dl
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 58
	jne	.L8
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	mov	BYTE PTR -208[rbp+rax], 48
	mov	eax, DWORD PTR -2244[rbp]
	add	eax, 1
	movsx	rdx, eax
	movzx	edx, BYTE PTR -208[rbp+rdx]
	add	edx, 1
	cdqe
	mov	BYTE PTR -208[rbp+rax], dl
.L8:
	add	DWORD PTR -2244[rbp], 1
.L7:
	mov	eax, DWORD PTR -2244[rbp]
	cmp	eax, DWORD PTR -2240[rbp]
	jne	.L9
	mov	eax, DWORD PTR -2244[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	cmp	al, 48
	je	.L10
	add	DWORD PTR -2240[rbp], 1
.L10:
	mov	eax, DWORD PTR -2240[rbp]
	sub	eax, 1
	mov	DWORD PTR -2244[rbp], eax
	jmp	.L11
.L12:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	puts@PLT
	sub	DWORD PTR -2244[rbp], 1
.L11:
	cmp	DWORD PTR -2244[rbp], 0
	jns	.L12
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"139639.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2224
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #800
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1392
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #800
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #48
	str	r3, [fp, #-608]
	sub	r3, fp, #604
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #48
	str	r3, [fp, #-408]
	sub	r3, fp, #404
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #48
	str	r3, [fp, #-208]
	sub	r3, fp, #204
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-2228]
	sub	r3, fp, #608
	mov	r0, r3
	bl	gets
	sub	r3, fp, #408
	mov	r0, r3
	bl	gets
	sub	r3, fp, #608
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-2216]
	sub	r3, fp, #408
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-2212]
	ldr	r3, [fp, #-2212]
	str	r3, [fp, #-2224]
	ldr	r2, [fp, #-2216]
	ldr	r3, [fp, #-2212]
	cmp	r2, r3
	blt	.L2
	ldr	r3, [fp, #-2216]
	str	r3, [fp, #-2224]
.L2:
	sub	r3, fp, #608
	mov	r0, r3
	bl	strlen
	b	.L3
.L4:
	sub	r2, fp, #608
	ldr	r3, [fp, #-2220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #48
	ldr	r3, [fp, #-2228]
	add	r2, r3, #1
	str	r2, [fp, #-2228]
	mov	r2, r1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2204]
	ldr	r3, [fp, #-2220]
	sub	r3, r3, #1
	str	r3, [fp, #-2220]
.L3:
	ldr	r3, [fp, #-2220]
	cmp	r3, #0
	bge	.L4
	mov	r3, #0
	str	r3, [fp, #-2228]
	sub	r3, fp, #408
	mov	r0, r3
	bl	strlen
	b	.L5
.L6:
	sub	r2, fp, #408
	ldr	r3, [fp, #-2220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #48
	ldr	r3, [fp, #-2228]
	add	r2, r3, #1
	str	r2, [fp, #-2228]
	mov	r2, r1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1404]
	ldr	r3, [fp, #-2220]
	sub	r3, r3, #1
	str	r3, [fp, #-2220]
.L5:
	ldr	r3, [fp, #-2220]
	cmp	r3, #0
	bge	.L6
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L7
.L9:
	sub	r2, fp, #208
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-2204]
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1404]
	add	r1, r2, r3
	ldr	r3, .L15+4
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r0, r3
	and	r1, r3, #255
	sub	r2, fp, #208
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-2204]
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1404]
	add	r3, r2, r3
	ldr	r2, .L15+4
	umull	r1, r3, r2, r3
	lsr	r3, r3, #3
	and	r2, r3, #255
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	add	r2, r2, #48
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-204]
	sub	r2, fp, #208
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L8
	sub	r2, fp, #208
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r2, r2, r3
	ldrb	r2, [r2, #-204]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-204]
.L8:
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L7:
	ldr	r2, [fp, #-2228]
	ldr	r3, [fp, #-2224]
	cmp	r2, r3
	bne	.L9
	sub	r2, fp, #208
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L10
	ldr	r3, [fp, #-2224]
	add	r3, r3, #1
	str	r3, [fp, #-2224]
.L10:
	ldr	r3, [fp, #-2224]
	sub	r3, r3, #1
	str	r3, [fp, #-2228]
	b	.L11
.L12:
	sub	r3, fp, #208
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-2228]
	sub	r3, r3, #1
	str	r3, [fp, #-2228]
.L11:
	ldr	r3, [fp, #-2228]
	cmp	r3, #0
	bge	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	-858993459
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
