	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS7_SIGNER_INFO_set          ## -- Begin function PKCS7_SIGNER_INFO_set
	.p2align	4, 0x90
_PKCS7_SIGNER_INFO_set:                 ## @PKCS7_SIGNER_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	24(%rdi), %edi
	movl	$1, %esi
	callq	_ASN1_INTEGER_set
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %r15
	addq	$4, %r15
	movq	%r13, %rdi
	callq	_X509_get_issuer_name
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_X509_NAME_set
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_ASN1_INTEGER_free
	movq	%r13, %rdi
	callq	_X509_get_serialNumber
	movl	%eax, %edi
	callq	_ASN1_INTEGER_dup
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_EVP_PKEY_up_ref
	movq	%rbx, 8(%r14)
	movl	(%r14), %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MD_type
	movl	%eax, %edi
	callq	_OBJ_nid2obj
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_X509_ALGOR_set0
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_ASN1_PKEY_CTRL_PKCS7_SIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	*%rax
	movl	$1, %r12d
	testl	%eax, %eax
	jg	LBB0_10
## %bb.6:
	cmpl	$-2, %eax
	jne	LBB0_7
LBB0_8:
	movq	_PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPCREL(%rip), %rax
LBB0_9:
	movq	_PKCS7_F_PKCS7_SIGNER_INFO_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_PKCS7err
	xorl	%r12d, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_PKCS7_R_SIGNING_CTRL_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_NULL,4,2                ## @V_ASN1_NULL
	.comm	_ASN1_PKEY_CTRL_PKCS7_SIGN,4,2  ## @ASN1_PKEY_CTRL_PKCS7_SIGN
	.comm	_PKCS7_F_PKCS7_SIGNER_INFO_SET,4,2 ## @PKCS7_F_PKCS7_SIGNER_INFO_SET
	.comm	_PKCS7_R_SIGNING_CTRL_FAILURE,4,2 ## @PKCS7_R_SIGNING_CTRL_FAILURE
	.comm	_PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE,4,2 ## @PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS7_SIGNER_INFO_set          ; -- Begin function PKCS7_SIGNER_INFO_set
	.p2align	2
_PKCS7_SIGNER_INFO_set:                 ; @PKCS7_SIGNER_INFO_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
	mov	w1, #1
	bl	_ASN1_INTEGER_set
	cbz	w0, LBB0_10
; %bb.1:
	ldr	x8, [x19, #16]
	add	x23, x8, #4
	mov	x0, x22
	bl	_X509_get_issuer_name
	mov	x1, x0
	mov	x0, x23
	bl	_X509_NAME_set
	cbz	w0, LBB0_10
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_ASN1_INTEGER_free
	mov	x0, x22
	bl	_X509_get_serialNumber
	bl	_ASN1_INTEGER_dup
	ldr	x8, [x19, #16]
	str	w0, [x8]
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x20
	bl	_EVP_PKEY_up_ref
	str	x20, [x19, #8]
	ldr	w22, [x19]
	mov	x0, x21
	bl	_EVP_MD_type
	bl	_OBJ_nid2obj
	mov	x1, x0
Lloh0:
	adrp	x8, _V_ASN1_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_ASN1_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x3, #0
	bl	_X509_ALGOR_set0
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.5:
Lloh3:
	adrp	x9, _ASN1_PKEY_CTRL_PKCS7_SIGN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASN1_PKEY_CTRL_PKCS7_SIGN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x20
	mov	w2, #0
	mov	x3, x19
	blr	x8
	cmp	w0, #0
	b.le	LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	cmn	w0, #2
	b.ne	LBB0_11
LBB0_8:
Lloh6:
	adrp	x8, _PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE@GOTPAGEOFF]
LBB0_9:
Lloh8:
	adrp	x9, _PKCS7_F_PKCS7_SIGNER_INFO_SET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PKCS7_F_PKCS7_SIGNER_INFO_SET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_PKCS7err
	mov	w0, #0
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh11:
	adrp	x8, _PKCS7_R_SIGNING_CTRL_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PKCS7_R_SIGNING_CTRL_FAILURE@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_NULL,4,2                ; @V_ASN1_NULL
	.comm	_ASN1_PKEY_CTRL_PKCS7_SIGN,4,2  ; @ASN1_PKEY_CTRL_PKCS7_SIGN
	.comm	_PKCS7_F_PKCS7_SIGNER_INFO_SET,4,2 ; @PKCS7_F_PKCS7_SIGNER_INFO_SET
	.comm	_PKCS7_R_SIGNING_CTRL_FAILURE,4,2 ; @PKCS7_R_SIGNING_CTRL_FAILURE
	.comm	_PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE,4,2 ; @PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE
.subsections_via_symbols
