	.file	"extr_wps_validate.c_wps_validate_m7.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"WPS-STRICT: No TLVs in M7"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"WPS-STRICT: Failed to parse attributes in M7"
	.section	.rodata.str1.1
.LC2:
	.string	"WPS-STRICT: Invalid M7"
	.text
	.p2align 4
	.globl	wps_validate_m7
	.type	wps_validate_m7, @function
wps_validate_m7:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, 40
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	os_zalloc@PLT
	test	rax, rax
	je	.L8
	mov	rbp, rax
	test	r12, r12
	je	.L11
	mov	rsi, rax
	mov	rdi, r12
	call	wps_parse_msg@PLT
	test	rax, rax
	js	.L12
	mov	edi, DWORD PTR 36[rbp]
	xor	r12d, r12d
	mov	esi, 1
	cmp	QWORD PTR 8[rbp], 0
	setne	r12b
	call	wps_validate_version@PLT
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR 32[rbp]
	mov	esi, 1
	call	wps_validate_msg_type@PLT
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR 28[rbp]
	mov	esi, 1
	call	wps_validate_registrar_nonce@PLT
	test	rax, rax
	jne	.L7
	mov	esi, DWORD PTR 20[rbp]
	mov	edi, DWORD PTR 24[rbp]
	mov	edx, 1
	call	wps_validate_encr_settings@PLT
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR 16[rbp]
	xor	esi, esi
	call	wps_validate_settings_delay_time@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, r12d
	call	wps_validate_version2@PLT
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, 1
	call	wps_validate_authenticator@PLT
	test	rax, rax
	jne	.L7
	xor	r12d, r12d
.L4:
	mov	rdi, rbp
	call	os_free@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	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	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC2[rip]
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, -99
	jmp	.L1
.L12:
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC1[rip]
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L4
.L11:
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC0[rip]
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	wps_validate_m7, .-wps_validate_m7
	.comm	MSG_INFO,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_validate.c_wps_validate_m7.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS-STRICT: No TLVs in M7\000"
	.align	2
.LC1:
	.ascii	"WPS-STRICT: Failed to parse attributes in M7\000"
	.align	2
.LC2:
	.ascii	"WPS-STRICT: Invalid M7\000"
	.text
	.align	2
	.global	wps_validate_m7
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_validate_m7, %function
wps_validate_m7:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, #32
	bl	os_zalloc
	subs	r4, r0, #0
	beq	.L8
	cmp	r5, #0
	beq	.L11
	mov	r0, r5
	mov	r1, r4
	bl	wps_parse_msg
	cmp	r0, #0
	blt	.L12
	ldr	r3, [r4, #4]
	mov	r1, #1
	subs	r5, r3, #0
	ldr	r0, [r4, #28]
	movne	r5, #1
	bl	wps_validate_version
	cmp	r0, #0
	bne	.L7
	mov	r1, #1
	ldr	r0, [r4, #24]
	bl	wps_validate_msg_type
	cmp	r0, #0
	bne	.L7
	mov	r1, #1
	ldr	r0, [r4, #20]
	bl	wps_validate_registrar_nonce
	cmp	r0, #0
	bne	.L7
	ldr	r1, [r4, #12]
	mov	r2, #1
	ldr	r0, [r4, #16]
	bl	wps_validate_encr_settings
	subs	r1, r0, #0
	bne	.L7
	ldr	r0, [r4, #8]
	bl	wps_validate_settings_delay_time
	cmp	r0, #0
	bne	.L7
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	wps_validate_version2
	cmp	r0, #0
	bne	.L7
	mov	r1, #1
	ldr	r0, [r4]
	bl	wps_validate_authenticator
	subs	r5, r0, #0
	bne	.L7
.L4:
	mov	r0, r4
	bl	os_free
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L13
	ldr	r1, .L13+4
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r5, #0
	b	.L4
.L8:
	mvn	r5, #98
	b	.L1
.L12:
	ldr	r3, .L13
	ldr	r1, .L13+8
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r5, #0
	b	.L4
.L11:
	ldr	r3, .L13
	ldr	r1, .L13+12
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r5, #0
	b	.L4
.L14:
	.align	2
.L13:
	.word	MSG_INFO
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	wps_validate_m7, .-wps_validate_m7
	.comm	MSG_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
