	.file	"176784.c"
	.intel_syntax noprefix
	.text
	.globl	gcd
	.type	gcd, @function
gcd:
.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	gcd
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	gcd, .-gcd
	.globl	findlcm
	.type	findlcm, @function
findlcm:
.LFB7:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 1
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -24[rbp]
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	gcd
	mov	ecx, eax
	mov	eax, ebx
	cdq
	idiv	ecx
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -20[rbp], 1
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L6
	mov	eax, DWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	findlcm, .-findlcm
	.section	.rodata
.LC0:
	.string	"Error Opening Socket\n"
.LC1:
	.string	"Socket Working\n"
.LC2:
	.string	"Recived from Client :"
.LC3:
	.string	" %d \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
	sub	rsp, 464
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -448[rbp], eax
	cmp	DWORD PTR -448[rbp], 0
	jns	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	WORD PTR -432[rbp], 2
	mov	edi, 6001
	call	htons@PLT
	mov	WORD PTR -430[rbp], ax
	mov	DWORD PTR -428[rbp], 0
	lea	rcx, -432[rbp]
	mov	eax, DWORD PTR -448[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR -448[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR -448[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -444[rbp], eax
	lea	rsi, -416[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	ecx, 0
	mov	edx, 400
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -440[rbp], eax
	mov	eax, DWORD PTR -440[rbp]
	cdqe
	shr	rax, 2
	mov	DWORD PTR -440[rbp], eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -436[rbp], 0
	mov	edx, DWORD PTR -440[rbp]
	lea	rax, -416[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	findlcm
	mov	DWORD PTR -452[rbp], eax
	mov	eax, DWORD PTR -452[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -452[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -448[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	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
.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	"176784.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	gcd
	.syntax unified
	.arm
	.fpu softvfp
	.type	gcd, %function
gcd:
	@ 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, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-8]
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	gcd
	mov	r3, r0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gcd, .-gcd
	.global	__aeabi_idiv
	.align	2
	.global	findlcm
	.syntax unified
	.arm
	.fpu softvfp
	.type	findlcm, %function
findlcm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L6:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mul	r4, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	gcd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	findlcm, .-findlcm
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error Opening Socket\012\000"
	.align	2
.LC1:
	.ascii	"Socket Working\012\000"
	.align	2
.LC2:
	.ascii	"Recived from Client :\000"
	.align	2
.LC3:
	.ascii	" %d \012\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 = 440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #440
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-440]
	ldr	r3, [fp, #-440]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L13+4
	bl	printf
	b	.L10
.L9:
	ldr	r0, .L13+8
	bl	printf
.L10:
	sub	r3, fp, #4
	sub	r3, r3, #420
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L13+12
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #420
	strh	r2, [r3, #2]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-420]
	sub	r3, fp, #424
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	bind
	mov	r1, #5
	ldr	r0, [fp, #-440]
	bl	listen
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-440]
	bl	accept
	str	r0, [fp, #-436]
	sub	r1, fp, #408
	mov	r3, #0
	mov	r2, #400
	ldr	r0, [fp, #-436]
	bl	recv
	str	r0, [fp, #-432]
	ldr	r3, [fp, #-432]
	lsr	r3, r3, #2
	str	r3, [fp, #-432]
	ldr	r0, .L13+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-428]
	sub	r3, fp, #408
	ldr	r1, [fp, #-432]
	mov	r0, r3
	bl	findlcm
	mov	r3, r0
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-444]
	mov	r1, r3
	ldr	r0, .L13+20
	bl	printf
	sub	r1, fp, #444
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-436]
	bl	send
	ldr	r0, [fp, #-440]
	bl	close
	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	.LC4
	.word	.LC0
	.word	.LC1
	.word	6001
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
