	.file	"extr_ueagle-atm.c_uea_idma_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't allocate xfer_buff\n"
.LC1:
	.string	"size != bytes_read %d %d\n"
	.text
	.p2align 4
	.type	uea_idma_write, @function
uea_idma_write:
.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
	mov	r14, rdi
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	esi, r13d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	kmemdup@PLT
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR UEA_IDMA_PIPE[rip]
	mov	edi, DWORD PTR [r14]
	mov	rbp, rax
	mov	r12d, DWORD PTR BULK_TIMEOUT[rip]
	call	usb_sndbulkpipe@PLT
	mov	edi, DWORD PTR [r14]
	lea	r8, 4[rsp]
	mov	ecx, r13d
	mov	r9d, r12d
	mov	esi, eax
	mov	rdx, rbp
	call	usb_bulk_msg@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	kfree@PLT
	test	r12d, r12d
	js	.L1
	mov	r15d, DWORD PTR 4[rsp]
	xor	r12d, r12d
	cmp	r15d, r13d
	jne	.L9
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, r14
	call	INS_TO_USBDEV@PLT
	mov	ecx, r15d
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	mov	edi, eax
	xor	eax, eax
	call	uea_err@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r14
	neg	r12d
	call	INS_TO_USBDEV@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	xor	eax, eax
	call	uea_err@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uea_idma_write, .-uea_idma_write
	.comm	UEA_IDMA_PIPE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	BULK_TIMEOUT,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_ueagle-atm.c_uea_idma_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't allocate xfer_buff\012\000"
	.align	2
.LC1:
	.ascii	"size != bytes_read %d %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uea_idma_write, %function
uea_idma_write:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	ip, .L11+8
	sub	sp, sp, #20
	mov	r7, r0
	ldr	r2, [r2]
	mov	r0, r1
	mov	r1, r6
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	r4, [r3]
	bl	kmemdup
	subs	r5, r0, #0
	beq	.L8
	ldr	r4, [r7]
	ldr	r3, .L11+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	usb_sndbulkpipe
	ldr	r2, .L11+16
	add	r3, sp, #8
	ldr	r2, [r2]
	mov	r1, r0
	str	r2, [sp, #4]
	mov	r0, r4
	mov	r2, r5
	str	r3, [sp]
	mov	r3, r6
	bl	usb_bulk_msg
	mov	r4, r0
	mov	r0, r5
	bl	kfree
	cmp	r4, #0
	blt	.L1
	ldr	r3, [sp, #8]
	cmp	r3, r6
	moveq	r4, #0
	bne	.L9
.L1:
	ldr	r3, .L11+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r3, [sp, #8]
	mov	r2, r6
	ldr	r1, .L11+20
	bl	uea_err
	ldr	r3, .L11+24
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L8:
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r1, .L11+28
	rsb	r4, r4, #0
	bl	uea_err
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	.LC2
	.word	UEA_IDMA_PIPE
	.word	BULK_TIMEOUT
	.word	.LC1
	.word	EIO
	.word	.LC0
	.size	uea_idma_write, .-uea_idma_write
	.comm	UEA_IDMA_PIPE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	BULK_TIMEOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
