	.file	"758240.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Socket"
.LC1:
	.string	"127.0.0.1"
.LC2:
	.string	"Connect"
	.text
	.globl	create_socket
	.type	create_socket, @function
create_socket:
.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, 48
	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 -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 111
	call	exit@PLT
.L2:
	mov	WORD PTR -32[rbp], 2
	mov	edi, 15408
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	lea	rdi, .LC1[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -28[rbp], eax
	lea	rax, -32[rbp]
	add	rax, 8
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 111
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_socket, .-create_socket
	.section	.rodata
.LC3:
	.string	"\n"
	.text
	.globl	trimNewline
	.type	trimNewline, @function
trimNewline:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	trimNewline, .-trimNewline
	.section	.rodata
.LC4:
	.string	"="
.LC5:
	.string	"Can't set environment"
	.text
	.globl	readEnvironment
	.type	readEnvironment, @function
readEnvironment:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	trimNewline
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	setenv@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 111
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -40[rbp], 0
.L8:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, -40[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	cmp	rax, -1
	jne	.L10
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readEnvironment, .-readEnvironment
	.section	.rodata
.LC6:
	.string	"Timeout"
.LC7:
	.string	"%s"
	.text
	.globl	timeout
	.type	timeout, @function
timeout:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdx, .LC6[rip]
	lea	rsi, .LC7[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	timeout, .-timeout
	.section	.rodata
.LC8:
	.string	"r"
.LC9:
	.string	"Can't read username"
.LC10:
	.string	"%s: %s"
.LC11:
	.string	"Can't read password"
.LC12:
	.string	"TCPREMOTEIP"
.LC13:
	.string	"r+"
.LC14:
	.string	"unknown"
.LC15:
	.string	"%s\n%s\n%s\n"
.LC16:
	.string	"Can't write to socket"
.LC17:
	.string	"Can't flush socket"
.LC18:
	.string	"Can't read result"
.LC19:
	.string	"success"
.LC20:
	.string	"Can't execute next program"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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	edx, 0
	mov	esi, 40
	mov	edi, 0
	call	openlog@PLT
	lea	rsi, timeout[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 8
	call	alarm@PLT
	lea	rsi, .LC8[rip]
	mov	edi, 3
	call	fdopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -56[rbp], 0
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, -56[rbp]
	lea	rax, -72[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	getdelim@PLT
	test	rax, rax
	jns	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC9[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L14:
	mov	QWORD PTR -56[rbp], 0
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, -56[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	getdelim@PLT
	test	rax, rax
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC11[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L15:
	lea	rdi, .LC12[rip]
	call	getenv@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 0
	call	create_socket
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	lea	rsi, .LC13[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L17
.L16:
	lea	rax, .LC14[rip]
.L17:
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rdi, QWORD PTR -16[rbp]
	mov	r8, rax
	lea	rsi, .LC15[rip]
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L18
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC16[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fflush@PLT
	cmp	eax, -1
	jne	.L19
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC17[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L19:
	mov	QWORD PTR -40[rbp], 0
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, -40[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	cmp	rax, -1
	jne	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC18[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	trimNewline
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	call	clearenv@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	readEnvironment
	call	closelog@PLT
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	cmp	eax, -1
	jne	.L22
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	lea	rdx, .LC20[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 4
	mov	eax, 0
	call	syslog@PLT
	mov	edi, 111
	call	exit@PLT
.L21:
	mov	eax, 1
	jmp	.L23
.L22:
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"758240.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Socket\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.ascii	"Connect\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_socket, %function
create_socket:
	@ 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, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L6+4
	bl	perror
	mov	r0, #111
	bl	exit
.L2:
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	ldr	r0, .L6+8
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	ldr	r0, .L6+12
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-20]
	sub	r3, fp, #24
	add	r3, r3, #8
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L6+16
	bl	perror
	mov	r0, #111
	bl	exit
.L3:
	ldr	r3, [fp, #-28]
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	15408
	.word	.LC1
	.word	.LC2
	.size	create_socket, .-create_socket
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012\000"
	.text
	.align	2
	.global	trimNewline
	.syntax unified
	.arm
	.fpu softvfp
	.type	trimNewline, %function
trimNewline:
	@ 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]
	ldr	r1, .L9
	ldr	r0, [fp, #-8]
	bl	strcspn
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC4
	.size	trimNewline, .-trimNewline
	.section	.rodata
	.align	2
.LC5:
	.ascii	"=\000"
	.align	2
.LC6:
	.ascii	"Can't set environment\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readEnvironment
	.syntax unified
	.arm
	.fpu softvfp
	.type	readEnvironment, %function
readEnvironment:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L12
.L14:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	trimNewline
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r1, .L16+4
	mov	r0, r3
	bl	strcspn
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r2, #1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L16+8
	bl	perror
	mov	r0, #111
	bl	exit
.L13:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	free
	mov	r3, #0
	str	r3, [fp, #-24]
.L12:
	sub	r1, fp, #24
	sub	r3, fp, #28
	ldr	r2, [fp, #-32]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	nop
	ldr	r3, .L16
	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}
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	.LC5
	.word	.LC6
	.size	readEnvironment, .-readEnvironment
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Timeout\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.text
	.align	2
	.global	timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	timeout, %function
timeout:
	@ 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]
	ldr	r2, .L19
	ldr	r1, .L19+4
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L20:
	.align	2
.L19:
	.word	.LC8
	.word	.LC9
	.size	timeout, .-timeout
	.section	.rodata
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.ascii	"Can't read username\000"
	.align	2
.LC12:
	.ascii	"%s: %s\000"
	.align	2
.LC13:
	.ascii	"Can't read password\000"
	.align	2
.LC14:
	.ascii	"TCPREMOTEIP\000"
	.align	2
.LC15:
	.ascii	"r+\000"
	.align	2
.LC16:
	.ascii	"unknown\000"
	.align	2
.LC17:
	.ascii	"%s\012%s\012%s\012\000"
	.align	2
.LC18:
	.ascii	"Can't write to socket\000"
	.align	2
.LC19:
	.ascii	"Can't flush socket\000"
	.align	2
.LC20:
	.ascii	"Can't read result\000"
	.align	2
.LC21:
	.ascii	"success\000"
	.align	2
.LC22:
	.ascii	"Can't execute next program\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #40
	mov	r0, #0
	bl	openlog
	ldr	r1, .L33+4
	mov	r0, #14
	bl	signal
	mov	r0, #8
	bl	alarm
	ldr	r1, .L33+8
	mov	r0, #3
	bl	fdopen
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r1, fp, #36
	sub	r0, fp, #44
	ldr	r3, [fp, #-24]
	mov	r2, #0
	bl	getdelim
	mov	r3, r0
	cmp	r3, #0
	bge	.L22
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+12
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L22:
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r1, fp, #36
	sub	r0, fp, #40
	ldr	r3, [fp, #-24]
	mov	r2, #0
	bl	getdelim
	mov	r3, r0
	cmp	r3, #0
	bge	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+20
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L23:
	ldr	r0, .L33+24
	bl	getenv
	str	r0, [fp, #-20]
	bl	create_socket
	str	r0, [fp, #-16]
	ldr	r1, .L33+28
	ldr	r0, [fp, #-16]
	bl	fdopen
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-20]
	b	.L25
.L24:
	ldr	r3, .L33+32
.L25:
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L33+36
	ldr	r0, [fp, #-12]
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+40
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L26:
	ldr	r0, [fp, #-12]
	bl	fflush
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+44
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L27:
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r1, fp, #28
	sub	r3, fp, #32
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmn	r3, #1
	bne	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+48
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L28:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	trimNewline
	ldr	r3, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L33+52
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	bl	clearenv
	ldr	r0, [fp, #-12]
	bl	readEnvironment
	bl	closelog
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execl
	mov	r3, r0
	cmn	r3, #1
	bne	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L33+56
	ldr	r1, .L33+16
	mov	r0, #4
	bl	syslog
	mov	r0, #111
	bl	exit
.L29:
	mov	r3, #1
	b	.L31
.L30:
	mov	r3, #0
.L31:
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC23
	.word	timeout
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
