	.file	"extr_skein_mod.c_skein_digest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	skein_digest, @function
skein_digest:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	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	SKEIN_CTX@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	ASSERT@PLT
	mov	rdi, rbp
	mov	rbx, QWORD PTR [r12]
	call	SKEIN_CTX@PLT
	mov	edi, DWORD PTR [rax]
	call	CRYPTO_BITS2BYTES@PLT
	cmp	rbx, rax
	jl	.L7
	mov	rsi, r14
	mov	edx, r13d
	mov	rdi, rbp
	call	skein_update@PLT
	cmp	DWORD PTR CRYPTO_SUCCESS[rip], eax
	mov	r14d, eax
	je	.L4
	mov	rdi, rbp
	call	SKEIN_CTX@PLT
	mov	esi, 4
	mov	rdi, rax
	call	bzero@PLT
	mov	rdi, rbp
	call	SKEIN_CTX@PLT
	mov	esi, 4
	mov	rdi, rax
	call	kmem_free@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	QWORD PTR [r12], 0
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	rsi, r12
	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	skein_final@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	SKEIN_CTX@PLT
	mov	edi, DWORD PTR [rax]
	call	CRYPTO_BITS2BYTES@PLT
	mov	r14d, DWORD PTR CRYPTO_BUFFER_TOO_SMALL[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	QWORD PTR [r12], rax
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r14d
	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	skein_digest, .-skein_digest
	.comm	CRYPTO_SUCCESS,4,4
	.comm	CRYPTO_BUFFER_TOO_SMALL,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_skein_mod.c_skein_digest.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skein_digest, %function
skein_digest:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r7, r1
	mov	r6, r3
	mov	r4, r0
	bl	SKEIN_CTX
	subs	r0, r0, #0
	movne	r0, #1
	bl	ASSERT
	mov	r0, r4
	ldr	r8, [r5]
	bl	SKEIN_CTX
	ldr	r0, [r0]
	bl	CRYPTO_BITS2BYTES
	cmp	r8, r0
	blt	.L7
	mov	r1, r7
	mov	r2, r6
	mov	r0, r4
	bl	skein_update
	ldr	r3, .L8
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	mov	r0, r4
	bl	SKEIN_CTX
	mov	r1, #4
	bl	bzero
	mov	r0, r4
	bl	SKEIN_CTX
	mov	r1, #4
	bl	kmem_free
	mov	r3, #0
	mov	r0, r7
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	skein_final
.L7:
	mov	r0, r4
	bl	SKEIN_CTX
	ldr	r0, [r0]
	bl	CRYPTO_BITS2BYTES
	ldr	r3, .L8+4
	str	r0, [r5]
	ldr	r7, [r3]
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	CRYPTO_SUCCESS
	.word	CRYPTO_BUFFER_TOO_SMALL
	.size	skein_digest, .-skein_digest
	.comm	CRYPTO_SUCCESS,4,4
	.comm	CRYPTO_BUFFER_TOO_SMALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
