	.file	"extr_vmac.c_vhash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vhash, @function
vhash:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	edx, edx
	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
	mov	rbp, rdi
	mov	rdi, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 24[rcx]
	mov	r11, QWORD PTR 32[rcx]
	mov	QWORD PTR 24[rsp], rcx
	mov	ecx, DWORD PTR VMAC_NHBYTES[rip]
	mov	r14d, DWORD PTR [rax]
	mov	r15d, DWORD PTR 4[rax]
	mov	eax, esi
	div	ecx
	cmp	QWORD PTR 16[rdi], 0
	mov	DWORD PTR 20[rsp], edx
	mov	r9d, eax
	je	.L2
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR [rax]
	mov	r13d, DWORD PTR 4[rax]
.L3:
	lea	r10d, -1[r9]
	mov	edx, ecx
	test	r9d, r9d
	je	.L7
	mov	QWORD PTR 8[rsp], r11
	mov	DWORD PTR 16[rsp], r12d
	mov	r12, rbp
	mov	ebp, r10d
	.p2align 4,,10
	.p2align 3
.L6:
	xor	r9d, r9d
	mov	rsi, QWORD PTR 8[rsp]
	mov	ecx, ebx
	mov	rdi, r12
	mov	r8d, r9d
	shr	edx, 3
	mov	DWORD PTR [rsp], r9d
	sub	ebp, 1
	call	nh_vmac_nhbytes@PLT
	mov	r9d, DWORD PTR [rsp]
	mov	edi, DWORD PTR 16[rsp]
	mov	edx, r14d
	and	ebx, DWORD PTR m62[rip]
	mov	ecx, r15d
	mov	esi, r13d
	mov	r8d, ebx
	call	poly_step@PLT
	mov	edx, DWORD PTR VMAC_NHBYTES[rip]
	mov	eax, edx
	shr	eax, 2
	lea	r12, [r12+rax*4]
	cmp	ebp, -1
	jne	.L6
	mov	rbp, r12
	mov	r11, QWORD PTR 8[rsp]
	mov	r12d, DWORD PTR 16[rsp]
.L7:
	mov	eax, DWORD PTR 20[rsp]
	test	eax, eax
	jne	.L19
.L5:
	mov	rbx, QWORD PTR 24[rsp]
	mov	rdi, rbx
	call	vhash_abort@PLT
	mov	rax, QWORD PTR [rbx]
	mov	r8d, DWORD PTR 20[rsp]
	mov	esi, r13d
	mov	edi, r12d
	mov	ecx, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	sal	r8d, 3
	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
	jmp	l3hash@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	eax, DWORD PTR 20[rsp]
	mov	ecx, ebx
	mov	rsi, r11
	mov	rdi, rbp
	lea	edx, 30[rax]
	add	eax, 15
	cmovns	edx, eax
	xor	r9d, r9d
	mov	r8d, r9d
	mov	DWORD PTR [rsp], r9d
	sar	edx, 4
	add	edx, edx
	call	nh_16@PLT
	mov	r9d, DWORD PTR [rsp]
	mov	ecx, r15d
	mov	edx, r14d
	and	ebx, DWORD PTR m62[rip]
	mov	esi, r13d
	mov	edi, r12d
	mov	r8d, ebx
	call	poly_step@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	test	eax, eax
	jne	.L20
	mov	edx, DWORD PTR 20[rsp]
	mov	r13d, r15d
	mov	r12d, r14d
	test	edx, edx
	je	.L5
	mov	eax, DWORD PTR 20[rsp]
	mov	rsi, r11
	mov	rdi, rbp
	mov	r8d, r15d
	lea	edx, 30[rax]
	add	eax, 15
	cmovns	edx, eax
	xor	r12d, r12d
	mov	ecx, r12d
	sar	edx, 4
	add	edx, edx
	call	nh_16@PLT
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, r15d
	and	r12d, DWORD PTR m62[rip]
	mov	edi, r12d
	call	ADD128@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	shr	ecx, 3
	xor	r13d, r13d
	xor	r12d, r12d
	mov	rsi, r11
	mov	edx, ecx
	mov	rdi, rbp
	mov	ecx, r12d
	mov	r8d, r13d
	mov	QWORD PTR [rsp], r11
	mov	DWORD PTR 16[rsp], eax
	call	nh_vmac_nhbytes@PLT
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, r13d
	and	r12d, DWORD PTR m62[rip]
	mov	edi, r12d
	call	ADD128@PLT
	mov	ecx, DWORD PTR VMAC_NHBYTES[rip]
	mov	r9d, DWORD PTR 16[rsp]
	mov	r11, QWORD PTR [rsp]
	mov	eax, ecx
	sub	r9d, 1
	shr	eax, 2
	lea	rbp, 0[rbp+rax*4]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vhash, .-vhash
	.comm	m62,4,4
	.comm	VMAC_NHBYTES,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_vmac.c_vhash.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vhash, %function
vhash:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	ldr	r2, .L18
	sub	sp, sp, #28
	ldr	r7, [r2]
	str	r3, [sp, #20]
	ldr	r3, [r3, #12]
	mov	r6, r0
	mov	r0, r1
	mov	r1, r7
	ldr	fp, [r3]
	ldr	r10, [r3, #4]
	bl	__aeabi_uidivmod
	mov	r2, r5
	ldr	r3, [r5, #8]
	str	r1, [sp, #16]
	cmp	r3, #0
	ldr	r3, [r2, #16]
	mov	r5, r0
	str	r3, [sp, #12]
	beq	.L2
	ldr	r3, [r2, #4]
	ldr	r9, [r3]
	ldr	r8, [r3, #4]
.L3:
	cmp	r5, #0
	sub	r5, r5, #1
	beq	.L7
	ldr	r3, .L18
	ldr	r2, [r3]
.L6:
	mov	r7, #0
	mov	r3, r4
	mov	r0, r6
	ldr	r1, [sp, #12]
	lsr	r2, r2, #3
	str	r7, [sp]
	bl	nh_vmac_nhbytes
	ldr	r3, .L18+4
	mov	r2, fp
	ldr	r3, [r3]
	mov	r1, r8
	and	r4, r4, r3
	mov	r0, r9
	mov	r3, r10
	str	r7, [sp, #4]
	str	r4, [sp]
	bl	poly_step
	ldr	r3, .L18
	sub	r5, r5, #1
	ldr	r2, [r3]
	cmn	r5, #1
	bic	r3, r2, #3
	add	r6, r6, r3
	bne	.L6
.L7:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	bne	.L16
.L5:
	ldr	r4, [sp, #20]
	mov	r0, r4
	bl	vhash_abort
	ldr	r3, [sp, #16]
	ldr	r2, [r4]
	lsl	ip, r3, #3
	mov	r1, r8
	ldm	r2, {r2, r3}
	mov	r0, r9
	str	ip, [sp]
	bl	l3hash
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r5, #0
	adds	r2, r3, #15
	addmi	r2, r3, #30
	asr	r2, r2, #4
	mov	r3, r4
	ldr	r1, [sp, #12]
	mov	r0, r6
	lsl	r2, r2, #1
	str	r5, [sp]
	bl	nh_16
	ldr	r3, .L18+4
	str	r5, [sp, #4]
	ldr	r2, [r3]
	mov	r1, r8
	and	r4, r4, r2
	mov	r3, r10
	mov	r2, fp
	mov	r0, r9
	str	r4, [sp]
	bl	poly_step
	b	.L5
.L2:
	cmp	r0, #0
	bne	.L17
	ldr	r3, [sp, #16]
	cmp	r3, #0
	moveq	r8, r10
	moveq	r9, fp
	beq	.L5
	mov	r8, #0
	adds	r2, r3, #15
	addmi	r2, r3, #30
	asr	r2, r2, #4
	mov	r3, r8
	ldr	r1, [sp, #12]
	mov	r0, r6
	lsl	r2, r2, #1
	str	r8, [sp]
	bl	nh_16
	mov	r3, r10
	mov	r2, fp
	mov	r1, r8
	mov	r0, r8
	mov	r9, r8
	bl	ADD128
	b	.L5
.L17:
	mov	r8, #0
	mov	r0, r6
	mov	r3, r8
	ldr	r1, [sp, #12]
	lsr	r2, r7, #3
	str	r8, [sp]
	bl	nh_vmac_nhbytes
	mov	r3, r10
	mov	r1, r8
	mov	r0, r8
	mov	r2, fp
	bl	ADD128
	ldr	r3, .L18
	mov	r9, r8
	ldr	r3, [r3]
	sub	r5, r5, #1
	bic	r3, r3, #3
	add	r6, r6, r3
	b	.L3
.L19:
	.align	2
.L18:
	.word	VMAC_NHBYTES
	.word	m62
	.size	vhash, .-vhash
	.comm	m62,4,4
	.comm	VMAC_NHBYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
