	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cms_msgSigDigest_add1          ## -- Begin function cms_msgSigDigest_add1
	.p2align	4, 0x90
_cms_msgSigDigest_add1:                 ## @cms_msgSigDigest_add1
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cms_msgSigDigest
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_NID_id_smime_aa_msgSigDigest@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V_ASN1_OCTET_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-36(%rbp), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_CMS_signed_add1_attr_by_NID
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_CMS_R_MSGSIGDIGEST_ERROR@GOTPCREL(%rip), %rax
LBB0_4:
	movq	_CMS_F_CMS_MSGSIGDIGEST_ADD1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_CMSerr
	xorl	%eax, %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_CMS_F_CMS_MSGSIGDIGEST_ADD1,4,2 ## @CMS_F_CMS_MSGSIGDIGEST_ADD1
	.comm	_CMS_R_MSGSIGDIGEST_ERROR,4,2   ## @CMS_R_MSGSIGDIGEST_ERROR
	.comm	_NID_id_smime_aa_msgSigDigest,4,2 ## @NID_id_smime_aa_msgSigDigest
	.comm	_V_ASN1_OCTET_STRING,4,2        ## @V_ASN1_OCTET_STRING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cms_msgSigDigest_add1          ; -- Begin function cms_msgSigDigest_add1
	.p2align	2
_cms_msgSigDigest_add1:                 ; @cms_msgSigDigest_add1
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x2, x29, #28
	mov	x0, x1
	mov	x1, x20
	bl	_cms_msgSigDigest
	cbz	w0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _NID_id_smime_aa_msgSigDigest@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_id_smime_aa_msgSigDigest@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _V_ASN1_OCTET_STRING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldur	w4, [x29, #-28]
	mov	x0, x19
	mov	x3, x20
	bl	_CMS_signed_add1_attr_by_NID
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_6
LBB0_3:
Lloh14:
	adrp	x8, _CMS_R_MSGSIGDIGEST_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMS_R_MSGSIGDIGEST_ERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_5:
Lloh18:
	adrp	x9, _CMS_F_CMS_MSGSIGDIGEST_ADD1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CMS_F_CMS_MSGSIGDIGEST_ADD1@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_CMS_F_CMS_MSGSIGDIGEST_ADD1,4,2 ; @CMS_F_CMS_MSGSIGDIGEST_ADD1
	.comm	_CMS_R_MSGSIGDIGEST_ERROR,4,2   ; @CMS_R_MSGSIGDIGEST_ERROR
	.comm	_NID_id_smime_aa_msgSigDigest,4,2 ; @NID_id_smime_aa_msgSigDigest
	.comm	_V_ASN1_OCTET_STRING,4,2        ; @V_ASN1_OCTET_STRING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
