	.file	"extr_cp210x.c_cp210x_write_reg_block.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed set req 0x%x size %d status: %d\n"
	.text
	.p2align 4
	.type	cp210x_write_reg_block, @function
cp210x_write_reg_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR 8[rdi]
	call	usb_get_serial_port_data@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, r13d
	mov	rdi, rbp
	mov	r12, rax
	call	kmemdup@PLT
	test	rax, rax
	je	.L7
	mov	r9d, DWORD PTR [r12]
	mov	edx, DWORD PTR USB_CTRL_SET_TIMEOUT[rip]
	xor	esi, esi
	mov	rbp, rax
	mov	edi, DWORD PTR [rbx]
	mov	r12d, DWORD PTR REQTYPE_HOST_TO_INTERFACE[rip]
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 8[rsp], r9d
	call	usb_sndctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	r8d, r8d
	mov	ecx, r12d
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, eax
	push	rdx
	.cfi_def_cfa_offset 96
	mov	edx, r15d
	push	r13
	.cfi_def_cfa_offset 104
	mov	edi, DWORD PTR [rbx]
	push	rbp
	.cfi_def_cfa_offset 112
	mov	r9d, DWORD PTR 40[rsp]
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rdi, rbp
	mov	r12d, eax
	call	kfree@PLT
	cmp	r13d, r12d
	jne	.L8
	xor	r12d, r12d
.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	r8d, r12d
	mov	ecx, r13d
	mov	edx, r15d
	mov	rdi, r14
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	test	r12d, r12d
	js	.L1
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	cp210x_write_reg_block, .-cp210x_write_reg_block
	.comm	USB_CTRL_SET_TIMEOUT,4,4
	.comm	REQTYPE_HOST_TO_INTERFACE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,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_cp210x.c_cp210x_write_reg_block.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed set req 0x%x size %d status: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cp210x_write_reg_block, %function
cp210x_write_reg_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #24
	mov	r4, r2
	mov	r5, r3
	mov	r7, r1
	mov	r6, r0
	ldr	r9, [r0, #4]
	bl	usb_get_serial_port_data
	mov	r3, r0
	ldr	r2, .L9
	mov	r0, r4
	mov	r1, r5
	ldr	r2, [r2]
	mov	r4, r3
	bl	kmemdup
	subs	r8, r0, #0
	beq	.L7
	ldr	r10, [r9]
	mov	r1, #0
	mov	r9, #0
	mov	r0, r10
	bl	usb_sndctrlpipe
	ldr	r3, .L9+4
	str	r5, [sp, #12]
	ldr	r3, [r3]
	str	r8, [sp, #8]
	str	r3, [sp, #16]
	ldr	r2, [r4]
	ldr	r3, .L9+8
	str	r2, [sp, #4]
	str	r9, [sp]
	mov	r1, r0
	mov	r2, r7
	ldr	r3, [r3]
	mov	r0, r10
	bl	usb_control_msg
	mov	r4, r0
	mov	r0, r8
	bl	kfree
	cmp	r5, r4
	moveq	r4, r9
	bne	.L8
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r3, r5
	str	r4, [sp]
	mov	r2, r7
	mov	r0, r6
	ldr	r1, .L9+12
	bl	dev_err
	cmp	r4, r9
	ldrge	r3, .L9+16
	ldrge	r4, [r3]
	rsbge	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	ldr	r3, .L9+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	USB_CTRL_SET_TIMEOUT
	.word	REQTYPE_HOST_TO_INTERFACE
	.word	.LC0
	.word	EIO
	.word	ENOMEM
	.size	cp210x_write_reg_block, .-cp210x_write_reg_block
	.comm	USB_CTRL_SET_TIMEOUT,4,4
	.comm	REQTYPE_HOST_TO_INTERFACE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
