	.file	"944892.c"
	.intel_syntax noprefix
	.text
	.globl	suite
	.type	suite, @function
suite:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -4[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	suite, .-suite
	.section	.rodata
.LC0:
	.string	"v==%d n==%d\n"
.LC1:
	.string	"Depassement pour %d : %d\n"
.LC2:
	.string	"seed %d \t n %d i %d\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
	lea	r11, -196608[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3456
	mov	DWORD PTR -200052[rbp], edi
	mov	QWORD PTR -200064[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -200052[rbp], 1
	jle	.L5
	mov	rax, QWORD PTR -200064[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -200040[rbp], eax
	jmp	.L6
.L5:
	mov	DWORD PTR -200040[rbp], 7
.L6:
	mov	DWORD PTR -200028[rbp], 1
	jmp	.L7
.L16:
	mov	DWORD PTR -200036[rbp], 0
	lea	rax, -200016[rbp]
	mov	QWORD PTR -200024[rbp], rax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -200024[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -200024[rbp], rdx
	mov	WORD PTR [rax], 0
	add	DWORD PTR -200036[rbp], 1
.L8:
	cmp	DWORD PTR -200036[rbp], 99999
	jle	.L9
	mov	eax, DWORD PTR -200028[rbp]
	mov	DWORD PTR -200032[rbp], eax
	mov	eax, DWORD PTR -200032[rbp]
	cdqe
	mov	WORD PTR -200016[rbp+rax*2], 1
	mov	DWORD PTR -200036[rbp], 1
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -200032[rbp]
	mov	edi, eax
	call	suite
	mov	DWORD PTR -200032[rbp], eax
	mov	edx, DWORD PTR -200040[rbp]
	mov	eax, DWORD PTR -200032[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -200032[rbp], 100000
	jle	.L11
	mov	edx, DWORD PTR -200032[rbp]
	mov	eax, DWORD PTR -200028[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -200032[rbp]
	cdqe
	movzx	eax, WORD PTR -200016[rbp+rax*2]
	test	ax, ax
	jne	.L19
	mov	eax, DWORD PTR -200032[rbp]
	cdqe
	mov	WORD PTR -200016[rbp+rax*2], 1
	add	DWORD PTR -200036[rbp], 1
.L10:
	mov	eax, DWORD PTR -200036[rbp]
	cmp	eax, DWORD PTR -200040[rbp]
	jl	.L14
	jmp	.L13
.L19:
	nop
.L13:
	mov	eax, DWORD PTR -200040[rbp]
	cmp	eax, DWORD PTR -200036[rbp]
	jne	.L15
	mov	ecx, DWORD PTR -200036[rbp]
	mov	edx, DWORD PTR -200040[rbp]
	mov	eax, DWORD PTR -200028[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	add	DWORD PTR -200028[rbp], 1
.L7:
	cmp	DWORD PTR -200028[rbp], 9
	jle	.L16
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"944892.c"
	.text
	.align	2
	.global	suite
	.syntax unified
	.arm
	.fpu softvfp
	.type	suite, %function
suite:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	suite, .-suite
	.section	.rodata
	.align	2
.LC0:
	.ascii	"v==%d n==%d\012\000"
	.align	2
.LC1:
	.ascii	"Depassement pour %d : %d\012\000"
	.align	2
.LC2:
	.ascii	"seed %d \011 n %d i %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 = 200032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #199680
	sub	sp, sp, #356
	sub	r3, fp, #196608
	sub	r3, r3, #12
	str	r0, [r3, #-3420]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	str	r1, [r3, #-3424]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3420]
	cmp	r3, #1
	ble	.L5
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3424]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-3416]
	b	.L6
.L5:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #7
	str	r3, [r2, #-3416]
.L6:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3404]
	b	.L7
.L16:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3412]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #199680
	sub	r3, r3, #12
	sub	r3, r3, #324
	str	r3, [r2, #-3400]
	b	.L8
.L9:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3400]
	sub	r2, fp, #196608
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #2
	str	r2, [r1, #-3400]
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3412]
	add	r3, r3, #1
	str	r3, [r2, #-3412]
.L8:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3412]
	ldr	r2, .L20+4
	cmp	r3, r2
	blt	.L9
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3404]
	str	r3, [r2, #-3408]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r3, r3, #3392
	sub	r3, r3, #4
	sub	r2, fp, #196608
	sub	r2, r2, #12
	ldr	r2, [r2, #-3408]
	lsl	r2, r2, #1
	add	r3, r3, r2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3412]
	b	.L10
.L14:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r0, [r3, #-3408]
	bl	suite
	str	r0, [r4, #-3408]
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r2, [r2, #-3416]
	ldr	r1, [r3, #-3408]
	ldr	r0, .L20+8
	bl	printf
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3408]
	ldr	r2, .L20+4
	cmp	r3, r2
	ble	.L11
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r2, [r2, #-3408]
	ldr	r1, [r3, #-3404]
	ldr	r0, .L20+12
	bl	printf
	mov	r0, #0
	bl	exit
.L11:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r3, r3, #3392
	sub	r3, r3, #4
	sub	r2, fp, #196608
	sub	r2, r2, #12
	ldr	r2, [r2, #-3408]
	lsl	r2, r2, #1
	add	r3, r3, r2
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r3, r3, #3392
	sub	r3, r3, #4
	sub	r2, fp, #196608
	sub	r2, r2, #12
	ldr	r2, [r2, #-3408]
	lsl	r2, r2, #1
	add	r3, r3, r2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3412]
	add	r3, r3, #1
	str	r3, [r2, #-3412]
.L10:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r2, [r2, #-3412]
	ldr	r3, [r3, #-3416]
	cmp	r2, r3
	blt	.L14
	b	.L13
.L19:
	nop
.L13:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r2, [r2, #-3416]
	ldr	r3, [r3, #-3412]
	cmp	r2, r3
	bne	.L15
	sub	r3, fp, #196608
	sub	r3, r3, #12
	sub	r2, fp, #196608
	sub	r2, r2, #12
	sub	r1, fp, #196608
	sub	r1, r1, #12
	ldr	r3, [r3, #-3412]
	ldr	r2, [r2, #-3416]
	ldr	r1, [r1, #-3404]
	ldr	r0, .L20+16
	bl	printf
.L15:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3404]
	add	r3, r3, #1
	str	r3, [r2, #-3404]
.L7:
	sub	r3, fp, #196608
	sub	r3, r3, #12
	ldr	r3, [r3, #-3404]
	cmp	r3, #9
	ble	.L16
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC3
	.word	100000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
