	.file	"11075773.c"
	.intel_syntax noprefix
	.text
	.globl	BSS_CHANGED_AP_PROBE_RESP
	.bss
	.align 4
	.type	BSS_CHANGED_AP_PROBE_RESP, @object
	.size	BSS_CHANGED_AP_PROBE_RESP, 4
BSS_CHANGED_AP_PROBE_RESP:
	.zero	4
	.globl	BSS_CHANGED_BEACON
	.align 4
	.type	BSS_CHANGED_BEACON, @object
	.size	BSS_CHANGED_BEACON, 4
BSS_CHANGED_BEACON:
	.zero	4
	.globl	BSS_CHANGED_FTM_RESPONDER
	.align 4
	.type	BSS_CHANGED_FTM_RESPONDER, @object
	.size	BSS_CHANGED_FTM_RESPONDER, 4
BSS_CHANGED_FTM_RESPONDER:
	.zero	4
	.globl	EINVAL
	.align 4
	.type	EINVAL, @object
	.size	EINVAL, 4
EINVAL:
	.zero	4
	.globl	ENOMEM
	.align 4
	.type	ENOMEM, @object
	.size	ENOMEM, 4
ENOMEM:
	.zero	4
	.globl	GFP_KERNEL
	.align 4
	.type	GFP_KERNEL, @object
	.size	GFP_KERNEL, 4
GFP_KERNEL:
	.zero	4
	.globl	rcu_head
	.align 4
	.type	rcu_head, @object
	.size	rcu_head, 4
rcu_head:
	.zero	4
	.text
	.type	ieee80211_assign_beacon, @function
ieee80211_assign_beacon:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	eax, DWORD PTR BSS_CHANGED_BEACON[rip]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	sdata_dereference@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L2
	cmp	QWORD PTR -16[rbp], 0
	jne	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
.L5:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L6
	cmp	QWORD PTR -16[rbp], 0
	jne	.L7
.L6:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -32[rbp], eax
.L8:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	add	eax, 40
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	kzalloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L3
.L9:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 160[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	cmp	QWORD PTR -72[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L10:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L12:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	jmp	.L14
.L13:
	cmp	QWORD PTR -16[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L14:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR 28[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 32[rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ieee80211_set_probe_resp@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	kfree@PLT
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L3
.L15:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L16
	mov	eax, DWORD PTR BSS_CHANGED_AP_PROBE_RESP[rip]
	or	DWORD PTR -28[rbp], eax
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, -1
	je	.L17
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -64[rbp]
	mov	edi, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	ieee80211_set_ftm_responder_params@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	kfree@PLT
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L3
.L18:
	mov	eax, DWORD PTR BSS_CHANGED_FTM_RESPONDER[rip]
	or	DWORD PTR -28[rbp], eax
.L17:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcu_assign_pointer@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L19
	mov	edx, DWORD PTR rcu_head[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	kfree_rcu@PLT
.L19:
	mov	eax, DWORD PTR -28[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_assign_beacon, .-ieee80211_assign_beacon
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"11075773.c"
	.text
	.comm	BSS_CHANGED_AP_PROBE_RESP,4,4
	.comm	BSS_CHANGED_BEACON,4,4
	.comm	BSS_CHANGED_FTM_RESPONDER,4,4
	.comm	EINVAL,4,4
	.comm	ENOMEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	rcu_head,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_assign_beacon, %function
ieee80211_assign_beacon:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	sdata_dereference
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L5
.L4:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
.L5:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L7
.L6:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	b	.L8
.L7:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
.L8:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #24
	str	r3, [fp, #-16]
	ldr	r3, .L20+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	kzalloc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L20+12
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L3
.L9:
	ldr	r3, [fp, #-12]
	add	r2, r3, #96
	ldr	r3, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
.L10:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	bl	memcpy
	b	.L12
.L11:
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	bl	memcpy
.L12:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	memcpy
	b	.L14
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-12]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	memcpy
.L14:
	ldr	r3, [fp, #-44]
	ldr	r1, [r3, #32]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	ieee80211_set_probe_resp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L15
	ldr	r0, [fp, #-12]
	bl	kfree
	ldr	r3, [fp, #-8]
	b	.L3
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	orr	r3, r2, r3
	str	r3, [fp, #-24]
.L16:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	cmn	r3, #1
	beq	.L17
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-44]
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-40]
	bl	ieee80211_set_ftm_responder_params
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L18
	ldr	r0, [fp, #-12]
	bl	kfree
	ldr	r3, [fp, #-8]
	b	.L3
.L18:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	orr	r3, r2, r3
	str	r3, [fp, #-24]
.L17:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	rcu_assign_pointer
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L20+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	kfree_rcu
.L19:
	ldr	r3, [fp, #-24]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	BSS_CHANGED_BEACON
	.word	EINVAL
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	BSS_CHANGED_AP_PROBE_RESP
	.word	BSS_CHANGED_FTM_RESPONDER
	.word	rcu_head
	.size	ieee80211_assign_beacon, .-ieee80211_assign_beacon
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
