	.file	"218609.c"
	.intel_syntax noprefix
	.text
	.globl	nb_tour
	.section	.rodata
	.align 4
	.type	nb_tour, @object
	.size	nb_tour, 4
nb_tour:
	.long	10
	.text
	.globl	init
	.type	init, @function
init:
.LFB0:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	init, .-init
	.globl	check
	.type	check, @function
check:
.LFB1:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	BYTE PTR -5[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	movzx	edx, BYTE PTR -5[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -24[rbp], eax
	sete	al
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -5[rbp], al
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L6
	movzx	eax, BYTE PTR -5[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check, .-check
	.section	.rodata
.LC0:
	.string	"check init a failed"
.LC1:
	.string	"check init f failed"
.LC2:
	.string	"loop %d : check failed\n"
.LC3:
	.string	"final check a failed"
.LC4:
	.string	"final check f failed"
.LC5:
	.string	"success"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -816[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 100
	call	init
	lea	rax, -416[rbp]
	mov	edx, 2
	mov	rsi, rax
	mov	edi, 100
	call	init
	lea	rax, -816[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L9
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rax, -416[rbp]
	mov	edx, 2
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L10
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	DWORD PTR -824[rbp], 0
	jmp	.L11
.L20:
	mov	DWORD PTR -820[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -816[rbp+rax*4], edx
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -820[rbp], 1
.L12:
	cmp	DWORD PTR -820[rbp], 99
	jle	.L13
	mov	DWORD PTR -820[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -816[rbp+rax*4], edx
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -820[rbp], 1
.L14:
	cmp	DWORD PTR -820[rbp], 99
	jle	.L15
	mov	eax, DWORD PTR -816[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -816[rbp], edx
	mov	DWORD PTR -816[rbp], eax
	mov	DWORD PTR -820[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -816[rbp+rax*4], edx
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -820[rbp], 1
.L16:
	cmp	DWORD PTR -820[rbp], 99
	jle	.L17
	mov	eax, DWORD PTR -824[rbp]
	lea	edx, 1[rax]
	lea	rax, -816[rbp]
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L18
	mov	eax, DWORD PTR -824[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -824[rbp]
	lea	edx, 3[rax]
	lea	rax, -416[rbp]
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L19
	mov	eax, DWORD PTR -824[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	add	DWORD PTR -824[rbp], 1
.L11:
	mov	eax, 10
	cmp	DWORD PTR -824[rbp], eax
	jl	.L20
	mov	edx, 10
	lea	rax, -816[rbp]
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L21
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, 10
	lea	edx, 2[rax]
	lea	rax, -416[rbp]
	mov	rsi, rax
	mov	edi, 100
	call	check
	xor	eax, 1
	test	al, al
	je	.L22
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"218609.c"
	.text
	.global	nb_tour
	.section	.rodata
	.align	2
	.type	nb_tour, %object
	.size	nb_tour, 4
nb_tour:
	.word	10
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	init, .-init
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 0, 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]
	mov	r3, #1
	strb	r3, [fp, #-9]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	ldr	r2, [r2]
	ldr	r1, [fp, #-24]
	cmp	r1, r2
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	and	r3, r3, r2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check, .-check
	.section	.rodata
	.align	2
.LC0:
	.ascii	"check init a failed\000"
	.align	2
.LC1:
	.ascii	"check init f failed\000"
	.align	2
.LC2:
	.ascii	"loop %d : check failed\012\000"
	.align	2
.LC3:
	.ascii	"final check a failed\000"
	.align	2
.LC4:
	.ascii	"final check f failed\000"
	.align	2
.LC5:
	.ascii	"success\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 816
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #816
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #808
	mov	r2, #0
	mov	r1, r3
	mov	r0, #100
	bl	init
	sub	r3, fp, #408
	mov	r2, #2
	mov	r1, r3
	mov	r0, #100
	bl	init
	sub	r3, fp, #808
	mov	r2, #0
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L9
	ldr	r0, .L25+4
	bl	puts
	mov	r0, #1
	bl	exit
.L9:
	sub	r3, fp, #408
	mov	r2, #2
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L25+8
	bl	puts
	mov	r0, #1
	bl	exit
.L10:
	mov	r3, #0
	str	r3, [fp, #-816]
	b	.L11
.L20:
	mov	r3, #0
	str	r3, [fp, #-812]
	b	.L12
.L13:
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	add	r2, r3, #3
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-804]
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	add	r2, r3, #3
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-812]
	add	r3, r3, #1
	str	r3, [fp, #-812]
.L12:
	ldr	r3, [fp, #-812]
	cmp	r3, #99
	ble	.L13
	mov	r3, #0
	str	r3, [fp, #-812]
	b	.L14
.L15:
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	sub	r2, r3, #1
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-804]
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	sub	r2, r3, #1
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-812]
	add	r3, r3, #1
	str	r3, [fp, #-812]
.L14:
	ldr	r3, [fp, #-812]
	cmp	r3, #99
	ble	.L15
	ldr	r3, [fp, #-808]
	add	r2, r3, #1
	str	r2, [fp, #-808]
	str	r3, [fp, #-808]
	mov	r3, #0
	str	r3, [fp, #-812]
	b	.L16
.L17:
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	sub	r2, r3, #1
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-804]
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	sub	r2, r3, #1
	ldr	r3, [fp, #-812]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-812]
	add	r3, r3, #1
	str	r3, [fp, #-812]
.L16:
	ldr	r3, [fp, #-812]
	cmp	r3, #99
	ble	.L17
	ldr	r3, [fp, #-816]
	add	r2, r3, #1
	sub	r3, fp, #808
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L18
	ldr	r1, [fp, #-816]
	ldr	r0, .L25+12
	bl	printf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-816]
	add	r2, r3, #3
	sub	r3, fp, #408
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L19
	ldr	r1, [fp, #-816]
	ldr	r0, .L25+12
	bl	printf
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-816]
	add	r3, r3, #1
	str	r3, [fp, #-816]
.L11:
	mov	r2, #10
	ldr	r3, [fp, #-816]
	cmp	r3, r2
	blt	.L20
	mov	r2, #10
	sub	r3, fp, #808
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L25+16
	bl	puts
	mov	r0, #1
	bl	exit
.L21:
	mov	r3, #10
	add	r2, r3, #2
	sub	r3, fp, #408
	mov	r1, r3
	mov	r0, #100
	bl	check
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L25+20
	bl	puts
	mov	r0, #1
	bl	exit
.L22:
	ldr	r0, .L25+24
	bl	puts
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
