	.file	"extr_esp_wps.c_wps_dev_deinit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wps_dev_deinit
	.type	wps_dev_deinit, @function
wps_dev_deinit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12d, DWORD PTR ESP_FAIL[rip]
	test	rdi, rdi
	je	.L1
	mov	rbx, rdi
	mov	rdi, QWORD PTR 32[rdi]
	test	rdi, rdi
	je	.L4
	call	os_free@PLT
.L4:
	mov	rdi, QWORD PTR 24[rbx]
	test	rdi, rdi
	je	.L5
	call	os_free@PLT
.L5:
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L6
	call	os_free@PLT
.L6:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L7
	call	os_free@PLT
.L7:
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L8
	call	os_free@PLT
.L8:
	mov	rdi, QWORD PTR s_factory_info[rip]
	xor	r12d, r12d
	test	rdi, rdi
	je	.L1
	call	os_free@PLT
	mov	QWORD PTR s_factory_info[rip], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wps_dev_deinit, .-wps_dev_deinit
	.comm	s_factory_info,8,8
	.comm	ESP_FAIL,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_esp_wps.c_wps_dev_deinit.c"
	.text
	.align	2
	.global	wps_dev_deinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_dev_deinit, %function
wps_dev_deinit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L27
	ldr	r0, [r4, #16]
	cmp	r0, #0
	beq	.L4
	bl	os_free
.L4:
	ldr	r0, [r4, #12]
	cmp	r0, #0
	beq	.L5
	bl	os_free
.L5:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L6
	bl	os_free
.L6:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L7
	bl	os_free
.L7:
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L8
	bl	os_free
.L8:
	ldr	r4, .L28
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, pc}
	bl	os_free
	mov	r0, #0
	str	r0, [r4]
	pop	{r4, pc}
.L27:
	ldr	r3, .L28+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L29:
	.align	2
.L28:
	.word	s_factory_info
	.word	ESP_FAIL
	.size	wps_dev_deinit, .-wps_dev_deinit
	.comm	s_factory_info,4,4
	.comm	ESP_FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
