	.file	"extr_wpa.c_wpa_sm_set_pmk_from_pmksa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPA: Set PMK based on current PMKSA"
	.align 8
.LC1:
	.string	"WPA: No current PMKSA - clear PMK"
	.text
	.p2align 4
	.globl	wpa_sm_set_pmk_from_pmksa
	.type	wpa_sm_set_pmk_from_pmksa, @function
wpa_sm_set_pmk_from_pmksa:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR 8[rax]
	lea	rsi, .LC0[rip]
	call	wpa_hexdump_key@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rax]
	mov	esi, DWORD PTR [rax]
	mov	QWORD PTR 8[rbx], rdx
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	os_memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR PMK_LEN_MAX[rip]
	xor	esi, esi
	mov	QWORD PTR 8[rbx], 0
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	os_memset@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	wpa_sm_set_pmk_from_pmksa, .-wpa_sm_set_pmk_from_pmksa
	.comm	PMK_LEN_MAX,4,4
	.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_pmk_from_pmksa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPA: Set PMK based on current PMKSA\000"
	.align	2
.LC1:
	.ascii	"WPA: No current PMKSA - clear PMK\000"
	.text
	.align	2
	.global	wpa_sm_set_pmk_from_pmksa
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_sm_set_pmk_from_pmksa, %function
wpa_sm_set_pmk_from_pmksa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r5, [r4, #8]
	ldr	r3, .L6
	cmp	r5, #0
	ldr	r0, [r3]
	beq	.L3
	ldm	r5, {r2, r3}
	ldr	r1, .L6+4
	bl	wpa_hexdump_key
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	ldm	r3, {r1, r2}
	str	r2, [r4, #4]
	pop	{r4, r5, r6, lr}
	b	os_memcpy
.L3:
	ldr	r1, .L6+8
	bl	wpa_printf
	ldr	r3, .L6+12
	mov	r1, r5
	ldr	r0, [r4]
	str	r5, [r4, #4]
	ldr	r2, [r3]
	pop	{r4, r5, r6, lr}
	b	os_memset
.L7:
	.align	2
.L6:
	.word	MSG_DEBUG
	.word	.LC0
	.word	.LC1
	.word	PMK_LEN_MAX
	.size	wpa_sm_set_pmk_from_pmksa, .-wpa_sm_set_pmk_from_pmksa
	.comm	PMK_LEN_MAX,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
