	.file	"296348.c"
	.intel_syntax noprefix
	.text
	.globl	pl1
	.bss
	.align 8
	.type	pl1, @object
	.size	pl1, 10
pl1:
	.zero	10
	.globl	pl2
	.align 8
	.type	pl2, @object
	.size	pl2, 10
pl2:
	.zero	10
	.globl	matrix
	.align 32
	.type	matrix, @object
	.size	matrix, 120
matrix:
	.zero	120
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the first names of first and second player :"
.LC1:
	.string	" %s %s"
.LC2:
	.string	"\n"
	.align 8
.LC3:
	.string	"now enter the columns to be occupied [1-5] :"
.LC4:
	.string	"%s's turn : \n"
.LC5:
	.string	" %d"
.LC6:
	.string	"-"
	.align 8
.LC7:
	.string	"%10s wong selection , please reselect -\n"
.LC8:
	.string	"Result : "
.LC9:
	.string	"%s won\n"
	.align 8
.LC10:
	.string	"well played %s and %s . Game draw !\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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	set_matrix
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdx, pl2[rip]
	lea	rsi, pl1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
.L10:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L2
	lea	rsi, pl1[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rsi, pl2[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	add_matrix
	test	eax, eax
	jne	.L4
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -12[rbp], 1
.L4:
	mov	eax, 0
	call	show_matrix
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	call	check_matrix
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	js	.L5
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jne	.L6
	lea	rsi, pl1[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L6:
	lea	rsi, pl2[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, -2
	jne	.L9
	lea	rdx, pl2[rip]
	lea	rsi, pl1[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L9:
	add	DWORD PTR -12[rbp], 1
	jmp	.L10
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	check_matrix
	.type	check_matrix, @function
check_matrix:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	eax, 0
	call	check_row
	cmp	eax, -1
	je	.L14
	mov	eax, 0
	call	check_row
	jmp	.L15
.L14:
	mov	eax, 0
	call	check_col
	cmp	eax, -1
	je	.L16
	mov	eax, 0
	call	check_col
	jmp	.L15
.L16:
	mov	eax, 0
	call	check_diag_l
	cmp	eax, -1
	je	.L17
	mov	eax, 0
	call	check_diag_l
	jmp	.L15
.L17:
	mov	eax, 0
	call	check_diag_r
	cmp	eax, -1
	je	.L18
	mov	eax, 0
	call	check_diag_r
	jmp	.L15
.L18:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L19
.L23:
	mov	DWORD PTR -8[rbp], 1
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 100
	jne	.L21
	mov	eax, -1
	jmp	.L15
.L21:
	add	DWORD PTR -8[rbp], 1
.L20:
	cmp	DWORD PTR -8[rbp], 5
	jle	.L22
	add	DWORD PTR -12[rbp], 1
.L19:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L23
	mov	eax, -2
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check_matrix, .-check_matrix
	.globl	check_col
	.type	check_col, @function
check_col:
.LFB2:
	.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 -12[rbp], 1
	jmp	.L25
.L31:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L30:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, esi
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L27
	cmp	DWORD PTR -4[rbp], 4
	jne	.L28
.L27:
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L29
.L28:
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 1
	jle	.L30
	add	DWORD PTR -12[rbp], 1
.L25:
	cmp	DWORD PTR -12[rbp], 5
	jle	.L31
	mov	eax, -1
.L29:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	check_col, .-check_col
	.globl	check_row
	.type	check_row, @function
check_row:
.LFB3:
	.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 -12[rbp], 0
	jmp	.L33
.L39:
	mov	DWORD PTR -8[rbp], 1
	jmp	.L34
.L38:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 2
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 3
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, esi
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L35
	cmp	DWORD PTR -4[rbp], 4
	jne	.L36
.L35:
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L37
.L36:
	add	DWORD PTR -8[rbp], 1
.L34:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L38
	add	DWORD PTR -12[rbp], 1
.L33:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L39
	mov	eax, -1
.L37:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	check_row, .-check_row
	.globl	check_diag_l
	.type	check_diag_l, @function
check_diag_l:
.LFB4:
	.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 -12[rbp], 0
	jmp	.L41
.L47:
	mov	DWORD PTR -8[rbp], 1
	jmp	.L42
.L46:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 2
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	esi, eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 3
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, esi
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L43
	cmp	DWORD PTR -4[rbp], 4
	jne	.L44
.L43:
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L45
.L44:
	add	DWORD PTR -8[rbp], 1
.L42:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L46
	add	DWORD PTR -12[rbp], 1
.L41:
	cmp	DWORD PTR -12[rbp], 1
	jle	.L47
	mov	eax, -1
.L45:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	check_diag_l, .-check_diag_l
	.globl	check_diag_r
	.type	check_diag_r, @function
check_diag_r:
.LFB5:
	.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 -12[rbp], 0
	jmp	.L49
.L55:
	mov	DWORD PTR -8[rbp], 5
	jmp	.L50
.L54:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 2
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	esi, eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 3
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, esi
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L51
	cmp	DWORD PTR -4[rbp], 4
	jne	.L52
.L51:
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L53
.L52:
	sub	DWORD PTR -8[rbp], 1
.L50:
	cmp	DWORD PTR -8[rbp], 3
	jg	.L54
	add	DWORD PTR -12[rbp], 1
.L49:
	cmp	DWORD PTR -12[rbp], 1
	jle	.L55
	mov	eax, -1
.L53:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	check_diag_r, .-check_diag_r
	.section	.rodata
.LC11:
	.string	"%3.3s "
.LC12:
	.string	"___ "
	.text
	.globl	show_matrix
	.type	show_matrix, @function
show_matrix:
.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, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L57
.L63:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L58
.L62:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L59
	lea	rsi, pl2[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L59:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L61
	lea	rsi, pl1[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L61:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L60:
	add	DWORD PTR -4[rbp], 1
.L58:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L62
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L57:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L63
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	show_matrix, .-show_matrix
	.globl	set_matrix
	.type	set_matrix, @function
set_matrix:
.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 -8[rbp], 0
	jmp	.L66
.L69:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	DWORD PTR [rdx+rax], 100
	add	DWORD PTR -4[rbp], 1
.L67:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L68
	add	DWORD PTR -8[rbp], 1
.L66:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L69
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	set_matrix, .-set_matrix
	.globl	add_matrix
	.type	add_matrix, @function
add_matrix:
.LFB8:
	.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	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -20[rbp], 0
	jle	.L72
	cmp	DWORD PTR -20[rbp], 5
	jle	.L73
.L72:
	mov	eax, 0
	jmp	.L74
.L73:
	mov	DWORD PTR -4[rbp], 4
	jmp	.L75
.L77:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, matrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 100
	jne	.L76
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	lea	rdx, matrix[rip]
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, 1
	jmp	.L74
.L76:
	sub	DWORD PTR -4[rbp], 1
.L75:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L77
	mov	eax, 0
.L74:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_matrix, .-add_matrix
	.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	"296348.c"
	.text
	.comm	pl1,10,4
	.comm	pl2,10,4
	.comm	matrix,120,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the first names of first and second player :\000"
	.align	2
.LC1:
	.ascii	" %s %s\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"now enter the columns to be occupied [1-5] :\000"
	.align	2
.LC4:
	.ascii	"%s's turn : \012\000"
	.align	2
.LC5:
	.ascii	" %d\000"
	.align	2
.LC6:
	.ascii	"-\000"
	.align	2
.LC7:
	.ascii	"%10s wong selection , please reselect -\012\000"
	.align	2
.LC8:
	.ascii	"Result : \000"
	.align	2
.LC9:
	.ascii	"%s won\012\000"
	.align	2
.LC10:
	.ascii	"well played %s and %s . Game draw !\012\000"
	.align	2
.LC11:
	.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
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	set_matrix
	ldr	r0, .L13+4
	bl	puts
	ldr	r2, .L13+8
	ldr	r1, .L13+12
	ldr	r0, .L13+16
	bl	__isoc99_scanf
	ldr	r0, .L13+20
	bl	puts
	ldr	r0, .L13+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L13+12
	ldr	r0, .L13+28
	bl	printf
	b	.L3
.L2:
	ldr	r1, .L13+8
	ldr	r0, .L13+28
	bl	printf
.L3:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L13+32
	bl	__isoc99_scanf
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r1, r3
	mov	r0, r2
	bl	add_matrix
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r1, .L13+36
	ldr	r0, .L13+40
	bl	printf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	bl	show_matrix
	mov	r0, #10
	bl	putchar
	bl	check_matrix
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L5
	ldr	r0, .L13+44
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L13+12
	ldr	r0, .L13+48
	bl	printf
	b	.L8
.L6:
	ldr	r1, .L13+8
	ldr	r0, .L13+48
	bl	printf
	b	.L8
.L5:
	ldr	r3, [fp, #-16]
	cmn	r3, #2
	bne	.L9
	ldr	r2, .L13+8
	ldr	r1, .L13+12
	ldr	r0, .L13+52
	bl	printf
	b	.L8
.L9:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L10
.L8:
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC11
	.word	.LC0
	.word	pl2
	.word	pl1
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.align	2
	.global	check_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_matrix, %function
check_matrix:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	check_row
	mov	r3, r0
	cmn	r3, #1
	beq	.L16
	bl	check_row
	mov	r3, r0
	b	.L17
.L16:
	bl	check_col
	mov	r3, r0
	cmn	r3, #1
	beq	.L18
	bl	check_col
	mov	r3, r0
	b	.L17
.L18:
	bl	check_diag_l
	mov	r3, r0
	cmn	r3, #1
	beq	.L19
	bl	check_diag_l
	mov	r3, r0
	b	.L17
.L19:
	bl	check_diag_r
	mov	r3, r0
	cmn	r3, #1
	beq	.L20
	bl	check_diag_r
	mov	r3, r0
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L25:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L24:
	ldr	r1, .L26
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #100
	bne	.L23
	mvn	r3, #0
	b	.L17
.L23:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L25
	mvn	r3, #1
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	matrix
	.size	check_matrix, .-check_matrix
	.align	2
	.global	check_col
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_col, %function
check_col:
	@ 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
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L29
.L35:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L34:
	ldr	r1, .L36
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	ldr	r0, .L36
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #2
	ldr	r0, .L36
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #3
	ldr	r0, .L36
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L32
.L31:
	ldr	r3, [fp, #-8]
	b	.L33
.L32:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L34
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L29:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L35
	mvn	r3, #0
.L33:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	matrix
	.size	check_col, .-check_col
	.align	2
	.global	check_row
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_row, %function
check_row:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L39
.L45:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L40
.L44:
	ldr	r1, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	ip, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r0, r3, #2
	ldr	ip, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-12]
	add	r0, r3, #3
	ldr	ip, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L42
.L41:
	ldr	r3, [fp, #-8]
	b	.L43
.L42:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L44
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L39:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L45
	mvn	r3, #0
.L43:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L47:
	.align	2
.L46:
	.word	matrix
	.size	check_row, .-check_row
	.align	2
	.global	check_diag_l
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_diag_l, %function
check_diag_l:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L49
.L55:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L50
.L54:
	ldr	r1, .L56
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	ip, .L56
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, #2
	ldr	r3, [fp, #-12]
	add	r0, r3, #2
	ldr	ip, .L56
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r0, r3, #3
	ldr	ip, .L56
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L52
.L51:
	ldr	r3, [fp, #-8]
	b	.L53
.L52:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L54
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L49:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L55
	mvn	r3, #0
.L53:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L57:
	.align	2
.L56:
	.word	matrix
	.size	check_diag_l, .-check_diag_l
	.align	2
	.global	check_diag_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_diag_r, %function
check_diag_r:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L59
.L65:
	mov	r3, #5
	str	r3, [fp, #-12]
	b	.L60
.L64:
	ldr	r1, .L66
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r0, r3, #1
	ldr	ip, .L66
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, #2
	ldr	r3, [fp, #-12]
	sub	r0, r3, #2
	ldr	ip, .L66
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, #3
	ldr	r3, [fp, #-12]
	sub	r0, r3, #3
	ldr	ip, .L66
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L62
.L61:
	ldr	r3, [fp, #-8]
	b	.L63
.L62:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L60:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bgt	.L64
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L59:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L65
	mvn	r3, #0
.L63:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L67:
	.align	2
.L66:
	.word	matrix
	.size	check_diag_r, .-check_diag_r
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%3.3s \000"
	.align	2
.LC13:
	.ascii	"___ \000"
	.text
	.align	2
	.global	show_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_matrix, %function
show_matrix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L69
.L75:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L70
.L74:
	ldr	r1, .L77
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #1
	bne	.L71
	ldr	r1, .L77+4
	ldr	r0, .L77+8
	bl	printf
	b	.L72
.L71:
	ldr	r1, .L77
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L73
	ldr	r1, .L77+12
	ldr	r0, .L77+8
	bl	printf
	b	.L72
.L73:
	ldr	r0, .L77+16
	bl	printf
.L72:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L70:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L74
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L69:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L75
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	matrix
	.word	pl2
	.word	.LC12
	.word	pl1
	.word	.LC13
	.size	show_matrix, .-show_matrix
	.align	2
	.global	set_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_matrix, %function
set_matrix:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L80
.L83:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L81
.L82:
	ldr	r1, .L85
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #100
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L81:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L82
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L80:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L83
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L86:
	.align	2
.L85:
	.word	matrix
	.size	set_matrix, .-set_matrix
	.align	2
	.global	add_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_matrix, %function
add_matrix:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L88
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	ble	.L89
.L88:
	mov	r3, #0
	b	.L90
.L89:
	mov	r3, #4
	str	r3, [fp, #-8]
	b	.L91
.L93:
	ldr	r1, .L94
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #100
	bne	.L92
	ldr	r1, .L94
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	mov	r3, #1
	b	.L90
.L92:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L91:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L93
	mov	r3, #0
.L90:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L95:
	.align	2
.L94:
	.word	matrix
	.size	add_matrix, .-add_matrix
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
