	.file	"extr_ssl_rec_chapol.c_chapol_encrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	chapol_encrypt, @function
chapol_encrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	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 [r8]
	mov	rbx, rcx
	lea	r9, [rcx+rbp]
	mov	r8, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	push	1
	.cfi_def_cfa_offset 64
	call	gen_chapol_process@PLT
	mov	BYTE PTR -5[rbx], r14b
	mov	esi, r12d
	lea	rdi, -4[rbx]
	call	br_enc16be@PLT
	lea	rsi, 16[rbp]
	lea	rdi, -2[rbx]
	add	rbp, 21
	call	br_enc16be@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	mov	QWORD PTR 0[r13], rbp
	lea	rax, -5[rbx]
	pop	rcx
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	chapol_encrypt, .-chapol_encrypt
	.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_ssl_rec_chapol.c_chapol_encrypt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	chapol_encrypt, %function
chapol_encrypt:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	r6, r2
	mov	r7, r1
	sub	sp, sp, #16
	ldr	r8, [sp, #40]
	str	ip, [sp, #8]
	ldr	r5, [r8]
	add	ip, r3, r5
	stm	sp, {r5, ip}
	bl	gen_chapol_process
	mov	r1, r6
	strb	r7, [r4, #-5]
	sub	r0, r4, #4
	bl	br_enc16be
	add	r1, r5, #16
	sub	r0, r4, #2
	bl	br_enc16be
	add	r5, r5, #21
	sub	r0, r4, #5
	str	r5, [r8]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
	.size	chapol_encrypt, .-chapol_encrypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
