	.file	"extr_rtl_wx.c__rtl92e_wx_get_retry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_rtl92e_wx_get_retry, @function
_rtl92e_wx_get_retry:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdx
	call	rtllib_priv@PLT
	mov	ecx, DWORD PTR IW_RETRY_TYPE[rip]
	mov	QWORD PTR 8[rbx], 0
	mov	rdx, rax
	mov	eax, DWORD PTR [rbx]
	and	ecx, eax
	cmp	ecx, DWORD PTR IW_RETRY_LIFETIME[rip]
	je	.L7
	mov	ecx, DWORD PTR IW_RETRY_MAX[rip]
	mov	esi, DWORD PTR IW_RETRY_LIMIT[rip]
	and	eax, ecx
	je	.L4
	mov	eax, DWORD PTR 4[rdx]
	or	ecx, esi
	mov	DWORD PTR [rbx], ecx
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR [rdx]
	or	esi, DWORD PTR IW_RETRY_MIN[rip]
	mov	DWORD PTR [rbx], esi
	mov	DWORD PTR 4[rbx], edx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	_rtl92e_wx_get_retry, .-_rtl92e_wx_get_retry
	.comm	IW_RETRY_TYPE,4,4
	.comm	IW_RETRY_MIN,4,4
	.comm	IW_RETRY_MAX,4,4
	.comm	IW_RETRY_LIMIT,4,4
	.comm	IW_RETRY_LIFETIME,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_rtl_wx.c__rtl92e_wx_get_retry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl92e_wx_get_retry, %function
_rtl92e_wx_get_retry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r2
	bl	rtllib_priv
	mov	ip, #0
	ldr	r2, .L8
	ldr	r1, .L8+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	and	r2, r2, r3
	cmp	r2, r1
	str	ip, [r4, #8]
	beq	.L7
	mov	r2, r0
	ldr	r1, .L8+8
	ldr	r0, .L8+12
	ldr	r1, [r1]
	ldr	lr, [r0]
	ands	r0, r3, r1
	ldreq	r1, .L8+16
	ldreq	r3, [r2]
	ldreq	r1, [r1]
	ldrne	r3, [r2, #4]
	orrne	r1, r1, lr
	orreq	r1, r1, lr
	movne	r0, ip
	stmne	r4, {r1, r3}
	streq	r3, [r4, #4]
	streq	r1, [r4]
	pop	{r4, pc}
.L7:
	ldr	r3, .L8+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	IW_RETRY_TYPE
	.word	IW_RETRY_LIFETIME
	.word	IW_RETRY_MAX
	.word	IW_RETRY_LIMIT
	.word	IW_RETRY_MIN
	.word	EINVAL
	.size	_rtl92e_wx_get_retry, .-_rtl92e_wx_get_retry
	.comm	IW_RETRY_TYPE,4,4
	.comm	IW_RETRY_MIN,4,4
	.comm	IW_RETRY_MAX,4,4
	.comm	IW_RETRY_LIMIT,4,4
	.comm	IW_RETRY_LIFETIME,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
