	.file	"extr_eap_server_tls_common.c_eap_server_tls_derive_key.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	eap_server_tls_derive_key
	.type	eap_server_tls_derive_key, @function
eap_server_tls_derive_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], r8
	call	os_malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	esi, DWORD PTR 0[r13]
	mov	edi, DWORD PTR 0[rbp]
	mov	rcx, r15
	push	rbx
	.cfi_def_cfa_offset 96
	mov	r8, QWORD PTR 24[rsp]
	mov	rdx, r14
	mov	r9, rax
	call	tls_connection_export_key@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	rax, rax
	jne	.L11
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	os_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	eap_server_tls_derive_key, .-eap_server_tls_derive_key
	.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_server_tls_common.c_eap_server_tls_derive_key.c"
	.text
	.align	2
	.global	eap_server_tls_derive_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_server_tls_derive_key, %function
eap_server_tls_derive_key:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #20
	ldr	r8, [sp, #52]
	mov	r5, r0
	mov	r0, r8
	mov	r6, r1
	mov	r7, r2
	mov	r9, r3
	bl	os_malloc
	subs	r4, r0, #0
	beq	.L1
	stmib	sp, {r4, r8}
	ldr	r3, [sp, #48]
	mov	r2, r7
	str	r3, [sp]
	ldr	r1, [r6]
	mov	r3, r9
	ldr	r0, [r5]
	bl	tls_connection_export_key
	cmp	r0, #0
	bne	.L11
.L1:
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	r0, r4
	bl	os_free
	mov	r4, #0
	b	.L1
	.size	eap_server_tls_derive_key, .-eap_server_tls_derive_key
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
