	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_digest
_verify_digest:                         ## @verify_digest
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_initialize
	movq	%rbx, %rdi
	callq	_EVP_get_digestbyname
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_EVP_DigestInit
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_EVP_PKEY_verify_init
	testq	%rax, %rax
	jle	LBB0_4
## %bb.2:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_EVP_PKEY_CTX_set_signature_md
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_EVP_PKEY_verify
	xorl	%r15d, %r15d
	testl	%eax, %eax
	cmovgl	%eax, %r15d
LBB0_4:
	movq	%r14, %rdi
	callq	_EVP_PKEY_CTX_free
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_verify_digest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_digest
_verify_digest:                         ; @verify_digest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x5
	mov	x23, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x24, x0
	bl	_initialize
	mov	x0, x19
	bl	_EVP_get_digestbyname
	mov	x1, x0
	add	x0, sp, #8
	bl	_EVP_DigestInit
	mov	x0, x24
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_EVP_PKEY_verify_init
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_EVP_PKEY_CTX_set_signature_md
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	bl	_EVP_PKEY_verify
	cmp	w0, #0
	csel	w20, w0, wzr, gt
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_EVP_PKEY_CTX_free
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_verify_digest
.subsections_via_symbols
