	.file	"extr_sftp.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sftp"
.LC1:
	.string	"%s"
.LC2:
	.string	"-oForwardX11 no"
.LC3:
	.string	"-oForwardAgent no"
.LC4:
	.string	"-oPermitLocalCommand no"
.LC5:
	.string	"-oClearAllForwardings yes"
.LC6:
	.string	"-%c"
.LC7:
	.string	"Bad port \"%s\"\n"
.LC8:
	.string	"-v"
.LC9:
	.string	"Invalid buffer size \"%s\""
.LC10:
	.string	"Batch file already specified."
.LC11:
	.string	"-"
.LC12:
	.string	"r"
.LC13:
	.string	"%s (%s)."
.LC14:
	.string	"-obatchmode yes"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC15:
	.string	"Invalid number of requests \"%s\""
	.align 8
.LC16:
	.string	"1246afhpqrvCc:D:i:l:o:s:S:b:B:F:P:R:"
	.section	.rodata.str1.1
.LC17:
	.string	"Missing hostname\n"
.LC18:
	.string	"-oPort %d"
.LC19:
	.string	"-l"
.LC20:
	.string	"-oProtocol %d"
.LC21:
	.string	"sftp-server"
	.section	.rodata.str1.8
	.align 8
.LC22:
	.string	"Couldn't initialise connection to server"
	.section	.rodata.str1.1
.LC23:
	.string	"Connected to %s.\n"
.LC24:
	.string	"Attached to %s.\n"
	.section	.rodata.str1.8
	.align 8
.LC25:
	.string	"Couldn't wait for ssh process: %s"
	.section	.rodata.str1.1
.LC26:
	.string	"--"
.LC27:
	.string	"-s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 2
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, .L5[rip]
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	r15, QWORD PTR _PATH_SSH_PROGRAM[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR DEFAULT_COPY_BUFLEN[rip]
	mov	QWORD PTR 88[rsp], 0
	lea	r13, 128[rsp]
	mov	QWORD PTR 112[rsp], 0
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR DEFAULT_NUM_REQUESTS[rip]
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	ssh_malloc_init@PLT
	xor	eax, eax
	call	sanitise_stdfd@PLT
	xor	eax, eax
	call	msetlocale@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	ssh_get_progname@PLT
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r13
	mov	DWORD PTR __progname[rip], eax
	call	memset@PLT
	mov	rdx, r15
	mov	rdi, r13
	xor	eax, eax
	lea	rsi, .LC1[rip]
	mov	QWORD PTR 128[rsp], 0
	call	addargs@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	eax, DWORD PTR SYSLOG_LEVEL_INFO[rip]
	mov	QWORD PTR 32[rsp], 0
	mov	QWORD PTR [rsp], 0
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR infile[rip], rax
	mov	DWORD PTR 52[rsp], 0
	mov	DWORD PTR 48[rsp], -1
.L2:
	lea	rdx, .LC16[rip]
	mov	rsi, rbp
	mov	edi, r14d
	call	getopt@PLT
	cmp	eax, -1
	je	.L81
	lea	ecx, -49[rax]
	cmp	ecx, 69
	ja	.L3
	movsx	rcx, DWORD PTR [rbx+rcx*4]
	add	rcx, rbx
	notrack jmp	rcx
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L22-.L5
	.long	.L61-.L5
	.long	.L3-.L5
	.long	.L19-.L5
	.long	.L3-.L5
	.long	.L19-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L20-.L5
	.long	.L19-.L5
	.long	.L18-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L17-.L5
	.long	.L3-.L5
	.long	.L16-.L5
	.long	.L15-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L14-.L5
	.long	.L13-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L12-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.section	.text.startup
.L61:
	mov	r12d, 2
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L81:
	mov	edi, DWORD PTR STDERR_FILENO[rip]
	call	isatty@PLT
	test	eax, eax
	je	.L82
.L32:
	mov	edx, DWORD PTR SYSLOG_FACILITY_USER[rip]
	mov	esi, DWORD PTR 16[rsp]
	mov	ecx, 1
	mov	rdi, QWORD PTR 0[rbp]
	call	log_init@PLT
	cmp	QWORD PTR [rsp], 0
	je	.L83
	lea	rsi, .LC21[rip]
	mov	rdi, r13
	xor	eax, eax
	xor	r14d, r14d
	mov	QWORD PTR 128[rsp], 0
	call	addargs@PLT
	mov	rdi, QWORD PTR [rsp]
	lea	rcx, 80[rsp]
	mov	rsi, QWORD PTR 128[rsp]
	lea	rdx, 76[rsp]
	call	connect_to_server@PLT
.L48:
	mov	rdi, r13
	call	freeargs@PLT
	mov	r8, QWORD PTR 32[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	mov	esi, DWORD PTR 80[rsp]
	mov	edi, DWORD PTR 76[rsp]
	call	do_init@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L84
.L49:
	mov	edx, DWORD PTR quiet[rip]
	test	edx, edx
	je	.L85
.L50:
	mov	rsi, QWORD PTR 112[rsp]
	mov	rdx, r14
	mov	rdi, rbp
	call	interactive_loop@PLT
	mov	esi, DWORD PTR SHUT_RDWR[rip]
	mov	edi, DWORD PTR 76[rsp]
	mov	ebx, eax
	call	shutdown@PLT
	mov	esi, DWORD PTR SHUT_RDWR[rip]
	mov	edi, DWORD PTR 80[rsp]
	call	shutdown@PLT
	mov	edi, DWORD PTR 76[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 80[rsp]
	call	close@PLT
	mov	eax, DWORD PTR batchmode[rip]
	test	eax, eax
	jne	.L86
.L52:
	lea	rbp, .LC25[rip]
.L53:
	mov	edi, DWORD PTR sshpid[rip]
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L88:
	mov	edi, DWORD PTR sshpid[rip]
	cmp	edi, 1
	jle	.L55
	mov	r8, QWORD PTR errno[rip]
	cmp	r8, QWORD PTR EINTR[rip]
	jne	.L87
.L54:
	xor	edx, edx
	xor	esi, esi
	call	waitpid@PLT
	cmp	eax, -1
	je	.L88
.L55:
	xor	edi, edi
	test	ebx, ebx
	setne	dil
	call	exit@PLT
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L89
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	cmp	DWORD PTR 52[rsp], 2
	jle	.L90
.L23:
	add	DWORD PTR 52[rsp], 1
	jmp	.L2
.L6:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L2
.L7:
	mov	DWORD PTR global_rflag[rip], 1
	jmp	.L2
.L8:
	mov	eax, DWORD PTR SYSLOG_LEVEL_ERROR[rip]
	mov	edx, 113
	lea	rsi, .LC6[rip]
	mov	rdi, r13
	mov	DWORD PTR quiet[rip], 1
	mov	DWORD PTR 16[rsp], eax
	xor	eax, eax
	mov	QWORD PTR showprogress[rip], 0
	call	addargs@PLT
	jmp	.L2
.L9:
	mov	DWORD PTR global_pflag[rip], 1
	jmp	.L2
.L11:
	mov	edx, 104857600
	lea	rcx, 120[rsp]
	mov	esi, 1
	mov	rdi, QWORD PTR optarg[rip]
	call	strtonum@PLT
	cmp	QWORD PTR 120[rsp], 0
	mov	rdx, rax
	je	.L29
	mov	QWORD PTR 32[rsp], rax
	xor	eax, eax
	call	usage@PLT
	mov	rdx, QWORD PTR 32[rsp]
.L29:
	sal	rdx, 10
	mov	QWORD PTR 32[rsp], rdx
	jmp	.L2
.L12:
	mov	DWORD PTR global_fflag[rip], 1
	jmp	.L2
.L13:
	cmp	DWORD PTR batchmode[rip], 0
	jne	.L91
.L25:
	mov	rdi, QWORD PTR optarg[rip]
	lea	rsi, .LC11[rip]
	mov	QWORD PTR 56[rsp], rdi
	call	strcmp@PLT
	mov	rdi, QWORD PTR 56[rsp]
	test	eax, eax
	jne	.L92
.L27:
	lea	rsi, .LC14[rip]
	mov	rdi, r13
	xor	eax, eax
	mov	QWORD PTR showprogress[rip], 0
	mov	DWORD PTR batchmode[rip], 1
	mov	DWORD PTR quiet[rip], 1
	call	addargs@PLT
	jmp	.L2
.L14:
	mov	DWORD PTR global_aflag[rip], 1
	jmp	.L2
.L15:
	mov	r15, QWORD PTR optarg[rip]
	lea	rdx, .LC1[rip]
	xor	esi, esi
	mov	rdi, r13
	mov	rcx, r15
	call	replacearg@PLT
	jmp	.L2
.L16:
	mov	rdi, QWORD PTR optarg[rip]
	lea	rsi, 104[rsp]
	mov	edx, 10
	call	strtol@PLT
	mov	QWORD PTR 40[rsp], rax
	test	rax, rax
	je	.L30
	mov	rax, QWORD PTR 104[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L2
.L30:
	mov	rsi, QWORD PTR optarg[rip]
	lea	rdi, .LC15[rip]
	xor	eax, eax
	call	fatal@PLT
	jmp	.L2
.L17:
	mov	rdi, QWORD PTR optarg[rip]
	call	a2port@PLT
	mov	DWORD PTR 48[rsp], eax
	test	eax, eax
	jg	.L2
	mov	rsi, QWORD PTR optarg[rip]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	fatal@PLT
	jmp	.L2
.L10:
	mov	edx, eax
	mov	rdi, r13
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	addargs@PLT
	mov	rdx, QWORD PTR optarg[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	rdi, r13
	call	addargs@PLT
	jmp	.L2
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR [rsp], rax
	jmp	.L2
.L20:
	mov	rdi, QWORD PTR optarg[rip]
	lea	rsi, 104[rsp]
	mov	edx, 10
	call	strtol@PLT
	mov	QWORD PTR 24[rsp], rax
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR 104[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L2
.L24:
	mov	rsi, QWORD PTR optarg[rip]
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	fatal@PLT
	jmp	.L2
.L19:
	mov	edx, eax
	lea	rsi, .LC6[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	jmp	.L2
.L22:
	cmp	QWORD PTR 8[rsp], 0
	mov	r12d, 1
	jne	.L2
	mov	rax, QWORD PTR _PATH_SFTP_SERVER[rip]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L2
.L3:
	xor	eax, eax
	call	usage@PLT
	jmp	.L2
.L85:
	cmp	QWORD PTR [rsp], 0
	mov	edi, DWORD PTR stderr[rip]
	je	.L93
	mov	rdx, QWORD PTR [rsp]
	lea	rsi, .LC24[rip]
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L50
.L82:
	mov	QWORD PTR showprogress[rip], 0
	jmp	.L32
.L87:
	mov	rdi, r8
	call	strerror@PLT
	mov	rdi, rbp
	mov	rsi, rax
	xor	eax, eax
	call	fatal@PLT
	jmp	.L53
.L83:
	movsx	rax, DWORD PTR optind[rip]
	cmp	eax, r14d
	je	.L34
	lea	edx, 2[rax]
	cmp	edx, r14d
	jl	.L34
.L35:
	lea	rbx, 0[rbp+rax*8]
	lea	r14, 88[rsp]
	lea	rbp, 96[rsp]
	mov	rsi, QWORD PTR [rbx]
	lea	r9, 112[rsp]
	mov	rcx, r14
	lea	r8, 84[rsp]
	mov	rdx, rbp
	mov	QWORD PTR 16[rsp], r9
	lea	rdi, .LC0[rip]
	call	parse_uri@PLT
	cmp	eax, -1
	je	.L36
	test	eax, eax
	jne	.L94
	mov	eax, DWORD PTR 84[rsp]
	cmp	eax, -1
	je	.L39
	mov	rdx, QWORD PTR 88[rsp]
	mov	r14, QWORD PTR 8[rbx]
	mov	DWORD PTR 48[rsp], eax
	cmp	BYTE PTR [rdx], 0
	je	.L58
.L59:
	mov	edx, DWORD PTR 48[rsp]
	lea	rsi, .LC18[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	jmp	.L43
.L34:
	xor	eax, eax
	call	usage@PLT
	movsx	rax, DWORD PTR optind[rip]
	jmp	.L35
.L36:
	xor	eax, eax
	call	usage@PLT
.L39:
	mov	rax, QWORD PTR 88[rsp]
	mov	r14, QWORD PTR 8[rbx]
	cmp	BYTE PTR [rax], 0
	je	.L58
.L42:
	cmp	DWORD PTR 48[rsp], -1
	jne	.L59
.L43:
	cmp	QWORD PTR 96[rsp], 0
	je	.L44
	lea	rsi, .LC19[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	rdx, QWORD PTR 96[rsp]
	mov	rdi, r13
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	addargs@PLT
.L44:
	mov	edx, r12d
	lea	rsi, .LC20[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L45
	mov	esi, 47
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L95
.L79:
	lea	rsi, .LC26[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	rdx, QWORD PTR 88[rsp]
	mov	rdi, r13
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	addargs@PLT
.L57:
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	addargs@PLT
	mov	rsi, QWORD PTR 128[rsp]
	lea	rcx, 80[rsp]
	mov	rdi, r15
	lea	rdx, 76[rsp]
	call	connect_to_server@PLT
	jmp	.L48
.L86:
	mov	rdi, QWORD PTR infile[rip]
	call	fclose@PLT
	jmp	.L52
.L94:
	mov	r9, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r14
	mov	rsi, rbp
	mov	rcx, r9
	call	parse_user_host_path@PLT
	add	eax, 1
	jne	.L39
	mov	rdi, QWORD PTR [rbx]
	call	xstrdup@PLT
	mov	rdi, rax
	mov	QWORD PTR 88[rsp], rax
	call	cleanhostname@PLT
	mov	QWORD PTR 88[rsp], rax
	jmp	.L39
.L58:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC17[rip]
	xor	eax, eax
	call	fprintf@PLT
	xor	eax, eax
	call	usage@PLT
	jmp	.L42
.L84:
	lea	rdi, .LC22[rip]
	xor	eax, eax
	call	fatal@PLT
	jmp	.L49
.L93:
	mov	rdx, QWORD PTR 88[rsp]
	lea	rsi, .LC23[rip]
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L50
.L92:
	lea	rsi, .LC12[rip]
	call	fopen@PLT
	mov	QWORD PTR infile[rip], rax
	test	rax, rax
	jne	.L27
	mov	rdx, QWORD PTR optarg[rip]
	mov	rdi, QWORD PTR errno[rip]
	mov	QWORD PTR 56[rsp], rdx
	call	strerror@PLT
	mov	rdx, QWORD PTR 56[rsp]
	lea	rdi, .LC13[rip]
	mov	rsi, rax
	xor	eax, eax
	call	fatal@PLT
	jmp	.L27
.L91:
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	fatal@PLT
	jmp	.L25
.L90:
	lea	rsi, .LC8[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	eax, DWORD PTR 52[rsp]
	add	eax, DWORD PTR SYSLOG_LEVEL_DEBUG1[rip]
	mov	DWORD PTR 16[rsp], eax
	jmp	.L23
.L45:
	lea	rsi, .LC27[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	lea	rsi, .LC26[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	mov	rdx, QWORD PTR 88[rsp]
	mov	rdi, r13
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	addargs@PLT
	lea	rax, .LC0[rip]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L57
.L95:
	lea	rsi, .LC27[rip]
	mov	rdi, r13
	xor	eax, eax
	call	addargs@PLT
	jmp	.L79
.L89:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stdin,8,8
	.comm	stderr,4,4
	.comm	sshpid,4,4
	.comm	showprogress,8,8
	.comm	quiet,4,4
	.comm	infile,8,8
	.comm	global_rflag,4,4
	.comm	global_pflag,4,4
	.comm	global_fflag,4,4
	.comm	global_aflag,4,4
	.comm	errno,8,8
	.comm	batchmode,4,4
	.comm	__progname,4,4
	.comm	_PATH_SSH_PROGRAM,8,8
	.comm	_PATH_SFTP_SERVER,8,8
	.comm	SYSLOG_LEVEL_INFO,4,4
	.comm	SYSLOG_LEVEL_ERROR,4,4
	.comm	SYSLOG_LEVEL_DEBUG1,4,4
	.comm	SYSLOG_FACILITY_USER,4,4
	.comm	STDERR_FILENO,4,4
	.comm	SHUT_RDWR,4,4
	.comm	EINTR,8,8
	.comm	DEFAULT_NUM_REQUESTS,8,8
	.comm	DEFAULT_COPY_BUFLEN,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_sftp.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sftp\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"-oForwardX11 no\000"
	.align	2
.LC3:
	.ascii	"-oForwardAgent no\000"
	.align	2
.LC4:
	.ascii	"-oPermitLocalCommand no\000"
	.align	2
.LC5:
	.ascii	"-oClearAllForwardings yes\000"
	.align	2
.LC6:
	.ascii	"-%c\000"
	.align	2
.LC7:
	.ascii	"Bad port \"%s\"\012\000"
	.align	2
.LC8:
	.ascii	"-v\000"
	.align	2
.LC9:
	.ascii	"Invalid buffer size \"%s\"\000"
	.align	2
.LC10:
	.ascii	"Batch file already specified.\000"
	.align	2
.LC11:
	.ascii	"-\000"
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"%s (%s).\000"
	.align	2
.LC14:
	.ascii	"-obatchmode yes\000"
	.align	2
.LC15:
	.ascii	"Invalid number of requests \"%s\"\000"
	.align	2
.LC16:
	.ascii	"1246afhpqrvCc:D:i:l:o:s:S:b:B:F:P:R:\000"
	.align	2
.LC17:
	.ascii	"Missing hostname\012\000"
	.align	2
.LC18:
	.ascii	"-oPort %d\000"
	.align	2
.LC19:
	.ascii	"-l\000"
	.align	2
.LC20:
	.ascii	"-oProtocol %d\000"
	.align	2
.LC21:
	.ascii	"sftp-server\000"
	.align	2
.LC22:
	.ascii	"Couldn't initialise connection to server\000"
	.align	2
.LC23:
	.ascii	"Connected to %s.\012\000"
	.align	2
.LC24:
	.ascii	"Attached to %s.\012\000"
	.align	2
.LC25:
	.ascii	"Couldn't wait for ssh process: %s\000"
	.align	2
.LC26:
	.ascii	"--\000"
	.align	2
.LC27:
	.ascii	"-s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC28:
	.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 = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	mov	r5, r1
	ldr	r2, .L111
	ldr	r3, .L111+4
	ldr	r1, .L111+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r6, r0
	ldr	r0, .L111+12
	sub	sp, sp, #84
	ldr	fp, [r1]
	ldr	r0, [r0]
	str	r0, [sp, #76]
	mov	r0,#0
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r4, [sp, #52]
	str	r4, [sp, #64]
	bl	ssh_malloc_init
	bl	sanitise_stdfd
	bl	msetlocale
	ldr	r0, [r5]
	bl	ssh_get_progname
	mov	ip, r0
	ldr	r3, .L111+16
	mov	r1, r4
	mov	r2, #4
	add	r0, sp, #72
	str	ip, [r3]
	bl	memset
	mov	r2, fp
	ldr	r1, .L111+20
	add	r0, sp, #72
	str	r4, [sp, #72]
	bl	addargs
	ldr	r1, .L111+24
	add	r0, sp, #72
	bl	addargs
	ldr	r1, .L111+28
	add	r0, sp, #72
	bl	addargs
	ldr	r1, .L111+32
	add	r0, sp, #72
	bl	addargs
	ldr	r1, .L111+36
	add	r0, sp, #72
	bl	addargs
	ldr	r3, .L111+40
	mov	r8, r4
	ldr	r2, [r3]
	ldr	r3, .L111+44
	mov	r10, r4
	ldr	r3, [r3]
	str	r4, [sp, #24]
	str	r3, [sp, #12]
	mvn	r3, #0
	str	r4, [sp, #8]
	str	r4, [sp, #28]
	mov	r4, #2
	ldr	r1, .L111+48
	ldr	r7, .L111+52
	ldr	r9, .L111+56
	str	r2, [r1]
	str	r3, [sp, #32]
.L2:
	mov	r2, r7
	mov	r1, r5
	mov	r0, r6
	bl	getopt
	cmn	r0, #1
	beq	.L98
	sub	r3, r0, #49
	cmp	r3, #69
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L22
	.word	.L61
	.word	.L3
	.word	.L19
	.word	.L3
	.word	.L19
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L17
	.word	.L3
	.word	.L16
	.word	.L15
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L14
	.word	.L13
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L12
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L11
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L4
.L61:
	mov	r4, #2
	b	.L2
.L98:
	ldr	r3, .L111+60
	ldr	r0, [r3]
	bl	isatty
	cmp	r0, #0
	ldreq	r3, .L111+64
	ldr	r1, [sp, #12]
	streq	r0, [r3]
	ldr	r3, .L111+68
	ldr	r0, [r5]
	ldr	r2, [r3]
	mov	r3, #1
	bl	log_init
	cmp	r10, #0
	beq	.L99
	mov	r5, #0
	ldr	r1, .L111+72
	add	r0, sp, #72
	str	r5, [sp, #72]
	bl	addargs
	mov	r0, r10
	ldr	r1, [sp, #72]
	add	r3, sp, #44
	add	r2, sp, #40
	bl	connect_to_server
.L48:
	add	r0, sp, #72
	bl	freeargs
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #16]
	str	r3, [sp, #4]
	ldr	r1, [sp, #44]
	ldr	r3, [sp, #20]
	ldr	r0, [sp, #40]
	str	r8, [sp]
	bl	do_init
	subs	r4, r0, #0
	beq	.L100
.L49:
	ldr	r3, .L111+76
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
.L50:
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [sp, #64]
	bl	interactive_loop
	ldr	r4, .L111+80
	mov	r5, r0
	ldr	r1, [r4]
	ldr	r0, [sp, #40]
	bl	shutdown
	ldr	r1, [r4]
	ldr	r0, [sp, #44]
	bl	shutdown
	ldr	r0, [sp, #40]
	bl	close
	ldr	r0, [sp, #44]
	bl	close
	ldr	r3, .L111+84
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L102
.L52:
	ldr	r4, .L111+88
	ldr	r7, .L111+92
	ldr	r6, .L111+96
.L53:
	ldr	r0, [r4]
	b	.L54
.L104:
	ldr	r0, [r4]
	cmp	r0, #1
	ble	.L55
	ldr	r3, [r7]
	ldr	r2, [r6]
	cmp	r3, r2
	bne	.L103
.L54:
	mov	r2, #0
	mov	r1, r2
	bl	waitpid
	cmn	r0, #1
	beq	.L104
.L55:
	subs	r0, r5, #0
	movne	r0, #1
	bl	exit
	ldr	r3, .L111+12
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L105
	mov	r0, #0
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, [sp, #28]
	cmp	r3, #2
	ble	.L106
.L23:
	ldr	r3, [sp, #28]
	add	r3, r3, #1
	str	r3, [sp, #28]
	b	.L2
.L6:
	ldr	r3, [r9]
	str	r3, [sp, #8]
	b	.L2
.L7:
	mov	r2, #1
	ldr	r3, .L111+100
	str	r2, [r3]
	b	.L2
.L8:
	mov	r1, #1
	mov	ip, #0
	ldr	r3, .L111+104
	ldr	r0, .L111+64
	ldr	lr, .L111+76
	ldr	r3, [r3]
	str	r1, [lr]
	str	ip, [r0]
	mov	r2, #113
	ldr	r1, .L111+108
	add	r0, sp, #72
	str	r3, [sp, #12]
	bl	addargs
	b	.L2
.L9:
	mov	r2, #1
	ldr	r3, .L111+112
	str	r2, [r3]
	b	.L2
.L11:
	add	r3, sp, #68
	mov	r2, #104857600
	mov	r1, #1
	ldr	r0, [r9]
	bl	strtonum
	ldr	r3, [sp, #68]
	mov	r8, r0
	cmp	r3, #0
	beq	.L29
	str	r1, [sp, #24]
	bl	usage
	ldr	r1, [sp, #24]
.L29:
	lsl	r3, r1, #10
	orr	r3, r3, r8, lsr #22
	str	r3, [sp, #24]
	lsl	r8, r8, #10
	b	.L2
.L12:
	mov	r2, #1
	ldr	r3, .L111+116
	str	r2, [r3]
	b	.L2
.L13:
	ldr	r3, .L111+84
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L107
.L25:
	ldr	r3, [r9]
	ldr	r1, .L111+120
	mov	r0, r3
	str	r3, [sp, #36]
	bl	strcmp
	cmp	r0, #0
	ldr	r3, [sp, #36]
	bne	.L108
.L27:
	mov	r1, #0
	mov	r3, #1
	ldr	r2, .L111+64
	ldr	r0, .L111+84
	str	r1, [r2]
	ldr	r2, .L111+76
	str	r3, [r0]
	ldr	r1, .L111+124
	add	r0, sp, #72
	str	r3, [r2]
	bl	addargs
	b	.L2
.L14:
	mov	r2, #1
	ldr	r3, .L111+128
	str	r2, [r3]
	b	.L2
.L15:
	ldr	fp, [r9]
	mov	r1, #0
	mov	r3, fp
	ldr	r2, .L111+20
	add	r0, sp, #72
	bl	replacearg
	b	.L2
.L16:
	mov	r2, #10
	ldr	r0, [r9]
	add	r1, sp, #60
	bl	strtol
	subs	r3, r0, #0
	str	r3, [sp, #20]
	beq	.L30
	ldr	r3, [sp, #60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
.L30:
	ldr	r1, [r9]
	ldr	r0, .L111+132
	bl	fatal
	b	.L2
.L17:
	ldr	r0, [r9]
	bl	a2port
	subs	r3, r0, #0
	str	r3, [sp, #32]
	bgt	.L2
	ldr	r1, [r9]
	ldr	r0, .L111+136
	bl	fatal
	b	.L2
.L10:
	mov	r2, r0
	ldr	r1, .L111+108
	add	r0, sp, #72
	bl	addargs
	ldr	r2, [r9]
	ldr	r1, .L111+20
	add	r0, sp, #72
	bl	addargs
	b	.L2
.L18:
	ldr	r10, [r9]
	b	.L2
.L20:
	mov	r2, #10
	ldr	r0, [r9]
	add	r1, sp, #60
	bl	strtol
	subs	r3, r0, #0
	str	r3, [sp, #16]
	beq	.L24
	ldr	r3, [sp, #60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
.L24:
	ldr	r1, [r9]
	ldr	r0, .L111+140
	bl	fatal
	b	.L2
.L19:
	mov	r2, r0
	ldr	r1, .L111+108
	add	r0, sp, #72
	bl	addargs
	b	.L2
.L22:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	movne	r4, #1
	ldreq	r3, .L111+144
	moveq	r4, #1
	ldreq	r3, [r3]
	streq	r3, [sp, #8]
	b	.L2
.L3:
	bl	usage
	b	.L2
.L101:
	ldr	r3, .L111+148
	cmp	r10, #0
	movne	r2, r10
	ldr	r0, [r3]
	ldreq	r2, [sp, #52]
	ldreq	r1, .L111+152
	ldrne	r1, .L111+156
	bl	fprintf
	b	.L50
.L103:
	mov	r0, r3
	bl	strerror
	mov	r1, r0
	ldr	r0, .L111+160
	bl	fatal
	b	.L53
.L99:
	ldr	r7, .L111+164
	ldr	r3, [r7]
	cmp	r3, r6
	beq	.L34
	add	r3, r3, #2
	cmp	r3, r6
	blt	.L34
.L35:
	ldr	r6, [r7]
	add	r0, sp, #48
	add	r7, sp, #64
	ldr	r1, [r5, r6, lsl #2]
	add	r3, sp, #52
	stm	sp, {r0, r7}
	add	r2, sp, #56
	ldr	r0, .L111+168
	bl	parse_uri
	cmn	r0, #1
	add	r9, r5, r6, lsl #2
	beq	.L36
	cmp	r0, #0
	beq	.L37
	mov	r3, r7
	ldr	r0, [r5, r6, lsl #2]
	add	r2, sp, #52
	add	r1, sp, #56
	bl	parse_user_host_path
	cmn	r0, #1
	beq	.L109
.L39:
	ldr	r3, [sp, #52]
	ldr	r5, [r9, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
.L42:
	ldr	r3, [sp, #32]
	cmn	r3, #1
	bne	.L59
.L43:
	ldr	r3, [sp, #56]
	cmp	r3, #0
	beq	.L44
	ldr	r1, .L111+172
	add	r0, sp, #72
	bl	addargs
	ldr	r2, [sp, #56]
	ldr	r1, .L111+20
	add	r0, sp, #72
	bl	addargs
.L44:
	mov	r2, r4
	ldr	r1, .L111+176
	add	r0, sp, #72
	bl	addargs
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L45
	mov	r1, #47
	mov	r0, r3
	bl	strchr
	cmp	r0, #0
	beq	.L110
.L96:
	ldr	r1, .L111+180
	add	r0, sp, #72
	bl	addargs
	ldr	r2, [sp, #52]
	ldr	r1, .L111+20
	add	r0, sp, #72
	bl	addargs
.L57:
	ldr	r2, [sp, #8]
	ldr	r1, .L111+20
	add	r0, sp, #72
	bl	addargs
	mov	r0, fp
	ldr	r1, [sp, #72]
	add	r3, sp, #44
	add	r2, sp, #40
	bl	connect_to_server
	b	.L48
.L34:
	bl	usage
	b	.L35
.L102:
	ldr	r3, .L111+48
	ldr	r0, [r3]
	bl	fclose
	b	.L52
.L37:
	ldr	r3, [sp, #48]
	cmn	r3, #1
	beq	.L39
	ldr	r2, [sp, #52]
	ldr	r5, [r9, #4]
	ldrb	r2, [r2]	@ zero_extendqisi2
	str	r3, [sp, #32]
	cmp	r2, #0
	beq	.L58
.L59:
	ldr	r2, [sp, #32]
	ldr	r1, .L111+184
	add	r0, sp, #72
	bl	addargs
	b	.L43
.L100:
	ldr	r0, .L111+188
	bl	fatal
	b	.L49
.L58:
	ldr	r3, .L111+148
	ldr	r1, .L111+192
	ldr	r0, [r3]
	bl	fprintf
	bl	usage
	b	.L42
.L36:
	bl	usage
	b	.L39
.L108:
	mov	r0, r3
	ldr	r1, .L111+196
	bl	fopen
	ldr	r3, .L111+48
	cmp	r0, #0
	str	r0, [r3]
	bne	.L27
	ldr	r3, .L111+92
	ldr	r0, [r3]
	bl	strerror
	ldr	r2, [r9]
	mov	r1, r0
	ldr	r0, .L111+200
	bl	fatal
	b	.L27
.L107:
	ldr	r0, .L111+204
	bl	fatal
	b	.L25
.L106:
	ldr	r1, .L111+208
	add	r0, sp, #72
	bl	addargs
	ldr	r3, .L111+212
	ldr	r2, [sp, #28]
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [sp, #12]
	b	.L23
.L45:
	ldr	r1, .L111+216
	add	r0, sp, #72
	bl	addargs
	ldr	r1, .L111+180
	add	r0, sp, #72
	bl	addargs
	ldr	r2, [sp, #52]
	ldr	r1, .L111+20
	add	r0, sp, #72
	bl	addargs
	ldr	r3, .L111+168
	str	r3, [sp, #8]
	b	.L57
.L110:
	ldr	r1, .L111+216
	add	r0, sp, #72
	bl	addargs
	b	.L96
.L109:
	ldr	r0, [r5, r6, lsl #2]
	bl	xstrdup
	str	r0, [sp, #52]
	bl	cleanhostname
	str	r0, [sp, #52]
	b	.L39
.L105:
	bl	__stack_chk_fail
.L112:
	.align	2
.L111:
	.word	DEFAULT_COPY_BUFLEN
	.word	DEFAULT_NUM_REQUESTS
	.word	_PATH_SSH_PROGRAM
	.word	.LC28
	.word	__progname
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdin
	.word	SYSLOG_LEVEL_INFO
	.word	infile
	.word	.LC16
	.word	optarg
	.word	STDERR_FILENO
	.word	showprogress
	.word	SYSLOG_FACILITY_USER
	.word	.LC21
	.word	quiet
	.word	SHUT_RDWR
	.word	batchmode
	.word	sshpid
	.word	errno
	.word	EINTR
	.word	global_rflag
	.word	SYSLOG_LEVEL_ERROR
	.word	.LC6
	.word	global_pflag
	.word	global_fflag
	.word	.LC11
	.word	.LC14
	.word	global_aflag
	.word	.LC15
	.word	.LC7
	.word	.LC9
	.word	_PATH_SFTP_SERVER
	.word	stderr
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	optind
	.word	.LC0
	.word	.LC19
	.word	.LC20
	.word	.LC26
	.word	.LC18
	.word	.LC22
	.word	.LC17
	.word	.LC12
	.word	.LC13
	.word	.LC10
	.word	.LC8
	.word	SYSLOG_LEVEL_DEBUG1
	.word	.LC27
	.size	main, .-main
	.comm	stdin,4,4
	.comm	stderr,4,4
	.comm	sshpid,4,4
	.comm	showprogress,4,4
	.comm	quiet,4,4
	.comm	infile,4,4
	.comm	global_rflag,4,4
	.comm	global_pflag,4,4
	.comm	global_fflag,4,4
	.comm	global_aflag,4,4
	.comm	errno,4,4
	.comm	batchmode,4,4
	.comm	__progname,4,4
	.comm	_PATH_SSH_PROGRAM,4,4
	.comm	_PATH_SFTP_SERVER,4,4
	.comm	SYSLOG_LEVEL_INFO,4,4
	.comm	SYSLOG_LEVEL_ERROR,4,4
	.comm	SYSLOG_LEVEL_DEBUG1,4,4
	.comm	SYSLOG_FACILITY_USER,4,4
	.comm	STDERR_FILENO,4,4
	.comm	SHUT_RDWR,4,4
	.comm	EINTR,4,4
	.comm	DEFAULT_NUM_REQUESTS,4,4
	.comm	DEFAULT_COPY_BUFLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
