	.file	"extr_ustorage_fs.c_ustorage_fs_t_bbb_status_callback.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	ustorage_fs_t_bbb_status_callback, @function
ustorage_fs_t_bbb_status_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	usbd_xfer_softc@PLT
	lea	rdi, .LC0[rip]
	mov	r12, rax
	call	DPRINTF@PLT
	mov	rdi, rbp
	call	USB_GET_STATE@PLT
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	je	.L3
	cmp	DWORD PTR USB_ERR_CANCELLED[rip], ebx
	jne	.L13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	usbd_xfer_is_stalled@PLT
	test	eax, eax
	jne	.L3
	mov	DWORD PTR [r12], 1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 8[r12]
	mov	esi, DWORD PTR CSWSIGNATURE[rip]
	mov	edi, DWORD PTR 4[rax]
	call	USETDW@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	esi, DWORD PTR 4[r12]
	mov	edi, DWORD PTR [rax]
	call	USETDW@PLT
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L14
.L5:
	mov	rdi, rbp
	mov	edx, 4
	xor	esi, esi
	call	usbd_xfer_set_frame_len@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	usbd_transfer_submit@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR USTORAGE_FS_T_BBB_COMMAND[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ustorage_fs_transfer_start@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	DWORD PTR [r12], 0
	mov	rdi, rbp
	call	usbd_xfer_set_stall@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ustorage_fs_t_bbb_status_callback, .-ustorage_fs_t_bbb_status_callback
	.comm	USTORAGE_FS_T_BBB_COMMAND,4,4
	.comm	USB_ERR_CANCELLED,4,4
	.comm	CSWSIGNATURE,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_ustorage_fs.c_ustorage_fs_t_bbb_status_callback.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ustorage_fs_t_bbb_status_callback, %function
ustorage_fs_t_bbb_status_callback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r5, r0
	bl	usbd_xfer_softc
	mov	r4, r0
	ldr	r0, .L17
	bl	DPRINTF
	mov	r0, r5
	bl	USB_GET_STATE
	cmp	r0, #128
	beq	.L2
	cmp	r0, #129
	beq	.L3
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmp	r3, r6
	popeq	{r4, r5, r6, pc}
	mov	r0, r5
	bl	usbd_xfer_is_stalled
	cmp	r0, #0
	moveq	r3, #1
	streq	r3, [r4]
.L3:
	ldr	r2, .L17+8
	ldr	r3, [r4, #8]
	ldr	r1, [r2]
	ldr	r0, [r3, #4]
	bl	USETDW
	ldmib	r4, {r1, r3}
	ldr	r0, [r3]
	bl	USETDW
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L16
.L5:
	mov	r0, r5
	mov	r2, #4
	mov	r1, #0
	bl	usbd_xfer_set_frame_len
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	usbd_transfer_submit
.L2:
	ldr	r3, .L17+12
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	ustorage_fs_transfer_start
.L16:
	mov	r3, #0
	mov	r0, r5
	str	r3, [r4]
	bl	usbd_xfer_set_stall
	b	.L5
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	USB_ERR_CANCELLED
	.word	CSWSIGNATURE
	.word	USTORAGE_FS_T_BBB_COMMAND
	.size	ustorage_fs_t_bbb_status_callback, .-ustorage_fs_t_bbb_status_callback
	.comm	USTORAGE_FS_T_BBB_COMMAND,4,4
	.comm	USB_ERR_CANCELLED,4,4
	.comm	CSWSIGNATURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
