	.file	"extr_digest.c_EVP_DigestFinal_ex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	EVP_DigestFinal_ex
	.type	EVP_DigestFinal_ex, @function
EVP_DigestFinal_ex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	EVP_MD_size@PLT
	mov	r12, rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L2
	cmp	QWORD PTR 32[rax], 0
	je	.L2
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
	mov	rsi, r13
	mov	edi, DWORD PTR 12[rbx]
	mov	rdx, rsp
	mov	rcx, r12
	call	rax
	mov	r13d, eax
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR [rsp]
	cmp	rax, QWORD PTR UINT_MAX[rip]
	ja	.L8
	mov	DWORD PTR 0[rbp], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR EVP_MAX_MD_SIZE[rip], r12
	setnb	dil
	call	OPENSSL_assert@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rsi, r13
	mov	rdi, rbx
	call	[QWORD PTR 8[rax]]
	mov	r13d, eax
	test	rbp, rbp
	je	.L5
	mov	DWORD PTR 0[rbp], r12d
.L5:
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 24[rax]
	test	rdx, rdx
	je	.L9
	mov	rdi, rbx
	call	rdx
	mov	esi, DWORD PTR EVP_MD_CTX_FLAG_CLEANED[rip]
	mov	rdi, rbx
	call	EVP_MD_CTX_set_flags@PLT
	mov	rax, QWORD PTR [rbx]
.L9:
	mov	esi, DWORD PTR 16[rax]
	mov	edi, DWORD PTR 8[rbx]
	call	OPENSSL_cleanse@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR EVP_R_FINAL_ERROR[rip]
	mov	edi, DWORD PTR EVP_F_EVP_DIGESTFINAL_EX[rip]
	xor	r13d, r13d
	call	EVPerr@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	EVP_DigestFinal_ex, .-EVP_DigestFinal_ex
	.comm	UINT_MAX,8,8
	.comm	EVP_R_FINAL_ERROR,4,4
	.comm	EVP_MD_CTX_FLAG_CLEANED,4,4
	.comm	EVP_MAX_MD_SIZE,8,8
	.comm	EVP_F_EVP_DIGESTFINAL_EX,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_digest.c_EVP_DigestFinal_ex.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	EVP_DigestFinal_ex
	.syntax unified
	.arm
	.fpu softvfp
	.type	EVP_DigestFinal_ex, %function
EVP_DigestFinal_ex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, #0
	mov	r4, r0
	ldr	r3, .L25
	sub	sp, sp, #12
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r9, r1
	mov	r6, r2
	str	r7, [sp]
	bl	EVP_MD_size
	ldr	ip, [r4]
	mov	r8, r0
	cmp	ip, r7
	beq	.L2
	ldr	r2, [ip, #16]
	cmp	r2, r7
	beq	.L2
	ldr	r5, [ip]
	cmp	r5, #0
	beq	.L22
	mov	r3, r0
	mov	r1, r9
	mov	r2, sp
	ldr	r0, [r4, #8]
	blx	r5
	cmp	r6, #0
	mov	r5, r0
	beq	.L1
	ldr	r2, .L25+4
	ldr	r3, [sp]
	ldr	r2, [r2]
	cmp	r3, r2
	strls	r3, [r6]
	bhi	.L23
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r3, .L25+8
	ldr	r0, [r3]
	cmp	r0, r8
	movcc	r0, #0
	movcs	r0, #1
	bl	OPENSSL_assert
	ldr	r3, [r4]
	mov	r1, r9
	ldr	r3, [r3, #4]
	mov	r0, r4
	blx	r3
	ldr	r3, [r4]
	cmp	r6, #0
	ldr	r2, [r3, #12]
	strne	r8, [r6]
	cmp	r2, #0
	mov	r5, r0
	beq	.L9
	mov	r0, r4
	blx	r2
	ldr	r3, .L25+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	EVP_MD_CTX_set_flags
	ldr	r3, [r4]
.L9:
	ldr	r1, [r3, #8]
	ldr	r0, [r4, #4]
	bl	OPENSSL_cleanse
	b	.L1
.L23:
	ldr	r2, .L25+16
	ldr	r3, .L25+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r5, r7
	bl	EVPerr
	b	.L1
.L22:
	ldr	r2, .L25+16
	ldr	r3, .L25+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	EVPerr
	b	.L1
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	UINT_MAX
	.word	EVP_MAX_MD_SIZE
	.word	EVP_MD_CTX_FLAG_CLEANED
	.word	EVP_R_FINAL_ERROR
	.word	EVP_F_EVP_DIGESTFINAL_EX
	.size	EVP_DigestFinal_ex, .-EVP_DigestFinal_ex
	.comm	UINT_MAX,4,4
	.comm	EVP_R_FINAL_ERROR,4,4
	.comm	EVP_MD_CTX_FLAG_CLEANED,4,4
	.comm	EVP_MAX_MD_SIZE,4,4
	.comm	EVP_F_EVP_DIGESTFINAL_EX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
