	.file	"extr_rtl_dm.c__rtl92e_dm_bandwidth_autoswitch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_rtl92e_dm_bandwidth_autoswitch, @function
_rtl92e_dm_bandwidth_autoswitch:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	rtllib_priv@PLT
	mov	rcx, QWORD PTR HT_CHANNEL_WIDTH_20[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L1
	mov	rdx, QWORD PTR 16[rax]
	mov	esi, DWORD PTR 24[rdx]
	test	esi, esi
	je	.L1
	mov	ecx, DWORD PTR [rdx]
	mov	rax, QWORD PTR 8[rax]
	test	ecx, ecx
	jne	.L3
	cmp	QWORD PTR 8[rdx], rax
	jl	.L1
	mov	DWORD PTR [rdx], 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	QWORD PTR 16[rdx], rax
	jg	.L1
	mov	DWORD PTR [rdx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_rtl92e_dm_bandwidth_autoswitch, .-_rtl92e_dm_bandwidth_autoswitch
	.comm	HT_CHANNEL_WIDTH_20,8,8
	.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_dm.c__rtl92e_dm_bandwidth_autoswitch.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl92e_dm_bandwidth_autoswitch, %function
_rtl92e_dm_bandwidth_autoswitch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	rtllib_priv
	ldr	r3, .L9
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	popeq	{r4, pc}
	ldr	r3, [r0, #8]
	ldr	r2, [r3, #12]
	cmp	r2, #0
	popeq	{r4, pc}
	ldr	r2, [r3]
	ldr	r1, [r0, #4]
	cmp	r2, #0
	bne	.L3
	ldr	r2, [r3, #4]
	cmp	r2, r1
	movge	r2, #1
	strge	r2, [r3]
	pop	{r4, pc}
.L3:
	ldr	r2, [r3, #8]
	cmp	r2, r1
	movle	r2, #0
	strle	r2, [r3]
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	HT_CHANNEL_WIDTH_20
	.size	_rtl92e_dm_bandwidth_autoswitch, .-_rtl92e_dm_bandwidth_autoswitch
	.comm	HT_CHANNEL_WIDTH_20,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
