	.file	"extr_cts128.c_CRYPTO_nistcts128_encrypt_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CRYPTO_nistcts128_encrypt_block
	.type	CRYPTO_nistcts128_encrypt_block, @function
CRYPTO_nistcts128_encrypt_block:
.LFB0:
	.cfi_startproc
	endbr64
	xor	r10d, r10d
	cmp	rdx, 15
	ja	.L14
	mov	rax, r10
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10, rdx
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	and	r10, -16
	and	r15d, 15
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	mov	rdx, r10
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], r10
	mov	QWORD PTR 8[rsp], rdi
	call	CRYPTO_cbc128_encrypt@PLT
	test	r15, r15
	mov	r10, QWORD PTR [rsp]
	je	.L1
	mov	rdi, QWORD PTR 8[rsp]
	xor	eax, eax
	lea	rcx, [rdi+r10]
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	edx, BYTE PTR [rcx+rax]
	xor	BYTE PTR 0[rbp+rax], dl
	add	rax, 1
	cmp	r15, rax
	jne	.L3
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, rbp
	call	r13
	lea	rdi, -16[r12+rbx]
	mov	edx, 16
	mov	rsi, rbp
	call	memcpy@PLT
	mov	r10, rbx
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rax, r10
	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
	.cfi_endproc
.LFE0:
	.size	CRYPTO_nistcts128_encrypt_block, .-CRYPTO_nistcts128_encrypt_block
	.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_cts128.c_CRYPTO_nistcts128_encrypt_block.c"
	.text
	.align	2
	.global	CRYPTO_nistcts128_encrypt_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	CRYPTO_nistcts128_encrypt_block, %function
CRYPTO_nistcts128_encrypt_block:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r2, #15
	sub	sp, sp, #8
	movls	r10, #0
	ldr	r7, [sp, #40]
	bhi	.L11
.L1:
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r4, r2
	bic	r10, r2, #15
	ldr	r2, [sp, #44]
	str	r7, [sp]
	str	r2, [sp, #4]
	and	r9, r4, #15
	mov	r2, r10
	mov	r8, r0
	mov	r5, r1
	mov	r6, r3
	bl	CRYPTO_cbc128_encrypt
	cmp	r9, #0
	beq	.L1
	sub	r0, r10, #1
	sub	ip, r7, #1
	add	r0, r8, r0
	add	r2, ip, r9
.L3:
	ldrb	lr, [ip, #1]!	@ zero_extendqisi2
	ldrb	r3, [r0, #1]!	@ zero_extendqisi2
	cmp	ip, r2
	eor	lr, lr, r3
	strb	lr, [ip]
	bne	.L3
	mov	r10, r4
	mov	r2, r6
	mov	r1, r7
	ldr	r3, [sp, #44]
	mov	r0, r7
	blx	r3
	sub	r0, r4, #16
	mov	r1, r7
	mov	r2, #16
	add	r0, r5, r0
	bl	memcpy
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	CRYPTO_nistcts128_encrypt_block, .-CRYPTO_nistcts128_encrypt_block
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
