	.file	"extr_wps_er.c_wps_er_ap_use_cached_settings.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS ER: Use cached AP settings"
	.text
	.p2align 4
	.type	wps_er_ap_use_cached_settings, @function
wps_er_ap_use_cached_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR [rsi], 0
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rbx, rsi
	mov	esi, DWORD PTR 8[rsi]
	mov	edi, DWORD PTR 12[rbx]
	call	wps_er_ap_get_settings@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L4
	mov	esi, 4
	call	os_memdup@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wps_er_ap_use_cached_settings, .-wps_er_ap_use_cached_settings
	.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_wps_er.c_wps_er_ap_use_cached_settings.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS ER: Use cached AP settings\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_er_ap_use_cached_settings, %function
wps_er_ap_use_cached_settings:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r1]
	cmp	r5, #0
	beq	.L11
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	mov	r4, r1
	ldr	r1, [r1, #4]
	ldr	r0, [r4, #8]
	bl	wps_er_ap_get_settings
	cmp	r0, #0
	beq	.L4
	mov	r1, #4
	bl	os_memdup
	cmp	r0, #0
	str	r0, [r4]
	beq	.L4
	ldr	r3, .L12
	ldr	r1, .L12+4
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	MSG_DEBUG
	.word	.LC0
	.size	wps_er_ap_use_cached_settings, .-wps_er_ap_use_cached_settings
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
