	.file	"373148.c"
	.intel_syntax noprefix
	.text
	.globl	rexecoptions
	.bss
	.align 4
	.type	rexecoptions, @object
	.size	rexecoptions, 4
rexecoptions:
	.zero	4
	.globl	ahostbuf
	.align 32
	.type	ahostbuf, @object
	.size	ahostbuf, 1025
ahostbuf:
	.zero	1025
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"rexec: socket"
.LC2:
	.string	""
.LC3:
	.string	"getsockname"
.LC4:
	.string	"%u"
.LC5:
	.string	"accept"
	.text
	.globl	rexec_af
	.type	rexec_af, @function
rexec_af:
.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, 496
	mov	QWORD PTR -456[rbp], rdi
	mov	DWORD PTR -460[rbp], esi
	mov	QWORD PTR -472[rbp], rdx
	mov	QWORD PTR -480[rbp], rcx
	mov	QWORD PTR -488[rbp], r8
	mov	QWORD PTR -496[rbp], r9
	mov	eax, DWORD PTR 16[rbp]
	mov	WORD PTR -464[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -472[rbp]
	mov	QWORD PTR -400[rbp], rax
	mov	rax, QWORD PTR -480[rbp]
	mov	QWORD PTR -392[rbp], rax
	mov	WORD PTR -438[rbp], 0
	mov	DWORD PTR -428[rbp], 1
	mov	eax, DWORD PTR -460[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	lea	rax, -80[rbp]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	BYTE PTR -49[rbp], 0
	lea	rax, -384[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	movzx	eax, WORD PTR -464[rbp]
	mov	DWORD PTR -380[rbp], eax
	mov	DWORD PTR -376[rbp], 1
	mov	DWORD PTR -384[rbp], 2
	mov	rax, QWORD PTR -456[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -408[rbp]
	lea	rdx, -384[rbp]
	lea	rsi, -80[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -424[rbp], eax
	cmp	DWORD PTR -424[rbp], 0
	je	.L2
	mov	eax, -1
	jmp	.L27
.L2:
	mov	rax, QWORD PTR -408[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -408[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, 1025
	mov	rsi, rax
	lea	rdi, ahostbuf[rip]
	call	strncpy@PLT
	mov	BYTE PTR ahostbuf[rip+1024], 0
	mov	rax, QWORD PTR -456[rbp]
	lea	rdx, ahostbuf[rip]
	mov	QWORD PTR [rax], rdx
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -456[rbp]
	mov	QWORD PTR [rax], 0
.L5:
	mov	rax, QWORD PTR -408[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rdx, -480[rbp]
	lea	rcx, -472[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ruserpass@PLT
.L6:
	mov	rax, QWORD PTR -408[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -408[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 0
	jns	.L7
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L27
.L7:
	mov	rax, QWORD PTR -408[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -408[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 111
	jne	.L9
	cmp	DWORD PTR -428[rbp], 16
	jg	.L9
	mov	eax, DWORD PTR -420[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -428[rbp]
	mov	edi, eax
	call	sleep@PLT
	sal	DWORD PTR -428[rbp]
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -408[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, -1
	jmp	.L27
.L8:
	cmp	QWORD PTR -496[rbp], 0
	jne	.L10
	mov	eax, DWORD PTR -420[rbp]
	mov	edx, 1
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -438[rbp], 0
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -408[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -408[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -416[rbp], eax
	cmp	DWORD PTR -416[rbp], 0
	jns	.L12
	mov	eax, DWORD PTR -420[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L27
.L12:
	mov	eax, DWORD PTR -416[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -436[rbp], 128
	lea	rdx, -436[rbp]
	lea	rcx, -336[rbp]
	mov	eax, DWORD PTR -416[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	test	eax, eax
	jns	.L13
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -416[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L18
.L13:
	lea	rax, -336[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	__libc_sa_len@PLT
	mov	edx, DWORD PTR -436[rbp]
	cmp	eax, edx
	je	.L15
	mov	edi, 22
	mov	eax, 0
	call	__set_errno@PLT
	mov	eax, DWORD PTR -416[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L18
.L15:
	mov	WORD PTR -438[rbp], 0
	mov	eax, DWORD PTR -436[rbp]
	mov	esi, eax
	lea	rdx, -80[rbp]
	lea	rax, -336[rbp]
	sub	rsp, 8
	push	2
	mov	r9d, 32
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	test	eax, eax
	jne	.L16
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -438[rbp], ax
.L16:
	movzx	edx, WORD PTR -438[rbp]
	lea	rax, -48[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -432[rbp], 128
	lea	rdx, -432[rbp]
	lea	rcx, -208[rbp]
	mov	eax, DWORD PTR -416[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -412[rbp], eax
	mov	eax, DWORD PTR -416[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -412[rbp], 0
	jns	.L17
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	WORD PTR -438[rbp], 0
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -496[rbp]
	mov	edx, DWORD PTR -412[rbp]
	mov	DWORD PTR [rax], edx
.L11:
	mov	rax, QWORD PTR -472[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -472[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -480[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -488[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -488[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -472[rbp]
	cmp	QWORD PTR -400[rbp], rax
	je	.L19
	mov	rax, QWORD PTR -472[rbp]
	mov	rdi, rax
	call	free@PLT
.L19:
	mov	rax, QWORD PTR -480[rbp]
	cmp	QWORD PTR -392[rbp], rax
	je	.L20
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	free@PLT
.L20:
	lea	rcx, -432[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 1
	je	.L21
	mov	rax, QWORD PTR -456[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L18
.L21:
	movzx	eax, BYTE PTR -432[rbp]
	test	al, al
	je	.L22
	jmp	.L23
.L25:
	lea	rax, -432[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	movzx	eax, BYTE PTR -432[rbp]
	cmp	al, 10
	je	.L30
.L23:
	lea	rcx, -432[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 1
	je	.L25
	jmp	.L18
.L30:
	nop
	jmp	.L18
.L22:
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	eax, DWORD PTR -420[rbp]
	jmp	.L27
.L18:
	cmp	WORD PTR -438[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -496[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
.L26:
	mov	eax, DWORD PTR -420[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	eax, -1
.L27:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rexec_af, .-rexec_af
	.globl	rexec
	.type	rexec, @function
rexec:
.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, 48
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	QWORD PTR -40[rbp], r8
	mov	QWORD PTR -48[rbp], r9
	mov	r8, QWORD PTR -48[rbp]
	mov	rdi, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	2
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	rexec_af
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rexec, .-rexec
	.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	"373148.c"
	.text
	.comm	rexecoptions,4,4
	.comm	ahostbuf,1025,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"rexec: socket\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"getsockname\000"
	.align	2
.LC4:
	.ascii	"%u\000"
	.align	2
.LC5:
	.ascii	"accept\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rexec_af
	.syntax unified
	.arm
	.fpu softvfp
	.type	rexec_af, %function
rexec_af:
	@ args = 12, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #444
	str	r0, [fp, #-416]
	str	r1, [fp, #-420]
	str	r2, [fp, #-424]
	str	r3, [fp, #-428]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-432]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-436]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-392]
	ldr	r3, [fp, #-428]
	str	r3, [fp, #-388]
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-396]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #80
	ldr	r2, .L31+4
	mov	r1, #32
	bl	snprintf
	mov	r3, #0
	strb	r3, [fp, #-49]
	sub	r3, fp, #368
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldrh	r3, [fp, #12]
	str	r3, [fp, #-364]
	mov	r3, #1
	str	r3, [fp, #-360]
	mov	r3, #2
	str	r3, [fp, #-368]
	ldr	r3, [fp, #-416]
	ldr	r0, [r3]
	sub	r3, fp, #408
	sub	r2, fp, #368
	sub	r1, fp, #80
	bl	getaddrinfo
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	beq	.L2
	mvn	r3, #0
	b	.L27
.L2:
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #24]
	ldr	r2, .L31+8
	mov	r1, r3
	ldr	r0, .L31+12
	bl	strncpy
	ldr	r3, .L31+12
	mov	r2, #0
	strb	r2, [r3, #1024]
	ldr	r3, [fp, #-416]
	ldr	r2, .L31+12
	str	r2, [r3]
	b	.L5
.L4:
	ldr	r3, [fp, #-416]
	mov	r2, #0
	str	r2, [r3]
.L5:
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #24]
	sub	r2, fp, #428
	sub	r1, fp, #424
	mov	r0, r3
	bl	ruserpass
.L6:
	ldr	r3, [fp, #-408]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #8]
	mov	r2, #0
	mov	r1, r3
	bl	socket
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L31+16
	bl	perror
	mvn	r3, #0
	b	.L27
.L7:
	ldr	r3, [fp, #-408]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-380]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #111
	bne	.L9
	ldr	r3, [fp, #-396]
	cmp	r3, #16
	bgt	.L9
	ldr	r0, [fp, #-380]
	bl	close
	ldr	r3, [fp, #-396]
	mov	r0, r3
	bl	sleep
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #1
	str	r3, [fp, #-396]
	b	.L6
.L9:
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	perror
	mvn	r3, #0
	b	.L27
.L8:
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	bne	.L10
	mov	r2, #1
	ldr	r1, .L31+20
	ldr	r0, [fp, #-380]
	bl	write
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L11
.L10:
	ldr	r3, [fp, #-408]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-408]
	ldr	r3, [r3, #8]
	mov	r2, #0
	mov	r1, r3
	bl	socket
	str	r0, [fp, #-376]
	ldr	r3, [fp, #-376]
	cmp	r3, #0
	bge	.L12
	ldr	r0, [fp, #-380]
	bl	close
	mvn	r3, #0
	b	.L27
.L12:
	mov	r1, #1
	ldr	r0, [fp, #-376]
	bl	listen
	mov	r3, #128
	str	r3, [fp, #-404]
	sub	r2, fp, #404
	sub	r3, fp, #336
	mov	r1, r3
	ldr	r0, [fp, #-376]
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L31+24
	bl	perror
	ldr	r0, [fp, #-376]
	bl	close
	b	.L18
.L13:
	sub	r3, fp, #336
	ldrh	r3, [r3]
	mov	r0, r3
	bl	__libc_sa_len
	mov	r2, r0
	ldr	r3, [fp, #-404]
	cmp	r2, r3
	beq	.L15
	mov	r0, #22
	bl	__set_errno
	ldr	r0, [fp, #-376]
	bl	close
	b	.L18
.L15:
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-404]
	mov	r1, r3
	sub	r0, fp, #336
	mov	r3, #2
	str	r3, [sp, #8]
	mov	r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #80
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	getnameinfo
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	sub	r3, fp, #80
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
.L16:
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #48
	ldr	r1, .L31+28
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #48
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-380]
	bl	write
	mov	r3, #128
	str	r3, [fp, #-400]
	sub	r2, fp, #400
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, [fp, #-376]
	bl	accept
	str	r0, [fp, #-372]
	ldr	r0, [fp, #-376]
	bl	close
	ldr	r3, [fp, #-372]
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L31+32
	bl	perror
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L18
.L17:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-372]
	str	r2, [r3]
.L11:
	ldr	r4, [fp, #-424]
	ldr	r3, [fp, #-424]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-380]
	bl	write
	ldr	r4, [fp, #-428]
	ldr	r3, [fp, #-428]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-380]
	bl	write
	ldr	r0, [fp, #-432]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-432]
	ldr	r0, [fp, #-380]
	bl	write
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-392]
	cmp	r2, r3
	beq	.L19
	ldr	r3, [fp, #-424]
	mov	r0, r3
	bl	free
.L19:
	ldr	r3, [fp, #-428]
	ldr	r2, [fp, #-388]
	cmp	r2, r3
	beq	.L20
	ldr	r3, [fp, #-428]
	mov	r0, r3
	bl	free
.L20:
	sub	r3, fp, #400
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-380]
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L21
	ldr	r3, [fp, #-416]
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	b	.L18
.L21:
	ldrb	r3, [fp, #-400]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	b	.L23
.L25:
	sub	r3, fp, #400
	mov	r2, #1
	mov	r1, r3
	mov	r0, #2
	bl	write
	ldrb	r3, [fp, #-400]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L30
.L23:
	sub	r3, fp, #400
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-380]
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L25
	b	.L18
.L30:
	nop
	b	.L18
.L22:
	ldr	r3, [fp, #-408]
	mov	r0, r3
	bl	freeaddrinfo
	ldr	r3, [fp, #-380]
	b	.L27
.L18:
	sub	r3, fp, #12
	sub	r3, r3, #396
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-436]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
.L26:
	ldr	r0, [fp, #-380]
	bl	close
	ldr	r3, [fp, #-408]
	mov	r0, r3
	bl	freeaddrinfo
	mvn	r3, #0
.L27:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC6
	.word	.LC0
	.word	1025
	.word	ahostbuf
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	rexec_af, .-rexec_af
	.align	2
	.global	rexec
	.syntax unified
	.arm
	.fpu softvfp
	.type	rexec, %function
rexec:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rexec_af
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rexec, .-rexec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
