	.file	"251991.c"
	.intel_syntax noprefix
	.text
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 200036
h:
	.zero	200036
	.globl	min
	.align 32
	.type	min, @object
	.size	min, 2036
min:
	.zero	2036
	.globl	max
	.align 32
	.type	max, @object
	.size	max, 2036
max:
	.zero	2036
	.globl	block_size
	.data
	.align 4
	.type	block_size, @object
	.size	block_size, 4
block_size:
	.long	100
	.globl	N
	.bss
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	Q
	.align 4
	.type	Q, @object
	.size	Q, 4
Q:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.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
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, Q[rip]
	lea	rsi, N[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L3
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, min[rip]
	mov	DWORD PTR [rdx+rax], 2139062143
	add	DWORD PTR -20[rbp], 1
.L4:
	cmp	DWORD PTR -20[rbp], 508
	jle	.L5
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edi, DWORD PTR block_size[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L7
	mov	esi, DWORD PTR block_size[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	esi
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, max[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edi, DWORD PTR block_size[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, min[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jge	.L8
	mov	esi, DWORD PTR block_size[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	esi
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, min[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L8:
	add	DWORD PTR -20[rbp], 1
.L6:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L9
	jmp	.L10
.L24:
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 2139062143
	lea	rdx, -24[rbp]
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L12
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L13
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
.L13:
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
.L11:
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR block_size[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	je	.L16
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jle	.L15
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, DWORD PTR block_size[rip]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L17
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR block_size[rip]
	cdq
	idiv	esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
.L17:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, DWORD PTR block_size[rip]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, min[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L18
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR block_size[rip]
	cdq
	idiv	esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, min[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
.L18:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR block_size[rip]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
.L16:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR block_size[rip]
	add	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jle	.L19
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L21
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
.L21:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L22
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, h[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
.L22:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
.L20:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jge	.L23
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR Q[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR Q[rip], edx
	test	eax, eax
	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
.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	"251991.c"
	.text
	.comm	h,200036,4
	.comm	min,2036,4
	.comm	max,2036,4
	.global	block_size
	.data
	.align	2
	.type	block_size, %object
	.size	block_size, 4
block_size:
	.word	100
	.comm	N,4,4
	.comm	Q,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L27+4
	ldr	r1, .L27+8
	ldr	r0, .L27+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L3:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, .L27+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L27+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L4
.L5:
	ldr	r2, .L27+24
	ldr	r3, [fp, #-28]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L27+28
	ldr	r3, [fp, #-28]
	ldr	r1, .L27+32
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L4:
	ldr	r3, [fp, #-28]
	cmp	r3, #508
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L6
.L9:
	ldr	r2, .L27+16
	ldr	r3, [fp, #-28]
	ldr	r4, [r2, r3, lsl #2]
	ldr	r3, .L27+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+24
	ldr	r3, [r3, r2, lsl #2]
	cmp	r4, r3
	ble	.L7
	ldr	r3, .L27+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L27+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L27+24
	str	r3, [r2, r1, lsl #2]
.L7:
	ldr	r2, .L27+16
	ldr	r3, [fp, #-28]
	ldr	r4, [r2, r3, lsl #2]
	ldr	r3, .L27+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+28
	ldr	r3, [r3, r2, lsl #2]
	cmp	r4, r3
	bge	.L8
	ldr	r3, .L27+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L27+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L27+28
	str	r3, [r2, r1, lsl #2]
.L8:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L6:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L9
	b	.L10
.L24:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, .L27+32
	str	r3, [fp, #-20]
	sub	r2, fp, #32
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L27+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L11
.L15:
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L12
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
.L13:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L11:
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	beq	.L16
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L15
	b	.L16
.L19:
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+24
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L17
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+24
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-24]
.L17:
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+28
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-36]
	ldr	r2, .L27+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+28
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-20]
.L18:
	ldr	r2, [fp, #-36]
	ldr	r3, .L27+36
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-36]
.L16:
	ldr	r2, [fp, #-36]
	ldr	r3, .L27+36
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L19
	b	.L20
.L23:
	ldr	r3, [fp, #-32]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L21
	ldr	r3, [fp, #-32]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-24]
.L21:
	ldr	r3, [fp, #-32]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L22
	ldr	r3, [fp, #-32]
	ldr	r2, .L27+16
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
.L22:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L20:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L23
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L27+40
	bl	printf
.L10:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L27+4
	str	r2, [r1]
	cmp	r3, #0
	bne	.L24
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC3
	.word	Q
	.word	N
	.word	.LC0
	.word	h
	.word	.LC1
	.word	max
	.word	min
	.word	2139062143
	.word	block_size
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
