	.file	"951237.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket"
	.section	.data.rel.ro.local,"aw"
	.align 8
	.type	SOCKET_NAME, @object
	.size	SOCKET_NAME, 8
SOCKET_NAME:
	.quad	.LC0
	.data
	.align 4
	.type	SOCKET_SIZE, @object
	.size	SOCKET_SIZE, 4
SOCKET_SIZE:
	.long	110
	.local	data
	.comm	data,1000,32
	.section	.rodata
.LC1:
	.string	"Making socket connection"
.LC2:
	.string	"Unlinking socket"
.LC3:
	.string	"Binding socket"
.LC4:
	.string	"Listening to socket"
.LC5:
	.string	"Accpting socket connection"
.LC6:
	.string	"Reading from socket"
.LC7:
	.string	"Sending to socket"
	.text
	.globl	main
	.type	main, @function
main:
.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, 272
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], -1
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	WORD PTR -240[rbp], 1
	lea	rax, -240[rbp]
	add	rax, 2
	mov	DWORD PTR [rax], 1801678707
	mov	WORD PTR 4[rax], 29797
	mov	BYTE PTR 6[rax], 0
	lea	rax, .LC0[rip]
	mov	rdi, rax
	call	unlink@PLT
	cmp	eax, -1
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, 6
	lea	edx, 2[rax]
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -252[rbp]
	mov	esi, 100
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L5
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -252[rbp]
	lea	rdx, SOCKET_SIZE[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -248[rbp], eax
	cmp	DWORD PTR -248[rbp], -1
	jne	.L6
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -248[rbp]
	mov	ecx, 0
	mov	edx, 1000
	lea	rsi, data[rip]
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], 0
	jg	.L7
	cmp	DWORD PTR -244[rbp], 0
	jns	.L18
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L18
.L7:
	mov	DWORD PTR -256[rbp], 0
	jmp	.L10
.L15:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 64
	jle	.L19
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 90
	jg	.L13
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sub	eax, 52
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 65
	mov	ecx, eax
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 122
	jg	.L20
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sub	eax, 84
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 97
	mov	ecx, eax
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, data[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L12
.L19:
	nop
	jmp	.L12
.L20:
	nop
.L12:
	add	DWORD PTR -256[rbp], 1
.L10:
	mov	eax, DWORD PTR -256[rbp]
	cmp	eax, DWORD PTR -244[rbp]
	jl	.L15
	mov	eax, DWORD PTR -248[rbp]
	mov	ecx, 0
	mov	edx, 1000
	lea	rsi, data[rip]
	mov	edi, eax
	call	send@PLT
	cmp	rax, -1
	jne	.L6
	lea	rdi, .LC7[rip]
	call	perror@PLT
	jmp	.L9
.L18:
	nop
.L9:
	mov	eax, DWORD PTR -248[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L5
	.cfi_endproc
.LFE6:
	.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	"951237.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"socket\000"
	.align	2
	.type	SOCKET_NAME, %object
	.size	SOCKET_NAME, 4
SOCKET_NAME:
	.word	.LC0
	.data
	.align	2
	.type	SOCKET_SIZE, %object
	.size	SOCKET_SIZE, 4
SOCKET_SIZE:
	.word	110
	.local	data
	.comm	data,1000,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Making socket connection\000"
	.align	2
.LC2:
	.ascii	"Unlinking socket\000"
	.align	2
.LC3:
	.ascii	"Binding socket\000"
	.align	2
.LC4:
	.ascii	"Listening to socket\000"
	.align	2
.LC5:
	.ascii	"Accpting socket connection\000"
	.align	2
.LC6:
	.ascii	"Reading from socket\000"
	.align	2
.LC7:
	.ascii	"Sending to socket\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	str	r0, [fp, #-256]
	str	r1, [fp, #-260]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L21+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #1
	strh	r3, [fp, #-232]	@ movhi
	ldr	r2, .L21+8
	sub	r3, fp, #232
	add	r3, r3, #2
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L21+8
	mov	r0, r3
	bl	unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L3
	ldr	r0, .L21+12
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	mov	r2, #8
	sub	r3, fp, #232
	mov	r1, r3
	ldr	r0, [fp, #-244]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L21+16
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	mov	r1, #100
	ldr	r0, [fp, #-244]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L21+20
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #120
	ldr	r2, .L21+24
	mov	r1, r3
	ldr	r0, [fp, #-244]
	bl	accept
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L21+28
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	mov	r3, #0
	mov	r2, #1000
	ldr	r1, .L21+32
	ldr	r0, [fp, #-240]
	bl	recv
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bgt	.L7
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bge	.L18
	ldr	r0, .L21+36
	bl	perror
	b	.L18
.L7:
	mov	r3, #0
	str	r3, [fp, #-248]
	b	.L10
.L15:
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L19
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L13
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #52
	ldr	r3, .L21+40
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #65
	and	r1, r3, #255
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L12
.L13:
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L20
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #84
	ldr	r3, .L21+40
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #97
	and	r1, r3, #255
	ldr	r2, .L21+32
	ldr	r3, [fp, #-248]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L12
.L19:
	nop
	b	.L12
.L20:
	nop
.L12:
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
.L10:
	ldr	r2, [fp, #-248]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	mov	r2, #1000
	ldr	r1, .L21+32
	ldr	r0, [fp, #-240]
	bl	send
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L21+44
	bl	perror
	b	.L9
.L18:
	nop
.L9:
	ldr	r0, [fp, #-240]
	bl	close
	b	.L5
.L22:
	.align	2
.L21:
	.word	.LC8
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	SOCKET_SIZE
	.word	.LC5
	.word	data
	.word	.LC6
	.word	1321528399
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
