	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_sha_md
_test_sha_md:                           ## @test_sha_md
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_sha1_md@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.1:
	movq	_NID_sha1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NID_sha1WithRSAEncryption@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVP_MD_meth_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_set_result_size
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	_SHA_CBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_set_input_blocksize
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_EVP_MD_meth_set_app_datasize
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EVP_MD_meth_set_flags
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	_test_sha1_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_set_init
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_test_sha1_update@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_set_update
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	_test_sha1_final@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_set_final
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_EVP_MD_meth_free
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, (%r14)
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sha1_md,8,3                    ## @sha1_md
	.comm	_NID_sha1,4,2                   ## @NID_sha1
	.comm	_NID_sha1WithRSAEncryption,4,2  ## @NID_sha1WithRSAEncryption
	.comm	_SHA_DIGEST_LENGTH,4,2          ## @SHA_DIGEST_LENGTH
	.comm	_SHA_CBLOCK,4,2                 ## @SHA_CBLOCK
	.comm	_test_sha1_init,4,2             ## @test_sha1_init
	.comm	_test_sha1_update,4,2           ## @test_sha1_update
	.comm	_test_sha1_final,4,2            ## @test_sha1_final
	.no_dead_strip	_test_sha_md
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_sha_md
_test_sha_md:                           ; @test_sha_md
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _sha1_md@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sha1_md@GOTPAGEOFF]
	ldr	x19, [x20]
	cbnz	x19, LBB0_11
; %bb.1:
Lloh2:
	adrp	x8, _NID_sha1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NID_sha1@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _NID_sha1WithRSAEncryption@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NID_sha1WithRSAEncryption@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_EVP_MD_meth_new
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.2:
Lloh8:
	adrp	x8, _SHA_DIGEST_LENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHA_DIGEST_LENGTH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_meth_set_result_size
	cbz	w0, LBB0_9
; %bb.3:
Lloh11:
	adrp	x8, _SHA_CBLOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHA_CBLOCK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_meth_set_input_blocksize
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x19
	mov	w1, #12
	bl	_EVP_MD_meth_set_app_datasize
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	bl	_EVP_MD_meth_set_flags
	cbz	w0, LBB0_9
; %bb.6:
Lloh14:
	adrp	x8, _test_sha1_init@GOTPAGE
Lloh15:
	ldr	x8, [x8, _test_sha1_init@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_meth_set_init
	cbz	w0, LBB0_9
; %bb.7:
Lloh17:
	adrp	x8, _test_sha1_update@GOTPAGE
Lloh18:
	ldr	x8, [x8, _test_sha1_update@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_meth_set_update
	cbz	w0, LBB0_9
; %bb.8:
Lloh20:
	adrp	x8, _test_sha1_final@GOTPAGE
Lloh21:
	ldr	x8, [x8, _test_sha1_final@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_meth_set_final
	cbnz	w0, LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_EVP_MD_meth_free
	mov	x19, #0
LBB0_10:
	str	x19, [x20]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_sha1_md,8,3                    ; @sha1_md
	.comm	_NID_sha1,4,2                   ; @NID_sha1
	.comm	_NID_sha1WithRSAEncryption,4,2  ; @NID_sha1WithRSAEncryption
	.comm	_SHA_DIGEST_LENGTH,4,2          ; @SHA_DIGEST_LENGTH
	.comm	_SHA_CBLOCK,4,2                 ; @SHA_CBLOCK
	.comm	_test_sha1_init,4,2             ; @test_sha1_init
	.comm	_test_sha1_update,4,2           ; @test_sha1_update
	.comm	_test_sha1_final,4,2            ; @test_sha1_final
	.no_dead_strip	_test_sha_md
.subsections_via_symbols
