	.file	"extr_wext-compat.c_cfg80211_wext_siwpmksa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cfg80211_wext_siwpmksa, @function
cfg80211_wext_siwpmksa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	mov	edi, DWORD PTR 8[r13]
	call	wiphy_to_dev@PLT
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r14
	mov	r12, rax
	call	memset@PLT
	mov	rax, QWORD PTR NL80211_IFTYPE_STATION[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 4[rbx]
	mov	QWORD PTR [rsp], rax
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L15
.L11:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [r12]
	mov	ecx, DWORD PTR 8[rax]
	test	ecx, ecx
	je	.L11
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	rdev_set_pmksa@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR 4[rax]
	test	edx, edx
	je	.L11
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	rdev_del_pmksa@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR [r12]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L11
	mov	rsi, rbp
	mov	rdi, r12
	call	rdev_flush_pmksa@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cfg80211_wext_siwpmksa, .-cfg80211_wext_siwpmksa
	.comm	NL80211_IFTYPE_STATION,8,8
	.comm	EOPNOTSUPP,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_wext-compat.c_cfg80211_wext_siwpmksa.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cfg80211_wext_siwpmksa, %function
cfg80211_wext_siwpmksa:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0]
	mov	r4, r3
	ldr	r3, .L22
	sub	sp, sp, #16
	mov	r5, r0
	ldr	r0, [r6, #4]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	wiphy_to_dev
	mov	r3, #0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	ldr	r3, .L22+4
	ldr	r1, [r6]
	ldr	r2, [r3]
	cmp	r1, r2
	beq	.L2
	ldr	r3, .L22+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, [r4]
	ldmib	r4, {r1, ip}
	cmp	r2, #129
	stmib	sp, {r1, ip}
	beq	.L4
	cmp	r2, #130
	beq	.L5
	cmp	r2, #128
	beq	.L21
.L17:
	ldr	r3, .L22+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L5:
	ldr	r3, [r0]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L17
	mov	r1, r5
	add	r2, sp, #4
	bl	rdev_set_pmksa
	b	.L1
.L21:
	ldr	r3, [r0]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L17
	mov	r1, r5
	add	r2, sp, #4
	bl	rdev_del_pmksa
	b	.L1
.L4:
	ldr	r3, [r0]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	mov	r1, r5
	bl	rdev_flush_pmksa
	b	.L1
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	NL80211_IFTYPE_STATION
	.word	EINVAL
	.word	EOPNOTSUPP
	.size	cfg80211_wext_siwpmksa, .-cfg80211_wext_siwpmksa
	.comm	NL80211_IFTYPE_STATION,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
