	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_sigver_init
_do_sigver_init:                        ## @do_sigver_init
	.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	%r8, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	%rcx, %r15
	movq	%r14, %r13
	movl	%r9d, %r14d
	callq	_EVP_PKEY_CTX_new
	movl	%r14d, %r9d
	movq	%r13, %r14
	movq	%r15, %rcx
	movq	%r12, %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_34
LBB0_2:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPCREL(%rip), %r13
	testq	%r12, %r12
	jne	LBB0_6
## %bb.3:
	movq	(%rax), %rax
	movl	(%r13), %ecx
	andl	(%rax), %ecx
	jne	LBB0_6
## %bb.4:
	movl	%r9d, %r13d
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_EVP_PKEY_get_default_digest_nid
	testq	%rax, %rax
	jle	LBB0_10
## %bb.5:
	movl	-44(%rbp), %edi
	callq	_EVP_get_digestbynid
	movq	%rax, %r12
	testq	%rax, %rax
	movl	%r13d, %r9d
	movq	_EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPCREL(%rip), %r13
	je	LBB0_10
LBB0_6:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	testl	%r9d, %r9d
	je	LBB0_11
## %bb.7:
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.8:
	movq	%r14, %rsi
	callq	*%rcx
	testq	%rax, %rax
	jle	LBB0_34
## %bb.9:
	movq	_EVP_PKEY_OP_VERIFYCTX@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_EVP_F_DO_SIGVER_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_NO_DEFAULT_DIGEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_34:
	xorl	%ebx, %ebx
	jmp	LBB0_35
LBB0_11:
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.12:
	movq	%r14, %rsi
	callq	*%rcx
	testq	%rax, %rax
	jle	LBB0_34
## %bb.13:
	movq	_EVP_PKEY_OP_SIGNCTX@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	jmp	LBB0_22
LBB0_16:
	cmpq	$0, 16(%rax)
	je	LBB0_31
## %bb.17:
	movq	_EVP_PKEY_OP_VERIFY@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	cmpq	$0, 32(%rax)
	je	LBB0_33
## %bb.20:
	movq	_EVP_PKEY_OP_SIGN@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_update@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_22:
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_EVP_PKEY_CTX_set_signature_md
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jle	LBB0_35
## %bb.23:
	testq	%r15, %r15
	je	LBB0_25
## %bb.24:
	movq	(%r14), %rax
	movq	%rax, (%r15)
LBB0_25:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%r13), %ecx
	testl	%ecx, (%rax)
	je	LBB0_27
## %bb.26:
	movl	$1, %ebx
LBB0_35:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_35
## %bb.28:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movq	40(%rax), %rax
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_35
## %bb.29:
	movq	%r14, %rsi
	callq	*%rax
	movl	%eax, %ebx
	jmp	LBB0_35
LBB0_31:
	callq	_EVP_PKEY_verify_init
	testq	%rax, %rax
	jg	LBB0_22
	jmp	LBB0_34
LBB0_33:
	callq	_EVP_PKEY_sign_init
	testq	%rax, %rax
	jg	LBB0_22
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_FLAG_SIGCTX_CUSTOM,4,2 ## @EVP_PKEY_FLAG_SIGCTX_CUSTOM
	.comm	_EVP_F_DO_SIGVER_INIT,4,2       ## @EVP_F_DO_SIGVER_INIT
	.comm	_EVP_R_NO_DEFAULT_DIGEST,4,2    ## @EVP_R_NO_DEFAULT_DIGEST
	.comm	_EVP_PKEY_OP_VERIFYCTX,4,2      ## @EVP_PKEY_OP_VERIFYCTX
	.comm	_EVP_PKEY_OP_VERIFY,4,2         ## @EVP_PKEY_OP_VERIFY
	.comm	_update,8,3                     ## @update
	.comm	_EVP_PKEY_OP_SIGNCTX,4,2        ## @EVP_PKEY_OP_SIGNCTX
	.comm	_EVP_PKEY_OP_SIGN,4,2           ## @EVP_PKEY_OP_SIGN
	.no_dead_strip	_do_sigver_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_sigver_init
_do_sigver_init:                        ; @do_sigver_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x5
	mov	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	mov	x1, x20
	bl	_EVP_PKEY_CTX_new
	str	x0, [x19]
	cbz	x0, LBB0_31
LBB0_2:
Lloh0:
	adrp	x25, _EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPAGEOFF]
	cbnz	x22, LBB0_6
; %bb.3:
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x25]
	and	w8, w9, w8
	cbnz	w8, LBB0_6
; %bb.4:
	add	x1, sp, #12
	mov	x0, x24
	bl	_EVP_PKEY_get_default_digest_nid
	cmp	x0, #0
	b.le	LBB0_10
; %bb.5:
	ldr	w0, [sp, #12]
	bl	_EVP_get_digestbynid
	mov	x22, x0
	cbz	x0, LBB0_10
LBB0_6:
	ldr	x0, [x19]
	ldr	x8, [x0]
	cbz	w23, LBB0_11
; %bb.7:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_15
; %bb.8:
	mov	x1, x19
	blr	x9
	cmp	x0, #1
	b.lt	LBB0_30
; %bb.9:
Lloh2:
	adrp	x8, _EVP_PKEY_OP_VERIFYCTX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVP_PKEY_OP_VERIFYCTX@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
Lloh4:
	adrp	x8, _EVP_F_DO_SIGVER_INIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EVP_F_DO_SIGVER_INIT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _EVP_R_NO_DEFAULT_DIGEST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVP_R_NO_DEFAULT_DIGEST@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w0, #0
	b	LBB0_31
LBB0_11:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_17
; %bb.12:
	mov	x1, x19
	blr	x9
	cmp	x0, #1
	b.lt	LBB0_30
; %bb.13:
Lloh10:
	adrp	x8, _EVP_PKEY_OP_SIGNCTX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVP_PKEY_OP_SIGNCTX@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #8]
	b	LBB0_20
LBB0_15:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_28
; %bb.16:
Lloh12:
	adrp	x8, _EVP_PKEY_OP_VERIFY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVP_PKEY_OP_VERIFY@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_29
; %bb.18:
Lloh14:
	adrp	x8, _EVP_PKEY_OP_SIGN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EVP_PKEY_OP_SIGN@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh16:
	adrp	x8, _update@GOTPAGE
Lloh17:
	ldr	x8, [x8, _update@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_20:
	ldr	x0, [x19]
	mov	x1, x22
	bl	_EVP_PKEY_CTX_set_signature_md
	cmp	x0, #1
	b.lt	LBB0_30
; %bb.21:
	cbz	x21, LBB0_23
; %bb.22:
	ldr	x8, [x19]
	str	x8, [x21]
LBB0_23:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_25
LBB0_24:
	mov	w0, #1
	b	LBB0_31
LBB0_25:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_31
; %bb.26:
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_24
; %bb.27:
	mov	x1, x19
	blr	x8
	b	LBB0_31
LBB0_28:
	bl	_EVP_PKEY_verify_init
	cmp	x0, #1
	b.ge	LBB0_20
	b	LBB0_30
LBB0_29:
	bl	_EVP_PKEY_sign_init
	cmp	x0, #1
	b.ge	LBB0_20
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_FLAG_SIGCTX_CUSTOM,4,2 ; @EVP_PKEY_FLAG_SIGCTX_CUSTOM
	.comm	_EVP_F_DO_SIGVER_INIT,4,2       ; @EVP_F_DO_SIGVER_INIT
	.comm	_EVP_R_NO_DEFAULT_DIGEST,4,2    ; @EVP_R_NO_DEFAULT_DIGEST
	.comm	_EVP_PKEY_OP_VERIFYCTX,4,2      ; @EVP_PKEY_OP_VERIFYCTX
	.comm	_EVP_PKEY_OP_VERIFY,4,2         ; @EVP_PKEY_OP_VERIFY
	.comm	_update,8,3                     ; @update
	.comm	_EVP_PKEY_OP_SIGNCTX,4,2        ; @EVP_PKEY_OP_SIGNCTX
	.comm	_EVP_PKEY_OP_SIGN,4,2           ; @EVP_PKEY_OP_SIGN
	.no_dead_strip	_do_sigver_init
.subsections_via_symbols
