	.file	"extr_crypto-aes.c_AES_PRF.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"malloc: out memory"
.LC2:
	.string	"internal prf error"
.LC3:
	.string	"prf"
.LC4:
	.string	"krb5_derive_key"
.LC5:
	.string	"malloc failed"
	.text
	.p2align 4
	.type	AES_PRF, @function
AES_PRF:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rsi]
	lea	r15, 32[rsp]
	mov	rdi, r15
	mov	r10, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 16[r10]
	mov	rsi, QWORD PTR [r10]
	mov	QWORD PTR 8[rsp], r10
	mov	DWORD PTR 48[rsp], eax
	call	krb5_data_alloc@PLT
	mov	r10, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L18
	mov	edx, DWORD PTR 8[r13]
	mov	rcx, QWORD PTR 0[r13]
	mov	r9, r15
	xor	r8d, r8d
	xor	esi, esi
	mov	edi, ebp
	call	[QWORD PTR 8[r10]]
	mov	r12, rax
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR [rbx]
	mov	rcx, QWORD PTR [rax]
	cmp	QWORD PTR 32[rsp], rcx
	jl	.L20
.L5:
	mov	edx, DWORD PTR 16[rax]
	mov	esi, DWORD PTR 8[rbx]
	lea	r9, 24[rsp]
	mov	edi, ebp
	mov	r8d, 3
	lea	rcx, .LC3[rip]
	mov	QWORD PTR 24[rsp], 0
	call	krb5_derive_key@PLT
	test	rax, rax
	jne	.L21
.L6:
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r14
	mov	rsi, QWORD PTR [rax]
	call	krb5_data_alloc@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L22
.L7:
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rax]
	xor	eax, eax
	call	[QWORD PTR [rdx]]
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	EVP_CIPHER_CTX_new@PLT
	mov	r10, QWORD PTR 8[rsp]
	test	rax, rax
	mov	r13, rax
	je	.L23
.L8:
	mov	rax, QWORD PTR 24[rsp]
	mov	rsi, r10
	mov	r9d, 1
	xor	edx, edx
	xor	r8d, r8d
	mov	rdi, r13
	mov	ecx, DWORD PTR [rax]
	call	EVP_CipherInit_ex@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 8[r14]
	mov	rdi, r13
	mov	edx, DWORD PTR 40[rsp]
	mov	rcx, QWORD PTR [rax]
	call	EVP_Cipher@PLT
	mov	rdi, r13
	call	EVP_CIPHER_CTX_free@PLT
	mov	rdi, r15
	call	krb5_data_free@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	edi, ebp
	call	krb5_free_keyblock@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 72
	.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
.L22:
	.cfi_restore_state
	lea	rsi, .LC5[rip]
	mov	edi, ebp
	call	krb5_abortx@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC4[rip]
	mov	edi, ebp
	call	krb5_abortx@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC2[rip]
	mov	edi, ebp
	call	krb5_abortx@PLT
	mov	rax, QWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	r12, rax
	call	N_@PLT
	mov	rsi, r12
	mov	edi, ebp
	mov	edx, eax
	call	krb5_set_error_message@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r15
	call	krb5_data_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rsi, .LC5[rip]
	mov	edi, ebp
	call	krb5_abortx@PLT
	mov	r10, QWORD PTR 8[rsp]
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AES_PRF, .-AES_PRF
	.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_crypto-aes.c_AES_PRF.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"malloc: out memory\000"
	.align	2
.LC2:
	.ascii	"internal prf error\000"
	.align	2
.LC3:
	.ascii	"prf\000"
	.align	2
.LC4:
	.ascii	"krb5_derive_key\000"
	.align	2
.LC5:
	.ascii	"malloc failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AES_PRF, %function
AES_PRF:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r1
	ldr	r1, [r1]
	sub	sp, sp, #36
	ldr	r9, [r1, #12]
	mov	r8, r3
	ldr	ip, [r9, #8]
	ldr	r3, .L25
	ldr	r1, [r9]
	mov	r7, r0
	add	r0, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r2
	str	ip, [sp, #24]
	bl	krb5_data_alloc
	subs	r4, r0, #0
	bne	.L18
	add	r3, sp, #16
	str	r4, [sp]
	str	r3, [sp, #4]
	mov	r1, r4
	mov	r0, r7
	ldr	r9, [r9, #4]
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	blx	r9
	subs	r4, r0, #0
	bne	.L19
	ldr	r3, [r6]
	ldr	r1, [sp, #16]
	ldr	r2, [r3]
	cmp	r1, r2
	blt	.L20
.L5:
	mov	r1, #3
	mov	ip, #0
	ldr	r2, [r3, #8]
	add	r3, sp, #12
	stm	sp, {r1, r3}
	mov	r0, r7
	ldr	r3, .L25+4
	ldr	r1, [r6, #4]
	str	ip, [sp, #12]
	bl	krb5_derive_key
	cmp	r0, #0
	bne	.L21
.L6:
	ldr	r3, [r6]
	mov	r0, r8
	ldr	r1, [r3]
	bl	krb5_data_alloc
	subs	r4, r0, #0
	bne	.L22
.L7:
	ldr	r3, [r6]
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
	blx	r3
	mov	r9, r0
	bl	EVP_CIPHER_CTX_new
	subs	r5, r0, #0
	beq	.L23
.L8:
	mov	r2, #0
	mov	r0, #1
	ldr	r3, [sp, #12]
	mov	r1, r9
	ldr	r3, [r3]
	str	r0, [sp, #4]
	str	r2, [sp]
	mov	r0, r5
	bl	EVP_CipherInit_ex
	ldr	r3, [r6]
	ldr	r1, [r8, #4]
	ldr	r3, [r3]
	ldr	r2, [sp, #20]
	mov	r0, r5
	bl	EVP_Cipher
	mov	r0, r5
	bl	EVP_CIPHER_CTX_free
	add	r0, sp, #16
	bl	krb5_data_free
	mov	r0, r7
	ldr	r1, [sp, #12]
	bl	krb5_free_keyblock
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L22:
	mov	r0, r7
	ldr	r1, .L25+8
	bl	krb5_abortx
	b	.L7
.L21:
	mov	r0, r7
	ldr	r1, .L25+12
	bl	krb5_abortx
	b	.L6
.L20:
	mov	r0, r7
	ldr	r1, .L25+16
	bl	krb5_abortx
	ldr	r3, [r6]
	b	.L5
.L18:
	ldr	r1, .L25+20
	ldr	r0, .L25+24
	bl	N_
	mov	r1, r4
	mov	r2, r0
	mov	r0, r7
	bl	krb5_set_error_message
	b	.L1
.L19:
	add	r0, sp, #16
	bl	krb5_data_free
	b	.L1
.L23:
	mov	r0, r7
	ldr	r1, .L25+8
	bl	krb5_abortx
	b	.L8
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC6
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	AES_PRF, .-AES_PRF
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
