	.file	"extr_aes_small_ctr.c_br_aes_small_ctr_run.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	br_aes_small_ctr_run
	.type	br_aes_small_ctr_run, @function
br_aes_small_ctr_run:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 16[rsp], rcx
	mov	QWORD PTR 24[rsp], r8
	mov	rbx, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rbx
	xor	ebx, ebx
	test	r8, r8
	je	.L6
	mov	r12, rdi
	lea	rdi, -1[r8]
	lea	ebx, 1[rdx]
	mov	r13, rsi
	mov	rax, rdi
	mov	DWORD PTR 44[rsp], ebx
	mov	rbp, rcx
	mov	r14d, edx
	shr	rax, 4
	lea	r15, 48[rsp]
	add	ebx, eax
	mov	QWORD PTR 32[rsp], rax
	lea	rax, 60[rsp]
	mov	DWORD PTR 40[rsp], ebx
	mov	QWORD PTR 8[rsp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	mov	edx, 16
	mov	rsi, r15
	add	rbp, 16
	call	xorbuf@PLT
	mov	r14d, ebx
.L4:
	mov	edx, 12
	mov	rsi, r13
	lea	ebx, 1[r14]
	mov	rdi, r15
	call	memcpy@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, r14d
	call	br_enc32be@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR [r12]
	mov	rdx, r15
	call	br_aes_small_encrypt@PLT
	cmp	ebx, DWORD PTR 40[rsp]
	jne	.L3
	mov	rcx, QWORD PTR 32[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, r15
	mov	rdi, QWORD PTR 16[rsp]
	mov	r12d, DWORD PTR 44[rsp]
	mov	rax, rcx
	sal	rax, 4
	add	r12d, ecx
	sub	rdx, rax
	add	rdi, rax
	call	xorbuf@PLT
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	r12d, edx
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	br_aes_small_ctr_run, .-br_aes_small_ctr_run
	.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_aes_small_ctr.c_br_aes_small_ctr_run.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	br_aes_small_ctr_run
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_aes_small_ctr_run, %function
br_aes_small_ctr_run:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	r10, [sp, #64]
	mov	fp, r3
	ldr	r3, .L10
	cmp	r10, #0
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L1
	sub	r8, r10, #1
	bic	r7, r8, #15
	mov	r5, r0
	mov	r6, r1
	mov	r4, r2
	add	r7, fp, r7
	lsr	r8, r8, #4
	b	.L4
.L3:
	mov	r0, fp
	mov	r2, #16
	add	r1, sp, #4
	bl	xorbuf
	add	fp, fp, #16
.L4:
	mov	r2, #12
	mov	r1, r6
	add	r0, sp, #4
	bl	memcpy
	mov	r1, r4
	add	r0, sp, #16
	bl	br_enc32be
	ldr	r1, [r5]
	ldr	r0, [r5, #4]
	add	r2, sp, #4
	bl	br_aes_small_encrypt
	cmp	fp, r7
	add	r4, r4, #1
	bne	.L3
	rsb	r2, r8, r8, lsl #28
	add	r9, r9, r8
	mov	r0, fp
	add	r2, r10, r2, lsl #4
	add	r1, sp, #4
	add	r9, r9, #1
	bl	xorbuf
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	br_aes_small_ctr_run, .-br_aes_small_ctr_run
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
