	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS7_RECIP_INFO_set           ## -- Begin function PKCS7_RECIP_INFO_set
	.p2align	4, 0x90
_PKCS7_RECIP_INFO_set:                  ## @PKCS7_RECIP_INFO_set
	.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
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_ASN1_INTEGER_set
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	8(%r12), %rbx
	addq	$4, %rbx
	movq	%r15, %rdi
	callq	_X509_get_issuer_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_X509_NAME_set
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_ASN1_INTEGER_free
	movq	%r15, %rdi
	callq	_X509_get_serialNumber
	movl	%eax, %edi
	callq	_ASN1_INTEGER_dup
	movq	8(%r12), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movq	%r15, %rdi
	callq	_X509_get0_pubkey
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	movq	_ASN1_PKEY_CTRL_PKCS7_ENCRYPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	*%rbx
	cmpl	$-2, %eax
	jne	LBB0_8
LBB0_6:
	movq	_PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PKCS7err
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	callq	_X509_up_ref
	movq	%r15, (%r12)
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_9:
	movq	_PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PKCS7_R_ENCRYPTION_CTRL_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PKCS7err
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_PKCS7_F_PKCS7_RECIP_INFO_SET,4,2 ## @PKCS7_F_PKCS7_RECIP_INFO_SET
	.comm	_PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE,4,2 ## @PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE
	.comm	_ASN1_PKEY_CTRL_PKCS7_ENCRYPT,4,2 ## @ASN1_PKEY_CTRL_PKCS7_ENCRYPT
	.comm	_PKCS7_R_ENCRYPTION_CTRL_FAILURE,4,2 ## @PKCS7_R_ENCRYPTION_CTRL_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS7_RECIP_INFO_set           ; -- Begin function PKCS7_RECIP_INFO_set
	.p2align	2
_PKCS7_RECIP_INFO_set:                  ; @PKCS7_RECIP_INFO_set
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #16]
	mov	w1, #0
	bl	_ASN1_INTEGER_set
	cbz	w0, LBB0_9
; %bb.1:
	ldr	x8, [x20, #8]
	add	x21, x8, #4
	mov	x0, x19
	bl	_X509_get_issuer_name
	mov	x1, x0
	mov	x0, x21
	bl	_X509_NAME_set
	cbz	w0, LBB0_9
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ASN1_INTEGER_free
	mov	x0, x19
	bl	_X509_get_serialNumber
	bl	_ASN1_INTEGER_dup
	ldr	x8, [x20, #8]
	str	w0, [x8]
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_X509_get0_pubkey
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x9, _ASN1_PKEY_CTRL_PKCS7_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASN1_PKEY_CTRL_PKCS7_ENCRYPT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w2, #0
	mov	x3, x20
	blr	x8
	cmn	w0, #2
	b.ne	LBB0_10
LBB0_7:
Lloh3:
	adrp	x8, _PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_PKCS7err
	mov	w0, #0
LBB0_9:
	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_10:
	cmp	w0, #0
	b.le	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_X509_up_ref
	str	x19, [x20]
	mov	w0, #1
	b	LBB0_9
LBB0_12:
Lloh8:
	adrp	x8, _PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PKCS7_F_PKCS7_RECIP_INFO_SET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _PKCS7_R_ENCRYPTION_CTRL_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PKCS7_R_ENCRYPTION_CTRL_FAILURE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PKCS7_F_PKCS7_RECIP_INFO_SET,4,2 ; @PKCS7_F_PKCS7_RECIP_INFO_SET
	.comm	_PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE,4,2 ; @PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE
	.comm	_ASN1_PKEY_CTRL_PKCS7_ENCRYPT,4,2 ; @ASN1_PKEY_CTRL_PKCS7_ENCRYPT
	.comm	_PKCS7_R_ENCRYPTION_CTRL_FAILURE,4,2 ; @PKCS7_R_ENCRYPTION_CTRL_FAILURE
.subsections_via_symbols
