	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cms_SignedData_init_bio        ## -- Begin function cms_SignedData_init_bio
	.p2align	4, 0x90
_cms_SignedData_init_bio:               ## @cms_SignedData_init_bio
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_cms_get0_signed
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_cms_sd_set_version
LBB0_3:
	movl	(%r14), %edi
	callq	_sk_X509_ALGOR_num
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_11
## %bb.4:
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_BIO_push
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	(%r14), %edi
	callq	_sk_X509_ALGOR_num
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_sk_X509_ALGOR_value
	movq	%rax, %rdi
	callq	_cms_DigestAlgorithm_init_bio
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r15
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	callq	_BIO_free_all
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cms_SignedData_init_bio        ; -- Begin function cms_SignedData_init_bio
	.p2align	2
_cms_SignedData_init_bio:               ; @cms_SignedData_init_bio
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_cms_get0_signed
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_cms_sd_set_version
LBB0_3:
	ldr	w0, [x19]
	bl	_sk_X509_ALGOR_num
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.4:
	mov	w21, #0
	mov	x20, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_BIO_push
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	ldr	w0, [x19]
	bl	_sk_X509_ALGOR_num
	cmp	w21, w0
	b.ge	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x21
	bl	_sk_X509_ALGOR_value
	bl	_cms_DigestAlgorithm_init_bio
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	cbnz	x20, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x20, x1
	b	LBB0_6
LBB0_10:
	mov	x0, x20
	bl	_BIO_free_all
LBB0_11:
	mov	x20, #0
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
