	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digestsigver_test_init
_digestsigver_test_init:                ## @digestsigver_test_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
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%r13d, %r13d
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	callq	_EVP_get_digestbyname
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.6:
	movq	%r15, %rdi
	callq	_OBJ_sn2nid
	movq	_NID_undef@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_OBJ_ln2nid
	xorl	%r13d, %r13d
	cmpq	(%r14), %rax
	je	LBB0_11
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
LBB0_2:
	movl	$24, %edi
	callq	_OPENSSL_zalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movq	%r14, 16(%rbx)
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.9:
	movl	%r12d, (%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 8(%rax)
LBB0_10:
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_4:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_11:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL"

	.comm	_NID_undef,8,3                  ## @NID_undef
	.no_dead_strip	_digestsigver_test_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digestsigver_test_init
_digestsigver_test_init:                ; @digestsigver_test_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x22
	bl	_EVP_get_digestbyname
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_OBJ_sn2nid
Lloh2:
	adrp	x20, _NID_undef@GOTPAGE
Lloh3:
	ldr	x20, [x20, _NID_undef@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x22
	bl	_OBJ_ln2nid
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	mov	x23, #0
LBB0_6:
	mov	w0, #24
	bl	_OPENSSL_zalloc
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.7:
	str	x23, [x22, #16]
	bl	_EVP_MD_CTX_new
	str	x0, [x22, #8]
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.8:
	stp	w21, w20, [x22]
	mov	w0, #1
	str	x22, [x19, #8]
	b	LBB0_11
LBB0_9:
	mov	x0, x22
	bl	_OPENSSL_free
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #1
	str	w0, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL"

	.comm	_NID_undef,8,3                  ; @NID_undef
	.no_dead_strip	_digestsigver_test_init
.subsections_via_symbols
