	.file	"extr_wps_attr_process.c_wps_process_authenticator.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS: No Authenticator attribute included"
	.align 8
.LC1:
	.string	"WPS: Last message not available for validating authenticator"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"WPS: Incorrect Authenticator"
	.text
	.p2align 4
	.globl	wps_process_authenticator
	.type	wps_process_authenticator, @function
wps_process_authenticator:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	push	rbx
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SHA256_MAC_LEN[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L15:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L15
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L16
.L4:
	mov	r12, rsp
	test	r13, r13
	je	.L17
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L18
	call	wpabuf_head@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR -80[rbp], rax
	call	wpabuf_len@PLT
	mov	rdi, r14
	cdqe
	mov	QWORD PTR -64[rbp], rax
	call	wpabuf_head@PLT
	mov	rdi, r14
	mov	QWORD PTR -72[rbp], rax
	call	wpabuf_len@PLT
	mov	esi, DWORD PTR WPS_AUTHKEY_LEN[rip]
	mov	edi, DWORD PTR [rbx]
	mov	r9, r12
	sub	eax, 4
	lea	rcx, -80[rbp]
	lea	r8, -64[rbp]
	mov	edx, 2
	sub	eax, DWORD PTR WPS_AUTHENTICATOR_LEN[rip]
	cdqe
	mov	QWORD PTR -56[rbp], rax
	call	hmac_sha256_vector@PLT
	mov	edx, DWORD PTR WPS_AUTHENTICATOR_LEN[rip]
	mov	rsi, r13
	mov	rdi, r12
	call	os_memcmp_const@PLT
	test	rax, rax
	jne	.L19
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR -40[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L19:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC2[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L18:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L17:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wps_process_authenticator, .-wps_process_authenticator
	.comm	WPS_AUTHKEY_LEN,4,4
	.comm	WPS_AUTHENTICATOR_LEN,4,4
	.comm	SHA256_MAC_LEN,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_attr_process.c_wps_process_authenticator.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS: No Authenticator attribute included\000"
	.align	2
.LC1:
	.ascii	"WPS: Last message not available for validating auth"
	.ascii	"enticator\000"
	.align	2
.LC2:
	.ascii	"WPS: Incorrect Authenticator\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wps_process_authenticator
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_process_authenticator, %function
wps_process_authenticator:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	ldr	r3, .L15
	subs	r5, r1, #0
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L15+4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	beq	.L11
	mov	r4, r0
	ldr	r0, [r0, #4]
	cmp	r0, #0
	beq	.L12
	mov	r6, r2
	bl	wpabuf_head
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [fp, #-40]
	bl	wpabuf_len
	mov	r3, r0
	mov	r0, r6
	str	r3, [fp, #-32]
	bl	wpabuf_head
	mov	r3, r0
	mov	r0, r6
	str	r3, [fp, #-36]
	bl	wpabuf_len
	ldr	r6, .L15+8
	ldr	r2, .L15+12
	ldr	r1, [r6]
	add	r7, sp, #8
	str	r7, [sp, #4]
	sub	ip, r0, #4
	sub	r3, fp, #32
	sub	ip, ip, r1
	ldr	r0, [r4]
	ldr	r1, [r2]
	mov	r2, #2
	str	r3, [sp]
	sub	r3, fp, #40
	str	ip, [fp, #-28]
	bl	hmac_sha256_vector
	mov	r1, r5
	mov	r0, r7
	ldr	r2, [r6]
	bl	os_memcmp_const
	cmp	r0, #0
	bne	.L13
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L13:
	ldr	r3, .L15+16
	ldr	r1, .L15+20
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L12:
	ldr	r3, .L15+16
	ldr	r1, .L15+24
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L11:
	ldr	r3, .L15+16
	ldr	r1, .L15+28
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	SHA256_MAC_LEN
	.word	.LC3
	.word	WPS_AUTHENTICATOR_LEN
	.word	WPS_AUTHKEY_LEN
	.word	MSG_DEBUG
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	wps_process_authenticator, .-wps_process_authenticator
	.comm	WPS_AUTHKEY_LEN,4,4
	.comm	WPS_AUTHENTICATOR_LEN,4,4
	.comm	SHA256_MAC_LEN,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
