	.file	"126702826.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 16
	.type	x, @object
	.size	x, 20
x:
	.zero	20
	.globl	y
	.align 16
	.type	y, @object
	.size	y, 20
y:
	.zero	20
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 400
b:
	.zero	400
	.text
	.globl	print_lcs
	.type	print_lcs, @function
print_lcs:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	je	.L7
	cmp	DWORD PTR -8[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, b[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 99
	jne	.L5
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	print_lcs
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, x[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L1
.L5:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, b[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 117
	jne	.L6
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	mov	edi, edx
	call	print_lcs
	jmp	.L1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	print_lcs
	jmp	.L1
.L7:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_lcs, .-print_lcs
	.section	.rodata
.LC0:
	.string	"\nEnter the 1st sequence: "
.LC1:
	.string	"%s"
.LC2:
	.string	"\nEnter the 2nd sequence: "
	.align 8
.LC3:
	.string	"\nThe Longest Common Subsequence is "
	.text
	.globl	main
	.type	main, @function
main:
.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, 1632
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, y[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, x[rip]
	call	strlen@PLT
	mov	DWORD PTR -1624[rbp], eax
	lea	rdi, y[rip]
	call	strlen@PLT
	mov	DWORD PTR -1620[rbp], eax
	mov	DWORD PTR -1632[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rbp
	sub	rax, 1616
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -1632[rbp], 1
.L9:
	mov	eax, DWORD PTR -1632[rbp]
	cmp	eax, DWORD PTR -1624[rbp]
	jle	.L10
	mov	DWORD PTR -1632[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -1632[rbp]
	cdqe
	mov	DWORD PTR -1616[rbp+rax*4], 0
	add	DWORD PTR -1632[rbp], 1
.L11:
	mov	eax, DWORD PTR -1632[rbp]
	cmp	eax, DWORD PTR -1620[rbp]
	jle	.L12
	mov	DWORD PTR -1632[rbp], 1
	jmp	.L13
.L19:
	mov	DWORD PTR -1628[rbp], 1
	jmp	.L14
.L18:
	mov	eax, DWORD PTR -1632[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, x[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -1628[rbp]
	sub	eax, 1
	cdqe
	lea	rcx, y[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	cmp	dl, al
	jne	.L15
	mov	eax, DWORD PTR -1632[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1628[rbp]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -1616[rbp+rax*4]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -1616[rbp+rax*4], ecx
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, b[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 99
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -1632[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR -1616[rbp+rax*4]
	mov	eax, DWORD PTR -1628[rbp]
	sub	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR -1616[rbp+rax*4]
	cmp	ecx, eax
	jl	.L17
	mov	eax, DWORD PTR -1632[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR -1616[rbp+rax*4]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -1616[rbp+rax*4], edx
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, b[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 117
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -1628[rbp]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR -1616[rbp+rax*4]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -1616[rbp+rax*4], edx
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, b[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 108
.L16:
	add	DWORD PTR -1628[rbp], 1
.L14:
	mov	eax, DWORD PTR -1628[rbp]
	cmp	eax, DWORD PTR -1620[rbp]
	jle	.L18
	add	DWORD PTR -1632[rbp], 1
.L13:
	mov	eax, DWORD PTR -1632[rbp]
	cmp	eax, DWORD PTR -1624[rbp]
	jle	.L19
	mov	edx, DWORD PTR -1620[rbp]
	mov	eax, DWORD PTR -1624[rbp]
	mov	esi, edx
	mov	edi, eax
	call	print_lcs
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"126702826.c"
	.text
	.comm	x,20,4
	.comm	y,20,4
	.comm	b,400,4
	.align	2
	.global	print_lcs
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_lcs, %function
print_lcs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L5
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	print_lcs
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, .L8+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L1
.L5:
	ldr	r1, .L8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #117
	bne	.L6
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	print_lcs
	b	.L1
.L6:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	print_lcs
	b	.L1
.L7:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	b
	.word	x
	.size	print_lcs, .-print_lcs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter the 1st sequence: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"\012Enter the 2nd sequence: \000"
	.align	2
.LC3:
	.ascii	"\012The Longest Common Subsequence is \000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1616
	sub	sp, sp, #8
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L23+4
	bl	printf
	ldr	r1, .L23+8
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	ldr	r0, .L23+16
	bl	printf
	ldr	r1, .L23+20
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	ldr	r0, .L23+24
	bl	printf
	ldr	r0, .L23+8
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1616]
	ldr	r0, .L23+20
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1612]
	mov	r3, #0
	str	r3, [fp, #-1624]
	b	.L11
.L12:
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1600
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L11:
	ldr	r2, [fp, #-1624]
	ldr	r3, [fp, #-1616]
	cmp	r2, r3
	ble	.L12
	mov	r3, #0
	str	r3, [fp, #-1624]
	b	.L13
.L14:
	ldr	r3, [fp, #-1624]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1604]
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L13:
	ldr	r2, [fp, #-1624]
	ldr	r3, [fp, #-1612]
	cmp	r2, r3
	ble	.L14
	mov	r3, #1
	str	r3, [fp, #-1624]
	b	.L15
.L21:
	mov	r3, #1
	str	r3, [fp, #-1620]
	b	.L16
.L20:
	ldr	r3, [fp, #-1624]
	sub	r3, r3, #1
	ldr	r2, .L23+8
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1620]
	sub	r3, r3, #1
	ldr	r1, .L23+20
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-1624]
	sub	r2, r3, #1
	ldr	r3, [fp, #-1620]
	sub	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	add	r1, r3, #1
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1604]
	ldr	r1, .L23+28
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-1620]
	add	r3, r2, r3
	mov	r2, #99
	strb	r2, [r3]
	b	.L18
.L17:
	ldr	r3, [fp, #-1624]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1604]
	ldr	r3, [fp, #-1620]
	sub	r0, r3, #1
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	cmp	r1, r3
	blt	.L19
	ldr	r3, [fp, #-1624]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1604]
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1604]
	ldr	r1, .L23+28
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-1620]
	add	r3, r2, r3
	mov	r2, #117
	strb	r2, [r3]
	b	.L18
.L19:
	ldr	r3, [fp, #-1620]
	sub	r1, r3, #1
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1604]
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1604]
	ldr	r1, .L23+28
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-1620]
	add	r3, r2, r3
	mov	r2, #108
	strb	r2, [r3]
.L18:
	ldr	r3, [fp, #-1620]
	add	r3, r3, #1
	str	r3, [fp, #-1620]
.L16:
	ldr	r2, [fp, #-1620]
	ldr	r3, [fp, #-1612]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L15:
	ldr	r2, [fp, #-1624]
	ldr	r3, [fp, #-1616]
	cmp	r2, r3
	ble	.L21
	ldr	r1, [fp, #-1612]
	ldr	r0, [fp, #-1616]
	bl	print_lcs
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.word	.LC0
	.word	x
	.word	.LC1
	.word	.LC2
	.word	y
	.word	.LC3
	.word	b
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
