	.file	"extr_sha2-ce-glue.c_sha256_ce_finup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sha256_ce_finup, @function
sha256_ce_finup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	shash_desc_ctx@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L2
	mov	eax, r12d
	xor	edx, edx
	div	DWORD PTR SHA256_BLOCK_SIZE[rip]
	test	edx, edx
	jne	.L2
	test	r12d, r12d
	jne	.L25
.L2:
	xor	eax, eax
	call	crypto_simd_usable@PLT
	test	eax, eax
	jne	.L26
	test	r12d, r12d
	jne	.L6
.L5:
	mov	rsi, QWORD PTR sha256_block_data_order[rip]
	mov	rdi, rbp
	call	sha256_base_do_finalize@PLT
.L23:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r14
	mov	rdi, rbp
	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
	jmp	sha256_base_finish@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rcx, QWORD PTR sha256_block_data_order[rip]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	sha256_base_do_update@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	xor	eax, eax
	call	crypto_simd_usable@PLT
	test	eax, eax
	je	.L6
	mov	DWORD PTR [rbx], 1
	xor	eax, eax
	call	kernel_neon_begin@PLT
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	mov	rcx, QWORD PTR sha2_ce_transform[rip]
	call	sha256_base_do_update@PLT
.L8:
	xor	eax, eax
	call	kernel_neon_end@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L26:
	mov	DWORD PTR [rbx], 0
	xor	eax, eax
	call	kernel_neon_begin@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, r12d
	mov	rcx, QWORD PTR sha2_ce_transform[rip]
	call	sha256_base_do_update@PLT
	mov	rsi, QWORD PTR sha2_ce_transform[rip]
	mov	rdi, rbp
	call	sha256_base_do_finalize@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	sha256_ce_finup, .-sha256_ce_finup
	.comm	sha2_ce_transform,8,8
	.comm	sha256_block_data_order,8,8
	.comm	SHA256_BLOCK_SIZE,4,4
	.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_sha2-ce-glue.c_sha256_ce_finup.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sha256_ce_finup, %function
sha256_ce_finup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r3
	mov	r8, r1
	mov	r5, r2
	mov	r4, r0
	bl	shash_desc_ctx
	ldr	r3, [r0, #4]
	mov	r6, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L21
	mov	r0, r5
	ldr	r1, [r3]
	bl	__aeabi_uidivmod
	subs	r3, r5, #0
	movne	r3, #1
	cmp	r1, #0
	movne	r3, #0
	cmp	r3, #0
	bne	.L19
.L2:
	bl	crypto_simd_usable
	cmp	r0, #0
	bne	.L20
	cmp	r5, #0
	bne	.L5
	ldr	r6, .L21+4
.L4:
	ldr	r1, [r6]
	mov	r0, r4
	bl	sha256_base_do_finalize
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	sha256_base_finish
.L5:
	ldr	r6, .L21+4
	mov	r2, r5
	mov	r1, r8
	mov	r0, r4
	ldr	r3, [r6]
	bl	sha256_base_do_update
	b	.L4
.L19:
	bl	crypto_simd_usable
	cmp	r0, #0
	beq	.L5
	mov	r3, #1
	str	r3, [r6]
	bl	kernel_neon_begin
	ldr	r3, .L21+8
	mov	r2, r5
	mov	r1, r8
	mov	r0, r4
	ldr	r3, [r3]
	bl	sha256_base_do_update
.L7:
	bl	kernel_neon_end
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	sha256_base_finish
.L20:
	mov	r3, #0
	ldr	r9, .L21+8
	str	r3, [r6]
	bl	kernel_neon_begin
	mov	r1, r8
	mov	r2, r5
	mov	r0, r4
	ldr	r3, [r9]
	bl	sha256_base_do_update
	mov	r0, r4
	ldr	r1, [r9]
	bl	sha256_base_do_finalize
	b	.L7
.L22:
	.align	2
.L21:
	.word	SHA256_BLOCK_SIZE
	.word	sha256_block_data_order
	.word	sha2_ce_transform
	.size	sha256_ce_finup, .-sha256_ce_finup
	.comm	sha2_ce_transform,4,4
	.comm	sha256_block_data_order,4,4
	.comm	SHA256_BLOCK_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
