	.file	"extr_orinoco_usb.c_ezusb_doicmd_wait.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0x%04X, parm0 0x%04X, parm1 0x%04X, parm2 0x%04X"
	.text
	.p2align 4
	.type	ezusb_doicmd_wait, @function
ezusb_doicmd_wait:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, r8d
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r14, QWORD PTR [rdi]
	mov	edi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	cpu_to_le16@PLT
	mov	edi, r12d
	mov	DWORD PTR [rsp], eax
	call	cpu_to_le16@PLT
	mov	edi, r13d
	mov	DWORD PTR 4[rsp], eax
	call	cpu_to_le16@PLT
	mov	edi, ebx
	mov	DWORD PTR 8[rsp], eax
	call	cpu_to_le16@PLT
	mov	edx, r12d
	mov	esi, ebp
	mov	r8d, ebx
	lea	rdi, .LC0[rip]
	mov	ecx, r13d
	mov	DWORD PTR 12[rsp], eax
	call	dbg@PLT
	mov	edx, DWORD PTR EZUSB_RID_ACK[rip]
	mov	esi, DWORD PTR EZUSB_RID_DOCMD[rip]
	mov	rdi, r14
	call	ezusb_alloc_ctx@PLT
	test	rax, rax
	je	.L7
	mov	rcx, rsp
	push	0
	.cfi_def_cfa_offset 88
	mov	r8d, DWORD PTR EZUSB_FRAME_CONTROL[rip]
	mov	rsi, rax
	push	0
	.cfi_def_cfa_offset 96
	mov	edx, 16
	xor	r9d, r9d
	mov	rdi, r14
	call	ezusb_access_ltv@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ezusb_doicmd_wait, .-ezusb_doicmd_wait
	.comm	EZUSB_RID_DOCMD,4,4
	.comm	EZUSB_RID_ACK,4,4
	.comm	EZUSB_FRAME_CONTROL,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_orinoco_usb.c_ezusb_doicmd_wait.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%04X, parm0 0x%04X, parm1 0x%04X, parm2 0x%04X\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ezusb_doicmd_wait, %function
ezusb_doicmd_wait:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r1, r0
	mov	r6, r3
	ldr	r3, .L9
	sub	sp, sp, #40
	mov	r0, r4
	mov	r5, r2
	ldr	r8, [r1]
	ldr	r7, [sp, #64]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #20]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #24]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, r7
	str	r3, [sp, #28]
	bl	cpu_to_le16
	mov	ip, r0
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L9+4
	str	r7, [sp]
	str	ip, [sp, #32]
	bl	dbg
	ldr	r3, .L9+8
	ldr	r2, .L9+12
	ldr	r1, [r3]
	mov	r0, r8
	ldr	r2, [r2]
	bl	ezusb_alloc_ctx
	subs	r1, r0, #0
	beq	.L7
	mov	r3, #0
	ldr	r2, .L9+16
	mov	r0, r8
	ldr	r2, [r2]
	str	r3, [sp, #12]
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	mov	r2, #16
	add	r3, sp, #20
	bl	ezusb_access_ltv
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.word	EZUSB_RID_DOCMD
	.word	EZUSB_RID_ACK
	.word	EZUSB_FRAME_CONTROL
	.word	ENOMEM
	.size	ezusb_doicmd_wait, .-ezusb_doicmd_wait
	.comm	EZUSB_RID_DOCMD,4,4
	.comm	EZUSB_RID_ACK,4,4
	.comm	EZUSB_FRAME_CONTROL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
