	.file	"extr_eap_vendor_test.c_eap_vendor_test_process.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EAP-VENDOR-TEST: Unexpected message %d in INIT state"
	.align 8
.LC1:
	.string	"EAP-VENDOR-TEST: Unexpected message %d in CONFIRM state"
	.align 8
.LC2:
	.string	"EAP-VENDOR-TEST: Unexpected message in SUCCESS state"
	.align 8
.LC3:
	.string	"EAP-VENDOR-TEST: Testing pending request"
	.align 8
.LC4:
	.string	"EAP-VENDOR-TEST: Generating Response"
	.text
	.p2align 4
	.type	eap_vendor_test_process, @function
eap_vendor_test_process:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	mov	rdx, r12
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR EAP_VENDOR_TYPE[rip]
	mov	edi, DWORD PTR EAP_VENDOR_ID[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	call	eap_hdr_validate@PLT
	test	rax, rax
	je	.L23
	cmp	QWORD PTR [rsp], 0
	je	.L23
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR INIT[rip]
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	je	.L26
	cmp	rdx, QWORD PTR CONFIRM[rip]
	je	.L27
.L7:
	cmp	rdx, QWORD PTR SUCCESS[rip]
	je	.L11
.L9:
	mov	rax, QWORD PTR FALSE[rip]
	lea	rsi, .LC4[rip]
	mov	QWORD PTR 16[rbx], rax
	xor	eax, eax
	call	wpa_printf@PLT
	mov	rax, QWORD PTR TRUE[rip]
	mov	rdi, r12
	mov	QWORD PTR 8[rbx], rax
	call	eap_get_id@PLT
	mov	ecx, DWORD PTR EAP_CODE_RESPONSE[rip]
	mov	esi, DWORD PTR EAP_VENDOR_TYPE[rip]
	mov	edx, 1
	mov	edi, DWORD PTR EAP_VENDOR_ID[rip]
	mov	r8d, eax
	call	eap_msg_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR INIT[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L28
	mov	esi, 4
	mov	rdi, r12
	call	wpabuf_put_u8@PLT
	mov	rax, QWORD PTR SUCCESS[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR METHOD_DONE[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR DECISION_UNCOND_SUCC[rip]
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.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
.L27:
	.cfi_restore_state
	mov	r8d, DWORD PTR [rax]
	cmp	r8d, 3
	jne	.L13
	cmp	rdx, QWORD PTR SUCCESS[rip]
	je	.L11
	cmp	QWORD PTR 16[rbp], 0
	je	.L9
	cmp	QWORD PTR 8[rbp], 0
	je	.L9
	mov	QWORD PTR 8[rbp], 0
	lea	rsi, .LC3[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	wpa_printf@PLT
	mov	edx, DWORD PTR eap_vendor_ready[rip]
	xor	r8d, r8d
	xor	esi, esi
	mov	rax, QWORD PTR TRUE[rip]
	mov	rcx, r13
	mov	edi, 1
	mov	QWORD PTR 16[rbx], rax
	call	eloop_register_timeout@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	r8d, DWORD PTR [rax]
	cmp	r8d, 1
	jne	.L30
	cmp	rdx, QWORD PTR CONFIRM[rip]
	jne	.L7
.L13:
	mov	edx, r8d
	lea	rsi, .LC1[rip]
.L24:
	xor	eax, eax
	call	wpa_printf@PLT
.L23:
	mov	rax, QWORD PTR TRUE[rip]
	xor	r12d, r12d
	mov	QWORD PTR 16[rbx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	esi, 2
	mov	rdi, r12
	call	wpabuf_put_u8@PLT
	mov	rax, QWORD PTR CONFIRM[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR METHOD_CONT[rip]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR DECISION_FAIL[rip]
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edx, r8d
	lea	rsi, .LC0[rip]
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, .LC2[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	wpa_printf@PLT
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 16[rbx], rax
	jmp	.L1
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	eap_vendor_test_process, .-eap_vendor_test_process
	.comm	eap_vendor_ready,4,4
	.comm	TRUE,8,8
	.comm	SUCCESS,8,8
	.comm	MSG_DEBUG,4,4
	.comm	METHOD_DONE,4,4
	.comm	METHOD_CONT,4,4
	.comm	INIT,8,8
	.comm	FALSE,8,8
	.comm	EAP_VENDOR_TYPE,4,4
	.comm	EAP_VENDOR_ID,4,4
	.comm	EAP_CODE_RESPONSE,4,4
	.comm	DECISION_UNCOND_SUCC,4,4
	.comm	DECISION_FAIL,4,4
	.comm	CONFIRM,8,8
	.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_eap_vendor_test.c_eap_vendor_test_process.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EAP-VENDOR-TEST: Unexpected message %d in INIT stat"
	.ascii	"e\000"
	.align	2
.LC1:
	.ascii	"EAP-VENDOR-TEST: Unexpected message %d in CONFIRM s"
	.ascii	"tate\000"
	.align	2
.LC2:
	.ascii	"EAP-VENDOR-TEST: Unexpected message in SUCCESS stat"
	.ascii	"e\000"
	.align	2
.LC3:
	.ascii	"EAP-VENDOR-TEST: Testing pending request\000"
	.align	2
.LC4:
	.ascii	"EAP-VENDOR-TEST: Generating Response\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_vendor_test_process, %function
eap_vendor_test_process:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, .L38
	sub	sp, sp, #28
	ldr	r8, .L38+4
	str	ip, [sp, #12]
	ldr	ip, .L38+8
	mov	r6, r3
	mov	r5, r1
	mov	r4, r2
	ldr	r1, [r7]
	mov	r2, r3
	ldr	r0, [r8]
	add	r3, sp, #16
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	eap_hdr_validate
	subs	r3, r0, #0
	beq	.L30
	ldr	r2, [sp, #16]
	cmp	r2, #0
	beq	.L30
	ldr	r9, .L38+12
	ldr	r1, [r5]
	ldr	r0, [r9]
	ldr	r2, .L38+16
	cmp	r1, r0
	ldr	r0, [r2]
	beq	.L33
	ldr	fp, .L38+20
	ldr	r2, [fp]
	cmp	r1, r2
	beq	.L34
.L7:
	ldr	r10, .L38+24
	ldr	r3, [r10]
	cmp	r1, r3
	beq	.L11
.L9:
	ldr	r3, .L38+28
	ldr	r1, .L38+32
	ldr	r3, [r3]
	str	r3, [r4, #12]
	bl	wpa_printf
	ldr	r2, .L38+36
	ldr	r3, .L38+40
	ldr	r2, [r2]
	mov	r0, r6
	str	r2, [r4, #8]
	ldr	r6, [r8]
	ldr	r7, [r7]
	ldr	r8, [r3]
	bl	eap_get_id
	mov	r3, r8
	str	r0, [sp]
	mov	r1, r7
	mov	r0, r6
	mov	r2, #1
	bl	eap_msg_alloc
	subs	r6, r0, #0
	beq	.L1
	ldr	r3, [r9]
	ldr	r2, [r5]
	cmp	r2, r3
	beq	.L35
	mov	r1, #4
	bl	wpabuf_put_u8
	ldr	r2, .L38+44
	ldr	r3, .L38+48
	ldr	r1, [r10]
.L29:
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r1, [r5]
	str	r2, [r4, #4]
	str	r3, [r4]
.L1:
	ldr	r3, .L38+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L36
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	ldr	r2, [r3]
	cmp	r2, #3
	bne	.L13
	ldr	r10, .L38+24
	ldr	r3, [r10]
	cmp	r1, r3
	beq	.L11
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L9
	mov	r6, #0
	ldr	r1, .L38+52
	str	r6, [r5, #4]
	bl	wpa_printf
	ldr	r3, .L38+36
	ldr	r2, .L38+56
	ldr	r1, [r3]
	str	r6, [sp]
	ldr	r3, [sp, #12]
	str	r1, [r4, #12]
	ldr	r2, [r2]
	mov	r1, r6
	mov	r0, #1
	bl	eloop_register_timeout
	b	.L1
.L33:
	ldr	r2, [r3]
	cmp	r2, #1
	bne	.L37
	ldr	fp, .L38+20
	ldr	r3, [fp]
	cmp	r1, r3
	bne	.L7
.L13:
	ldr	r1, .L38+60
.L31:
	bl	wpa_printf
.L30:
	ldr	r3, .L38+36
	mov	r6, #0
	ldr	r3, [r3]
	str	r3, [r4, #12]
	b	.L1
.L35:
	mov	r1, #2
	bl	wpabuf_put_u8
	ldr	r2, .L38+64
	ldr	r3, .L38+68
	ldr	r1, [fp]
	b	.L29
.L37:
	ldr	r1, .L38+72
	b	.L31
.L11:
	ldr	r1, .L38+76
	bl	wpa_printf
	ldr	r3, .L38+36
	mov	r6, #0
	ldr	r3, [r3]
	str	r3, [r4, #12]
	b	.L1
.L36:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	EAP_VENDOR_TYPE
	.word	EAP_VENDOR_ID
	.word	.LC5
	.word	INIT
	.word	MSG_DEBUG
	.word	CONFIRM
	.word	SUCCESS
	.word	FALSE
	.word	.LC4
	.word	TRUE
	.word	EAP_CODE_RESPONSE
	.word	METHOD_DONE
	.word	DECISION_UNCOND_SUCC
	.word	.LC3
	.word	eap_vendor_ready
	.word	.LC1
	.word	METHOD_CONT
	.word	DECISION_FAIL
	.word	.LC0
	.word	.LC2
	.size	eap_vendor_test_process, .-eap_vendor_test_process
	.comm	eap_vendor_ready,4,4
	.comm	TRUE,4,4
	.comm	SUCCESS,4,4
	.comm	MSG_DEBUG,4,4
	.comm	METHOD_DONE,4,4
	.comm	METHOD_CONT,4,4
	.comm	INIT,4,4
	.comm	FALSE,4,4
	.comm	EAP_VENDOR_TYPE,4,4
	.comm	EAP_VENDOR_ID,4,4
	.comm	EAP_CODE_RESPONSE,4,4
	.comm	DECISION_UNCOND_SUCC,4,4
	.comm	DECISION_FAIL,4,4
	.comm	CONFIRM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
