	.file	"extr_ax88179_178a.c_ax88179_write_cmd_async.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ax88179_write_cmd_async, @function
ax88179_write_cmd_async:
.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, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	r8d, 2
	je	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, DWORD PTR USB_DIR_OUT[rip]
	or	edx, DWORD PTR USB_TYPE_VENDOR[rip]
	push	r8
	.cfi_def_cfa_offset 96
	or	edx, DWORD PTR USB_RECIP_DEVICE[rip]
	mov	r8d, ecx
	mov	ecx, r13d
	call	usbnet_write_cmd_async@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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 [r9]
	lea	r14, 20[rsp]
	mov	DWORD PTR 12[rsp], esi
	mov	rdi, r14
	mov	DWORD PTR 20[rsp], eax
	call	cpu_to_le16s@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	ecx, r13d
	mov	r9, r14
	push	2
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR 28[rsp]
	mov	r8d, ebx
	mov	rdi, rbp
	mov	edx, DWORD PTR USB_DIR_OUT[rip]
	or	edx, DWORD PTR USB_TYPE_VENDOR[rip]
	or	edx, DWORD PTR USB_RECIP_DEVICE[rip]
	call	usbnet_write_cmd_async@PLT
	pop	rcx
	.cfi_def_cfa_offset 88
	pop	rsi
	.cfi_def_cfa_offset 80
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ax88179_write_cmd_async, .-ax88179_write_cmd_async
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_RECIP_DEVICE,4,4
	.comm	USB_DIR_OUT,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_ax88179_178a.c_ax88179_write_cmd_async.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ax88179_write_cmd_async, %function
ax88179_write_cmd_async:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #28
	ldr	r8, [sp, #56]
	mov	r5, r3
	ldr	r3, .L9
	cmp	r8, #2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r2
	ldr	r3, [sp, #60]
	beq	.L7
	ldr	ip, .L9+4
	ldr	r2, .L9+8
	ldr	lr, [ip]
	ldr	ip, .L9+12
	ldr	r2, [r2]
	ldr	ip, [ip]
	orr	r2, r2, lr
	stmib	sp, {r3, r8}
	str	r5, [sp]
	mov	r3, r4
	orr	r2, r2, ip
	bl	usbnet_write_cmd_async
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	mov	r6, r1
	mov	r7, r0
	ldr	r3, [r3]
	add	r9, sp, #16
	mov	r0, r9
	str	r3, [sp, #16]
	bl	cpu_to_le16s
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	ldr	r1, [r3]
	ldr	r3, .L9+12
	ldr	r2, [r2]
	ldr	ip, [r3]
	orr	r2, r2, r1
	mov	r3, r4
	mov	r1, r6
	mov	r0, r7
	str	r9, [sp, #4]
	str	r8, [sp, #8]
	str	r5, [sp]
	orr	r2, r2, ip
	bl	usbnet_write_cmd_async
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	USB_TYPE_VENDOR
	.word	USB_DIR_OUT
	.word	USB_RECIP_DEVICE
	.size	ax88179_write_cmd_async, .-ax88179_write_cmd_async
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_RECIP_DEVICE,4,4
	.comm	USB_DIR_OUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
