	.file	"209891.c"
	.intel_syntax noprefix
	.text
	.globl	wait
	.type	wait, @function
wait:
.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 -4[rbp], edi
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L2
	sub	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	wait, .-wait
	.globl	signal
	.type	signal, @function
signal:
.LFB7:
	.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 -4[rbp], edi
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	signal, .-signal
	.section	.rodata
	.align 8
.LC0:
	.string	"\nEnter the no. of philosophers : "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"\n1) Random selection of philosopher \t 2) User selects the philosopher  :  "
	.align 8
.LC3:
	.string	"\nEnter the philosopher no who must be given the eating chance initially {enter the ID(0->%d)}: \n\n"
	.align 8
.LC4:
	.string	"\nThe philosopher selected is %d and his id is %d\n\n "
	.align 8
.LC5:
	.string	"\n %d philosopher(id -> %d) eats!!!!!!!!!"
	.align 8
.LC6:
	.string	"\n The chopstick matrix after philosopher %d eats \n"
.LC7:
	.string	"%d  "
	.align 8
.LC8:
	.string	"\n---------------------------------------------------------------------------------------"
	.align 8
.LC9:
	.string	"\n\n\n The philopsopher who can eat at the same time"
.LC10:
	.string	"\t%d(id -> %d)\n"
.LC11:
	.string	"\n\n Eating Finished"
	.align 8
.LC12:
	.string	"\n %d philosopher(id -> %d) thinks!!!!!!!!!"
	.align 8
.LC13:
	.string	"\n The chopstick matrix after philosopher %d thinks \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 248
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -240[rbp], 0
	mov	DWORD PTR -236[rbp], 0
	mov	DWORD PTR -232[rbp], 0
	mov	DWORD PTR -228[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -252[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -244[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -244[rbp]
	cmp	eax, 2
	jne	.L7
	mov	eax, DWORD PTR -252[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L8
.L7:
	call	rand@PLT
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	mov	DWORD PTR -248[rbp], eax
	mov	eax, DWORD PTR -248[rbp]
	mov	edx, DWORD PTR -248[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR -248[rbp]
	mov	DWORD PTR -232[rbp], eax
	mov	DWORD PTR -236[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], 1
	add	DWORD PTR -236[rbp], 1
.L9:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -236[rbp], eax
	jl	.L10
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 1
	jne	.L12
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 1
	jne	.L12
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edi, eax
	call	wait
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, DWORD PTR -252[rbp]
	cdq
	idiv	esi
	mov	ebx, edx
	mov	edi, ecx
	call	wait
	movsx	rdx, ebx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -228[rbp], 1
.L13:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L14
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	mov	edx, DWORD PTR -232[rbp]
	mov	DWORD PTR -224[rbp+rax*4], edx
	add	DWORD PTR -240[rbp], 1
.L12:
	add	DWORD PTR -232[rbp], 1
.L11:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L15
	mov	DWORD PTR -232[rbp], 0
	jmp	.L16
.L20:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 1
	jne	.L17
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 1
	jne	.L17
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edi, eax
	call	wait
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, DWORD PTR -252[rbp]
	cdq
	idiv	esi
	mov	ebx, edx
	mov	edi, ecx
	call	wait
	movsx	rdx, ebx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -228[rbp], 1
.L18:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L19
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	mov	edx, DWORD PTR -232[rbp]
	mov	DWORD PTR -224[rbp+rax*4], edx
	add	DWORD PTR -240[rbp], 1
.L17:
	add	DWORD PTR -232[rbp], 1
.L16:
	mov	eax, DWORD PTR -248[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L20
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -236[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	edx, DWORD PTR -236[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -224[rbp+rdx*4]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -236[rbp], 1
.L21:
	mov	eax, DWORD PTR -236[rbp]
	cmp	eax, DWORD PTR -240[rbp]
	jl	.L22
	mov	eax, DWORD PTR -248[rbp]
	mov	DWORD PTR -232[rbp], eax
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L23
.L27:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edi, eax
	call	signal
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, DWORD PTR -252[rbp]
	cdq
	idiv	esi
	mov	ebx, edx
	mov	edi, ecx
	call	signal
	movsx	rdx, ebx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -228[rbp], 1
.L25:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L26
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L24:
	add	DWORD PTR -232[rbp], 1
.L23:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L27
	mov	DWORD PTR -232[rbp], 0
	jmp	.L28
.L32:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edi, eax
	call	signal
	mov	edx, DWORD PTR -232[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -252[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	mov	ecx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, DWORD PTR -252[rbp]
	cdq
	idiv	esi
	mov	ebx, edx
	mov	edi, ecx
	call	signal
	movsx	rdx, ebx
	mov	DWORD PTR -144[rbp+rdx*4], eax
	mov	eax, DWORD PTR -232[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -228[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -228[rbp], 1
.L30:
	mov	eax, DWORD PTR -252[rbp]
	cmp	DWORD PTR -228[rbp], eax
	jl	.L31
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L29:
	add	DWORD PTR -232[rbp], 1
.L28:
	mov	eax, DWORD PTR -248[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L32
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"209891.c"
	.text
	.align	2
	.global	wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait, %function
wait:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	wait, .-wait
	.align	2
	.global	signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal, %function
signal:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	signal, .-signal
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter the no. of philosophers : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\0121) Random selection of philosopher \011 2) User"
	.ascii	" selects the philosopher  :  \000"
	.align	2
.LC3:
	.ascii	"\012Enter the philosopher no who must be given the "
	.ascii	"eating chance initially {enter the ID(0->%d)}: \012"
	.ascii	"\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC4:
	.ascii	"\012The philosopher selected is %d and his id is %d"
	.ascii	"\012\012 \000"
	.align	2
.LC5:
	.ascii	"\012 %d philosopher(id -> %d) eats!!!!!!!!!\000"
	.align	2
.LC6:
	.ascii	"\012 The chopstick matrix after philosopher %d eats"
	.ascii	" \012\000"
	.align	2
.LC7:
	.ascii	"%d  \000"
	.align	2
.LC8:
	.ascii	"\012-----------------------------------------------"
	.ascii	"----------------------------------------\000"
	.align	2
.LC9:
	.ascii	"\012\012\012 The philopsopher who can eat at the sa"
	.ascii	"me time\000"
	.align	2
.LC10:
	.ascii	"\011%d(id -> %d)\012\000"
	.align	2
.LC11:
	.ascii	"\012\012 Eating Finished\000"
	.align	2
.LC12:
	.ascii	"\012 %d philosopher(id -> %d) thinks!!!!!!!!!\000"
	.align	2
.LC13:
	.ascii	"\012 The chopstick matrix after philosopher %d thin"
	.ascii	"ks \012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #232
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	ldr	r0, .L35+4
	bl	printf
	sub	r3, fp, #244
	mov	r1, r3
	ldr	r0, .L35+8
	bl	__isoc99_scanf
	ldr	r0, .L35+12
	bl	printf
	sub	r3, fp, #236
	mov	r1, r3
	ldr	r0, .L35+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-236]
	cmp	r3, #2
	bne	.L7
	ldr	r3, [fp, #-244]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L35+16
	bl	printf
	sub	r3, fp, #240
	mov	r1, r3
	ldr	r0, .L35+8
	bl	__isoc99_scanf
	b	.L8
.L7:
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-244]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	ldr	r2, [fp, #-240]
	mov	r1, r3
	ldr	r0, .L35+20
	bl	printf
.L8:
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L9
.L10:
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L9:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-228]
	cmp	r2, r3
	blt	.L10
	b	.L11
.L15:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r0, r3
	bl	wait
	mov	r2, r0
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r5, r3
	mov	r0, r4
	bl	wait
	mov	r2, r0
	lsl	r3, r5, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-224]
	mov	r1, r3
	ldr	r0, .L35+24
	bl	printf
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L35+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L13
.L14:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L35+32
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L13:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L14
	ldr	r0, .L35+36
	bl	puts
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-224]
	str	r2, [r3, #-204]
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L12:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L11:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-224]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L16
.L20:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #1
	bne	.L17
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #1
	bne	.L17
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r0, r3
	bl	wait
	mov	r2, r0
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r5, r3
	mov	r0, r4
	bl	wait
	mov	r2, r0
	lsl	r3, r5, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-224]
	mov	r1, r3
	ldr	r0, .L35+24
	bl	printf
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L35+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L18
.L19:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L35+32
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L18:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L19
	ldr	r0, .L35+36
	bl	puts
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-224]
	str	r2, [r3, #-204]
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L17:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L16:
	ldr	r3, [fp, #-240]
	ldr	r2, [fp, #-224]
	cmp	r2, r3
	blt	.L20
	ldr	r0, .L35+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L21
.L22:
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-204]
	add	r1, r3, #1
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-204]
	mov	r2, r3
	ldr	r0, .L35+44
	bl	printf
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L21:
	ldr	r2, [fp, #-228]
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-224]
	ldr	r0, .L35+48
	bl	puts
	b	.L23
.L27:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r0, r3
	bl	signal
	mov	r2, r0
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r5, r3
	mov	r0, r4
	bl	signal
	mov	r2, r0
	lsl	r3, r5, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-224]
	mov	r1, r3
	ldr	r0, .L35+52
	bl	printf
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L35+56
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L25
.L26:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L35+32
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L25:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L26
	ldr	r0, .L35+36
	bl	puts
.L24:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L23:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-224]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L28
.L32:
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r0, r3
	bl	signal
	mov	r2, r0
	ldr	r3, [fp, #-224]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-244]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r5, r3
	mov	r0, r4
	bl	signal
	mov	r2, r0
	lsl	r3, r5, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	ldr	r2, [fp, #-224]
	mov	r1, r3
	ldr	r0, .L35+52
	bl	printf
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L35+56
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L30
.L31:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	mov	r1, r3
	ldr	r0, .L35+32
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L30:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	blt	.L31
	ldr	r0, .L35+36
	bl	puts
.L29:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L28:
	ldr	r3, [fp, #-240]
	ldr	r2, [fp, #-224]
	cmp	r2, r3
	blt	.L32
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
