	.file	"extr_wpa.c_wpa_sm_set_ap_rsn_ie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"WPA: clearing AP RSN IE"
.LC1:
	.string	"WPA: set AP RSN IE"
	.text
	.p2align 4
	.globl	wpa_sm_set_ap_rsn_ie
	.type	wpa_sm_set_ap_rsn_ie, @function
wpa_sm_set_ap_rsn_ie:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L15
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR 8[rdi]
	call	os_free@PLT
	test	r12, r12
	je	.L7
	test	rbp, rbp
	je	.L7
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rcx, rbp
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	wpa_hexdump@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	os_memdup@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L6
	mov	QWORD PTR [rbx], rbp
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.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	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR MSG_DEBUG[rip]
	lea	rdx, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	call	wpa_dbg@PLT
	mov	QWORD PTR 8[rbx], 0
	xor	eax, eax
	mov	QWORD PTR [rbx], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L15:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	or	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	wpa_sm_set_ap_rsn_ie, .-wpa_sm_set_ap_rsn_ie
	.comm	MSG_DEBUG,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_wpa.c_wpa_sm_set_ap_rsn_ie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPA: clearing AP RSN IE\000"
	.align	2
.LC1:
	.ascii	"WPA: set AP RSN IE\000"
	.text
	.align	2
	.global	wpa_sm_set_ap_rsn_ie
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_sm_set_ap_rsn_ie, %function
wpa_sm_set_ap_rsn_ie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r0, #0
	beq	.L5
	mov	r6, r2
	ldr	r0, [r5, #4]
	mov	r7, r1
	bl	os_free
	clz	ip, r6
	cmp	r7, #0
	lsr	ip, ip, #5
	movne	r4, ip
	moveq	r4, #1
	cmp	r4, #0
	ldr	r2, .L12
	bne	.L11
	mov	r3, r6
	ldr	r0, [r2]
	ldr	r1, .L12+4
	mov	r2, r7
	bl	wpa_hexdump
	mov	r1, r6
	mov	r0, r7
	bl	os_memdup
	cmp	r0, #0
	str	r0, [r5, #4]
	beq	.L5
	mov	r0, r4
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r4, #0
	ldr	r3, [r5, #8]
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L12+8
	bl	wpa_dbg
	mov	r0, r4
	str	r4, [r5, #4]
	str	r4, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	MSG_DEBUG
	.word	.LC1
	.word	.LC0
	.size	wpa_sm_set_ap_rsn_ie, .-wpa_sm_set_ap_rsn_ie
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
