	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ess_get_signing_cert_v2
_ess_get_signing_cert_v2:               ## @ess_get_signing_cert_v2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_NID_id_smime_aa_signingCertificateV2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PKCS7_get_signed_attribute
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%rbp)
	movq	(%rax), %rax
	movl	8(%rax), %edx
	leaq	-8(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_ESS_SIGNING_CERT_V2
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_id_smime_aa_signingCertificateV2,4,2 ## @NID_id_smime_aa_signingCertificateV2
	.no_dead_strip	_ess_get_signing_cert_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ess_get_signing_cert_v2
_ess_get_signing_cert_v2:               ; @ess_get_signing_cert_v2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _NID_id_smime_aa_signingCertificateV2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_id_smime_aa_signingCertificateV2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PKCS7_get_signed_attribute
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x8, [x0]
	ldr	w2, [x8, #8]
	add	x1, sp, #8
	mov	x0, #0
	bl	_d2i_ESS_SIGNING_CERT_V2
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_id_smime_aa_signingCertificateV2,4,2 ; @NID_id_smime_aa_signingCertificateV2
	.no_dead_strip	_ess_get_signing_cert_v2
.subsections_via_symbols
