	.file	"extr_eap_ttls.c_eap_ttls_phase2_select_eap_method.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EAP-TTLS: Selected Phase 2 EAP vendor %d method %d"
	.text
	.p2align 4
	.type	eap_ttls_phase2_select_eap_method, @function
eap_ttls_phase2_select_eap_method:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, rsi
	mov	rsi, QWORD PTR [rdi]
	test	rsi, rsi
	je	.L1
	mov	r8, QWORD PTR EAP_VENDOR_IETF[rip]
	mov	rax, QWORD PTR 24[rdi]
	xor	edx, edx
.L5:
	cmp	QWORD PTR [rax], r8
	jne	.L3
	cmp	QWORD PTR 8[rax], rcx
	je	.L4
.L3:
	add	rdx, 1
	add	rax, 16
	cmp	rsi, rdx
	jne	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR 8[rdi], r8
	mov	rdx, r8
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 16[rdi], rcx
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	jmp	wpa_printf@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	eap_ttls_phase2_select_eap_method, .-eap_ttls_phase2_select_eap_method
	.comm	MSG_DEBUG,4,4
	.comm	EAP_VENDOR_IETF,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_ttls.c_eap_ttls_phase2_select_eap_method.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EAP-TTLS: Selected Phase 2 EAP vendor %d method %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_ttls_phase2_select_eap_method, %function
eap_ttls_phase2_select_eap_method:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	popeq	{r4, r5, pc}
	mov	ip, #0
	ldr	r2, .L13
	mov	r3, r1
	ldr	r1, [r0, #12]
	ldr	r2, [r2]
	add	r5, r1, #4
.L5:
	ldr	lr, [r1, ip, lsl #3]
	cmp	lr, r2
	bne	.L3
	ldr	lr, [r5, ip, lsl #3]
	cmp	lr, r3
	beq	.L4
.L3:
	add	ip, ip, #1
	cmp	r4, ip
	bne	.L5
	pop	{r4, r5, pc}
.L4:
	ldr	r1, .L13+4
	stmib	r0, {r2, r3}
	pop	{r4, r5, lr}
	ldr	r0, [r1]
	ldr	r1, .L13+8
	b	wpa_printf
.L14:
	.align	2
.L13:
	.word	EAP_VENDOR_IETF
	.word	MSG_DEBUG
	.word	.LC0
	.size	eap_ttls_phase2_select_eap_method, .-eap_ttls_phase2_select_eap_method
	.comm	MSG_DEBUG,4,4
	.comm	EAP_VENDOR_IETF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
