	.file	"extr_e_devcrypto.c_rebuild_known_cipher_nids.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rebuild_known_cipher_nids, @function
rebuild_known_cipher_nids:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR cipher_data[rip]
	mov	QWORD PTR known_cipher_nids_amount[rip], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbx
	call	devcrypto_test_cipher@PLT
	mov	rdi, QWORD PTR cipher_data[rip]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR known_cipher_nids_amount[rip]
	mov	ecx, DWORD PTR [rdi+rbx*4]
	lea	rdx, 1[rax]
	mov	QWORD PTR known_cipher_nids_amount[rip], rdx
	mov	rdx, QWORD PTR known_cipher_nids[rip]
	mov	DWORD PTR [rdx+rax*4], ecx
.L4:
	add	rbx, 1
.L2:
	call	OSSL_NELEM@PLT
	cmp	rax, rbx
	ja	.L5
	mov	rdi, rbp
	call	ENGINE_unregister_ciphers@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ENGINE_register_ciphers@PLT
	.cfi_endproc
.LFE0:
	.size	rebuild_known_cipher_nids, .-rebuild_known_cipher_nids
	.comm	known_cipher_nids_amount,8,8
	.comm	known_cipher_nids,8,8
	.comm	cipher_data,8,8
	.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_e_devcrypto.c_rebuild_known_cipher_nids.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rebuild_known_cipher_nids, %function
rebuild_known_cipher_nids:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	ldr	r6, .L8
	ldr	r5, .L8+4
	mov	r8, r0
	ldr	r7, .L8+8
	ldr	r0, [r5]
	str	r4, [r6]
	b	.L2
.L5:
	mov	r0, r4
	bl	devcrypto_test_cipher
	cmp	r0, #0
	ldr	r0, [r5]
	ldrne	r3, [r6]
	ldrne	r1, [r0, r4, lsl #2]
	ldrne	r2, [r7]
	addne	ip, r3, #1
	strne	ip, [r6]
	add	r4, r4, #1
	strne	r1, [r2, r3, lsl #2]
.L2:
	bl	OSSL_NELEM
	cmp	r0, r4
	bhi	.L5
	mov	r0, r8
	bl	ENGINE_unregister_ciphers
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, lr}
	b	ENGINE_register_ciphers
.L9:
	.align	2
.L8:
	.word	known_cipher_nids_amount
	.word	cipher_data
	.word	known_cipher_nids
	.size	rebuild_known_cipher_nids, .-rebuild_known_cipher_nids
	.comm	known_cipher_nids_amount,4,4
	.comm	known_cipher_nids,4,4
	.comm	cipher_data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
