	.file	"extr_testsha.h_vector_length.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vector_length, @function
vector_length:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 88
	mov	QWORD PTR -120[rbp], rdx
	mov	QWORD PTR -128[rbp], rcx
	mov	rcx, rsp
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR CF_MAXHASH[rip]
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L18:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L18
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L19
.L4:
	lea	rax, -68[rbp]
	mov	QWORD PTR -104[rbp], rsp
	mov	QWORD PTR -112[rbp], rax
	mov	rdi, rax
	call	[QWORD PTR 24[rbx]]
	cmp	QWORD PTR -96[rbp], 0
	je	.L8
	lea	r13, -64[rbp]
	xor	r12d, r12d
	lea	r15, -60[rbp]
	mov	rdi, r13
	call	[QWORD PTR 24[rbx]]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r14, QWORD PTR -104[rbp]
	mov	rdi, r13
	add	r12, 1
	mov	rsi, r14
	call	[QWORD PTR 8[rbx]]
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, QWORD PTR -112[rbp]
	mov	rsi, r14
	call	[QWORD PTR 16[rbx]]
	cmp	QWORD PTR -96[rbp], r12
	je	.L8
	mov	rdi, r13
	xor	r14d, r14d
	call	[QWORD PTR 24[rbx]]
	movzx	eax, r12b
	mov	DWORD PTR -84[rbp], eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR -84[rbp]
	add	r14, 1
	mov	edx, 1
	mov	rsi, r15
	mov	rdi, r13
	mov	DWORD PTR -60[rbp], eax
	call	[QWORD PTR 16[rbx]]
	cmp	r12, r14
	ja	.L6
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r14, QWORD PTR -104[rbp]
	mov	rdi, QWORD PTR -112[rbp]
	mov	rsi, r14
	call	[QWORD PTR 8[rbx]]
	mov	r15, QWORD PTR -128[rbp]
	xor	edi, edi
	cmp	QWORD PTR [rbx], r15
	sete	dil
	call	TEST_CHECK@PLT
	mov	rdi, QWORD PTR -120[rbp]
	mov	rdx, r15
	mov	rsi, r14
	call	memcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	TEST_CHECK@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L19:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vector_length, .-vector_length
	.comm	CF_MAXHASH,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_testsha.h_vector_length.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vector_length, %function
vector_length:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	mov	r9, r1
	ldr	r1, .L13
	mov	r10, r3
	ldr	r1, [r1]
	ldr	r3, .L13+4
	lsl	r1, r1, #2
	add	r1, r1, #7
	bic	r1, r1, #7
	ldr	r4, [r0, #12]
	sub	sp, sp, r1
	str	r2, [fp, #-56]
	mov	r5, r0
	sub	r0, fp, #52
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	blx	r4
	cmp	r9, #0
	mov	r8, sp
	beq	.L5
	ldr	r3, [r5, #12]
	sub	r0, fp, #48
	blx	r3
	mov	r6, #0
.L6:
	mov	r1, r8
	ldr	r3, [r5, #4]
	sub	r0, fp, #48
	blx	r3
	add	r6, r6, #1
	mov	r1, r8
	ldr	r3, [r5, #8]
	ldr	r2, [r5]
	sub	r0, fp, #52
	blx	r3
	cmp	r9, r6
	beq	.L5
	ldr	r3, [r5, #12]
	sub	r0, fp, #48
	blx	r3
	mov	r4, #0
	and	r7, r6, #255
.L3:
	mov	r2, #1
	ldr	r3, [r5, #8]
	str	r7, [fp, #-44]
	add	r4, r4, #1
	sub	r1, fp, #44
	sub	r0, fp, #48
	blx	r3
	cmp	r6, r4
	bhi	.L3
	b	.L6
.L5:
	ldr	r3, [r5, #4]
	mov	r1, r8
	sub	r0, fp, #52
	blx	r3
	ldr	r0, [r5]
	sub	r0, r0, r10
	clz	r0, r0
	lsr	r0, r0, #5
	bl	TEST_CHECK
	mov	r2, r10
	mov	r1, r8
	ldr	r0, [fp, #-56]
	bl	memcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	TEST_CHECK
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	CF_MAXHASH
	.word	.LC0
	.size	vector_length, .-vector_length
	.comm	CF_MAXHASH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
