	.file	"extr_eap_peap.c_eap_peap_get_isk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EAP-PEAP: Could not get key material from Phase 2"
	.text
	.p2align 4
	.type	eap_peap_get_isk, @function
eap_peap_get_isk:
.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, rdx
	mov	rdx, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rdi, r12
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	os_memset@PLT
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L10
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L10
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L10
	cmp	QWORD PTR [rax], 0
	je	.L10
	mov	rdi, r13
	call	rdx
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, r13
	mov	rsi, QWORD PTR [rbx]
	mov	rdx, rsp
	call	[QWORD PTR [rax]]
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rdx, QWORD PTR [rsp]
	cmp	rdx, rbp
	jbe	.L5
	mov	QWORD PTR [rsp], rbp
	mov	rdx, rbp
.L5:
	mov	rsi, r13
	mov	rdi, r12
	call	os_memcpy@PLT
	mov	rdi, r13
	call	os_free@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	eap_peap_get_isk, .-eap_peap_get_isk
	.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_peap.c_eap_peap_get_isk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EAP-PEAP: Could not get key material from Phase 2\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_peap_get_isk, %function
eap_peap_get_isk:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	mov	r4, r1
	mov	r2, r3
	mov	r5, r3
	ldr	r3, .L18
	sub	sp, sp, #12
	mov	r7, r0
	mov	r1, #0
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	os_memset
	ldr	ip, [r4, #4]
	cmp	ip, #0
	beq	.L10
	ldr	r1, [r4]
	cmp	r1, #0
	beq	.L15
	ldr	r3, [ip, #4]
	cmp	r3, #0
	beq	.L15
	ldr	ip, [ip]
	cmp	ip, #0
	beq	.L10
	mov	r0, r7
	blx	r3
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r4, #4]
	ldr	r1, [r4]
	mov	r0, r7
	mov	r2, sp
	ldr	r3, [r3]
	blx	r3
	subs	r4, r0, #0
	beq	.L4
	ldr	r2, [sp]
	mov	r0, r6
	cmp	r2, r5
	movhi	r2, r5
	mov	r1, r4
	strhi	r5, [sp]
	bl	os_memcpy
	mov	r0, r4
	bl	os_free
.L15:
	mov	r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r0, ip
	b	.L1
.L4:
	ldr	r3, .L18+4
	ldr	r1, .L18+8
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	MSG_DEBUG
	.word	.LC0
	.size	eap_peap_get_isk, .-eap_peap_get_isk
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
