	.file	"98574634.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"connect"
.LC2:
	.string	"recv"
.LC3:
	.string	"Message has %d bytes\n"
.LC4:
	.string	"Message too short"
.LC5:
	.string	"Message not a Hello"
.LC6:
	.string	"Protocol version not 4"
.LC7:
	.string	"send"
.LC8:
	.string	"localhost"
.LC9:
	.string	"socketpair"
.LC10:
	.string	"sendmsg"
.LC11:
	.string	"Forwarding request failed"
.LC12:
	.string	"Connection finished"
	.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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 312
	.cfi_offset 3, -24
	mov	DWORD PTR -8500[rbp], edi
	mov	QWORD PTR -8512[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -8432[rbp], 0
	mov	QWORD PTR -8424[rbp], 0
	mov	QWORD PTR -8416[rbp], 0
	mov	QWORD PTR -8408[rbp], 0
	mov	QWORD PTR -8400[rbp], 0
	mov	QWORD PTR -8392[rbp], 0
	mov	QWORD PTR -8384[rbp], 0
	mov	QWORD PTR -8376[rbp], 0
	mov	QWORD PTR -8448[rbp], 0
	mov	QWORD PTR -8440[rbp], 0
	mov	QWORD PTR -8440[rbp], 1
	lea	rax, -8368[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -8368[rbp], 1
	mov	rax, QWORD PTR -8512[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -8368[rbp]
	lea	rdi, 2[rdx]
	mov	rcx, rax
	lea	rdx, .LC0[rip]
	mov	esi, 100
	mov	eax, 0
	call	snprintf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -8480[rbp], eax
	lea	rcx, -8368[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L2:
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8476[rbp], eax
	cmp	DWORD PTR -8476[rbp], 0
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L4:
	lea	rax, -8224[rbp]
	mov	QWORD PTR -8472[rbp], rax
	mov	rax, QWORD PTR -8472[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8484[rbp]
	cmp	eax, 7
	ja	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L20
.L5:
	add	QWORD PTR -8472[rbp], 4
	mov	rax, QWORD PTR -8472[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	cmp	eax, 1
	je	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L20
.L6:
	add	QWORD PTR -8472[rbp], 4
	mov	rax, QWORD PTR -8472[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	cmp	eax, 4
	je	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L20
.L7:
	mov	eax, DWORD PTR -8476[rbp]
	movsx	rbx, eax
	mov	eax, DWORD PTR -8476[rbp]
	movsx	rdx, eax
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	cmp	rbx, rax
	je	.L8
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L8:
	lea	rax, -8224[rbp]
	mov	QWORD PTR -8472[rbp], rax
	add	QWORD PTR -8472[rbp], 4
	mov	rbx, QWORD PTR -8472[rbp]
	lea	rax, 4[rbx]
	mov	QWORD PTR -8472[rbp], rax
	mov	edi, 268435464
	call	htonl@PLT
	mov	DWORD PTR [rbx], eax
	mov	rbx, QWORD PTR -8472[rbp]
	lea	rax, 4[rbx]
	mov	QWORD PTR -8472[rbp], rax
	mov	edi, 1
	call	htonl@PLT
	mov	DWORD PTR [rbx], eax
	mov	rbx, QWORD PTR -8472[rbp]
	lea	rax, 4[rbx]
	mov	QWORD PTR -8472[rbp], rax
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR -8472[rbp]
	add	rax, 4
	lea	rdx, .LC8[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	rbx, QWORD PTR -8472[rbp]
	lea	rdx, 4[rbx]
	mov	QWORD PTR -8472[rbp], rdx
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	eax, eax
	add	QWORD PTR -8472[rbp], rax
	mov	rbx, QWORD PTR -8472[rbp]
	lea	rax, 4[rbx]
	mov	QWORD PTR -8472[rbp], rax
	mov	edi, 5555
	call	htonl@PLT
	mov	DWORD PTR [rbx], eax
	lea	rdx, -8224[rbp]
	mov	rax, QWORD PTR -8472[rbp]
	sub	rax, rdx
	mov	DWORD PTR -8484[rbp], eax
	lea	rax, -8224[rbp]
	mov	QWORD PTR -8472[rbp], rax
	mov	eax, DWORD PTR -8484[rbp]
	sub	eax, 4
	mov	edi, eax
	call	htonl@PLT
	mov	rdx, QWORD PTR -8472[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8484[rbp]
	mov	edx, eax
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -8484[rbp]
	mov	edx, edx
	cmp	rax, rdx
	je	.L9
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L9:
	lea	rax, -8376[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socketpair@PLT
	test	eax, eax
	je	.L10
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L10:
	lea	rax, -8256[rbp]
	mov	QWORD PTR -8400[rbp], rax
	mov	QWORD PTR -8392[rbp], 24
	mov	QWORD PTR -8408[rbp], 1
	lea	rax, -8448[rbp]
	mov	QWORD PTR -8416[rbp], rax
	mov	DWORD PTR -8484[rbp], 0
	lea	rax, -8484[rbp]
	mov	QWORD PTR -8448[rbp], rax
	mov	QWORD PTR -8440[rbp], 1
	mov	rax, QWORD PTR -8392[rbp]
	cmp	rax, 15
	jbe	.L11
	mov	rax, QWORD PTR -8400[rbp]
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	mov	QWORD PTR -8464[rbp], rax
	mov	rax, QWORD PTR -8464[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -8464[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -8464[rbp]
	mov	QWORD PTR [rax], 20
	mov	rax, QWORD PTR -8464[rbp]
	add	rax, 16
	mov	QWORD PTR -8456[rbp], rax
	mov	edx, DWORD PTR -8376[rbp]
	mov	rax, QWORD PTR -8456[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8464[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8392[rbp], rax
	lea	rcx, -8432[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	cmp	rax, 1
	je	.L13
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L13:
	lea	rcx, -8432[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	cmp	rax, 1
	je	.L14
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L14:
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8476[rbp], eax
	cmp	DWORD PTR -8476[rbp], 0
	jg	.L15
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L15:
	lea	rax, -8224[rbp]
	mov	QWORD PTR -8472[rbp], rax
	mov	rax, QWORD PTR -8472[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -8472[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8472[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	cmp	eax, -2147483642
	je	.L16
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L20
.L16:
	mov	eax, DWORD PTR -8480[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -8476[rbp]
	movsx	rdx, eax
	lea	rax, -8224[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -8476[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8372[rbp]
	lea	rsi, -8224[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -8476[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L17
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L17:
	mov	eax, DWORD PTR -8372[rbp]
	lea	rsi, -8224[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8476[rbp], eax
	cmp	DWORD PTR -8476[rbp], 0
	jne	.L18
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -8480[rbp]
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8476[rbp], eax
	cmp	DWORD PTR -8476[rbp], 0
	jg	.L19
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L19:
	lea	rax, -8224[rbp]
	mov	QWORD PTR -8472[rbp], rax
	mov	rax, QWORD PTR -8472[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -8472[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -8484[rbp], eax
	mov	eax, DWORD PTR -8484[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L20:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"98574634.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"connect\000"
	.align	2
.LC2:
	.ascii	"recv\000"
	.align	2
.LC3:
	.ascii	"Message has %d bytes\012\000"
	.align	2
.LC4:
	.ascii	"Message too short\000"
	.align	2
.LC5:
	.ascii	"Message not a Hello\000"
	.align	2
.LC6:
	.ascii	"Protocol version not 4\000"
	.align	2
.LC7:
	.ascii	"send\000"
	.align	2
.LC8:
	.ascii	"localhost\000"
	.align	2
.LC9:
	.ascii	"socketpair\000"
	.align	2
.LC10:
	.ascii	"sendmsg\000"
	.align	2
.LC11:
	.ascii	"Forwarding request failed\000"
	.align	2
.LC12:
	.ascii	"Connection finished\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 = 8408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8384
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-212]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-216]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #172
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #144
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #180
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-176]
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #1
	strh	r2, [r3, #-136]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-216]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r0, r3, #2
	mov	r3, r2
	ldr	r2, .L22+4
	mov	r1, #100
	bl	snprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [r4, #-200]
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [r0, #-200]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L22+8
	bl	perror
	mov	r3, #1
	b	.L20
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #8192
	ldr	r0, [r0, #-200]
	bl	recv
	str	r0, [r4, #-196]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L22+12
	bl	perror
	mov	r3, #1
	b	.L20
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	mov	r1, r3
	ldr	r0, .L22+16
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r3, #7
	bhi	.L5
	ldr	r0, .L22+20
	bl	puts
	mov	r3, #1
	b	.L20
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	add	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r3, #1
	beq	.L6
	ldr	r0, .L22+24
	bl	puts
	mov	r3, #1
	b	.L20
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	add	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r3, #4
	beq	.L7
	ldr	r0, .L22+28
	bl	puts
	mov	r3, #1
	b	.L20
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-196]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-200]
	bl	send
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, r2
	beq	.L8
	ldr	r0, .L22+32
	bl	perror
	mov	r3, #1
	b	.L20
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	add	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r4, [r3, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r4, #4
	str	r3, [r2, #-192]
	mov	r0, #268435464
	bl	htonl
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r4, [r3, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r4, #4
	str	r3, [r2, #-192]
	mov	r0, #1
	bl	htonl
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r4, [r3, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r4, #4
	str	r3, [r2, #-192]
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	add	r3, r3, #4
	ldr	r2, .L22+36
	ldr	r1, .L22+4
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r2, [r3, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r4, [r3, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	add	r3, r4, #4
	str	r3, [r1, #-192]
	mov	r0, r2
	bl	htonl
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r3, r2, r3
	str	r3, [r1, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r4, [r3, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r4, #4
	str	r3, [r2, #-192]
	ldr	r0, .L22+40
	bl	htonl
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-192]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r2, [r3, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	sub	r3, r3, #4
	mov	r0, r3
	bl	htonl
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	mov	r1, r3
	ldr	r0, .L22+16
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-204]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-200]
	bl	send
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r2, r3
	beq	.L9
	ldr	r0, .L22+32
	bl	perror
	mov	r3, #1
	b	.L20
.L9:
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socketpair
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L22+44
	bl	perror
	mov	r3, #1
	b	.L20
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #24
	str	r3, [r2, #-156]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #20
	str	r3, [r2, #-152]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-160]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #52
	str	r3, [r2, #-164]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [r2, #-180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	cmp	r3, #11
	bls	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	b	.L12
.L11:
	mov	r3, #0
.L12:
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-188]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	mov	r2, #1
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	mov	r2, #1
	str	r2, [r3, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	mov	r2, #16
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	add	r3, r3, #12
	str	r3, [r2, #-184]
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [r0, #-184]
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-152]
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #44
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-200]
	bl	sendmsg
	mov	r3, r0
	cmp	r3, #1
	beq	.L13
	ldr	r0, .L22+48
	bl	perror
	mov	r3, #1
	b	.L20
.L13:
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #44
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-200]
	bl	sendmsg
	mov	r3, r0
	cmp	r3, #1
	beq	.L14
	ldr	r0, .L22+48
	bl	perror
	mov	r3, #1
	b	.L20
.L14:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #8192
	ldr	r0, [r0, #-200]
	bl	recv
	str	r0, [r4, #-196]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bgt	.L15
	ldr	r0, .L22+12
	bl	perror
	mov	r3, #1
	b	.L20
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #4
	str	r2, [r1, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	mov	r1, r3
	ldr	r0, .L22+16
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	cmp	r3, #-2147483642
	beq	.L16
	ldr	r0, .L22+52
	bl	puts
	mov	r3, #1
	b	.L20
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-200]
	bl	close
	b	.L17
.L18:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-196]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-140]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-196]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, r2
	beq	.L17
	ldr	r0, .L22+32
	bl	perror
	mov	r3, #1
	b	.L20
.L17:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-140]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #8192
	bl	recv
	str	r0, [r4, #-196]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L22+56
	bl	puts
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #8192
	ldr	r0, [r0, #-200]
	bl	recv
	str	r0, [r4, #-196]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bgt	.L19
	ldr	r0, .L22+12
	bl	perror
	mov	r3, #1
	b	.L20
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-192]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #4
	str	r2, [r1, #-192]
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-204]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	mov	r1, r3
	ldr	r0, .L22+16
	bl	printf
	mov	r3, #0
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	5555
	.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
