	.file	"extr_sftpuploadresume.c_sftpResumeUpload.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error reading the remote file size: unable to resume upload\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"rb"
.LC2:
	.string	"%s\n"
	.text
	.p2align 4
	.type	sftpResumeUpload, @function
sftpResumeUpload:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sftpGetRemoteFileSize@PLT
	mov	r12d, eax
	cmp	eax, -1
	je	.L8
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	call	fopen@PLT
	mov	r13, rax
	test	rax, rax
	je	.L9
	mov	esi, DWORD PTR CURLOPT_UPLOAD[rip]
	mov	rdi, rbp
	mov	edx, 1
	xor	eax, eax
	call	curl_easy_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_URL[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, r14
	call	curl_easy_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_READFUNCTION[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, QWORD PTR readfunc[rip]
	call	curl_easy_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_READDATA[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, r13
	call	curl_easy_setopt@PLT
	mov	edx, DWORD PTR SEEK_SET[rip]
	movsx	rsi, r12d
	mov	rdi, r13
	mov	r12d, 1
	call	fseek@PLT
	mov	esi, DWORD PTR CURLOPT_APPEND[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	edx, 1
	call	curl_easy_setopt@PLT
	mov	rdi, rbp
	call	curl_easy_perform@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	fclose@PLT
	cmp	QWORD PTR CURLE_OK[rip], rbp
	jne	.L10
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	xor	r12d, r12d
	call	curl_easy_strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdx, rax
	call	fprintf@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	printf@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	edi, edi
	xor	r12d, r12d
	call	perror@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sftpResumeUpload, .-sftpResumeUpload
	.comm	stderr,4,4
	.comm	readfunc,8,8
	.comm	SEEK_SET,4,4
	.comm	CURLOPT_URL,4,4
	.comm	CURLOPT_UPLOAD,4,4
	.comm	CURLOPT_READFUNCTION,4,4
	.comm	CURLOPT_READDATA,4,4
	.comm	CURLOPT_APPEND,4,4
	.comm	CURLE_OK,8,8
	.comm	CURLE_GOT_NOTHING,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_sftpuploadresume.c_sftpResumeUpload.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error reading the remote file size: unable to resum"
	.ascii	"e upload\012\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sftpResumeUpload, %function
sftpResumeUpload:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r7, r1
	mov	r6, r2
	bl	sftpGetRemoteFileSize
	cmn	r0, #1
	mov	r5, r0
	beq	.L8
	mov	r0, r6
	ldr	r1, .L11
	bl	fopen
	subs	r6, r0, #0
	beq	.L9
	ldr	r3, .L11+4
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	curl_easy_setopt
	ldr	r3, .L11+8
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r4
	bl	curl_easy_setopt
	ldr	r3, .L11+12
	ldr	r2, .L11+16
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	curl_easy_setopt
	ldr	r3, .L11+20
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	bl	curl_easy_setopt
	ldr	r3, .L11+24
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r6
	bl	fseek
	ldr	r3, .L11+28
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	curl_easy_setopt
	mov	r0, r4
	bl	curl_easy_perform
	mov	r4, r0
	mov	r0, r6
	bl	fclose
	ldr	r3, .L11+32
	ldr	r3, [r3]
	cmp	r3, r4
	moveq	r5, #1
	bne	.L10
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+36
	mov	r0, r4
	ldr	r4, [r3]
	bl	curl_easy_strerror
	mov	r5, #0
	mov	r2, r0
	ldr	r1, .L11+40
	mov	r0, r4
	bl	fprintf
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r0, .L11+44
	bl	printf
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r5, r6
	bl	perror
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	CURLOPT_UPLOAD
	.word	CURLOPT_URL
	.word	CURLOPT_READFUNCTION
	.word	readfunc
	.word	CURLOPT_READDATA
	.word	SEEK_SET
	.word	CURLOPT_APPEND
	.word	CURLE_OK
	.word	stderr
	.word	.LC2
	.word	.LC0
	.size	sftpResumeUpload, .-sftpResumeUpload
	.comm	stderr,4,4
	.comm	readfunc,4,4
	.comm	SEEK_SET,4,4
	.comm	CURLOPT_URL,4,4
	.comm	CURLOPT_UPLOAD,4,4
	.comm	CURLOPT_READFUNCTION,4,4
	.comm	CURLOPT_READDATA,4,4
	.comm	CURLOPT_APPEND,4,4
	.comm	CURLE_OK,4,4
	.comm	CURLE_GOT_NOTHING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
