	.file	"888322.c"
	.intel_syntax noprefix
	.text
	.globl	w
	.bss
	.align 32
	.type	w, @object
	.size	w, 20000
w:
	.zero	20000
	.globl	d
	.align 32
	.type	d, @object
	.size	d, 4000
d:
	.zero	4000
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	sum
	.align 4
	.type	sum, @object
	.size	sum, 4
sum:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1000
buf:
	.zero	1000
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	" %s %d"
.LC2:
	.string	"the_stack_data/888322.c"
.LC3:
	.string	"strlen(w[i]) <= 16"
.LC4:
	.string	"strlen(buf) <= 16"
.LC5:
	.string	" %s"
.LC6:
	.string	"."
.LC7:
	.string	"%d\n"
	.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
	lea	rdx, n[rip]
	lea	rsi, m[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	add	rdx, rax
	mov	eax, DWORD PTR i[rip]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	lea	rcx, w[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, w[rip]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 16
	jbe	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 13
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L3:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR m[rip]
	cmp	edx, eax
	jl	.L4
	mov	DWORD PTR i[rip], 0
	jmp	.L5
.L13:
	mov	DWORD PTR sum[rip], 0
	jmp	.L6
.L12:
	lea	rdi, buf[rip]
	call	strlen@PLT
	cmp	rax, 16
	jbe	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 18
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L7:
	mov	DWORD PTR j[rip], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR m[rip]
	cmp	edx, eax
	jge	.L9
	mov	eax, DWORD PTR j[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, w[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, buf[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
.L9:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR m[rip]
	cmp	edx, eax
	jge	.L6
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR sum[rip]
	add	eax, edx
	mov	DWORD PTR sum[rip], eax
.L6:
	lea	rsi, buf[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L11
	lea	rsi, .LC6[rip]
	lea	rdi, buf[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
.L11:
	mov	eax, DWORD PTR sum[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L5:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L13
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"888322.c"
	.text
	.comm	w,20000,4
	.comm	d,4000,4
	.comm	n,4,4
	.comm	m,4,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	sum,4,4
	.comm	buf,1000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	" %s %d\000"
	.align	2
.LC2:
	.ascii	"the_stack_data/888322.c\000"
	.align	2
.LC3:
	.ascii	"strlen(w[i]) <= 16\000"
	.align	2
.LC4:
	.ascii	"strlen(buf) <= 16\000"
	.align	2
.LC5:
	.ascii	" %s\000"
	.align	2
.LC6:
	.ascii	".\000"
	.align	2
.LC7:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L15
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r3, .L15+12
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L4:
	ldr	r3, .L15+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L15+16
	add	r1, r3, r2
	ldr	r3, .L15+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L15+20
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L15+24
	bl	__isoc99_scanf
	ldr	r3, .L15+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L15+16
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #16
	bls	.L3
	ldr	r3, .L15+28
	mov	r2, #13
	ldr	r1, .L15+32
	ldr	r0, .L15+36
	bl	__assert_fail
.L3:
	ldr	r3, .L15+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+12
	str	r3, [r2]
.L2:
	ldr	r3, .L15+12
	ldr	r2, [r3]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L4
	ldr	r3, .L15+12
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L13:
	ldr	r3, .L15+40
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L12:
	ldr	r0, .L15+44
	bl	strlen
	mov	r3, r0
	cmp	r3, #16
	bls	.L7
	ldr	r3, .L15+28
	mov	r2, #18
	ldr	r1, .L15+32
	ldr	r0, .L15+48
	bl	__assert_fail
.L7:
	ldr	r3, .L15+52
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L10:
	ldr	r3, .L15+52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+52
	str	r3, [r2]
.L8:
	ldr	r3, .L15+52
	ldr	r2, [r3]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L9
	ldr	r3, .L15+52
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L15+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L15+44
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L9:
	ldr	r3, .L15+52
	ldr	r2, [r3]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L6
	ldr	r3, .L15+52
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L15+40
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L15+40
	str	r3, [r2]
.L6:
	ldr	r1, .L15+44
	ldr	r0, .L15+56
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, .L15+60
	ldr	r0, .L15+44
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r3, .L15+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+64
	bl	printf
	ldr	r3, .L15+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+12
	str	r3, [r2]
.L5:
	ldr	r3, .L15+12
	ldr	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	n
	.word	m
	.word	.LC0
	.word	i
	.word	w
	.word	d
	.word	.LC1
	.word	__PRETTY_FUNCTION__.4623
	.word	.LC2
	.word	.LC3
	.word	sum
	.word	buf
	.word	.LC4
	.word	j
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4623, %object
	.size	__PRETTY_FUNCTION__.4623, 5
__PRETTY_FUNCTION__.4623:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
