	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DigestInit_ex              ## -- Begin function EVP_DigestInit_ex
	.p2align	4, 0x90
_EVP_DigestInit_ex:                     ## @EVP_DigestInit_ex
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_EVP_MD_CTX_FLAG_CLEANED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVP_MD_CTX_clear_flags
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_10
	jmp	LBB0_4
LBB0_9:
	testq	%r14, %r14
	je	LBB0_27
LBB0_10:
	callq	_ENGINE_finish
	testq	%r15, %r15
	je	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	callq	_ENGINE_init
	testl	%eax, %eax
	jne	LBB0_25
## %bb.12:
	movq	_EVP_F_EVP_DIGESTINIT_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_INITIALIZATION_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_27:
	movq	8(%rbx), %r14
	testq	%r14, %r14
	jne	LBB0_17
## %bb.28:
	movq	_EVP_F_EVP_DIGESTINIT_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_NO_DIGEST_SET@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_14:
	movq	(%r14), %rdi
	callq	_ENGINE_get_digest_engine
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_15
LBB0_25:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_ENGINE_get_digest
	testq	%rax, %rax
	je	LBB0_29
## %bb.26:
	movq	%rax, %r14
	jmp	LBB0_16
LBB0_29:
	movq	_EVP_F_EVP_DIGESTINIT_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_INITIALIZATION_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	movq	%r15, %rdi
	callq	_ENGINE_finish
	jmp	LBB0_30
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, 40(%rbx)
LBB0_17:
	movq	8(%rbx), %rax
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.18:
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.20:
	movq	24(%rbx), %rdi
	callq	_OPENSSL_clear_free
	movq	$0, 24(%rbx)
LBB0_21:
	movq	%r14, 8(%rbx)
	movq	_EVP_MD_CTX_FLAG_NO_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_22
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	movq	_EVP_PKEY_OP_TYPE_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EVP_PKEY_CTRL_DIGESTINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r14d, %r14d
	movl	$-1, %esi
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_EVP_PKEY_CTX_ctrl
	testl	%eax, %eax
	jg	LBB0_7
## %bb.6:
	cmpl	$-2, %eax
	jne	LBB0_31
LBB0_7:
	movq	_EVP_MD_CTX_FLAG_NO_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r14d
	testl	%eax, (%rbx)
	jne	LBB0_31
## %bb.8:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*8(%rax)                        ## TAILCALL
LBB0_22:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.23:
	movl	24(%r14), %eax
	movl	%eax, 32(%rbx)
	callq	_OPENSSL_zalloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.24:
	movq	_EVP_F_EVP_DIGESTINIT_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_30:
	xorl	%r14d, %r14d
LBB0_31:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MD_CTX_FLAG_CLEANED,4,2    ## @EVP_MD_CTX_FLAG_CLEANED
	.comm	_EVP_F_EVP_DIGESTINIT_EX,4,2    ## @EVP_F_EVP_DIGESTINIT_EX
	.comm	_EVP_R_INITIALIZATION_ERROR,4,2 ## @EVP_R_INITIALIZATION_ERROR
	.comm	_EVP_R_NO_DIGEST_SET,4,2        ## @EVP_R_NO_DIGEST_SET
	.comm	_EVP_MD_CTX_FLAG_NO_INIT,4,2    ## @EVP_MD_CTX_FLAG_NO_INIT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_EVP_PKEY_OP_TYPE_SIG,4,2       ## @EVP_PKEY_OP_TYPE_SIG
	.comm	_EVP_PKEY_CTRL_DIGESTINIT,4,2   ## @EVP_PKEY_CTRL_DIGESTINIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DigestInit_ex              ; -- Begin function EVP_DigestInit_ex
	.p2align	2
_EVP_DigestInit_ex:                     ; @EVP_DigestInit_ex
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EVP_MD_CTX_FLAG_CLEANED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_MD_CTX_FLAG_CLEANED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_EVP_MD_CTX_clear_flags
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	cbz	x20, LBB0_19
; %bb.3:
	ldr	x9, [x20]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_5
	b	LBB0_19
LBB0_4:
	cbz	x20, LBB0_8
LBB0_5:
	bl	_ENGINE_finish
	cbz	x21, LBB0_10
; %bb.6:
	mov	x0, x21
	bl	_ENGINE_init
	cbnz	w0, LBB0_11
; %bb.7:
Lloh3:
	adrp	x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EVP_R_INITIALIZATION_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVP_R_INITIALIZATION_ERROR@GOTPAGEOFF]
	b	LBB0_28
LBB0_8:
	ldr	x20, [x19, #8]
	cbnz	x20, LBB0_14
; %bb.9:
Lloh8:
	adrp	x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _EVP_R_NO_DIGEST_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EVP_R_NO_DIGEST_SET@GOTPAGEOFF]
	b	LBB0_28
LBB0_10:
	ldr	x0, [x20]
	bl	_ENGINE_get_digest_engine
	mov	x21, x0
	cbz	x0, LBB0_13
LBB0_11:
	ldr	x1, [x20]
	mov	x0, x21
	bl	_ENGINE_get_digest
	cbz	x0, LBB0_24
; %bb.12:
	mov	x20, x0
LBB0_13:
	str	x21, [x19, #40]
LBB0_14:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.eq	LBB0_19
; %bb.15:
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_18
; %bb.17:
	ldr	x0, [x19, #24]
	bl	_OPENSSL_clear_free
	str	xzr, [x19, #24]
LBB0_18:
	str	x20, [x19, #8]
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
LBB0_19:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_21
; %bb.20:
Lloh16:
	adrp	x8, _EVP_PKEY_OP_TYPE_SIG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EVP_PKEY_OP_TYPE_SIG@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _EVP_PKEY_CTRL_DIGESTINIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EVP_PKEY_CTRL_DIGESTINIT@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	w1, #-1
	mov	w4, #0
	mov	x5, x19
	bl	_EVP_PKEY_CTX_ctrl
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #0
	ccmn	w8, #2, #4, le
	b.ne	LBB0_30
LBB0_21:
	ldr	w8, [x19]
Lloh22:
	adrp	x9, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
	mov	w0, #1
	b	LBB0_30
LBB0_23:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
LBB0_24:
Lloh25:
	adrp	x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _EVP_R_INITIALIZATION_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EVP_R_INITIALIZATION_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	x0, x21
	bl	_ENGINE_finish
	b	LBB0_29
LBB0_25:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_19
; %bb.26:
	ldr	w8, [x20, #24]
	str	w8, [x19, #32]
	bl	_OPENSSL_zalloc
	str	x0, [x19, #24]
	cbnz	x0, LBB0_19
; %bb.27:
Lloh31:
	adrp	x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EVP_F_EVP_DIGESTINIT_EX@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_28:
	ldr	w1, [x8]
	bl	_EVPerr
LBB0_29:
	mov	w0, #0
LBB0_30:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MD_CTX_FLAG_CLEANED,4,2    ; @EVP_MD_CTX_FLAG_CLEANED
	.comm	_EVP_F_EVP_DIGESTINIT_EX,4,2    ; @EVP_F_EVP_DIGESTINIT_EX
	.comm	_EVP_R_INITIALIZATION_ERROR,4,2 ; @EVP_R_INITIALIZATION_ERROR
	.comm	_EVP_R_NO_DIGEST_SET,4,2        ; @EVP_R_NO_DIGEST_SET
	.comm	_EVP_MD_CTX_FLAG_NO_INIT,4,2    ; @EVP_MD_CTX_FLAG_NO_INIT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_EVP_PKEY_OP_TYPE_SIG,4,2       ; @EVP_PKEY_OP_TYPE_SIG
	.comm	_EVP_PKEY_CTRL_DIGESTINIT,4,2   ; @EVP_PKEY_CTRL_DIGESTINIT
.subsections_via_symbols
