	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_dataFinal                  ## -- Begin function CMS_dataFinal
	.p2align	4, 0x90
_CMS_dataFinal:                         ## @CMS_dataFinal
	.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
	callq	_CMS_get0_content
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_ASN1_STRING_FLAG_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_BIO_TYPE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BIO_find_type
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r13
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_BIO_get_mem_data
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_BIO_FLAGS_MEM_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_BIO_set_flags
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_BIO_set_mem_eof_return
	movq	(%rbx), %rdi
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ASN1_STRING_set0
	movq	_ASN1_STRING_FLAG_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%rbx), %rcx
	andl	%eax, (%rcx)
LBB0_5:
	movl	(%r12), %edi
	callq	_OBJ_obj2nid
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.6:
	movl	$1, %r15d
	movl	$54, %ecx
	btl	%eax, %ecx
	jb	LBB0_14
## %bb.7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	callq	_cms_SignedData_final
	jmp	LBB0_13
LBB0_9:
	movq	_CMS_F_CMS_DATAFINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_CONTENT_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_CMS_F_CMS_DATAFINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_UNSUPPORTED_TYPE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	callq	_CMSerr
	jmp	LBB0_14
LBB0_12:
	xorl	%edx, %edx
	callq	_cms_DigestedData_do_final
LBB0_13:
	movl	%eax, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_STRING_FLAG_CONT,4,2      ## @ASN1_STRING_FLAG_CONT
	.comm	_BIO_TYPE_MEM,4,2               ## @BIO_TYPE_MEM
	.comm	_CMS_F_CMS_DATAFINAL,4,2        ## @CMS_F_CMS_DATAFINAL
	.comm	_CMS_R_CONTENT_NOT_FOUND,4,2    ## @CMS_R_CONTENT_NOT_FOUND
	.comm	_BIO_FLAGS_MEM_RDONLY,4,2       ## @BIO_FLAGS_MEM_RDONLY
	.comm	_CMS_R_UNSUPPORTED_TYPE,4,2     ## @CMS_R_UNSUPPORTED_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_dataFinal                  ; -- Begin function CMS_dataFinal
	.p2align	2
_CMS_dataFinal:                         ; @CMS_dataFinal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_CMS_get0_content
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w8, [x8]
Lloh0:
	adrp	x24, _ASN1_STRING_FLAG_CONT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ASN1_STRING_FLAG_CONT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _BIO_TYPE_MEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIO_TYPE_MEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BIO_find_type
	cbz	x0, LBB0_9
; %bb.4:
	mov	x22, x0
	add	x1, sp, #8
	bl	_BIO_get_mem_data
	mov	x23, x0
Lloh5:
	adrp	x8, _BIO_FLAGS_MEM_RDONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIO_FLAGS_MEM_RDONLY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_BIO_set_flags
	mov	x0, x22
	mov	w1, #0
	bl	_BIO_set_mem_eof_return
	ldr	x0, [x21]
	ldr	x1, [sp, #8]
	mov	x2, x23
	bl	_ASN1_STRING_set0
	ldr	w8, [x24]
	ldr	x9, [x21]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_5:
	ldr	w0, [x20]
	bl	_OBJ_obj2nid
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.6:
	mov	w0, #1
	lsl	w9, w0, w8
	mov	w10, #54
	tst	w9, w10
	b.ne	LBB0_13
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	cbnz	w8, LBB0_12
; %bb.8:
	bl	_cms_SignedData_final
	b	LBB0_13
LBB0_9:
Lloh8:
	adrp	x8, _CMS_F_CMS_DATAFINAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMS_F_CMS_DATAFINAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _CMS_R_CONTENT_NOT_FOUND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CMS_R_CONTENT_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _CMS_F_CMS_DATAFINAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMS_F_CMS_DATAFINAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _CMS_R_UNSUPPORTED_TYPE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CMS_R_UNSUPPORTED_TYPE@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	w2, #0
	bl	_cms_DigestedData_do_final
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_STRING_FLAG_CONT,4,2      ; @ASN1_STRING_FLAG_CONT
	.comm	_BIO_TYPE_MEM,4,2               ; @BIO_TYPE_MEM
	.comm	_CMS_F_CMS_DATAFINAL,4,2        ; @CMS_F_CMS_DATAFINAL
	.comm	_CMS_R_CONTENT_NOT_FOUND,4,2    ; @CMS_R_CONTENT_NOT_FOUND
	.comm	_BIO_FLAGS_MEM_RDONLY,4,2       ; @BIO_FLAGS_MEM_RDONLY
	.comm	_CMS_R_UNSUPPORTED_TYPE,4,2     ; @CMS_R_UNSUPPORTED_TYPE
.subsections_via_symbols
