	.file	"extr_usb.c_carl9170_usb_cancel_urbs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"stuck tx urbs!\n"
	.text
	.p2align 4
	.type	carl9170_usb_cancel_urbs, @function
carl9170_usb_cancel_urbs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR CARL9170_UNKNOWN_STATE[rip]
	mov	rbp, rdi
	call	carl9170_set_state@PLT
	mov	rdi, rbp
	call	carl9170_usb_flush@PLT
	test	eax, eax
	jne	.L8
.L2:
	lea	rdi, 20[rbp]
	call	usb_poison_anchored_urbs@PLT
	mov	rdi, rbp
	call	carl9170_usb_handle_tx_err@PLT
	lea	rdi, 16[rbp]
	call	usb_poison_anchored_urbs@PLT
	lea	rdi, 12[rbp]
	call	tasklet_kill@PLT
	lea	rdi, 8[rbp]
	call	usb_scuttle_anchored_urbs@PLT
	lea	rdi, 4[rbp]
	call	usb_scuttle_anchored_urbs@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	usb_scuttle_anchored_urbs@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rbp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	carl9170_usb_cancel_urbs, .-carl9170_usb_cancel_urbs
	.comm	CARL9170_UNKNOWN_STATE,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_usb.c_carl9170_usb_cancel_urbs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"stuck tx urbs!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	carl9170_usb_cancel_urbs, %function
carl9170_usb_cancel_urbs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L9
	ldr	r1, [r3]
	bl	carl9170_set_state
	mov	r0, r4
	bl	carl9170_usb_flush
	cmp	r0, #0
	bne	.L8
.L2:
	add	r0, r4, #20
	bl	usb_poison_anchored_urbs
	mov	r0, r4
	bl	carl9170_usb_handle_tx_err
	add	r0, r4, #16
	bl	usb_poison_anchored_urbs
	add	r0, r4, #12
	bl	tasklet_kill
	add	r0, r4, #8
	bl	usb_scuttle_anchored_urbs
	add	r0, r4, #4
	bl	usb_scuttle_anchored_urbs
	mov	r0, r4
	pop	{r4, lr}
	b	usb_scuttle_anchored_urbs
.L8:
	ldr	r1, .L9+4
	ldr	r0, [r4, #24]
	bl	dev_err
	b	.L2
.L10:
	.align	2
.L9:
	.word	CARL9170_UNKNOWN_STATE
	.word	.LC0
	.size	carl9170_usb_cancel_urbs, .-carl9170_usb_cancel_urbs
	.comm	CARL9170_UNKNOWN_STATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
