	.file	"extr_eap_teap.c_eap_teap_process_pac_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EAP-TEAP: PAC-Info overrun (type=%d len=%lu left=%lu)"
	.align 8
.LC1:
	.string	"EAP-TEAP: PAC-Info does not include all the required fields"
	.text
	.p2align 4
	.type	eap_teap_process_pac_info, @function
eap_teap_process_pac_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	eax, DWORD PTR PAC_TYPE_TUNNEL_PAC[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR [rdi]
	mov	DWORD PTR 24[rdi], eax
	mov	rbx, QWORD PTR 16[rdi]
	cmp	rbp, 8
	ja	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, rax
	mov	rdx, rbx
	mov	esi, r14d
	mov	rdi, r13
	call	eap_teap_parse_pac_info@PLT
	test	rax, rax
	js	.L7
	sub	rbp, r12
	lea	rbx, [rbx+r12*4]
	cmp	rbp, 8
	jbe	.L2
.L5:
	mov	edi, DWORD PTR 4[rbx]
	sub	rbp, 8
	add	rbx, 32
	call	be_to_host16@PLT
	mov	edi, DWORD PTR -32[rbx]
	mov	r14, rax
	call	be_to_host16@PLT
	mov	r12, rax
	cmp	rax, rbp
	jbe	.L3
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rcx, rax
	mov	r8, rbp
	mov	edx, r14d
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	eax, -1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 12[r13]
	test	edx, edx
	je	.L6
	mov	eax, DWORD PTR 8[r13]
	test	eax, eax
	je	.L6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	eap_teap_process_pac_info, .-eap_teap_process_pac_info
	.comm	PAC_TYPE_TUNNEL_PAC,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_eap_teap.c_eap_teap_process_pac_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EAP-TEAP: PAC-Info overrun (type=%d len=%lu left=%l"
	.ascii	"u)\000"
	.align	2
.LC1:
	.ascii	"EAP-TEAP: PAC-Info does not include all the require"
	.ascii	"d fields\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_teap_process_pac_info, %function
eap_teap_process_pac_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15
	ldr	r7, [r0]
	ldr	r3, [r3]
	cmp	r7, #8
	mov	r8, r0
	ldr	r4, [r0, #12]
	sub	sp, sp, #8
	str	r3, [r0, #16]
	bhi	.L5
	b	.L2
.L3:
	mov	r3, r0
	mov	r1, r6
	mov	r2, r4
	mov	r0, r8
	bl	eap_teap_parse_pac_info
	cmp	r0, #0
	blt	.L7
	cmp	r7, #8
	add	r4, r4, r5, lsl #2
	bls	.L2
.L5:
	ldr	r0, [r4, #4]
	bl	be_to_host16
	mov	r6, r0
	ldr	r0, [r4], #32
	bl	be_to_host16
	sub	r3, r7, #8
	cmp	r0, r3
	mov	r5, r0
	sub	r7, r3, r0
	bls	.L3
	ldr	r1, .L15+4
	str	r3, [sp]
	mov	r2, r6
	mov	r3, r0
	ldr	r0, [r1]
	ldr	r1, .L15+8
	bl	wpa_printf
	mvn	r0, #0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r8, #8]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r8, #4]
	cmp	r3, #0
	movne	r0, #0
	bne	.L1
.L6:
	ldr	r3, .L15+4
	ldr	r1, .L15+12
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L7:
	mvn	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	PAC_TYPE_TUNNEL_PAC
	.word	MSG_DEBUG
	.word	.LC0
	.word	.LC1
	.size	eap_teap_process_pac_info, .-eap_teap_process_pac_info
	.comm	PAC_TYPE_TUNNEL_PAC,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
