	.file	"398757.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\350\257\267\347\214\234\344\270\200\344\270\2520~999\347\232\204\346\225\264\346\225\260\343\200\202\n"
	.align 8
.LC1:
	.string	"\350\277\230\345\211\251%d\346\254\241\346\234\272\344\274\232\343\200\202\346\230\257\345\244\232\345\260\221\345\221\242\357\274\232"
.LC2:
	.string	"%d"
.LC3:
	.string	"\007\345\206\215\345\260\217\344\270\200\347\202\271\343\200\202"
.LC4:
	.string	"\007\345\206\215\345\244\247\344\270\200\347\202\271\343\200\202"
	.align 8
.LC5:
	.string	"\007\345\276\210\351\201\227\346\206\276\357\274\214\346\255\243\347\241\256\347\255\224\346\241\210\346\230\257%d\343\200\202\n"
.LC6:
	.string	"\345\233\236\347\255\224\346\255\243\347\241\256\343\200\202"
.LC7:
	.string	"\346\202\250\347\224\250\344\272\206%d\346\254\241\347\214\234\344\270\255\344\272\206\343\200\202\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	mov	DWORD PTR -16[rbp], 10
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -12[rbp], edx
	mov	edx, DWORD PTR -12[rbp]
	imul	edx, edx, 1000
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L5:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	sub	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L2
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L3
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	je	.L4
	cmp	DWORD PTR -20[rbp], 0
	jg	.L5
.L4:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	je	.L6
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"398757.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\350\257\267\347\214\234\344\270\200\344\270\2520~9"
	.ascii	"99\347\232\204\346\225\264\346\225\260\343\200\202\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"\350\277\230\345\211\251%d\346\254\241\346\234\272\344"
	.ascii	"\274\232\343\200\202\346\230\257\345\244\232\345\260"
	.ascii	"\221\345\221\242\357\274\232\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\007\345\206\215\345\260\217\344\270\200\347\202\271"
	.ascii	"\343\200\202\000"
	.align	2
.LC4:
	.ascii	"\007\345\206\215\345\244\247\344\270\200\347\202\271"
	.ascii	"\343\200\202\000"
	.align	2
.LC5:
	.ascii	"\007\345\276\210\351\201\227\346\206\276\357\274\214"
	.ascii	"\346\255\243\347\241\256\347\255\224\346\241\210\346"
	.ascii	"\230\257%d\343\200\202\012\000"
	.align	2
.LC6:
	.ascii	"\345\233\236\347\255\224\346\255\243\347\241\256\343"
	.ascii	"\200\202\000"
	.align	2
.LC7:
	.ascii	"\346\202\250\347\224\250\344\272\206%d\346\254\241\347"
	.ascii	"\214\234\344\270\255\344\272\206\343\200\202\012\000"
	.align	2
.LC8:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r2, r0
	ldr	r3, .L10+4
	smull	r1, r3, r2, r3
	asr	r1, r3, #6
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r0, .L10+8
	bl	puts
.L5:
	ldr	r1, [fp, #-20]
	ldr	r0, .L10+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L10+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L2
	ldr	r0, .L10+20
	bl	puts
	b	.L3
.L2:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L3
	ldr	r0, .L10+24
	bl	puts
.L3:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L4
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L5
.L4:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L6
	ldr	r1, [fp, #-12]
	ldr	r0, .L10+28
	bl	printf
	b	.L7
.L6:
	ldr	r0, .L10+32
	bl	puts
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L10+36
	bl	printf
.L7:
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	274877907
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
