	.file	"extr_cfg80211.c__wil_cfg80211_set_ies.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_wil_cfg80211_set_ies, @function
_wil_cfg80211_set_ies:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR 40[rsi]
	mov	rdx, QWORD PTR 48[rsi]
	lea	rsi, 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	add	rdi, 20
	mov	DWORD PTR 8[rsp], 0
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	call	wil_memdup_ie@PLT
	mov	ecx, DWORD PTR 28[rbx]
	mov	rdx, QWORD PTR 32[rbx]
	lea	rsi, 8[rbp]
	lea	rdi, 12[rbp]
	call	wil_memdup_ie@PLT
	mov	ecx, DWORD PTR 24[rbx]
	mov	rdx, QWORD PTR 16[rbx]
	lea	rdi, 4[rbp]
	mov	rsi, rbp
	call	wil_memdup_ie@PLT
	mov	esi, DWORD PTR 40[rbx]
	mov	rdi, QWORD PTR 48[rbx]
	lea	rdx, 12[rsp]
	call	_wil_cfg80211_get_proberesp_ies@PLT
	mov	ecx, DWORD PTR 28[rbx]
	mov	rdx, QWORD PTR 32[rbx]
	lea	r9, 8[rsp]
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rax
	lea	r8, 16[rsp]
	call	_wil_cfg80211_merge_extra_ies@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L7
.L2:
	mov	rdi, QWORD PTR 16[rsp]
	call	kfree@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR WMI_FRAME_PROBE_RESP[rip]
	call	wmi_set_ie@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L2
	mov	rcx, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR WMI_FRAME_ASSOC_RESP[rip]
	test	rcx, rcx
	je	.L3
	mov	edx, DWORD PTR 24[rbx]
	mov	rdi, rbp
	call	wmi_set_ie@PLT
	mov	r12d, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 8[rsp]
	mov	rdi, rbp
	call	wmi_set_ie@PLT
	mov	r12d, eax
	jmp	.L2
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_wil_cfg80211_set_ies, .-_wil_cfg80211_set_ies
	.comm	WMI_FRAME_PROBE_RESP,4,4
	.comm	WMI_FRAME_BEACON,4,4
	.comm	WMI_FRAME_ASSOC_RESP,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_cfg80211.c__wil_cfg80211_set_ies.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_wil_cfg80211_set_ies, %function
_wil_cfg80211_set_ies:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	ip, #0
	mov	r4, r1
	mov	r5, r0
	ldr	lr, .L9
	sub	sp, sp, #24
	ldr	r3, [r1, #24]
	ldr	r2, [r1, #28]
	add	r1, r0, #16
	add	r0, r0, #20
	ldr	lr, [lr]
	str	lr, [sp, #20]
	mov	lr,#0
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	bl	wil_memdup_ie
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #20]
	add	r1, r5, #8
	add	r0, r5, #12
	bl	wil_memdup_ie
	ldr	r3, [r4, #12]
	mov	r1, r5
	ldr	r2, [r4, #8]
	add	r0, r5, #4
	bl	wil_memdup_ie
	ldr	r1, [r4, #24]
	add	r2, sp, #12
	ldr	r0, [r4, #28]
	bl	_wil_cfg80211_get_proberesp_ies
	add	ip, sp, #8
	add	r1, sp, #16
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #20]
	stm	sp, {r1, ip}
	ldr	r1, [sp, #12]
	bl	_wil_cfg80211_merge_extra_ies
	subs	r6, r0, #0
	beq	.L7
.L2:
	ldr	r0, [sp, #16]
	bl	kfree
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r6
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r2, .L9+4
	mov	r0, r5
	ldr	r1, [r2]
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #8]
	bl	wmi_set_ie
	subs	r6, r0, #0
	bne	.L2
	ldr	r3, [r4, #8]
	ldr	r2, .L9+8
	cmp	r3, #0
	ldr	r1, [r2]
	movne	r0, r5
	moveq	r0, r5
	ldrne	r2, [r4, #12]
	ldreq	r3, [sp, #16]
	ldreq	r2, [sp, #8]
	bl	wmi_set_ie
	mov	r6, r0
	b	.L2
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	WMI_FRAME_PROBE_RESP
	.word	WMI_FRAME_ASSOC_RESP
	.size	_wil_cfg80211_set_ies, .-_wil_cfg80211_set_ies
	.comm	WMI_FRAME_PROBE_RESP,4,4
	.comm	WMI_FRAME_BEACON,4,4
	.comm	WMI_FRAME_ASSOC_RESP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
