	.file	"546623.c"
	.intel_syntax noprefix
	.text
	.globl	strA
	.data
	.align 32
	.type	strA, @object
	.size	strA, 100
strA:
	.string	"acactagacta"
	.string	""
	.zero	87
	.globl	strB
	.align 32
	.type	strB, @object
	.size	strB, 100
strB:
	.string	"agcacagacio"
	.string	""
	.zero	87
	.globl	strAF
	.bss
	.align 32
	.type	strAF, @object
	.size	strAF, 100
strAF:
	.zero	100
	.globl	strBF
	.align 32
	.type	strBF, @object
	.size	strBF, 100
strBF:
	.zero	100
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	lenA
	.align 4
	.type	lenA, @object
	.size	lenA, 4
lenA:
	.zero	4
	.globl	lenB
	.align 4
	.type	lenB, @object
	.size	lenB, 4
lenB:
	.zero	4
	.globl	compval
	.align 4
	.type	compval, @object
	.size	compval, 4
compval:
	.zero	4
	.globl	max
	.align 4
	.type	max, @object
	.size	max, 4
max:
	.zero	4
	.globl	mati
	.align 4
	.type	mati, @object
	.size	mati, 4
mati:
	.zero	4
	.globl	matj
	.align 4
	.type	matj, @object
	.size	matj, 4
matj:
	.zero	4
	.globl	SmatArray
	.align 32
	.type	SmatArray, @object
	.size	SmatArray, 40000
SmatArray:
	.zero	40000
	.globl	AmatArray
	.align 32
	.type	AmatArray, @object
	.size	AmatArray, 40000
AmatArray:
	.zero	40000
	.globl	allignPts
	.align 32
	.type	allignPts, @object
	.size	allignPts, 800
allignPts:
	.zero	800
	.section	.rodata
.LC0:
	.string	"Scoring Matrix"
.LC1:
	.string	"   0"
.LC2:
	.string	"  %c"
.LC3:
	.string	"%3i"
	.text
	.globl	scoringmat
	.type	scoringmat, @function
scoringmat:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	DWORD PTR -24[rbp], ecx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L3
	mov	DWORD PTR i[rip], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, SmatArray[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L4:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L5
	mov	DWORD PTR compval[rip], 0
	mov	DWORD PTR i[rip], 1
	jmp	.L6
.L16:
	mov	DWORD PTR j[rip], 1
	jmp	.L7
.L15:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L8
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, 2
	mov	DWORD PTR compval[rip], eax
.L8:
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR compval[rip]
	cmp	edx, eax
	jle	.L9
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR compval[rip], eax
.L9:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR compval[rip]
	cmp	edx, eax
	jle	.L10
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR compval[rip], eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L11
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR compval[rip], eax
.L11:
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR compval[rip]
	cmp	edx, eax
	jle	.L12
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR compval[rip], eax
.L12:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR compval[rip]
	cmp	edx, eax
	jle	.L13
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR compval[rip], eax
.L13:
	mov	eax, DWORD PTR compval[rip]
	test	eax, eax
	jns	.L14
	mov	DWORD PTR compval[rip], 0
.L14:
	mov	eax, DWORD PTR i[rip]
	mov	ecx, DWORD PTR j[rip]
	mov	edx, DWORD PTR compval[rip]
	movsx	rsi, ecx
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	DWORD PTR compval[rip], 0
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L7:
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], eax
	jge	.L15
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L16
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L17:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -24[rbp], eax
	jge	.L18
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L19
.L24:
	mov	eax, DWORD PTR i[rip]
	test	eax, eax
	jg	.L20
	mov	edi, 48
	call	putchar@PLT
.L20:
	mov	eax, DWORD PTR i[rip]
	test	eax, eax
	jle	.L21
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L21:
	mov	DWORD PTR j[rip], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L22:
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L23
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L19:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L24
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	scoringmat, .-scoringmat
	.section	.rodata
	.align 8
.LC4:
	.string	"matrix value=%d and cell value=%d %d\n"
.LC5:
	.string	"(%d,%d)\n"
.LC6:
	.string	"\nAllignment Matrix"
.LC7:
	.string	"  0"
	.text
	.globl	allignmat
	.type	allignmat, @function
allignmat:
.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 i[rip], 0
	jmp	.L26
.L30:
	mov	DWORD PTR j[rip], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR max[rip]
	cmp	edx, eax
	jle	.L28
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR max[rip], eax
	mov	eax, DWORD PTR i[rip]
	mov	DWORD PTR mati[rip], eax
	mov	eax, DWORD PTR j[rip]
	mov	DWORD PTR matj[rip], eax
.L28:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L27:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR lenB[rip]
	cmp	edx, eax
	jl	.L29
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L26:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR lenA[rip]
	cmp	edx, eax
	jl	.L30
	mov	ecx, DWORD PTR matj[rip]
	mov	edx, DWORD PTR mati[rip]
	mov	eax, DWORD PTR max[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR mati[rip]
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR matj[rip]
	mov	DWORD PTR j[rip], eax
	mov	DWORD PTR k[rip], 0
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR j[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
	jmp	.L31
.L35:
	mov	eax, DWORD PTR mati[rip]
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR matj[rip]
	mov	DWORD PTR j[rip], eax
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jl	.L32
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jl	.L32
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR max[rip], eax
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR k[rip]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR k[rip]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR mati[rip], eax
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	mov	DWORD PTR matj[rip], eax
	jmp	.L33
.L32:
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L34
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L34
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR max[rip], eax
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR k[rip]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR j[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR mati[rip], eax
	mov	eax, DWORD PTR j[rip]
	mov	DWORD PTR matj[rip], eax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L33
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR j[rip]
	movsx	rsi, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L33
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR max[rip], eax
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR k[rip]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR i[rip]
	mov	DWORD PTR mati[rip], eax
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	mov	DWORD PTR matj[rip], eax
.L33:
	mov	eax, DWORD PTR i[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR i[rip], edx
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR j[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR j[rip], edx
	mov	DWORD PTR j[rip], eax
.L31:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L35
	mov	DWORD PTR i[rip], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L36:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR k[rip]
	cmp	edx, eax
	jl	.L37
	mov	eax, DWORD PTR k[rip]
	sub	eax, 1
	mov	DWORD PTR l[rip], eax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, strB[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L38:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR lenB[rip]
	cmp	edx, eax
	jle	.L39
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L40
.L47:
	mov	eax, DWORD PTR i[rip]
	test	eax, eax
	jg	.L41
	mov	edi, 48
	call	putchar@PLT
.L41:
	mov	eax, DWORD PTR i[rip]
	test	eax, eax
	jle	.L42
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rdx, strA[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L42:
	mov	DWORD PTR j[rip], 0
	jmp	.L43
.L46:
	mov	eax, DWORD PTR l[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jne	.L44
	mov	eax, DWORD PTR l[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jne	.L44
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, SmatArray[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR l[rip]
	sub	eax, 1
	mov	DWORD PTR l[rip], eax
	jmp	.L45
.L44:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L43:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR lenB[rip]
	cmp	edx, eax
	jl	.L46
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L40:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR lenA[rip]
	cmp	edx, eax
	jl	.L47
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	allignmat, .-allignmat
	.section	.rodata
	.align 8
.LC8:
	.string	"\nOptimal Local Allignment of Sequences A & B\nSeqA: "
.LC9:
	.string	"\nSeqB: "
	.text
	.globl	localAllign
	.type	localAllign, @function
localAllign:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR k[rip]
	sub	eax, 1
	mov	DWORD PTR m[rip], eax
	mov	DWORD PTR i[rip], 0
	jmp	.L49
.L53:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	eax, 1
	jne	.L50
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	eax, 1
	jne	.L50
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	ecx, DWORD PTR m[rip]
	cdqe
	lea	rdx, strA[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, strAF[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	ecx, DWORD PTR m[rip]
	cdqe
	lea	rdx, strB[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, strBF[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR m[rip]
	sub	eax, 1
	mov	DWORD PTR m[rip], eax
.L50:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L51
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	eax, 1
	jne	.L51
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, strAF[rip]
	mov	BYTE PTR [rax+rdx], 45
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	ecx, DWORD PTR m[rip]
	cdqe
	lea	rdx, strB[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, strBF[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR m[rip]
	sub	eax, 1
	mov	DWORD PTR m[rip], eax
.L51:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, allignPts[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	eax, 1
	jne	.L52
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, allignPts[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L52
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, allignPts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	ecx, DWORD PTR m[rip]
	cdqe
	lea	rdx, strA[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, strAF[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, strBF[rip]
	mov	BYTE PTR [rax+rdx], 45
	mov	eax, DWORD PTR m[rip]
	sub	eax, 1
	mov	DWORD PTR m[rip], eax
.L52:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L49:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L53
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, strAF[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L54:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L55
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L56
.L57:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, strBF[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L56:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L57
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	localAllign, .-localAllign
	.section	.rodata
.LC10:
	.string	"\tSMITH WATERMAN C PROGRAM\n"
.LC13:
	.string	"\nTime elapsed in ms: %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, strA[rip]
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR lenA[rip], eax
	lea	rdi, strB[rip]
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR lenB[rip], eax
	call	clock@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR lenB[rip]
	mov	eax, DWORD PTR lenA[rip]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, strB[rip]
	lea	rdi, strA[rip]
	call	scoringmat
	mov	eax, 0
	call	allignmat
	mov	eax, 0
	call	localAllign
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC12[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC11:
	.long	0
	.long	1083129856
	.align 8
.LC12:
	.long	0
	.long	1093567616
	.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	"546623.c"
	.text
	.global	strA
	.data
	.align	2
	.type	strA, %object
	.size	strA, 100
strA:
	.ascii	"acactagacta\000\000"
	.space	87
	.global	strB
	.align	2
	.type	strB, %object
	.size	strB, 100
strB:
	.ascii	"agcacagacio\000\000"
	.space	87
	.comm	strAF,100,4
	.comm	strBF,100,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	l,4,4
	.comm	m,4,4
	.comm	lenA,4,4
	.comm	lenB,4,4
	.comm	compval,4,4
	.global	max
	.bss
	.align	2
	.type	max, %object
	.size	max, 4
max:
	.space	4
	.comm	mati,4,4
	.comm	matj,4,4
	.comm	SmatArray,40000,4
	.comm	AmatArray,40000,4
	.comm	allignPts,800,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Scoring Matrix\000"
	.align	2
.LC1:
	.ascii	"   0\000"
	.align	2
.LC2:
	.ascii	"  %c\000"
	.align	2
.LC3:
	.ascii	"%3i\000"
	.text
	.align	2
	.global	scoringmat
	.syntax unified
	.arm
	.fpu softvfp
	.type	scoringmat, %function
scoringmat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r0, .L25
	bl	printf
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, .L25+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L2:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L3
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r1, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L4:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L5
	ldr	r3, .L25+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L25+4
	mov	r2, #1
	str	r2, [r3]
	b	.L6
.L16:
	ldr	r3, .L25+16
	mov	r2, #1
	str	r2, [r3]
	b	.L7
.L15:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	add	r3, r3, #2
	ldr	r2, .L25+12
	str	r3, [r2]
.L8:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r1, [r3]
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r2, r3, #1
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L9
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r1, [r3]
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	ldr	r2, .L25+12
	str	r3, [r2]
.L9:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r2, r3, #1
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L10
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	ldr	r2, .L25+12
	str	r3, [r2]
	b	.L11
.L10:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	ldr	r2, .L25+12
	str	r3, [r2]
.L11:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r1, [r3]
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r2, r3, #1
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L12
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L25+16
	ldr	r1, [r3]
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	ldr	r2, .L25+12
	str	r3, [r2]
.L12:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r2, r3, #1
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L13
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	ldr	r2, .L25+12
	str	r3, [r2]
.L13:
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L14
	ldr	r3, .L25+12
	mov	r2, #0
	str	r2, [r3]
.L14:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r0, [r3]
	ldr	r3, .L25+12
	ldr	r1, [r3]
	ldr	ip, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	str	r1, [ip, r3, lsl #2]
	ldr	r3, .L25+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L25+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+16
	str	r3, [r2]
.L7:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L15
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L6:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L16
	mov	r0, #10
	bl	putchar
	ldr	r0, .L25+20
	bl	printf
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L17
.L18:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L17:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L18
	mov	r0, #10
	bl	putchar
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L19
.L24:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L20
	mov	r0, #48
	bl	putchar
.L20:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L21
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L21:
	ldr	r3, .L25+16
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L23:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, .L25+16
	ldr	r1, [r3]
	ldr	r0, .L25+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L25+28
	bl	printf
	ldr	r3, .L25+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+16
	str	r3, [r2]
.L22:
	ldr	r3, .L25+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L23
	mov	r0, #10
	bl	putchar
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L19:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L24
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	i
	.word	SmatArray
	.word	compval
	.word	j
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	scoringmat, .-scoringmat
	.section	.rodata
	.align	2
.LC4:
	.ascii	"matrix value=%d and cell value=%d %d\012\000"
	.align	2
.LC5:
	.ascii	"(%d,%d)\012\000"
	.align	2
.LC6:
	.ascii	"\012Allignment Matrix\000"
	.align	2
.LC7:
	.ascii	"  0\000"
	.text
	.align	2
	.global	allignmat
	.syntax unified
	.arm
	.fpu softvfp
	.type	allignmat, %function
allignmat:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L50
	mov	r2, #0
	str	r2, [r3]
	b	.L28
.L32:
	ldr	r3, .L50+4
	mov	r2, #0
	str	r2, [r3]
	b	.L29
.L31:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, .L50+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L30
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, .L50+12
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	ldr	r2, .L50+16
	str	r3, [r2]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	ldr	r2, .L50+20
	str	r3, [r2]
.L30:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+4
	str	r3, [r2]
.L29:
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, .L50+24
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L50
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50
	str	r3, [r2]
.L28:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+28
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L32
	ldr	r3, .L50+12
	ldr	r1, [r3]
	ldr	r3, .L50+16
	ldr	r2, [r3]
	ldr	r3, .L50+20
	ldr	r3, [r3]
	ldr	r0, .L50+32
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, .L50+16
	ldr	r3, [r3]
	ldr	r2, .L50
	str	r3, [r2]
	ldr	r3, .L50+20
	ldr	r3, [r3]
	ldr	r2, .L50+4
	str	r3, [r2]
	ldr	r3, .L50+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	ldr	r2, .L50
	ldr	r2, [r2]
	ldr	r1, .L50+40
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	ldr	r2, .L50+4
	ldr	r2, [r2]
	ldr	r1, .L50+40
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+36
	str	r3, [r2]
	b	.L33
.L37:
	ldr	r3, .L50+16
	ldr	r3, [r3]
	ldr	r2, .L50
	str	r3, [r2]
	ldr	r3, .L50+20
	ldr	r3, [r3]
	ldr	r2, .L50+4
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r0, [r3]
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	blt	.L34
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	blt	.L34
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, .L50+12
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	sub	r2, r2, #1
	ldr	r1, .L50+40
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	sub	r2, r2, #1
	ldr	r1, .L50+40
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+36
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+16
	str	r3, [r2]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+20
	str	r3, [r2]
	b	.L35
.L34:
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	ble	.L36
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	ble	.L36
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, .L50+12
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	sub	r2, r2, #1
	ldr	r1, .L50+40
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	ldr	r2, .L50+4
	ldr	r2, [r2]
	ldr	r1, .L50+40
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+36
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+16
	str	r3, [r2]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	ldr	r2, .L50+20
	str	r3, [r2]
	b	.L35
.L36:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	ble	.L35
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L50+4
	ldr	r0, [r3]
	ldr	ip, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	ble	.L35
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, .L50+12
	str	r3, [r2]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	ldr	r2, .L50
	ldr	r2, [r2]
	ldr	r1, .L50+40
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	sub	r2, r2, #1
	ldr	r1, .L50+40
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+36
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	ldr	r2, .L50+16
	str	r3, [r2]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+20
	str	r3, [r2]
.L35:
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L50
	str	r2, [r1]
	ldr	r2, .L50
	str	r3, [r2]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L50+4
	str	r2, [r1]
	ldr	r2, .L50+4
	str	r3, [r2]
.L33:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L50
	mov	r2, #0
	str	r2, [r3]
	b	.L38
.L39:
	ldr	r3, .L50
	ldr	r3, [r3]
	ldr	r2, .L50+40
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldm	r3, {r1, r2}
	ldr	r0, .L50+44
	bl	printf
	ldr	r3, .L50
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50
	str	r3, [r2]
.L38:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+36
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L39
	ldr	r3, .L50+36
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+48
	str	r3, [r2]
	ldr	r0, .L50+52
	bl	puts
	ldr	r0, .L50+56
	bl	printf
	ldr	r3, .L50
	mov	r2, #0
	str	r2, [r3]
	b	.L40
.L41:
	ldr	r3, .L50
	ldr	r3, [r3]
	ldr	r2, .L50+60
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L50+64
	bl	printf
	ldr	r3, .L50
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50
	str	r3, [r2]
.L40:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+24
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L41
	mov	r0, #10
	bl	putchar
	ldr	r3, .L50
	mov	r2, #0
	str	r2, [r3]
	b	.L42
.L49:
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L43
	mov	r0, #48
	bl	putchar
.L43:
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L44
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+68
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L44:
	ldr	r3, .L50+4
	mov	r2, #0
	str	r2, [r3]
	b	.L45
.L48:
	ldr	r3, .L50+48
	ldr	r3, [r3]
	ldr	r2, .L50+40
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L46
	ldr	r3, .L50+48
	ldr	r3, [r3]
	ldr	r2, .L50+40
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L50+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L46
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+4
	ldr	r1, [r3]
	ldr	r0, .L50+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L50+72
	bl	printf
	ldr	r3, .L50+48
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+48
	str	r3, [r2]
	b	.L47
.L46:
	ldr	r0, .L50+76
	bl	printf
.L47:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+4
	str	r3, [r2]
.L45:
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, .L50+24
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L48
	mov	r0, #10
	bl	putchar
	ldr	r3, .L50
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50
	str	r3, [r2]
.L42:
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, .L50+28
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L49
	nop
	nop
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	i
	.word	j
	.word	SmatArray
	.word	max
	.word	mati
	.word	matj
	.word	lenB
	.word	lenA
	.word	.LC4
	.word	k
	.word	allignPts
	.word	.LC5
	.word	l
	.word	.LC6
	.word	.LC1
	.word	strB
	.word	.LC2
	.word	strA
	.word	.LC3
	.word	.LC7
	.size	allignmat, .-allignmat
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012Optimal Local Allignment of Sequences A & B\012"
	.ascii	"SeqA: \000"
	.align	2
.LC9:
	.ascii	"\012SeqB: \000"
	.text
	.align	2
	.global	localAllign
	.syntax unified
	.arm
	.fpu softvfp
	.type	localAllign, %function
localAllign:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L62
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L62+4
	str	r3, [r2]
	ldr	r3, .L62+8
	mov	r2, #0
	str	r2, [r3]
	b	.L53
.L57:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L54
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L54
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r3, [r2, r3, lsl #3]
	sub	r2, r3, #1
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r1, .L62+16
	ldrb	r1, [r1, r2]	@ zero_extendqisi2
	ldr	r2, .L62+20
	strb	r1, [r2, r3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r1, .L62+24
	ldrb	r1, [r1, r2]	@ zero_extendqisi2
	ldr	r2, .L62+28
	strb	r1, [r2, r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L62+4
	str	r3, [r2]
.L54:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	ldr	r3, [r1, r3, lsl #3]
	cmp	r2, r3
	bne	.L55
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L55
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, .L62+20
	mov	r1, #45
	strb	r1, [r2, r3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r1, .L62+24
	ldrb	r1, [r1, r2]	@ zero_extendqisi2
	ldr	r2, .L62+28
	strb	r1, [r2, r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L62+4
	str	r3, [r2]
.L55:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L56
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L62+12
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L56
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+12
	ldr	r3, [r2, r3, lsl #3]
	sub	r2, r3, #1
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r1, .L62+16
	ldrb	r1, [r1, r2]	@ zero_extendqisi2
	ldr	r2, .L62+20
	strb	r1, [r2, r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, .L62+28
	mov	r1, #45
	strb	r1, [r2, r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L62+4
	str	r3, [r2]
.L56:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L62+8
	str	r3, [r2]
.L53:
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L57
	ldr	r0, .L62+32
	bl	printf
	ldr	r3, .L62+8
	mov	r2, #0
	str	r2, [r3]
	b	.L58
.L59:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+20
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L62+8
	str	r3, [r2]
.L58:
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L59
	ldr	r0, .L62+36
	bl	printf
	ldr	r3, .L62+8
	mov	r2, #0
	str	r2, [r3]
	b	.L60
.L61:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, .L62+28
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L62+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L62+8
	str	r3, [r2]
.L60:
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, .L62+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L61
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	k
	.word	m
	.word	i
	.word	allignPts
	.word	strA
	.word	strAF
	.word	strB
	.word	strBF
	.word	.LC8
	.word	.LC9
	.size	localAllign, .-localAllign
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\011SMITH WATERMAN C PROGRAM\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC11:
	.ascii	"\012Time elapsed in ms: %.2f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L66
	bl	puts
	ldr	r0, .L66+4
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L66+8
	str	r2, [r3]
	ldr	r0, .L66+12
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L66+16
	str	r2, [r3]
	bl	clock
	str	r0, [fp, #-20]
	ldr	r3, .L66+8
	ldr	r2, [r3]
	ldr	r3, .L66+16
	ldr	r3, [r3]
	ldr	r1, .L66+12
	ldr	r0, .L66+4
	bl	scoringmat
	bl	allignmat
	bl	localAllign
	bl	clock
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L66+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L66+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L66+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC10
	.word	strA
	.word	lenA
	.word	strB
	.word	lenB
	.word	1083129856
	.word	1093567616
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
