	.file	"extr_hostap_ioctl.c_prism2_ioctl_giwrts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prism2_ioctl_giwrts, @function
prism2_ioctl_giwrts:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	esi, DWORD PTR HFA384X_RID_RTSTHRESHOLD[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	mov	r8d, 1
	mov	ecx, 2
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	test	rax, rax
	js	.L7
	mov	edi, DWORD PTR 4[rsp]
	call	le16_to_cpu@PLT
	mov	DWORD PTR 8[rbx], 1
	cmp	eax, 2347
	mov	DWORD PTR [rbx], eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prism2_ioctl_giwrts, .-prism2_ioctl_giwrts
	.comm	HFA384X_RID_RTSTHRESHOLD,4,4
	.comm	EINVAL,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_hostap_ioctl.c_prism2_ioctl_giwrts.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prism2_ioctl_giwrts, %function
prism2_ioctl_giwrts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L9
	sub	sp, sp, #16
	mov	r5, r0
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	netdev_priv
	mov	r6, #1
	ldr	r2, [r0]
	ldr	r3, .L9+4
	ldr	r2, [r2]
	str	r6, [sp]
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r5, [r2]
	mov	r3, #2
	add	r2, sp, #8
	blx	r5
	cmp	r0, #0
	blt	.L7
	ldr	r0, [sp, #8]
	bl	le16_to_cpu
	mov	r3, r0
	ldr	r2, .L9+8
	mov	r0, #0
	sub	r2, r3, r2
	clz	r2, r2
	lsr	r2, r2, #5
	stmib	r4, {r2, r6}
	str	r3, [r4]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	HFA384X_RID_RTSTHRESHOLD
	.word	2347
	.word	EINVAL
	.size	prism2_ioctl_giwrts, .-prism2_ioctl_giwrts
	.comm	HFA384X_RID_RTSTHRESHOLD,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
