	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_EncryptedData_set1_key     ## -- Begin function CMS_EncryptedData_set1_key
	.p2align	4, 0x90
_CMS_EncryptedData_set1_key:            ## @CMS_EncryptedData_set1_key
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rcx, %r14
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.4:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	movq	_CMS_EncryptedData@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_M_ASN1_new_of
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	movq	_NID_pkcs7_encrypted@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_OBJ_nid2obj
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
	jmp	LBB0_11
LBB0_2:
	movq	_CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_NO_KEY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_CMSerr
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	8(%rbx), %edi
	callq	_OBJ_obj2nid
	movq	_NID_pkcs7_encrypted@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
LBB0_11:
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cms_EncryptedContent_init      ## TAILCALL
LBB0_6:
	movq	_CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CMS_R_NOT_ENCRYPTED_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY,4,2 ## @CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY
	.comm	_CMS_R_NO_KEY,4,2               ## @CMS_R_NO_KEY
	.comm	_CMS_EncryptedData,4,2          ## @CMS_EncryptedData
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_NID_pkcs7_encrypted,8,3        ## @NID_pkcs7_encrypted
	.comm	_CMS_R_NOT_ENCRYPTED_DATA,4,2   ## @CMS_R_NOT_ENCRYPTED_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CMS_EncryptedData_set1_key     ; -- Begin function CMS_EncryptedData_set1_key
	.p2align	2
_CMS_EncryptedData_set1_key:            ; @CMS_EncryptedData_set1_key
	.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
	cbz	x2, LBB0_5
; %bb.1:
	mov	x19, x3
	cbz	x3, LBB0_5
; %bb.2:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cbz	x1, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _CMS_EncryptedData@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMS_EncryptedData@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_M_ASN1_new_of
	str	x0, [x22]
	cbz	x0, LBB0_10
; %bb.4:
Lloh3:
	adrp	x8, _NID_pkcs7_encrypted@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_pkcs7_encrypted@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_OBJ_nid2obj
	str	w0, [x22, #8]
	ldr	x8, [x22]
	str	xzr, [x8, #8]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _CMS_R_NO_KEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMS_R_NO_KEY@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_CMSerr
	mov	w0, #0
	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
LBB0_7:
	ldr	w0, [x22, #8]
	bl	_OBJ_obj2nid
Lloh11:
	adrp	x8, _NID_pkcs7_encrypted@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NID_pkcs7_encrypted@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x22]
LBB0_9:
	ldr	x0, [x8]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	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
	b	_cms_EncryptedContent_init
LBB0_10:
Lloh14:
	adrp	x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_6
LBB0_11:
Lloh19:
	adrp	x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _CMS_R_NOT_ENCRYPTED_DATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CMS_R_NOT_ENCRYPTED_DATA@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY,4,2 ; @CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY
	.comm	_CMS_R_NO_KEY,4,2               ; @CMS_R_NO_KEY
	.comm	_CMS_EncryptedData,4,2          ; @CMS_EncryptedData
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_NID_pkcs7_encrypted,8,3        ; @NID_pkcs7_encrypted
	.comm	_CMS_R_NOT_ENCRYPTED_DATA,4,2   ; @CMS_R_NOT_ENCRYPTED_DATA
.subsections_via_symbols
