	.file	"713082.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%d %d %d"
	.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, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	mov	DWORD PTR -292[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	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	DWORD PTR -128[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	DWORD PTR -16[rbp], 0
	mov	QWORD PTR -234[rbp], 0
	mov	WORD PTR -226[rbp], 0
	jmp	.L2
.L24:
	mov	DWORD PTR -288[rbp], 0
	jmp	.L3
.L4:
	mov	eax, 0
	call	read@PLT
	mov	edx, DWORD PTR -288[rbp]
	movsx	rdx, edx
	mov	BYTE PTR -224[rbp+rdx], al
	add	DWORD PTR -288[rbp], 1
.L3:
	mov	edx, DWORD PTR -300[rbp]
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, edx
	cmp	DWORD PTR -288[rbp], eax
	jl	.L4
	mov	DWORD PTR -284[rbp], 0
	jmp	.L5
.L6:
	mov	eax, 0
	call	read@PLT
	mov	edx, DWORD PTR -284[rbp]
	movsx	rdx, edx
	mov	BYTE PTR -234[rbp+rdx], al
	add	DWORD PTR -284[rbp], 1
.L5:
	mov	eax, DWORD PTR -292[rbp]
	cmp	DWORD PTR -284[rbp], eax
	jl	.L6
	jmp	.L7
.L19:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	movzx	eax, BYTE PTR -234[rbp+rax]
	cmp	al, 49
	jne	.L8
	mov	DWORD PTR -280[rbp], 0
	jmp	.L9
.L12:
	mov	DWORD PTR -276[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, DWORD PTR -280[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -276[rbp]
	add	eax, edx
	mov	DWORD PTR -244[rbp], eax
	mov	eax, DWORD PTR -300[rbp]
	sub	eax, DWORD PTR -280[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -296[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -276[rbp]
	add	eax, edx
	mov	DWORD PTR -240[rbp], eax
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	mov	BYTE PTR -301[rbp], al
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], dl
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	edx, BYTE PTR -301[rbp]
	mov	BYTE PTR -224[rbp+rax], dl
	add	DWORD PTR -276[rbp], 1
.L10:
	mov	eax, DWORD PTR -296[rbp]
	cmp	DWORD PTR -276[rbp], eax
	jl	.L11
	add	DWORD PTR -280[rbp], 1
.L9:
	mov	eax, DWORD PTR -300[rbp]
	sar	eax
	cmp	DWORD PTR -280[rbp], eax
	jl	.L12
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -296[rbp]
	sub	eax, 1
	mov	DWORD PTR -272[rbp], eax
	mov	DWORD PTR -268[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -264[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, DWORD PTR -264[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -272[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -268[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -268[rbp], edx
	movsx	rdx, ecx
	movzx	edx, BYTE PTR -224[rbp+rdx]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -264[rbp], 1
.L14:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -264[rbp], eax
	jl	.L15
	sub	DWORD PTR -272[rbp], 1
.L13:
	cmp	DWORD PTR -272[rbp], 0
	jns	.L16
	mov	eax, DWORD PTR -300[rbp]
	mov	DWORD PTR -248[rbp], eax
	mov	eax, DWORD PTR -296[rbp]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -248[rbp]
	mov	DWORD PTR -296[rbp], eax
	mov	DWORD PTR -260[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	movzx	edx, BYTE PTR -112[rbp+rax]
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], dl
	add	DWORD PTR -260[rbp], 1
.L17:
	mov	edx, DWORD PTR -300[rbp]
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, edx
	cmp	DWORD PTR -260[rbp], eax
	jl	.L18
.L7:
	mov	eax, DWORD PTR -292[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -292[rbp], edx
	test	eax, eax
	jne	.L19
	mov	edx, DWORD PTR -296[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -256[rbp], 0
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, DWORD PTR -256[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	DWORD PTR -252[rbp], 1
	jmp	.L21
.L22:
	mov	edi, 32
	call	putchar@PLT
	mov	eax, DWORD PTR -296[rbp]
	imul	eax, DWORD PTR -256[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -252[rbp]
	add	eax, edx
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -252[rbp], 1
.L21:
	mov	eax, DWORD PTR -296[rbp]
	cmp	DWORD PTR -252[rbp], eax
	jl	.L22
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -256[rbp], 1
.L20:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -256[rbp], eax
	jl	.L23
.L2:
	lea	rcx, -292[rbp]
	lea	rdx, -296[rbp]
	lea	rax, -300[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L24
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	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	"713082.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\012\000"
	.align	2
.LC1:
	.ascii	"%d %d %d\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 = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-208]
	sub	r3, fp, #204
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-220]
	sub	r3, fp, #216
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	b	.L2
.L24:
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L3
.L4:
	bl	read
	mov	r3, r0
	mov	r1, r3
	sub	r2, fp, #208
	ldr	r3, [fp, #-272]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L3:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	mul	r3, r2, r3
	ldr	r2, [fp, #-272]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L5
.L6:
	bl	read
	mov	r3, r0
	mov	r1, r3
	sub	r2, fp, #220
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L5:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L6
	b	.L7
.L19:
	ldr	r3, [fp, #-276]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-216]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L8
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L10
.L11:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-264]
	mul	r3, r2, r3
	ldr	r2, [fp, #-260]
	add	r3, r2, r3
	str	r3, [fp, #-228]
	ldr	r2, [fp, #-284]
	ldr	r3, [fp, #-264]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-280]
	mul	r3, r2, r3
	ldr	r2, [fp, #-260]
	add	r3, r2, r3
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-228]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-285]
	sub	r2, fp, #208
	ldr	r3, [fp, #-224]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #208
	ldr	r3, [fp, #-228]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #208
	ldr	r3, [fp, #-224]
	add	r3, r2, r3
	ldrb	r2, [fp, #-285]
	strb	r2, [r3]
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L10:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L9:
	ldr	r3, [fp, #-284]
	asr	r3, r3, #1
	ldr	r2, [fp, #-264]
	cmp	r2, r3
	blt	.L12
	b	.L7
.L8:
	ldr	r3, [fp, #-280]
	sub	r3, r3, #1
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-248]
	b	.L14
.L15:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-248]
	mul	r2, r3, r2
	ldr	r3, [fp, #-256]
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	add	r1, r3, #1
	str	r1, [fp, #-252]
	sub	r1, fp, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-204]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-104]
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
.L14:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-256]
	sub	r3, r3, #1
	str	r3, [fp, #-256]
.L13:
	ldr	r3, [fp, #-256]
	cmp	r3, #0
	bge	.L16
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-244]
	b	.L17
.L18:
	sub	r2, fp, #108
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #208
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
.L17:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	mul	r3, r2, r3
	ldr	r2, [fp, #-244]
	cmp	r2, r3
	blt	.L18
.L7:
	ldr	r3, [fp, #-276]
	sub	r2, r3, #1
	str	r2, [fp, #-276]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	mov	r1, r3
	ldr	r0, .L27+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-240]
	b	.L20
.L23:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-240]
	mul	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-236]
	b	.L21
.L22:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-240]
	mul	r2, r3, r2
	ldr	r3, [fp, #-236]
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L21:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-236]
	cmp	r2, r3
	blt	.L22
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
.L20:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-240]
	cmp	r2, r3
	blt	.L23
.L2:
	sub	r3, fp, #276
	sub	r2, fp, #280
	sub	r1, fp, #284
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L24
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
