	.file	"946263.c"
	.intel_syntax noprefix
	.text
	.globl	sfd
	.bss
	.align 4
	.type	sfd, @object
	.size	sfd, 4
sfd:
	.zero	4
	.globl	cfd
	.align 4
	.type	cfd, @object
	.size	cfd, 4
cfd:
	.zero	4
	.globl	saddr
	.align 16
	.type	saddr, @object
	.size	saddr, 16
saddr:
	.zero	16
	.globl	caddr
	.align 16
	.type	caddr, @object
	.size	caddr, 16
caddr:
	.zero	16
	.globl	len
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.globl	buff
	.align 32
	.type	buff, @object
	.size	buff, 1024
buff:
	.zero	1024
	.section	.rodata
.LC0:
	.string	"127.0.0.1"
.LC1:
	.string	"Hello s\n"
.LC2:
	.string	"Client sent: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB36:
	.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	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR sfd[rip], eax
	mov	WORD PTR saddr[rip], 2
	lea	rdi, .LC0[rip]
	call	inet_addr@PLT
	mov	DWORD PTR saddr[rip+4], eax
	mov	edi, 5678
	call	htons@PLT
	mov	WORD PTR saddr[rip+2], ax
	mov	eax, DWORD PTR sfd[rip]
	mov	edx, 16
	lea	rsi, saddr[rip]
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR sfd[rip]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR len[rip], 16
	mov	eax, DWORD PTR sfd[rip]
	lea	rdx, len[rip]
	lea	rsi, caddr[rip]
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR cfd[rip], eax
	mov	eax, DWORD PTR cfd[rip]
	mov	edx, 8
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR cfd[rip]
	mov	edx, 1024
	lea	rsi, buff[rip]
	mov	edi, eax
	call	read@PLT
	lea	rsi, buff[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR sfd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.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	"946263.c"
	.text
	.comm	sfd,4,4
	.comm	cfd,4,4
	.comm	saddr,16,4
	.comm	caddr,16,4
	.comm	len,4,4
	.comm	buff,1024,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"127.0.0.1\000"
	.align	2
.LC1:
	.ascii	"Hello s\012\000"
	.align	2
.LC2:
	.ascii	"Client sent: %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, .L3+4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L3+8
	bl	inet_addr
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2, #4]
	ldr	r0, .L3+12
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L3+4
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r2, #16
	ldr	r1, .L3+4
	mov	r0, r3
	bl	bind
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	listen
	ldr	r3, .L3+16
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, .L3
	ldr	r3, [r3]
	ldr	r2, .L3+16
	ldr	r1, .L3+20
	mov	r0, r3
	bl	accept
	mov	r3, r0
	ldr	r2, .L3+24
	str	r3, [r2]
	ldr	r3, .L3+24
	ldr	r3, [r3]
	mov	r2, #8
	ldr	r1, .L3+28
	mov	r0, r3
	bl	write
	ldr	r3, .L3+24
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L3+32
	mov	r0, r3
	bl	read
	ldr	r1, .L3+32
	ldr	r0, .L3+36
	bl	printf
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	sfd
	.word	saddr
	.word	.LC0
	.word	5678
	.word	len
	.word	caddr
	.word	cfd
	.word	.LC1
	.word	buff
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
