	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_SignerInfo_verify_content  ## -- Begin function CMS_SignerInfo_verify_content
	.p2align	4, 0x90
_CMS_SignerInfo_verify_content:         ## @CMS_SignerInfo_verify_content
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r15
	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, %r13
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	_CMS_signed_get_attr_count
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:
	movq	_NID_pkcs9_messageDigest@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OBJ_nid2obj
	movq	_V_ASN1_OCTET_STRING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$-3, %edx
	callq	_CMS_signed_get0_data_by_OBJ
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_CMSerr
	movl	$-1, %r14d
	jmp	LBB0_23
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	20(%r12), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cms_DigestAlgorithm_find_ctx
	movl	$-1, %r14d
	testl	%eax, %eax
	je	LBB0_23
## %bb.8:
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_14
## %bb.9:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	movl	-52(%rbp), %edx
	cmpl	8(%rbx), %edx
	jne	LBB0_21
## %bb.11:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_memcmp
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_27
LBB0_12:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_VERIFICATION_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_14:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_UNABLE_TO_FINALIZE_CONTEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_15:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_md
	movq	%rax, %rbx
	movl	16(%r12), %edi
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new
	testq	%rax, %rax
	je	LBB0_23
## %bb.16:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_EVP_PKEY_verify_init
	testq	%rax, %rax
	jle	LBB0_24
## %bb.17:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_EVP_PKEY_CTX_set_signature_md
	testq	%rax, %rax
	jle	LBB0_24
## %bb.18:
	movq	%r13, 8(%r12)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_cms_sd_asn1_ctrl
	testl	%eax, %eax
	je	LBB0_24
## %bb.19:
	movq	(%r12), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movl	-52(%rbp), %r8d
	movq	%r13, %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_EVP_PKEY_verify
	testl	%eax, %eax
	jle	LBB0_12
## %bb.20:
	movl	%eax, %r14d
	jmp	LBB0_24
LBB0_21:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
	callq	_CMSerr
LBB0_23:
	xorl	%r13d, %r13d
LBB0_24:
	movq	%r13, %rdi
	callq	_EVP_PKEY_CTX_free
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.25:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movl	$1, %r14d
	jmp	LBB0_24
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT,4,2 ## @CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_NID_pkcs9_messageDigest,4,2    ## @NID_pkcs9_messageDigest
	.comm	_V_ASN1_OCTET_STRING,4,2        ## @V_ASN1_OCTET_STRING
	.comm	_CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE,4,2 ## @CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE
	.comm	_CMS_R_UNABLE_TO_FINALIZE_CONTEXT,4,2 ## @CMS_R_UNABLE_TO_FINALIZE_CONTEXT
	.comm	_CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH,4,2 ## @CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH
	.comm	_CMS_R_VERIFICATION_FAILURE,4,2 ## @CMS_R_VERIFICATION_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_SignerInfo_verify_content  ; -- Begin function CMS_SignerInfo_verify_content
	.p2align	2
_CMS_SignerInfo_verify_content:         ; @CMS_SignerInfo_verify_content
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_EVP_MD_CTX_new
	mov	x19, x0
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	x21, x9, x8
	mov	sp, x21
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_CMS_signed_get_attr_count
	tbnz	x0, #63, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _NID_pkcs9_messageDigest@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_pkcs9_messageDigest@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_OBJ_nid2obj
	mov	x1, x0
Lloh11:
	adrp	x8, _V_ASN1_OCTET_STRING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w2, #-3
	bl	_CMS_signed_get0_data_by_OBJ
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.3:
Lloh14:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE@GOTPAGEOFF]
	b	LBB0_20
LBB0_4:
Lloh19:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
	mov	x23, #0
LBB0_6:
	ldr	w2, [x22, #20]
	mov	x0, x19
	mov	x1, x20
	bl	_cms_DigestAlgorithm_find_ctx
	cbz	w0, LBB0_21
; %bb.7:
	sub	x2, x29, #60
	mov	x0, x19
	mov	x1, x21
	bl	_EVP_DigestFinal_ex
	cmp	x0, #0
	b.le	LBB0_12
; %bb.8:
	cbz	x23, LBB0_13
; %bb.9:
	ldur	w2, [x29, #-60]
	ldr	w8, [x23, #8]
	cmp	w2, w8
	b.ne	LBB0_19
; %bb.10:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_memcmp
	cbz	x0, LBB0_25
; %bb.11:
Lloh24:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w21, #0
	mov	x20, #0
	b	LBB0_23
LBB0_12:
Lloh30:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _CMS_R_UNABLE_TO_FINALIZE_CONTEXT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CMS_R_UNABLE_TO_FINALIZE_CONTEXT@GOTPAGEOFF]
	b	LBB0_20
LBB0_13:
	mov	x0, x19
	bl	_EVP_MD_CTX_md
	mov	x23, x0
	ldr	w0, [x22, #16]
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new
	mov	x20, x0
	cbz	x0, LBB0_22
; %bb.14:
	mov	x0, x20
	bl	_EVP_PKEY_verify_init
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.15:
	mov	x0, x20
	mov	x1, x23
	bl	_EVP_PKEY_CTX_set_signature_md
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.16:
	str	x20, [x22, #8]
	mov	x0, x22
	mov	w1, #1
	bl	_cms_sd_asn1_ctrl
	cbz	w0, LBB0_22
; %bb.17:
	ldr	x8, [x22]
	ldp	w2, w1, [x8]
	ldur	w4, [x29, #-60]
	mov	x0, x20
	mov	x3, x21
	bl	_EVP_PKEY_verify
	cmp	w0, #0
	b.le	LBB0_26
; %bb.18:
	mov	x21, x0
	b	LBB0_23
LBB0_19:
Lloh35:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH@GOTPAGEOFF]
LBB0_20:
	ldr	w1, [x8]
	bl	_CMSerr
LBB0_21:
	mov	x20, #0
LBB0_22:
	mov	w21, #-1
LBB0_23:
	mov	x0, x20
	bl	_EVP_PKEY_CTX_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	ldur	x8, [x29, #-56]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.24:
	mov	x0, x21
	sub	sp, x29, #48
	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
LBB0_25:
	mov	x20, #0
	mov	w21, #1
	b	LBB0_23
LBB0_26:
Lloh43:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w21, #0
	b	LBB0_23
LBB0_27:
	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	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT,4,2 ; @CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_NID_pkcs9_messageDigest,4,2    ; @NID_pkcs9_messageDigest
	.comm	_V_ASN1_OCTET_STRING,4,2        ; @V_ASN1_OCTET_STRING
	.comm	_CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE,4,2 ; @CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE
	.comm	_CMS_R_UNABLE_TO_FINALIZE_CONTEXT,4,2 ; @CMS_R_UNABLE_TO_FINALIZE_CONTEXT
	.comm	_CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH,4,2 ; @CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH
	.comm	_CMS_R_VERIFICATION_FAILURE,4,2 ; @CMS_R_VERIFICATION_FAILURE
.subsections_via_symbols
