	.file	"extr_ioctl_linux.c_rtw_wx_get_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IEEE 802.11bn"
.LC1:
	.string	"IEEE 802.11b"
.LC2:
	.string	"IEEE 802.11bgn"
.LC3:
	.string	"IEEE 802.11bg"
.LC4:
	.string	"IEEE 802.11an"
.LC5:
	.string	"IEEE 802.11a"
.LC6:
	.string	"IEEE 802.11gn"
.LC7:
	.string	"IEEE 802.11g"
.LC8:
	.string	"unassociated"
	.text
	.p2align 4
	.type	rtw_wx_get_name, @function
rtw_wx_get_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	rtw_netdev_priv@PLT
	mov	esi, DWORD PTR _drv_info_[rip]
	mov	edi, DWORD PTR _module_rtl871x_mlme_c_[rip]
	mov	QWORD PTR [rsp], 0
	movsx	rdx, DWORD PTR [r12]
	mov	rbx, rax
	call	RT_TRACE@PLT
	mov	esi, DWORD PTR _FW_LINKED[rip]
	mov	rdi, rbx
	or	esi, DWORD PTR WIFI_ADHOC_MASTER_STATE[rip]
	call	check_fwstate@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR _HT_CAPABILITY_IE_[rip]
	mov	rdx, rsp
	lea	r12, 4[rbx]
	lea	rcx, -12[rax]
	mov	rax, QWORD PTR 16[rbx]
	lea	rdi, 48[rax]
	call	rtw_get_ie@PLT
	mov	rdi, r12
	test	rax, rax
	je	.L6
	cmp	QWORD PTR [rsp], 0
	jle	.L6
	call	rtw_is_cckratesonly_included@PLT
	test	rax, rax
	je	.L25
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC8[rip]
	call	snprintf@PLT
.L9:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	rtw_is_cckratesonly_included@PLT
	test	rax, rax
	je	.L27
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, r12
	call	rtw_is_cckrates_included@PLT
	test	rax, rax
	jne	.L28
	cmp	DWORD PTR [rbx], 14
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	jle	.L29
	lea	rdx, .LC5[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, r12
	call	rtw_is_cckrates_included@PLT
	test	rax, rax
	je	.L30
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC2[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L29:
	lea	rdx, .LC7[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L30:
	cmp	DWORD PTR [rbx], 14
	jle	.L12
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC4[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC3[rip]
	call	snprintf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR IFNAMSIZ[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC6[rip]
	call	snprintf@PLT
	jmp	.L9
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtw_wx_get_name, .-rtw_wx_get_name
	.comm	_module_rtl871x_mlme_c_,4,4
	.comm	_drv_info_,4,4
	.comm	_HT_CAPABILITY_IE_,4,4
	.comm	_FW_LINKED,4,4
	.comm	WIFI_ADHOC_MASTER_STATE,4,4
	.comm	IFNAMSIZ,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_ioctl_linux.c_rtw_wx_get_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IEEE 802.11bn\000"
	.align	2
.LC1:
	.ascii	"IEEE 802.11b\000"
	.align	2
.LC2:
	.ascii	"IEEE 802.11bgn\000"
	.align	2
.LC3:
	.ascii	"IEEE 802.11bg\000"
	.align	2
.LC4:
	.ascii	"IEEE 802.11an\000"
	.align	2
.LC5:
	.ascii	"IEEE 802.11a\000"
	.align	2
.LC6:
	.ascii	"IEEE 802.11gn\000"
	.align	2
.LC7:
	.ascii	"IEEE 802.11g\000"
	.align	2
.LC8:
	.ascii	"unassociated\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_wx_get_name, %function
rtw_wx_get_name:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L31
	sub	sp, sp, #8
	mov	r6, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	rtw_netdev_priv
	mov	r3, #0
	mov	r4, r0
	ldr	r1, .L31+4
	ldr	r0, .L31+8
	ldr	r2, [r6]
	ldr	r1, [r1]
	ldr	r0, [r0]
	str	r3, [sp]
	bl	RT_TRACE
	ldr	r2, .L31+12
	ldr	r3, .L31+16
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r0, r4
	orr	r1, r1, r3
	bl	check_fwstate
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r4, #8]
	ldr	r2, .L31+20
	ldr	r0, [r4, #12]
	ldr	r1, [r2]
	sub	r3, r3, #12
	mov	r2, sp
	add	r0, r0, #48
	bl	rtw_get_ie
	cmp	r0, #0
	add	r6, r4, #4
	beq	.L25
	ldr	r3, [sp]
	mov	r0, r6
	cmp	r3, #0
	ble	.L6
	bl	rtw_is_cckratesonly_included
	cmp	r0, #0
	beq	.L26
	ldr	r3, .L31+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L31+28
	bl	snprintf
	b	.L9
.L2:
	ldr	r3, .L31+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L31+32
	bl	snprintf
.L9:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L25:
	mov	r0, r6
	bl	rtw_is_cckratesonly_included
	cmp	r0, #0
	beq	.L5
.L4:
	ldr	r3, .L31+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L31+36
	bl	snprintf
	b	.L9
.L26:
	mov	r0, r6
	bl	rtw_is_cckrates_included
	cmp	r0, #0
	beq	.L28
	ldr	r3, .L31+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L31+40
	bl	snprintf
	b	.L9
.L6:
	bl	rtw_is_cckratesonly_included
	cmp	r0, #0
	bne	.L4
.L5:
	mov	r0, r6
	bl	rtw_is_cckrates_included
	cmp	r0, #0
	bne	.L29
	ldr	r2, [r4]
	ldr	r3, .L31+24
	cmp	r2, #14
	ldr	r0, [r5]
	ldr	r1, [r3]
	ble	.L30
	ldr	r2, .L31+44
	bl	snprintf
	b	.L9
.L30:
	ldr	r2, .L31+48
	bl	snprintf
	b	.L9
.L28:
	ldr	r3, [r4]
	ldr	r0, [r5]
	cmp	r3, #14
	ldr	r3, .L31+24
	ldr	r1, [r3]
	ble	.L12
	ldr	r2, .L31+52
	bl	snprintf
	b	.L9
.L29:
	ldr	r3, .L31+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L31+56
	bl	snprintf
	b	.L9
.L12:
	ldr	r2, .L31+60
	bl	snprintf
	b	.L9
.L27:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC9
	.word	_drv_info_
	.word	_module_rtl871x_mlme_c_
	.word	_FW_LINKED
	.word	WIFI_ADHOC_MASTER_STATE
	.word	_HT_CAPABILITY_IE_
	.word	IFNAMSIZ
	.word	.LC0
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	.LC5
	.word	.LC7
	.word	.LC4
	.word	.LC3
	.word	.LC6
	.size	rtw_wx_get_name, .-rtw_wx_get_name
	.comm	_module_rtl871x_mlme_c_,4,4
	.comm	_drv_info_,4,4
	.comm	_HT_CAPABILITY_IE_,4,4
	.comm	_FW_LINKED,4,4
	.comm	WIFI_ADHOC_MASTER_STATE,4,4
	.comm	IFNAMSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
