	.file	"extr_storage_client.c_storage_upload_slave_by_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	storage_upload_slave_by_callback
	.type	storage_upload_slave_by_callback, @function
storage_upload_slave_by_callback:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR 16[rsp]
	test	r9, r9
	je	.L2
	cmp	BYTE PTR [r9], 0
	je	.L2
	test	rax, rax
	je	.L2
	cmp	BYTE PTR [rax], 0
	je	.L2
	cmp	QWORD PTR 48[rsp], 0
	je	.L2
	mov	r11, QWORD PTR 48[rsp]
	cmp	BYTE PTR [r11], 0
	jne	.L3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 32
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 40
	mov	r10d, DWORD PTR 64[rsp]
	push	r10
	.cfi_def_cfa_offset 48
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 56
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 64
	push	rax
	.cfi_def_cfa_offset 72
	push	r9
	.cfi_def_cfa_offset 80
	mov	r9, rdx
	xor	edx, edx
	push	r8
	.cfi_def_cfa_offset 88
	mov	r8d, DWORD PTR FDFS_UPLOAD_BY_CALLBACK[rip]
	push	rcx
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR STORAGE_PROTO_CMD_UPLOAD_SLAVE_FILE[rip]
	call	storage_do_upload_file@PLT
	add	rsp, 80
	.cfi_def_cfa_offset 16
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	storage_upload_slave_by_callback, .-storage_upload_slave_by_callback
	.comm	STORAGE_PROTO_CMD_UPLOAD_SLAVE_FILE,4,4
	.comm	FDFS_UPLOAD_BY_CALLBACK,4,4
	.comm	EINVAL,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_storage_client.c_storage_upload_slave_by_callback.c"
	.text
	.align	2
	.global	storage_upload_slave_by_callback
	.syntax unified
	.arm
	.fpu softvfp
	.type	storage_upload_slave_by_callback, %function
storage_upload_slave_by_callback:
	@ args = 32, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #48
	ldr	r4, [sp, #68]
	ldr	lr, [sp, #72]
	cmp	r4, #0
	beq	.L2
	ldrb	ip, [r4]	@ zero_extendqisi2
	cmp	lr, #0
	cmpne	ip, #0
	beq	.L2
	ldr	ip, [sp, #88]
	ldrb	r5, [lr]	@ zero_extendqisi2
	clz	ip, ip
	cmp	r5, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	ip, #0
	bne	.L2
	ldr	r5, [sp, #88]
	ldrb	r5, [r5]	@ zero_extendqisi2
	cmp	r5, #0
	bne	.L3
.L2:
	ldr	r3, .L10
	ldr	r0, [r3]
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r6, [sp, #92]
	ldr	r5, .L10+4
	str	r6, [sp, #40]
	ldr	r6, [sp, #88]
	ldr	r5, [r5]
	str	r6, [sp, #36]
	ldr	r6, [sp, #84]
	str	r4, [sp, #16]
	ldr	r4, [sp, #64]
	str	r6, [sp, #32]
	ldr	r6, [sp, #80]
	stmib	sp, {r2, r3, r4}
	str	r6, [sp, #28]
	ldr	r6, [sp, #76]
	str	lr, [sp, #20]
	ldr	lr, .L10+8
	str	r6, [sp, #24]
	str	r5, [sp]
	mov	r2, ip
	ldr	r3, [lr]
	bl	storage_do_upload_file
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	FDFS_UPLOAD_BY_CALLBACK
	.word	STORAGE_PROTO_CMD_UPLOAD_SLAVE_FILE
	.size	storage_upload_slave_by_callback, .-storage_upload_slave_by_callback
	.comm	STORAGE_PROTO_CMD_UPLOAD_SLAVE_FILE,4,4
	.comm	FDFS_UPLOAD_BY_CALLBACK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
