	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_RecipientInfo_kari_get0_alg ## -- Begin function CMS_RecipientInfo_kari_get0_alg
	.p2align	4, 0x90
_CMS_RecipientInfo_kari_get0_alg:       ## @CMS_RecipientInfo_kari_get0_alg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CMS_RECIPINFO_AGREE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rsi)
LBB0_4:
	movl	$1, %eax
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rdx)
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	movq	_CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_NOT_KEY_AGREEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMS_RECIPINFO_AGREE,8,3        ## @CMS_RECIPINFO_AGREE
	.comm	_CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG,4,2 ## @CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG
	.comm	_CMS_R_NOT_KEY_AGREEMENT,4,2    ## @CMS_R_NOT_KEY_AGREEMENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_RecipientInfo_kari_get0_alg ; -- Begin function CMS_RecipientInfo_kari_get0_alg
	.p2align	2
_CMS_RecipientInfo_kari_get0_alg:       ; @CMS_RecipientInfo_kari_get0_alg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CMS_RECIPINFO_AGREE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMS_RECIPINFO_AGREE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	str	x8, [x1]
LBB0_3:
	cbz	x2, LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	x8, [x2]
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh3:
	adrp	x8, _CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _CMS_R_NOT_KEY_AGREEMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMS_R_NOT_KEY_AGREEMENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMS_RECIPINFO_AGREE,8,3        ; @CMS_RECIPINFO_AGREE
	.comm	_CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG,4,2 ; @CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG
	.comm	_CMS_R_NOT_KEY_AGREEMENT,4,2    ; @CMS_R_NOT_KEY_AGREEMENT
.subsections_via_symbols
