	.file	"extr_if_urtw.c_urtw_8225_write_s16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	urtw_8225_write_s16, @function
urtw_8225_write_s16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	ebx, DWORD PTR [rcx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR UT_WRITE_VENDOR_DEVICE[rip]
	mov	edi, DWORD PTR 8[rsp]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR URTW_8187_SETREGS_REQ[rip]
	mov	DWORD PTR 12[rsp], eax
	call	USETW@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	esi, r12d
	call	USETW@PLT
	mov	edi, DWORD PTR [rsp]
	mov	esi, 4
	call	USETW@PLT
	movzx	eax, bl
	lea	rdx, 32[rsp]
	movzx	ebx, bh
	mov	rsi, rsp
	mov	rdi, rbp
	mov	DWORD PTR 32[rsp], eax
	mov	DWORD PTR 36[rsp], ebx
	call	urtw_do_request@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	urtw_8225_write_s16, .-urtw_8225_write_s16
	.comm	UT_WRITE_VENDOR_DEVICE,4,4
	.comm	URTW_8187_SETREGS_REQ,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_if_urtw.c_urtw_8225_write_s16.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	urtw_8225_write_s16, %function
urtw_8225_write_s16:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r2
	mov	r5, r0
	ldr	r0, .L6
	ldr	ip, .L6+4
	ldr	r4, [r3]
	ldr	r0, [r0]
	ldr	r3, .L6+8
	sub	sp, sp, #32
	ldr	ip, [ip]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	str	r0, [sp, #16]
	ldr	r0, [sp, #8]
	str	ip, [sp, #12]
	bl	USETW
	mov	r1, r6
	ldr	r0, [sp, #4]
	bl	USETW
	mov	r1, #4
	ldr	r0, [sp]
	bl	USETW
	asr	r3, r4, #8
	and	r3, r3, #255
	add	r2, sp, #20
	mov	r0, r5
	mov	r1, sp
	and	r4, r4, #255
	str	r3, [sp, #24]
	str	r4, [sp, #20]
	bl	urtw_do_request
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	UT_WRITE_VENDOR_DEVICE
	.word	URTW_8187_SETREGS_REQ
	.word	.LC0
	.size	urtw_8225_write_s16, .-urtw_8225_write_s16
	.comm	UT_WRITE_VENDOR_DEVICE,4,4
	.comm	URTW_8187_SETREGS_REQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
