	.file	"extr_usb.c__usb_writen_sync.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_usb_writen_sync, @function
_usb_writen_sync:
.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
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	DWORD PTR 4[rsp], esi
	call	to_usb_device@PLT
	mov	r9, QWORD PTR REALTEK_USB_VENQT_CMD_IDX[rip]
	xor	esi, esi
	mov	r15d, DWORD PTR REALTEK_USB_VENQT_CMD_REQ[rip]
	mov	rdi, rax
	mov	r13d, DWORD PTR REALTEK_USB_VENQT_WRITE[rip]
	mov	r12, rax
	mov	QWORD PTR 8[rsp], r9
	call	usb_sndctrlpipe@PLT
	mov	edx, DWORD PTR GFP_ATOMIC[rip]
	mov	rsi, rbx
	mov	rdi, rbp
	mov	r14d, eax
	call	kmemdup@PLT
	test	rax, rax
	je	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdi, r12
	mov	ecx, r13d
	mov	edx, r15d
	push	50
	.cfi_def_cfa_offset 96
	mov	esi, r14d
	mov	rbp, rax
	push	rbx
	.cfi_def_cfa_offset 104
	push	rax
	.cfi_def_cfa_offset 112
	mov	r9, QWORD PTR 40[rsp]
	movzx	r8d, WORD PTR 36[rsp]
	call	usb_control_msg@PLT
	add	rsp, 56
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_def_cfa_offset 80
	add	rsp, 24
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	_usb_writen_sync, .-_usb_writen_sync
	.comm	REALTEK_USB_VENQT_WRITE,4,4
	.comm	REALTEK_USB_VENQT_CMD_REQ,4,4
	.comm	REALTEK_USB_VENQT_CMD_IDX,8,8
	.comm	GFP_ATOMIC,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__usb_writen_sync.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_usb_writen_sync, %function
_usb_writen_sync:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r0, [r0]
	sub	sp, sp, #28
	mov	r5, r2
	mov	r6, r3
	mov	r4, r1
	bl	to_usb_device
	ldr	ip, .L5
	ldr	r2, .L5+4
	ldr	r3, .L5+8
	mov	r1, #0
	ldr	r9, [ip]
	ldr	fp, [r2]
	ldr	r10, [r3]
	mov	r7, r0
	bl	usb_sndctrlpipe
	ldr	r3, .L5+12
	mov	r8, r0
	mov	r1, r6
	mov	r0, r5
	ldr	r2, [r3]
	bl	kmemdup
	subs	r5, r0, #0
	beq	.L1
	mov	ip, #50
	lsl	r1, r4, #16
	lsr	r1, r1, #16
	str	r1, [sp]
	mov	r3, fp
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	str	r6, [sp, #12]
	str	r5, [sp, #8]
	str	r10, [sp, #4]
	str	ip, [sp, #16]
	bl	usb_control_msg
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	kfree
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	.align	2
.L5:
	.word	REALTEK_USB_VENQT_CMD_REQ
	.word	REALTEK_USB_VENQT_WRITE
	.word	REALTEK_USB_VENQT_CMD_IDX
	.word	GFP_ATOMIC
	.size	_usb_writen_sync, .-_usb_writen_sync
	.comm	REALTEK_USB_VENQT_WRITE,4,4
	.comm	REALTEK_USB_VENQT_CMD_REQ,4,4
	.comm	REALTEK_USB_VENQT_CMD_IDX,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
