	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_SignerInfo_verify          ## -- Begin function CMS_SignerInfo_verify
	.p2align	4, 0x90
_CMS_SignerInfo_verify:                 ## @CMS_SignerInfo_verify
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_CMS_si_check_attributes
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	callq	_EVP_get_digestbyobj
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%rax, %r12
	movq	24(%rbx), %r14
	testq	%r14, %r14
	jne	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r14
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	leaq	20(%rbx), %rsi
	movl	16(%rbx), %r8d
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_EVP_DigestVerifyInit
	movl	$-1, %r15d
	testq	%rax, %rax
	jle	LBB0_13
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cms_sd_asn1_ctrl
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	8(%rbx), %r12
	movq	_CMS_Attributes_Verify@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASN1_ITEM_rptr
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_ASN1_item_i2d
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.10:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_EVP_DigestVerifyUpdate
	movl	%eax, %r12d
	movq	-40(%rbp), %rdi
	callq	_OPENSSL_free
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.11:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_EVP_DigestVerifyFinal
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_13
## %bb.12:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_VERIFICATION_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
LBB0_13:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_reset
	jmp	LBB0_14
LBB0_1:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_NO_PUBLIC_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
	movl	$-1, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_CMS_F_CMS_SIGNERINFO_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_CMS_F_CMS_SIGNERINFO_VERIFY,4,2 ## @CMS_F_CMS_SIGNERINFO_VERIFY
	.comm	_CMS_R_NO_PUBLIC_KEY,4,2        ## @CMS_R_NO_PUBLIC_KEY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_CMS_Attributes_Verify,4,2      ## @CMS_Attributes_Verify
	.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          ; -- Begin function CMS_SignerInfo_verify
	.p2align	2
_CMS_SignerInfo_verify:                 ; @CMS_SignerInfo_verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	xzr, [sp, #8]
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x20, x0
	bl	_CMS_si_check_attributes
	cbz	w0, LBB0_13
; %bb.2:
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	bl	_EVP_get_digestbyobj
	cbz	x0, LBB0_13
; %bb.3:
	mov	x21, x0
	ldr	x19, [x20, #24]
	cbnz	x19, LBB0_5
; %bb.4:
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	str	x0, [x20, #24]
	cbz	x0, LBB0_17
LBB0_5:
	add	x1, x20, #20
	ldr	w4, [x20, #16]
	mov	x0, x19
	mov	x2, x21
	mov	x3, #0
	bl	_EVP_DigestVerifyInit
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.6:
	mov	x0, x20
	mov	w1, #1
	bl	_cms_sd_asn1_ctrl
	cbz	w0, LBB0_14
; %bb.7:
	ldr	x21, [x20, #8]
Lloh0:
	adrp	x8, _CMS_Attributes_Verify@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMS_Attributes_Verify@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ASN1_ITEM_rptr
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_ASN1_item_i2d
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_14
; %bb.8:
	mov	x2, x0
	mov	x0, x19
	bl	_EVP_DigestVerifyUpdate
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.9:
	ldr	x8, [x20]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_EVP_DigestVerifyFinal
	mov	x20, x0
	cmp	w0, #0
	b.gt	LBB0_15
; %bb.10:
Lloh3:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMS_R_VERIFICATION_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_CMSerr
	b	LBB0_15
LBB0_11:
Lloh9:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _CMS_R_NO_PUBLIC_KEY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMS_R_NO_PUBLIC_KEY@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_CMSerr
LBB0_13:
	mov	w20, #-1
	b	LBB0_16
LBB0_14:
	mov	w20, #-1
LBB0_15:
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
LBB0_16:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_17:
Lloh14:
	adrp	x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMS_F_CMS_SIGNERINFO_VERIFY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CMS_F_CMS_SIGNERINFO_VERIFY,4,2 ; @CMS_F_CMS_SIGNERINFO_VERIFY
	.comm	_CMS_R_NO_PUBLIC_KEY,4,2        ; @CMS_R_NO_PUBLIC_KEY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_CMS_Attributes_Verify,4,2      ; @CMS_Attributes_Verify
	.comm	_CMS_R_VERIFICATION_FAILURE,4,2 ; @CMS_R_VERIFICATION_FAILURE
.subsections_via_symbols
