	.file	"extr_wps_enrollee.c_wps_enrollee_process_msg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS: Processing received message (len=%lu op_code=%d)"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"WPS: Unsupported op_code %d"
	.text
	.p2align 4
	.globl	wps_enrollee_process_msg
	.type	wps_enrollee_process_msg, @function
wps_enrollee_process_msg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	wpabuf_len@PLT
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	wpa_printf@PLT
	cmp	r12d, 128
	je	.L29
	cmp	r12d, 130
	je	.L7
	ja	.L8
	cmp	r12d, 129
	jne	.L9
.L6:
	mov	rdi, rbp
	call	wps_validate_wsc_nack@PLT
	test	eax, eax
	js	.L27
	mov	rsi, rbp
	mov	rdi, r13
	call	wps_process_wsc_nack@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	r12d, 131
	jne	.L9
.L5:
	mov	rdi, rbp
	call	wps_validate_wsc_ack@PLT
	test	eax, eax
	js	.L27
	mov	rsi, rbp
	mov	rdi, r13
	call	wps_process_wsc_ack@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	wpa_printf@PLT
.L27:
	mov	eax, DWORD PTR WPS_FAILURE[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	mov	rsi, rsp
	mov	rdi, rbp
	call	wps_parse_msg@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR WPS_WSC_ACK[rip]
	je	.L5
	cmp	rax, QWORD PTR WPS_WSC_NACK[rip]
	je	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, rbp
	mov	rdi, r13
	call	wps_process_wsc_msg@PLT
	jmp	.L1
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wps_enrollee_process_msg, .-wps_enrollee_process_msg
	.comm	WPS_WSC_NACK,8,8
	.comm	WPS_WSC_ACK,8,8
	.comm	WPS_FAILURE,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_enrollee_process_msg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS: Processing received message (len=%lu op_code=%"
	.ascii	"d)\000"
	.align	2
.LC1:
	.ascii	"WPS: Unsupported op_code %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wps_enrollee_process_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_enrollee_process_msg, %function
wps_enrollee_process_msg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L23
	ldr	r6, .L23+4
	sub	sp, sp, #8
	mov	r8, r0
	mov	r0, r2
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r7, [r6]
	bl	wpabuf_len
	mov	r3, r4
	mov	r2, r0
	ldr	r1, .L23+8
	mov	r0, r7
	bl	wpa_printf
	cmp	r4, #128
	beq	.L20
	sub	r3, r4, #129
	cmp	r3, #2
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L9:
	.word	.L6
	.word	.L7
	.word	.L5
.L20:
	mov	r1, sp
	mov	r0, r5
	bl	wps_parse_msg
	cmp	r0, #0
	bne	.L7
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L7
	ldr	r2, .L23+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L21
.L5:
	mov	r0, r5
	bl	wps_validate_wsc_ack
	cmp	r0, #0
	blt	.L18
	mov	r1, r5
	mov	r0, r8
	bl	wps_process_wsc_ack
	b	.L1
.L21:
	ldr	r2, .L23+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L7
.L6:
	mov	r0, r5
	bl	wps_validate_wsc_nack
	cmp	r0, #0
	blt	.L18
	mov	r1, r5
	mov	r0, r8
	bl	wps_process_wsc_nack
	b	.L1
.L7:
	mov	r1, r5
	mov	r0, r8
	bl	wps_process_wsc_msg
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L23+20
	bl	wpa_printf
.L18:
	ldr	r3, .L23+24
	ldr	r0, [r3]
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC2
	.word	MSG_DEBUG
	.word	.LC0
	.word	WPS_WSC_ACK
	.word	WPS_WSC_NACK
	.word	.LC1
	.word	WPS_FAILURE
	.size	wps_enrollee_process_msg, .-wps_enrollee_process_msg
	.comm	WPS_WSC_NACK,4,4
	.comm	WPS_WSC_ACK,4,4
	.comm	WPS_FAILURE,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
