	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_RecipientInfo_kari_decrypt ## -- Begin function CMS_RecipientInfo_kari_decrypt
	.p2align	4, 0x90
_CMS_RecipientInfo_kari_decrypt:        ## @CMS_RecipientInfo_kari_decrypt
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	movq	(%rdx), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r12
	movq	%rsi, %rdi
	movl	$1, %esi
	callq	_cms_env_asn1_ctrl
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %r8d
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	callq	_cms_kek_cipher
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	callq	_OPENSSL_clear_free
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	$0, -40(%rbp)
	movl	$1, %ebx
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movq	-40(%rbp), %rdi
LBB0_5:
	callq	_OPENSSL_free
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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_RecipientInfo_kari_decrypt ; -- Begin function CMS_RecipientInfo_kari_decrypt
	.p2align	2
_CMS_RecipientInfo_kari_decrypt:        ; @CMS_RecipientInfo_kari_decrypt
	.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
	mov	x22, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x2]
	ldp	x20, x21, [x8]
	mov	x0, x1
	mov	w1, #1
	bl	_cms_env_asn1_ctrl
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w4, [x22]
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x21
	mov	x3, x20
	mov	w5, #0
	bl	_cms_kek_cipher
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
	ldr	x19, [x8]
	ldp	x0, x1, [x19]
	bl	_OPENSSL_clear_free
	mov	x0, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
	ldr	x8, [sp]
	str	x8, [x19, #8]
	str	xzr, [sp, #8]
	mov	w19, #1
	b	LBB0_5
LBB0_3:
	mov	x0, #0
	mov	w19, #0
	b	LBB0_5
LBB0_4:
	mov	w19, #0
	ldr	x0, [sp, #8]
LBB0_5:
	bl	_OPENSSL_free
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
