	.file	"extr_sftp-client.c_upload_dir.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to canonicalize path \"%s\""
	.text
	.p2align 4
	.globl	upload_dir
	.type	upload_dir, @function
upload_dir:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	mov	rsi, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r9d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], ecx
	call	do_realpath@PLT
	mov	ecx, DWORD PTR 12[rsp]
	test	rax, rax
	je	.L6
	mov	rbp, rax
	mov	eax, DWORD PTR 80[rsp]
	mov	r8d, ecx
	mov	rdi, r12
	mov	rdx, rbp
	mov	r9d, ebx
	xor	ecx, ecx
	mov	rsi, r15
	push	rax
	.cfi_def_cfa_offset 88
	push	r14
	.cfi_def_cfa_offset 96
	call	upload_dir_internal@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	free@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	rsi, r13
	lea	rdi, .LC0[rip]
	mov	r12d, -1
	call	error@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	upload_dir, .-upload_dir
	.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-client.c_upload_dir.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to canonicalize path \"%s\"\000"
	.text
	.align	2
	.global	upload_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	upload_dir, %function
upload_dir:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	sub	sp, sp, #16
	mov	r1, r2
	mov	r5, r2
	mov	r8, r3
	mov	r6, r0
	bl	do_realpath
	subs	r4, r0, #0
	beq	.L6
	ldr	r3, [sp, #48]
	mov	r2, r4
	str	r3, [sp, #12]
	ldr	r3, [sp, #44]
	mov	r1, r7
	str	r3, [sp, #8]
	ldr	r3, [sp, #40]
	mov	r0, r6
	str	r3, [sp, #4]
	str	r8, [sp]
	mov	r3, #0
	bl	upload_dir_internal
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	free
.L1:
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r1, r5
	ldr	r0, .L7
	bl	error
	mvn	r4, #0
	b	.L1
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	upload_dir, .-upload_dir
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
