	.file	"145451704.c"
	.intel_syntax noprefix
	.text
	.globl	clntdesc
	.bss
	.align 4
	.type	clntdesc, @object
	.size	clntdesc, 4
clntdesc:
	.zero	4
	.globl	svrdesc
	.align 4
	.type	svrdesc, @object
	.size	svrdesc, 4
svrdesc:
	.zero	4
	.globl	outbuf
	.align 32
	.type	outbuf, @object
	.size	outbuf, 1000
outbuf:
	.zero	1000
	.section	.rodata
.LC0:
	.string	"w > tmp.client"
.LC1:
	.string	"tmp.client"
	.text
	.globl	respond
	.type	respond, @function
respond:
.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	edx, 1000
	mov	esi, 0
	lea	rdi, outbuf[rip]
	call	memset@PLT
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	esi, 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 1000
	lea	rsi, outbuf[rip]
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR clntdesc[rip]
	lea	rsi, outbuf[rip]
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC1[rip]
	call	unlink@PLT
	mov	eax, DWORD PTR clntdesc[rip]
	mov	edi, eax
	call	close@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	respond, .-respond
	.globl	main
	.type	main, @function
main:
.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, 32
	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 svrdesc[rip], eax
	mov	WORD PTR -32[rbp], 2
	mov	WORD PTR -30[rbp], 2000
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR svrdesc[rip]
	lea	rcx, -32[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR svrdesc[rip]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
.L3:
	mov	eax, DWORD PTR svrdesc[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR clntdesc[rip], eax
	mov	eax, 0
	call	respond
	jmp	.L3
	.cfi_endproc
.LFE7:
	.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	"145451704.c"
	.text
	.comm	clntdesc,4,4
	.comm	svrdesc,4,4
	.comm	outbuf,1000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w > tmp.client\000"
	.align	2
.LC1:
	.ascii	"tmp.client\000"
	.text
	.align	2
	.global	respond
	.syntax unified
	.arm
	.fpu softvfp
	.type	respond, %function
respond:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r2, #1000
	mov	r1, #0
	ldr	r0, .L2
	bl	memset
	ldr	r0, .L2+4
	bl	system
	mov	r1, #0
	ldr	r0, .L2+8
	bl	open
	str	r0, [fp, #-12]
	mov	r2, #1000
	ldr	r1, .L2
	ldr	r0, [fp, #-12]
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, .L2+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2
	mov	r0, r3
	bl	write
	ldr	r0, .L2+8
	bl	unlink
	ldr	r3, .L2+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	outbuf
	.word	.LC0
	.word	.LC1
	.word	clntdesc
	.size	respond, .-respond
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L7+4
	str	r3, [r2]
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #2000
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	bind
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r1, #5
	mov	r0, r3
	bl	listen
.L5:
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	accept
	mov	r3, r0
	ldr	r2, .L7+8
	str	r3, [r2]
	bl	respond
	b	.L5
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	svrdesc
	.word	clntdesc
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
