	.file	"extr_stub_rx.c_tweak_clear_halt_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"usb_clear_halt error: devnum %d endp %d ret %d\n"
	.align 8
.LC1:
	.string	"usb_clear_halt done: devnum %d endp %d\n"
	.text
	.p2align 4
	.type	tweak_clear_halt_cmd, @function
tweak_clear_halt_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR [r12]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR [r12]
	and	eax, 15
	mov	r13d, eax
	call	le16_to_cpu@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	esi, r13d
	test	al, -128
	je	.L2
	call	usb_rcvctrlpipe@PLT
	mov	esi, eax
.L3:
	mov	rdi, QWORD PTR [rbx]
	call	usb_clear_halt@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 4[rax]
	test	r12d, r12d
	js	.L8
	mov	edx, DWORD PTR [rax]
	mov	ecx, r13d
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	usb_sndctrlpipe@PLT
	mov	esi, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, DWORD PTR [rax]
	mov	r8d, r12d
	mov	ecx, r13d
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tweak_clear_halt_cmd, .-tweak_clear_halt_cmd
	.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_stub_rx.c_tweak_clear_halt_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"usb_clear_halt error: devnum %d endp %d ret %d\012\000"
	.align	2
.LC1:
	.ascii	"usb_clear_halt done: devnum %d endp %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tweak_clear_halt_cmd, %function
tweak_clear_halt_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #4]
	mov	r4, r0
	sub	sp, sp, #8
	ldr	r0, [r5]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r0, [r5]
	bl	le16_to_cpu
	and	r6, r6, #15
	tst	r0, #128
	mov	r1, r6
	ldr	r0, [r4]
	beq	.L2
	bl	usb_rcvctrlpipe
	mov	r1, r0
.L3:
	ldr	r0, [r4]
	bl	usb_clear_halt
	subs	r5, r0, #0
	ldr	r0, [r4]
	mov	r3, r6
	ldr	r2, [r0], #4
	blt	.L8
	ldr	r1, .L9
	bl	dev_info
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	bl	usb_sndctrlpipe
	mov	r1, r0
	b	.L3
.L8:
	ldr	r1, .L9+4
	str	r5, [sp]
	bl	dev_err
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	tweak_clear_halt_cmd, .-tweak_clear_halt_cmd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
