	.file	"734411.c"
	.intel_syntax noprefix
	.text
	.type	propagate, @function
propagate:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	cmp	QWORD PTR -32[rbp], 0
	setne	al
	movzx	edx, al
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	jmp	.L2
.L7:
	cmp	QWORD PTR -40[rbp], 0
	setne	al
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	je	.L5
.L4:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
.L5:
	add	QWORD PTR -8[rbp], 1
.L3:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 1
	cmp	QWORD PTR -40[rbp], rax
	setb	al
	movzx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 1
	cmp	QWORD PTR -8[rbp], rax
	jb	.L6
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	cmp	QWORD PTR -32[rbp], rax
	setb	al
	movzx	edx, al
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, 1
	cmp	QWORD PTR -16[rbp], rax
	jb	.L7
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	propagate, .-propagate
	.section	.rodata
.LC0:
	.string	"too many rows\n"
.LC1:
	.string	"too many columns\n"
.LC2:
	.string	"cannot parse a number\n"
.LC3:
	.string	"%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 896
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -848[rbp], 0
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	mov	QWORD PTR -856[rbp], 0
	jmp	.L9
.L16:
	cmp	QWORD PTR -856[rbp], 10
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	QWORD PTR -864[rbp], 0
	mov	QWORD PTR -848[rbp], 0
	jmp	.L11
.L15:
	cmp	QWORD PTR -848[rbp], 10
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L13
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L14
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rdx, QWORD PTR -872[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	lea	edx, -48[rcx]
	mov	DWORD PTR -832[rbp+rax*4], edx
	add	QWORD PTR -864[rbp], 1
	add	QWORD PTR -848[rbp], 1
.L11:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L15
	add	QWORD PTR -872[rbp], 1
	add	QWORD PTR -856[rbp], 1
.L9:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L16
	mov	QWORD PTR -880[rbp], 0
	jmp	.L17
.L29:
	mov	QWORD PTR -872[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -872[rbp]
	mov	eax, DWORD PTR -832[rbp+rax*4]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -872[rbp]
	mov	DWORD PTR -832[rbp+rax*4], edx
	add	QWORD PTR -872[rbp], 1
.L18:
	cmp	QWORD PTR -872[rbp], 99
	jbe	.L19
	lea	rax, -432[rbp]
	mov	edx, 400
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L25:
	mov	DWORD PTR -884[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	jmp	.L20
.L24:
	mov	QWORD PTR -864[rbp], 0
	jmp	.L21
.L23:
	mov	rdx, QWORD PTR -872[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR -432[rbp+rax*4]
	test	eax, eax
	jne	.L22
	mov	rdx, QWORD PTR -872[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cmp	eax, 9
	jle	.L22
	add	DWORD PTR -884[rbp], 1
	mov	rdx, QWORD PTR -872[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	DWORD PTR -432[rbp+rax*4], 1
	mov	rdi, QWORD PTR -848[rbp]
	mov	rcx, QWORD PTR -856[rbp]
	mov	rdx, QWORD PTR -864[rbp]
	mov	rsi, QWORD PTR -872[rbp]
	lea	rax, -832[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	propagate
.L22:
	add	QWORD PTR -864[rbp], 1
.L21:
	mov	rax, QWORD PTR -864[rbp]
	cmp	rax, QWORD PTR -848[rbp]
	jb	.L23
	add	QWORD PTR -872[rbp], 1
.L20:
	mov	rax, QWORD PTR -872[rbp]
	cmp	rax, QWORD PTR -856[rbp]
	jb	.L24
	cmp	DWORD PTR -884[rbp], 0
	jne	.L25
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	jmp	.L26
.L28:
	mov	rax, QWORD PTR -872[rbp]
	mov	eax, DWORD PTR -832[rbp+rax*4]
	cmp	eax, 9
	jle	.L27
	add	QWORD PTR -840[rbp], 1
	mov	rax, QWORD PTR -872[rbp]
	mov	DWORD PTR -832[rbp+rax*4], 0
.L27:
	add	QWORD PTR -872[rbp], 1
.L26:
	cmp	QWORD PTR -872[rbp], 99
	jbe	.L28
	add	QWORD PTR -880[rbp], 1
.L17:
	mov	rax, QWORD PTR -856[rbp]
	imul	rax, QWORD PTR -848[rbp]
	cmp	QWORD PTR -840[rbp], rax
	jb	.L29
	mov	rax, QWORD PTR -880[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"734411.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	propagate, %function
propagate:
	@ args = 4, 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-20]
	sub	r3, r3, r2
	str	r3, [fp, #-12]
	b	.L2
.L7:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L3
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L5
.L4:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L6
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L7
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	propagate, .-propagate
	.section	.rodata
	.align	2
.LC0:
	.ascii	"too many rows\012\000"
	.align	2
.LC1:
	.ascii	"too many columns\012\000"
	.align	2
.LC2:
	.ascii	"cannot parse a number\012\000"
	.align	2
.LC3:
	.ascii	"%lu\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 848
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #856
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-836]
	mov	r3, #0
	str	r3, [fp, #-832]
	mov	r3, #0
	str	r3, [fp, #-848]
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L9
.L16:
	ldr	r3, [fp, #-840]
	cmp	r3, #10
	bne	.L10
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L32+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L10:
	mov	r3, #0
	str	r3, [fp, #-844]
	mov	r3, #0
	str	r3, [fp, #-836]
	b	.L11
.L15:
	ldr	r3, [fp, #-836]
	cmp	r3, #10
	bne	.L12
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L32+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L12:
	sub	r2, fp, #24
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L13
	sub	r2, fp, #24
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L14
.L13:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L32+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L14:
	sub	r2, fp, #24
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-848]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	sub	r2, r1, #48
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-820]
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	str	r3, [fp, #-836]
.L11:
	sub	r2, fp, #24
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L15
	ldr	r3, [fp, #-848]
	add	r3, r3, #1
	str	r3, [fp, #-848]
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L9:
	ldr	r3, .L32+20
	ldr	r2, [r3]
	sub	r3, fp, #24
	mov	r1, #16
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	str	r3, [fp, #-852]
	b	.L17
.L29:
	mov	r3, #0
	str	r3, [fp, #-848]
	b	.L18
.L19:
	ldr	r3, [fp, #-848]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-820]
	add	r2, r3, #1
	ldr	r3, [fp, #-848]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-820]
	ldr	r3, [fp, #-848]
	add	r3, r3, #1
	str	r3, [fp, #-848]
.L18:
	ldr	r3, [fp, #-848]
	cmp	r3, #99
	bls	.L19
	sub	r3, fp, #424
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L25:
	mov	r3, #0
	str	r3, [fp, #-828]
	mov	r3, #0
	str	r3, [fp, #-848]
	b	.L20
.L24:
	mov	r3, #0
	str	r3, [fp, #-844]
	b	.L21
.L23:
	ldr	r2, [fp, #-848]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-420]
	cmp	r3, #0
	bne	.L22
	ldr	r2, [fp, #-848]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-820]
	cmp	r3, #9
	ble	.L22
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
	ldr	r2, [fp, #-848]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-844]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-420]
	sub	r0, fp, #824
	ldr	r3, [fp, #-836]
	str	r3, [sp]
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-844]
	ldr	r1, [fp, #-848]
	bl	propagate
.L22:
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L21:
	ldr	r2, [fp, #-844]
	ldr	r3, [fp, #-836]
	cmp	r2, r3
	bcc	.L23
	ldr	r3, [fp, #-848]
	add	r3, r3, #1
	str	r3, [fp, #-848]
.L20:
	ldr	r2, [fp, #-848]
	ldr	r3, [fp, #-840]
	cmp	r2, r3
	bcc	.L24
	ldr	r3, [fp, #-828]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	str	r3, [fp, #-832]
	mov	r3, #0
	str	r3, [fp, #-848]
	b	.L26
.L28:
	ldr	r3, [fp, #-848]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-820]
	cmp	r3, #9
	ble	.L27
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
	ldr	r3, [fp, #-848]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-820]
.L27:
	ldr	r3, [fp, #-848]
	add	r3, r3, #1
	str	r3, [fp, #-848]
.L26:
	ldr	r3, [fp, #-848]
	cmp	r3, #99
	bls	.L28
	ldr	r3, [fp, #-852]
	add	r3, r3, #1
	str	r3, [fp, #-852]
.L17:
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-836]
	mul	r3, r2, r3
	ldr	r2, [fp, #-832]
	cmp	r2, r3
	bcc	.L29
	ldr	r1, [fp, #-852]
	ldr	r0, .L32+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
