	.file	"extr_wps_enrollee.c_wps_build_m7.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"WPS: Building Message M7"
	.text
	.p2align 4
	.type	wps_build_m7, @function
wps_build_m7:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	call	wpa_printf@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 16[rax]
	add	rdi, 500
	call	wpabuf_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 16[rax]
	add	rdi, 1000
	call	wpabuf_alloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L19
	mov	rdi, rax
	call	wps_build_version@PLT
	test	rax, rax
	jne	.L5
	mov	esi, DWORD PTR WPS_M7[rip]
	mov	rdi, rbp
	call	wps_build_msg_type@PLT
	test	rax, rax
	jne	.L5
	mov	rsi, rbp
	mov	rdi, rbx
	call	wps_build_registrar_nonce@PLT
	test	rax, rax
	jne	.L5
	mov	rsi, r12
	mov	rdi, rbx
	call	wps_build_e_snonce2@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR 8[rax], 0
	je	.L8
	mov	rsi, r12
	mov	rdi, rbx
	call	wps_build_ap_settings@PLT
	test	rax, rax
	jne	.L5
.L8:
	mov	rsi, r12
	mov	rdi, rbx
	call	wps_build_key_wrap_auth@PLT
	test	rax, rax
	jne	.L5
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, rbx
	call	wps_build_encr_settings@PLT
	test	rax, rax
	jne	.L5
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	wps_build_wfa_ext@PLT
	test	rax, rax
	jne	.L5
	mov	rsi, rbp
	mov	rdi, rbx
	call	wps_build_authenticator@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, r12
	call	wpabuf_clear_free@PLT
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR 8[rax], 0
	je	.L9
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L9
	mov	edx, DWORD PTR 4[rbx]
	lea	rsi, 8[rbx]
	call	wps_device_store@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR RECV_M8[rip]
	mov	r12, rbp
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r12
	xor	r12d, r12d
	call	wpabuf_clear_free@PLT
	mov	rdi, rbp
	call	wpabuf_free@PLT
.L1:
	mov	rax, r12
	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
.L19:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	wpabuf_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wps_build_m7, .-wps_build_m7
	.comm	WPS_M7,4,4
	.comm	RECV_M8,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_wps_enrollee.c_wps_build_m7.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS: Building Message M7\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_build_m7, %function
wps_build_m7:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r3, .L23
	ldr	r1, .L23+4
	ldr	r0, [r3]
	sub	sp, sp, #8
	bl	wpa_printf
	ldr	r3, [r6, #12]
	ldr	r0, [r3, #8]
	add	r0, r0, #500
	bl	wpabuf_alloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, [r6, #12]
	ldr	r0, [r3, #8]
	add	r0, r0, #1000
	bl	wpabuf_alloc
	subs	r5, r0, #0
	beq	.L22
	bl	wps_build_version
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L23+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	wps_build_msg_type
	cmp	r0, #0
	bne	.L5
	mov	r1, r5
	mov	r0, r6
	bl	wps_build_registrar_nonce
	cmp	r0, #0
	bne	.L5
	mov	r1, r4
	mov	r0, r6
	bl	wps_build_e_snonce2
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r6, #12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L8
	mov	r1, r4
	mov	r0, r6
	bl	wps_build_ap_settings
	cmp	r0, #0
	bne	.L5
.L8:
	mov	r1, r4
	mov	r0, r6
	bl	wps_build_key_wrap_auth
	cmp	r0, #0
	bne	.L5
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	wps_build_encr_settings
	subs	r3, r0, #0
	bne	.L5
	mov	r2, r3
	mov	r1, r3
	mov	r0, r5
	str	r3, [sp]
	bl	wps_build_wfa_ext
	cmp	r0, #0
	bne	.L5
	mov	r1, r5
	mov	r0, r6
	bl	wps_build_authenticator
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	wpabuf_clear_free
	ldr	r3, [r6, #12]
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L9
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L9
	ldr	r2, [r6, #4]
	add	r1, r6, #8
	bl	wps_device_store
.L9:
	ldr	r3, .L23+12
	mov	r4, r5
	ldr	r3, [r3]
	str	r3, [r6]
	b	.L1
.L5:
	mov	r0, r4
	bl	wpabuf_clear_free
	mov	r0, r5
	bl	wpabuf_free
	mov	r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L22:
	mov	r0, r4
	bl	wpabuf_free
	mov	r4, r5
	b	.L1
.L24:
	.align	2
.L23:
	.word	MSG_DEBUG
	.word	.LC0
	.word	WPS_M7
	.word	RECV_M8
	.size	wps_build_m7, .-wps_build_m7
	.comm	WPS_M7,4,4
	.comm	RECV_M8,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
