	.file	"179831650.c"
	.intel_syntax noprefix
	.text
	.globl	createSocket
	.type	createSocket, @function
createSocket:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -128[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, -128[rbp]
	add	rdx, 2
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -136[rbp], eax
	cmp	DWORD PTR -136[rbp], 0
	jns	.L2
	mov	eax, DWORD PTR -136[rbp]
	jmp	.L6
.L2:
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jns	.L4
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, DWORD PTR -132[rbp]
	jmp	.L6
.L4:
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jns	.L5
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, DWORD PTR -132[rbp]
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -136[rbp]
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	createSocket, .-createSocket
	.globl	serverConnection
	.type	serverConnection, @function
serverConnection:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -132[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	serverConnection, .-serverConnection
	.globl	clientConnection
	.type	clientConnection, @function
clientConnection:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	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 -136[rbp], eax
	cmp	DWORD PTR -136[rbp], 0
	jns	.L12
	mov	eax, DWORD PTR -136[rbp]
	jmp	.L15
.L12:
	mov	WORD PTR -128[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, -128[rbp]
	add	rdx, 2
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jns	.L14
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, DWORD PTR -132[rbp]
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -136[rbp]
.L15:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	clientConnection, .-clientConnection
	.globl	deleteSocket
	.type	deleteSocket, @function
deleteSocket:
.LFB9:
	.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	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	unlink@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	deleteSocket, .-deleteSocket
	.globl	closeConnection
	.type	closeConnection, @function
closeConnection:
.LFB10:
	.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	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	closeConnection, .-closeConnection
	.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	"179831650.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createSocket
	.syntax unified
	.arm
	.fpu softvfp
	.type	createSocket, %function
createSocket:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	sub	r3, fp, #120
	add	r3, r3, #2
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	strcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L2
	ldr	r3, [fp, #-128]
	b	.L6
.L2:
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	bind
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L4
	ldr	r0, [fp, #-128]
	bl	close
	ldr	r3, [fp, #-124]
	b	.L6
.L4:
	mov	r1, #10
	ldr	r0, [fp, #-128]
	bl	listen
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L5
	ldr	r0, [fp, #-128]
	bl	close
	ldr	r3, [fp, #-124]
	b	.L6
.L5:
	ldr	r3, [fp, #-128]
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	createSocket, .-createSocket
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	serverConnection
	.syntax unified
	.arm
	.fpu softvfp
	.type	serverConnection, %function
serverConnection:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #124
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	accept
	mov	r3, r0
	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	.LC1
	.size	serverConnection, .-serverConnection
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	clientConnection
	.syntax unified
	.arm
	.fpu softvfp
	.type	clientConnection, %function
clientConnection:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	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, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L16
	ldr	r3, [fp, #-128]
	b	.L19
.L16:
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	sub	r3, fp, #120
	add	r3, r3, #2
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	connect
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L18
	ldr	r0, [fp, #-128]
	bl	close
	ldr	r3, [fp, #-124]
	b	.L19
.L18:
	ldr	r3, [fp, #-128]
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.size	clientConnection, .-clientConnection
	.align	2
	.global	deleteSocket
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteSocket, %function
deleteSocket:
	@ 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	r0, [fp, #-8]
	bl	close
	ldr	r0, [fp, #-12]
	bl	unlink
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	deleteSocket, .-deleteSocket
	.align	2
	.global	closeConnection
	.syntax unified
	.arm
	.fpu softvfp
	.type	closeConnection, %function
closeConnection:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	close
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	closeConnection, .-closeConnection
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
