	.file	"extr_eng_table.c_engine_table_cleanup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	engine_table_cleanup
	.type	engine_table_cleanup, @function
engine_table_cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edi, DWORD PTR global_engine_lock[rip]
	call	CRYPTO_THREAD_write_lock@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L2
	mov	esi, DWORD PTR int_cleanup_cb_doall[rip]
	call	lh_ENGINE_PILE_doall@PLT
	mov	rdi, QWORD PTR [rbx]
	call	lh_ENGINE_PILE_free@PLT
	mov	QWORD PTR [rbx], 0
.L2:
	mov	edi, DWORD PTR global_engine_lock[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	CRYPTO_THREAD_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	engine_table_cleanup, .-engine_table_cleanup
	.comm	int_cleanup_cb_doall,4,4
	.comm	global_engine_lock,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_eng_table.c_engine_table_cleanup.c"
	.text
	.align	2
	.global	engine_table_cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	engine_table_cleanup, %function
engine_table_cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L8
	ldr	r0, [r5]
	bl	CRYPTO_THREAD_write_lock
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L8+4
	ldr	r1, [r3]
	bl	lh_ENGINE_PILE_doall
	ldr	r0, [r4]
	bl	lh_ENGINE_PILE_free
	mov	r3, #0
	str	r3, [r4]
.L2:
	ldr	r0, [r5]
	pop	{r4, r5, r6, lr}
	b	CRYPTO_THREAD_unlock
.L9:
	.align	2
.L8:
	.word	global_engine_lock
	.word	int_cleanup_cb_doall
	.size	engine_table_cleanup, .-engine_table_cleanup
	.comm	int_cleanup_cb_doall,4,4
	.comm	global_engine_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
