	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_VerifyFinal                ## -- Begin function EVP_VerifyFinal
	.p2align	4, 0x90
_EVP_VerifyFinal:                       ## @EVP_VerifyFinal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	$0, -52(%rbp)
	movq	_EVP_MD_CTX_FLAG_FINALISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_test_flags
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_EVP_DigestFinal_ex
	testl	%eax, %eax
	je	LBB0_10
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_EVP_PKEY_verify_init
	testq	%rax, %rax
	jle	LBB0_12
## %bb.4:
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_md
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_EVP_PKEY_CTX_set_signature_md
	testq	%rax, %rax
	jle	LBB0_12
## %bb.5:
	movl	-52(%rbp), %r8d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_EVP_PKEY_verify
	movl	%eax, %r13d
	jmp	LBB0_12
LBB0_6:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_EVP_MD_CTX_copy_ex
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_EVP_DigestFinal_ex
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.9:
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_CTX_free
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.14:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_EVP_F_EVP_VERIFYFINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	jmp	LBB0_13
LBB0_16:
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_EVP_MD_CTX_FLAG_FINALISE,4,2   ## @EVP_MD_CTX_FLAG_FINALISE
	.comm	_EVP_F_EVP_VERIFYFINAL,4,2      ## @EVP_F_EVP_VERIFYFINAL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_VerifyFinal                ; -- Begin function EVP_VerifyFinal
	.p2align	2
_EVP_VerifyFinal:                       ; @EVP_VerifyFinal
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	stur	wzr, [x29, #-76]
Lloh8:
	adrp	x8, _EVP_MD_CTX_FLAG_FINALISE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVP_MD_CTX_FLAG_FINALISE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_EVP_MD_CTX_test_flags
	cbz	x0, LBB0_6
; %bb.1:
	sub	x2, x29, #76
	mov	x0, x22
	mov	x1, x21
	bl	_EVP_DigestFinal_ex
	cbz	w0, LBB0_11
LBB0_2:
	mov	x0, x23
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.3:
	mov	x0, x23
	bl	_EVP_PKEY_verify_init
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x0, x22
	bl	_EVP_MD_CTX_md
	mov	x1, x0
	mov	x0, x23
	bl	_EVP_PKEY_CTX_set_signature_md
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.5:
	ldur	w4, [x29, #-76]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_EVP_PKEY_verify
	mov	x19, x0
	b	LBB0_12
LBB0_6:
	bl	_EVP_MD_CTX_new
	cbz	x0, LBB0_15
; %bb.7:
	mov	x24, x0
	mov	x1, x22
	bl	_EVP_MD_CTX_copy_ex
	cbz	w0, LBB0_16
; %bb.8:
	sub	x2, x29, #76
	mov	x0, x24
	mov	x1, x21
	bl	_EVP_DigestFinal_ex
	mov	x25, x0
	mov	x0, x24
	bl	_EVP_MD_CTX_free
	cbnz	w25, LBB0_2
; %bb.9:
	mov	w19, #0
	b	LBB0_13
LBB0_10:
	mov	w19, #-1
	b	LBB0_12
LBB0_11:
	mov	w19, #0
	mov	x23, #0
LBB0_12:
	mov	x0, x23
	bl	_EVP_PKEY_CTX_free
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh14:
	adrp	x8, _EVP_F_EVP_VERIFYFINAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EVP_F_EVP_VERIFYFINAL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w19, #0
	b	LBB0_13
LBB0_16:
	mov	x0, x24
	bl	_EVP_MD_CTX_free
	mov	w19, #0
	b	LBB0_13
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_EVP_MD_CTX_FLAG_FINALISE,4,2   ; @EVP_MD_CTX_FLAG_FINALISE
	.comm	_EVP_F_EVP_VERIFYFINAL,4,2      ; @EVP_F_EVP_VERIFYFINAL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
