	.file	"155010.c"
	.intel_syntax noprefix
	.text
	.globl	program_name
	.bss
	.align 8
	.type	program_name, @object
	.size	program_name, 8
program_name:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%s:"
.LC1:
	.string	": %s (%d)\n"
	.text
	.globl	error
	.type	error, @function
error:
.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, 224
	mov	DWORD PTR -212[rbp], edi
	mov	DWORD PTR -216[rbp], esi
	mov	QWORD PTR -224[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 24
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rdx, QWORD PTR program_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	cmp	DWORD PTR -216[rbp], 0
	je	.L3
	mov	eax, DWORD PTR -216[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -216[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L3:
	cmp	DWORD PTR -212[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	exit@PLT
.L6:
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	error, .-error
	.section	.rodata
.LC2:
	.string	"unknown host:%s"
.LC3:
	.string	"unknown service,%s\n"
	.text
	.type	set_address, @function
set_address:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	WORD PTR [rax], 2
	cmp	QWORD PTR -56[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton@PLT
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rax
	lea	rdx, .LC2[rip]
	mov	esi, 0
	mov	edi, 1
	mov	eax, 0
	call	error
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 4[rax], edx
	jmp	.L9
.L8:
	mov	edi, 0
	call	htonl@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	DWORD PTR 4[rdx], eax
.L9:
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	WORD PTR -34[rbp], ax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	movzx	eax, WORD PTR -34[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	WORD PTR 2[rdx], ax
	jmp	.L15
.L11:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getservbyname@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	lea	rdx, .LC3[rip]
	mov	esi, 0
	mov	edi, 1
	mov	eax, 0
	call	error
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	WORD PTR 2[rax], dx
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	set_address, .-set_address
	.section	.rodata
.LC4:
	.string	"hello world\n"
	.text
	.type	server, @function
server:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, 0
	mov	edx, 12
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	send@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	server, .-server
	.section	.rodata
.LC5:
	.string	"tcp"
.LC6:
	.string	"socket failed"
.LC7:
	.string	"setsockopt error"
.LC8:
	.string	"bind error"
.LC9:
	.string	"listen error"
.LC10:
	.string	"accept error"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 1
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	test	rax, rax
	je	.L18
	mov	rax, QWORD PTR program_name[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR program_name[rip], rdx
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR program_name[rip], rax
	mov	rax, QWORD PTR program_name[rip]
.L19:
	mov	QWORD PTR program_name[rip], rax
	cmp	DWORD PTR -84[rbp], 2
	jne	.L20
	mov	QWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -56[rbp], rax
.L21:
	lea	rdx, -48[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, .LC5[rip]
	mov	rdi, rax
	call	set_address
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	jns	.L22
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, .LC6[rip]
	mov	esi, eax
	mov	edi, 1
	mov	eax, 0
	call	error
.L22:
	lea	rdx, -76[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	je	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, .LC7[rip]
	mov	esi, eax
	mov	edi, 1
	mov	eax, 0
	call	error
.L23:
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, .LC8[rip]
	mov	esi, eax
	mov	edi, 1
	mov	eax, 0
	call	error
.L24:
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, .LC9[rip]
	mov	esi, eax
	mov	edi, 1
	mov	eax, 0
	call	error
.L27:
	mov	DWORD PTR -80[rbp], 16
	lea	rdx, -80[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	jns	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, .LC10[rip]
	mov	esi, eax
	mov	edi, 1
	mov	eax, 0
	call	error
.L26:
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	server
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L27
	.cfi_endproc
.LFE9:
	.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	"155010.c"
	.text
	.comm	program_name,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s:\000"
	.align	2
.LC1:
	.ascii	": %s (%d)\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 4, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r2, r3}
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	ldr	r2, .L6+8
	ldr	r2, [r2]
	ldr	r1, .L6+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L6+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L6+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-28]
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-28]
	ldr	r1, .L6+16
	mov	r0, r4
	bl	fprintf
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [fp, #-24]
	bl	exit
.L5:
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #8
	bx	lr
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	stderr
	.word	program_name
	.word	.LC0
	.word	.LC1
	.size	error, .-error
	.section	.rodata
	.align	2
.LC3:
	.ascii	"unknown host:%s\000"
	.align	2
.LC4:
	.ascii	"unknown service,%s\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_address, %function
set_address:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	mov	r0, r3
	mov	r3, #16
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-40]
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	inet_aton
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-32]
	bl	gethostbyname
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-32]
	ldr	r2, .L17+4
	mov	r1, #0
	mov	r0, #1
	bl	error
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [r2]
	str	r2, [r3, #4]
	b	.L10
.L9:
	mov	r0, #0
	bl	htonl
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #4]
.L10:
	sub	r3, fp, #20
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	strtol
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	strh	r2, [r3, #2]	@ movhi
	b	.L16
.L12:
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-36]
	bl	getservbyname
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-36]
	ldr	r2, .L17+8
	mov	r1, #0
	mov	r0, #1
	bl	error
.L14:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-40]
	strh	r2, [r3, #2]	@ movhi
.L16:
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	set_address, .-set_address
	.section	.rodata
	.align	2
.LC6:
	.ascii	"hello world\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	server, %function
server:
	@ 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	r3, #0
	mov	r2, #12
	ldr	r1, .L20
	ldr	r0, [fp, #-8]
	bl	send
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.size	server, .-server
	.section	.rodata
	.align	2
.LC7:
	.ascii	"tcp\000"
	.align	2
.LC8:
	.ascii	"socket failed\000"
	.align	2
.LC9:
	.ascii	"setsockopt error\000"
	.align	2
.LC10:
	.ascii	"bind error\000"
	.align	2
.LC11:
	.ascii	"listen error\000"
	.align	2
.LC12:
	.ascii	"accept error\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L34+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L34+4
	str	r2, [r1]
	b	.L24
.L23:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	ldr	r2, .L34+4
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
.L24:
	ldr	r2, .L34+4
	str	r3, [r2]
	ldr	r3, [fp, #-72]
	cmp	r3, #2
	bne	.L25
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-52]
	b	.L26
.L25:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-52]
.L26:
	sub	r2, fp, #40
	ldr	r3, .L34+8
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	set_address
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L34+12
	mov	r1, r3
	mov	r0, #1
	bl	error
.L27:
	sub	r3, fp, #60
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-48]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L34+16
	mov	r1, r3
	mov	r0, #1
	bl	error
.L28:
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L34+20
	mov	r1, r3
	mov	r0, #1
	bl	error
.L29:
	mov	r1, #5
	ldr	r0, [fp, #-48]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L34+24
	mov	r1, r3
	mov	r0, #1
	bl	error
.L32:
	mov	r3, #16
	str	r3, [fp, #-64]
	sub	r2, fp, #64
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	accept
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L31
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L34+28
	mov	r1, r3
	mov	r0, #1
	bl	error
.L31:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	server
	ldr	r0, [fp, #-44]
	bl	close
	b	.L32
.L35:
	.align	2
.L34:
	.word	.LC13
	.word	program_name
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
