	.file	"extr_usbtmc.c_usbtmc_ioctl_clear_in_halt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"usb_control_msg returned %d\n"
	.text
	.p2align 4
	.type	usbtmc_ioctl_clear_in_halt, @function
usbtmc_ioctl_clear_in_halt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	edi, 2
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kmalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR USBTMC_TIMEOUT[rip]
	mov	rdi, QWORD PTR [rbx]
	xor	esi, esi
	mov	rbp, rax
	mov	r15d, DWORD PTR 8[rbx]
	mov	r14d, DWORD PTR USB_ENDPOINT_HALT[rip]
	mov	DWORD PTR 12[rsp], edx
	mov	r12d, DWORD PTR USB_DIR_OUT[rip]
	mov	r13d, DWORD PTR USB_REQ_CLEAR_FEATURE[rip]
	or	r12d, DWORD PTR USB_TYPE_STANDARD[rip]
	or	r12d, DWORD PTR USB_RECIP_ENDPOINT[rip]
	call	usb_sndctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdi, QWORD PTR [rbx]
	mov	ecx, r12d
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, eax
	mov	r9d, r15d
	mov	r8d, r14d
	push	rdx
	.cfi_def_cfa_offset 96
	mov	edx, r13d
	push	0
	.cfi_def_cfa_offset 104
	push	rbp
	.cfi_def_cfa_offset 112
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r12d, eax
	test	eax, eax
	js	.L8
	xor	r12d, r12d
.L4:
	mov	rdi, rbp
	call	kfree@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	usbtmc_ioctl_clear_in_halt, .-usbtmc_ioctl_clear_in_halt
	.comm	USB_TYPE_STANDARD,4,4
	.comm	USB_REQ_CLEAR_FEATURE,4,4
	.comm	USB_RECIP_ENDPOINT,4,4
	.comm	USB_ENDPOINT_HALT,4,4
	.comm	USB_DIR_OUT,4,4
	.comm	USBTMC_TIMEOUT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_usbtmc.c_usbtmc_ioctl_clear_in_halt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"usb_control_msg returned %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usbtmc_ioctl_clear_in_halt, %function
usbtmc_ioctl_clear_in_halt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L10
	mov	r6, r0
	ldr	r1, [r3]
	mov	r0, #2
	sub	sp, sp, #24
	bl	kmalloc
	subs	r5, r0, #0
	beq	.L8
	ldr	r4, [r6]
	mov	r1, #0
	mov	r0, r4
	bl	usb_sndctrlpipe
	mov	r7, #0
	ldr	ip, .L10+4
	ldr	r2, .L10+8
	ldr	r3, .L10+12
	ldr	ip, [ip]
	mov	r1, r0
	ldr	lr, .L10+16
	ldr	r0, .L10+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r8, [lr]
	ldr	lr, [r0]
	str	r5, [sp, #8]
	str	ip, [sp, #16]
	ldr	ip, [r6, #4]
	orr	r3, r2, r3
	ldr	r2, .L10+24
	str	lr, [sp]
	str	r7, [sp, #12]
	mov	r0, r4
	ldr	r2, [r2]
	orr	r3, r3, r8
	str	ip, [sp, #4]
	bl	usb_control_msg
	subs	r4, r0, #0
	movge	r4, r7
	blt	.L9
.L4:
	mov	r0, r5
	bl	kfree
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L10+28
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L10+32
	bl	dev_err
	b	.L4
.L11:
	.align	2
.L10:
	.word	GFP_KERNEL
	.word	USBTMC_TIMEOUT
	.word	USB_DIR_OUT
	.word	USB_TYPE_STANDARD
	.word	USB_RECIP_ENDPOINT
	.word	USB_ENDPOINT_HALT
	.word	USB_REQ_CLEAR_FEATURE
	.word	ENOMEM
	.word	.LC0
	.size	usbtmc_ioctl_clear_in_halt, .-usbtmc_ioctl_clear_in_halt
	.comm	USB_TYPE_STANDARD,4,4
	.comm	USB_REQ_CLEAR_FEATURE,4,4
	.comm	USB_RECIP_ENDPOINT,4,4
	.comm	USB_ENDPOINT_HALT,4,4
	.comm	USB_DIR_OUT,4,4
	.comm	USBTMC_TIMEOUT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
