	.file	"extr_ks_hostif.c_ks_wlan_cap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ks_wlan_cap, @function
ks_wlan_cap:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR SHORT_PREAMBLE[rip]
	mov	rax, rdi
	xor	edx, edx
	cmp	QWORD PTR [rdi], rcx
	jne	.L2
	mov	edx, DWORD PTR WLAN_CAPABILITY_SHORT_PREAMBLE[rip]
.L2:
	mov	edi, DWORD PTR WLAN_CAPABILITY_PBCC[rip]
	mov	rsi, QWORD PTR D_11B_ONLY_MODE[rip]
	not	edi
	and	edi, edx
	cmp	QWORD PTR 8[rax], rsi
	je	.L3
	mov	eax, DWORD PTR WLAN_CAPABILITY_DSSS_OFDM[rip]
	or	edi, DWORD PTR WLAN_CAPABILITY_SHORT_SLOT_TIME[rip]
	not	eax
	and	edi, eax
.L3:
	jmp	cpu_to_le16@PLT
	.cfi_endproc
.LFE0:
	.size	ks_wlan_cap, .-ks_wlan_cap
	.comm	WLAN_CAPABILITY_SHORT_SLOT_TIME,4,4
	.comm	WLAN_CAPABILITY_SHORT_PREAMBLE,4,4
	.comm	WLAN_CAPABILITY_PBCC,4,4
	.comm	WLAN_CAPABILITY_DSSS_OFDM,4,4
	.comm	SHORT_PREAMBLE,8,8
	.comm	D_11B_ONLY_MODE,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_ks_hostif.c_ks_wlan_cap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ks_wlan_cap, %function
ks_wlan_cap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L6
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	ip, .L6+4
	cmp	r2, r3
	movne	r3, #0
	ldr	r2, .L6+8
	ldreq	r3, .L6+12
	ldr	r1, [r0, #4]
	ldr	r2, [r2]
	ldreq	r3, [r3]
	ldr	r0, [ip]
	cmp	r1, r2
	bic	r0, r3, r0
	beq	.L3
	ldr	r2, .L6+16
	ldr	r3, .L6+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r2
	bic	r0, r0, r3
.L3:
	b	cpu_to_le16
.L7:
	.align	2
.L6:
	.word	SHORT_PREAMBLE
	.word	WLAN_CAPABILITY_PBCC
	.word	D_11B_ONLY_MODE
	.word	WLAN_CAPABILITY_SHORT_PREAMBLE
	.word	WLAN_CAPABILITY_SHORT_SLOT_TIME
	.word	WLAN_CAPABILITY_DSSS_OFDM
	.size	ks_wlan_cap, .-ks_wlan_cap
	.comm	WLAN_CAPABILITY_SHORT_SLOT_TIME,4,4
	.comm	WLAN_CAPABILITY_SHORT_PREAMBLE,4,4
	.comm	WLAN_CAPABILITY_PBCC,4,4
	.comm	WLAN_CAPABILITY_DSSS_OFDM,4,4
	.comm	SHORT_PREAMBLE,4,4
	.comm	D_11B_ONLY_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
