	.file	"extr_driver_nl80211_capa.c_wpa_driver_nl80211_capa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wpa_driver_nl80211_capa
	.type	wpa_driver_nl80211_capa, @function
wpa_driver_nl80211_capa:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	wpa_driver_nl80211_get_info@PLT
	or	rax, QWORD PTR 48[rsp]
	jne	.L16
	mov	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_WPA[rip]
	mov	ecx, DWORD PTR 12[rbx]
	mov	DWORD PTR [rbx], 1
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_WPA2[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_OWE[rip]
	or	eax, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_DPP[rip]
	mov	DWORD PTR 8[rbx], eax
	test	DWORD PTR WPA_DRIVER_FLAGS_SME[rip], ecx
	jne	.L32
	test	DWORD PTR WPA_DRIVER_FLAGS_FILS_SK_OFFLOAD[rip], ecx
	je	.L4
	mov	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256[rip]
	or	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384[rip]
	or	eax, edx
	mov	DWORD PTR 8[rbx], eax
.L4:
	mov	edx, DWORD PTR WPA_DRIVER_AUTH_OPEN[rip]
	or	edx, DWORD PTR WPA_DRIVER_AUTH_SHARED[rip]
	or	edx, DWORD PTR WPA_DRIVER_AUTH_LEAP[rip]
	mov	eax, DWORD PTR WPA_DRIVER_FLAGS_SANE_ERROR_CODES[rip]
	or	eax, DWORD PTR WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC_DONE[rip]
	mov	rdi, QWORD PTR 32[rsp]
	mov	DWORD PTR 16[rbx], edx
	mov	edx, DWORD PTR WPA_DRIVER_FLAGS_EAPOL_TX_STATUS[rip]
	mov	r9d, DWORD PTR 40[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	mov	esi, DWORD PTR 12[rsp]
	or	eax, edx
	or	eax, DWORD PTR WPA_DRIVER_FLAGS_AP_TEARDOWN_SUPPORT[rip]
	mov	r10d, DWORD PTR 24[rsp]
	or	eax, ecx
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR 12[rbx], eax
	test	rcx, rcx
	jne	.L5
	mov	edx, DWORD PTR WPA_DRIVER_FLAGS_DEAUTH_TX_STATUS[rip]
	or	edx, DWORD PTR WPA_DRIVER_FLAGS_AP_MLME[rip]
	mov	QWORD PTR 40[rbx], 0
	or	eax, edx
	mov	DWORD PTR 32[rbx], esi
	mov	DWORD PTR 12[rbx], eax
	mov	DWORD PTR 28[rbx], r8d
	mov	DWORD PTR 24[rbx], r9d
	test	rdi, rdi
	je	.L28
	or	eax, DWORD PTR WPA_DRIVER_FLAGS_QOS_MAPPING[rip]
	mov	DWORD PTR 12[rbx], eax
.L28:
	mov	DWORD PTR 20[rbx], r10d
	test	esi, esi
	je	.L9
	test	r8d, r8d
	jne	.L33
.L9:
	mov	DWORD PTR 4[rbx], 1
	xor	r8d, r8d
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L34
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	mov	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256[rip]
	or	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384[rip]
	or	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256[rip]
	or	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384[rip]
	or	edx, DWORD PTR WPA_DRIVER_CAPA_KEY_MGMT_SAE[rip]
	or	eax, edx
	mov	DWORD PTR 8[rbx], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR 40[rbx], rcx
	mov	DWORD PTR 32[rbx], esi
	mov	DWORD PTR 28[rbx], r8d
	mov	DWORD PTR 24[rbx], r9d
	test	rdi, rdi
	je	.L29
	or	eax, DWORD PTR WPA_DRIVER_FLAGS_QOS_MAPPING[rip]
	mov	DWORD PTR 12[rbx], eax
.L29:
	mov	DWORD PTR 20[rbx], r10d
	mov	DWORD PTR 4[rbx], 0
	test	r8d, r8d
	jne	.L30
	not	edx
	and	DWORD PTR 12[rbx], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	mov	DWORD PTR 4[rbx], 0
.L30:
	xor	r8d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r8d, -1
	jmp	.L1
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wpa_driver_nl80211_capa, .-wpa_driver_nl80211_capa
	.comm	WPA_DRIVER_FLAGS_SME,4,4
	.comm	WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC_DONE,4,4
	.comm	WPA_DRIVER_FLAGS_SANE_ERROR_CODES,4,4
	.comm	WPA_DRIVER_FLAGS_QOS_MAPPING,4,4
	.comm	WPA_DRIVER_FLAGS_OFFCHANNEL_TX,4,4
	.comm	WPA_DRIVER_FLAGS_OFFCHANNEL_SIMULTANEOUS,4,4
	.comm	WPA_DRIVER_FLAGS_FILS_SK_OFFLOAD,4,4
	.comm	WPA_DRIVER_FLAGS_EAPOL_TX_STATUS,4,4
	.comm	WPA_DRIVER_FLAGS_DFS_OFFLOAD,4,4
	.comm	WPA_DRIVER_FLAGS_DEAUTH_TX_STATUS,4,4
	.comm	WPA_DRIVER_FLAGS_AP_TEARDOWN_SUPPORT,4,4
	.comm	WPA_DRIVER_FLAGS_AP_MLME,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA2,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SAE,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_OWE,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_DPP,4,4
	.comm	WPA_DRIVER_AUTH_SHARED,4,4
	.comm	WPA_DRIVER_AUTH_OPEN,4,4
	.comm	WPA_DRIVER_AUTH_LEAP,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_driver_nl80211_capa.c_wpa_driver_nl80211_capa.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wpa_driver_nl80211_capa
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_driver_nl80211_capa, %function
wpa_driver_nl80211_capa:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L34
	sub	sp, sp, #44
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r4, r0
	bl	wpa_driver_nl80211_get_info
	ldr	r3, [sp, #32]
	orrs	r3, r0, r3
	bne	.L16
	mov	r2, #1
	ldr	r1, .L34+4
	ldr	r3, .L34+8
	ldr	r0, .L34+12
	ldr	ip, [r1]
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r1, .L34+16
	orr	r3, r3, ip
	ldr	ip, .L34+20
	ldr	r1, [r1]
	orr	r3, r3, r0
	ldr	r0, .L34+24
	ldr	ip, [ip]
	ldr	r0, [r0]
	orr	r3, r3, r1
	ldr	r1, .L34+28
	orr	r3, r3, ip
	ldr	r1, [r1]
	orr	r3, r3, r0
	ldr	ip, .L34+32
	ldr	r0, .L34+36
	ldr	ip, [ip]
	ldr	r0, [r0]
	orr	r3, r3, r1
	ldr	r1, [r4, #12]
	orr	r3, r3, ip
	tst	r1, r0
	str	r3, [r4, #8]
	str	r2, [r4]
	bne	.L29
	ldr	r2, .L34+40
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L4
	ldr	r2, .L34+44
	ldr	r0, .L34+48
	ldr	r2, [r2]
	ldr	r0, [r0]
	orr	r2, r2, r0
	orr	r3, r2, r3
	str	r3, [r4, #8]
.L4:
	ldr	r2, .L34+52
	ldr	r3, .L34+56
	ldr	r0, .L34+60
	ldr	r6, [r2]
	ldr	r5, .L34+64
	ldr	ip, .L34+68
	ldr	r3, [r3]
	ldr	r2, .L34+72
	ldr	lr, [r0]
	ldr	r0, .L34+76
	orr	r3, r3, r6
	ldr	r2, [r2]
	ldr	r6, [r5]
	ldr	r5, [ip]
	orr	r3, r3, lr
	ldr	ip, [r0]
	ldr	r0, [sp, #16]
	orr	r3, r3, r6
	orr	r2, r2, r5
	orr	r3, r3, r1
	orr	r2, r2, ip
	cmp	r0, #0
	ldr	r6, [sp, #24]
	ldr	r5, [sp, #28]
	ldr	r1, [sp, #8]
	ldr	ip, [sp, #12]
	ldr	r7, [sp, #20]
	str	r3, [r4, #12]
	str	r2, [r4, #16]
	bne	.L5
	ldr	r2, .L34+80
	ldr	lr, .L34+84
	ldr	r2, [r2]
	ldr	lr, [lr]
	cmp	r6, #0
	orr	r2, r2, lr
	orr	r3, r2, r3
	str	r0, [r4, #36]
	str	ip, [r4, #32]
	str	r1, [r4, #28]
	str	r5, [r4, #24]
	str	r3, [r4, #12]
	beq	.L30
	ldr	r2, .L34+88
	str	r7, [r4, #20]
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r4, #12]
.L14:
	cmp	ip, #0
	beq	.L9
	cmp	r1, #0
	bne	.L31
.L9:
	mov	r3, #1
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L32
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L29:
	ldr	r2, .L34+44
	ldr	ip, .L34+48
	ldr	r0, .L34+92
	ldr	ip, [ip]
	ldr	r2, [r2]
	ldr	r0, [r0]
	orr	r2, r2, ip
	ldr	ip, .L34+96
	orr	r2, r2, r0
	ldr	r0, .L34+100
	ldr	ip, [ip]
	ldr	r0, [r0]
	orr	r2, r2, ip
	orr	r2, r2, r0
	orr	r3, r2, r3
	str	r3, [r4, #8]
	b	.L4
.L5:
	cmp	r6, #0
	str	r0, [r4, #36]
	str	ip, [r4, #32]
	str	r1, [r4, #28]
	str	r5, [r4, #24]
	beq	.L33
	ldr	r2, .L34+88
	str	r7, [r4, #20]
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r4, #12]
.L11:
	mov	r0, #0
	cmp	r1, r0
	str	r0, [r4, #4]
	ldreq	r3, [r4, #12]
	moveq	r0, r1
	biceq	lr, r3, lr
	streq	lr, [r4, #12]
	b	.L1
.L30:
	str	r7, [r4, #20]
	b	.L14
.L33:
	str	r7, [r4, #20]
	b	.L11
.L31:
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L1
.L16:
	mvn	r0, #0
	b	.L1
.L32:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK
	.word	WPA_DRIVER_CAPA_KEY_MGMT_WPA
	.word	WPA_DRIVER_CAPA_KEY_MGMT_WPA2
	.word	WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK
	.word	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B
	.word	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192
	.word	WPA_DRIVER_CAPA_KEY_MGMT_OWE
	.word	WPA_DRIVER_CAPA_KEY_MGMT_DPP
	.word	WPA_DRIVER_FLAGS_SME
	.word	WPA_DRIVER_FLAGS_FILS_SK_OFFLOAD
	.word	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256
	.word	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384
	.word	WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC_DONE
	.word	WPA_DRIVER_FLAGS_SANE_ERROR_CODES
	.word	WPA_DRIVER_FLAGS_EAPOL_TX_STATUS
	.word	WPA_DRIVER_FLAGS_AP_TEARDOWN_SUPPORT
	.word	WPA_DRIVER_AUTH_SHARED
	.word	WPA_DRIVER_AUTH_OPEN
	.word	WPA_DRIVER_AUTH_LEAP
	.word	WPA_DRIVER_FLAGS_DEAUTH_TX_STATUS
	.word	WPA_DRIVER_FLAGS_AP_MLME
	.word	WPA_DRIVER_FLAGS_QOS_MAPPING
	.word	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256
	.word	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384
	.word	WPA_DRIVER_CAPA_KEY_MGMT_SAE
	.size	wpa_driver_nl80211_capa, .-wpa_driver_nl80211_capa
	.comm	WPA_DRIVER_FLAGS_SME,4,4
	.comm	WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC_DONE,4,4
	.comm	WPA_DRIVER_FLAGS_SANE_ERROR_CODES,4,4
	.comm	WPA_DRIVER_FLAGS_QOS_MAPPING,4,4
	.comm	WPA_DRIVER_FLAGS_OFFCHANNEL_TX,4,4
	.comm	WPA_DRIVER_FLAGS_OFFCHANNEL_SIMULTANEOUS,4,4
	.comm	WPA_DRIVER_FLAGS_FILS_SK_OFFLOAD,4,4
	.comm	WPA_DRIVER_FLAGS_EAPOL_TX_STATUS,4,4
	.comm	WPA_DRIVER_FLAGS_DFS_OFFLOAD,4,4
	.comm	WPA_DRIVER_FLAGS_DEAUTH_TX_STATUS,4,4
	.comm	WPA_DRIVER_FLAGS_AP_TEARDOWN_SUPPORT,4,4
	.comm	WPA_DRIVER_FLAGS_AP_MLME,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA2,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_WPA,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_SAE,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_OWE,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256,4,4
	.comm	WPA_DRIVER_CAPA_KEY_MGMT_DPP,4,4
	.comm	WPA_DRIVER_AUTH_SHARED,4,4
	.comm	WPA_DRIVER_AUTH_OPEN,4,4
	.comm	WPA_DRIVER_AUTH_LEAP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
