	.file	"extr_nl80211.c_nl80211_disassociate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nl80211_disassociate, @function
nl80211_disassociate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdx, QWORD PTR 16[rsi]
	mov	rbp, QWORD PTR 8[rdx]
	mov	rcx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rcx]
	test	rax, rax
	je	.L2
	cmp	rax, QWORD PTR [rsi]
	je	.L2
	mov	r12d, DWORD PTR EPERM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR NL80211_ATTR_MAC[rip]
	mov	rdi, QWORD PTR [rax+rsi*8]
	test	rdi, rdi
	je	.L17
	mov	rsi, QWORD PTR NL80211_ATTR_REASON_CODE[rip]
	cmp	QWORD PTR [rax+rsi*8], 0
	je	.L17
	mov	r12, QWORD PTR [rdx]
	mov	rax, QWORD PTR 8[r12]
	mov	esi, DWORD PTR [rax]
	test	esi, esi
	je	.L8
	mov	rax, QWORD PTR 8[rcx]
	cmp	rax, QWORD PTR NL80211_IFTYPE_STATION[rip]
	je	.L7
	cmp	rax, QWORD PTR NL80211_IFTYPE_P2P_CLIENT[rip]
	jne	.L8
.L7:
	call	nla_data@PLT
	mov	rdx, QWORD PTR NL80211_ATTR_REASON_CODE[rip]
	mov	r14, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_get_u16@PLT
	mov	r13, rax
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR NL80211_ATTR_IE[rip]
	xor	r8d, r8d
	xor	r15d, r15d
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	jne	.L19
.L10:
	mov	rdx, QWORD PTR NL80211_ATTR_LOCAL_STATE_CHANGE[rip]
	mov	rdi, QWORD PTR 0[rbp]
	xor	ebx, ebx
	mov	DWORD PTR 12[rsp], r8d
	cmp	QWORD PTR [rax+rdx*8], 0
	setne	bl
	call	wdev_lock@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r14
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR 28[rsp]
	mov	r9, r13
	mov	rcx, r15
	mov	rsi, rbp
	call	cfg80211_mlme_disassoc@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12d, eax
	call	wdev_unlock@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	call	nla_data@PLT
	mov	rdx, QWORD PTR NL80211_ATTR_IE[rip]
	mov	r15, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	nla_len@PLT
	mov	r8d, eax
	mov	rax, QWORD PTR 8[rbx]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	nl80211_disassociate, .-nl80211_disassociate
	.comm	NL80211_IFTYPE_STATION,8,8
	.comm	NL80211_IFTYPE_P2P_CLIENT,8,8
	.comm	NL80211_ATTR_REASON_CODE,8,8
	.comm	NL80211_ATTR_MAC,8,8
	.comm	NL80211_ATTR_LOCAL_STATE_CHANGE,8,8
	.comm	NL80211_ATTR_IE,8,8
	.comm	EPERM,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
	.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_nl80211.c_nl80211_disassociate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nl80211_disassociate, %function
nl80211_disassociate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1, #8]
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r2, #4]
	mov	r4, r1
	ldr	ip, [r5]
	sub	sp, sp, #20
	ldr	r3, [ip]
	cmp	r3, #0
	beq	.L2
	ldr	r1, [r1]
	cmp	r3, r1
	beq	.L2
	ldr	r3, .L22
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r1, .L22+4
	ldr	r3, [r4, #4]
	ldr	r1, [r1]
	ldr	r0, [r3, r1, lsl #2]
	cmp	r0, #0
	beq	.L19
	ldr	r6, .L22+8
	ldr	r1, [r6]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r3, #0
	beq	.L19
	ldr	r7, [r2]
	ldr	r3, [r7, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r2, .L22+12
	ldr	r3, [ip, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L7
	ldr	r2, .L22+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L8
.L7:
	bl	nla_data
	ldr	r2, [r6]
	ldr	r3, [r4, #4]
	mov	r9, r0
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_get_u16
	subs	r8, r0, #0
	beq	.L19
	ldr	fp, .L22+20
	ldr	r2, [r4, #4]
	ldr	r3, [fp]
	ldr	r6, [r2, r3, lsl #2]
	cmp	r6, #0
	moveq	r10, r6
	bne	.L21
.L10:
	ldr	r3, .L22+24
	ldr	r0, [r5]
	ldr	r3, [r3]
	ldr	r4, [r2, r3, lsl #2]
	subs	r4, r4, #0
	movne	r4, #1
	bl	wdev_lock
	str	r4, [sp, #8]
	mov	r3, r10
	mov	r2, r9
	mov	r0, r7
	mov	r1, r5
	stm	sp, {r6, r8}
	bl	cfg80211_mlme_disassoc
	mov	r4, r0
	ldr	r0, [r5]
	bl	wdev_unlock
	b	.L1
.L19:
	ldr	r3, .L22+28
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L22+32
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	mov	r0, r6
	bl	nla_data
	ldr	r2, [r4, #4]
	ldr	r1, [fp]
	mov	r10, r0
	ldr	r0, [r2, r1, lsl #2]
	bl	nla_len
	ldr	r2, [r4, #4]
	mov	r6, r0
	b	.L10
.L23:
	.align	2
.L22:
	.word	EPERM
	.word	NL80211_ATTR_MAC
	.word	NL80211_ATTR_REASON_CODE
	.word	NL80211_IFTYPE_STATION
	.word	NL80211_IFTYPE_P2P_CLIENT
	.word	NL80211_ATTR_IE
	.word	NL80211_ATTR_LOCAL_STATE_CHANGE
	.word	EINVAL
	.word	EOPNOTSUPP
	.size	nl80211_disassociate, .-nl80211_disassociate
	.comm	NL80211_IFTYPE_STATION,4,4
	.comm	NL80211_IFTYPE_P2P_CLIENT,4,4
	.comm	NL80211_ATTR_REASON_CODE,4,4
	.comm	NL80211_ATTR_MAC,4,4
	.comm	NL80211_ATTR_LOCAL_STATE_CHANGE,4,4
	.comm	NL80211_ATTR_IE,4,4
	.comm	EPERM,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
