	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cms_add1_signingTime
_cms_add1_signingTime:                  ## @cms_add1_signingTime
	.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
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_X509_gmtime_adj
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_NID_pkcs9_signingTime@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movq	%rbx, %rcx
	movl	$-1, %r8d
	callq	_CMS_signed_add1_attr_by_NID
	movq	%rax, %r12
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setg	%r14b
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	testq	%r12, %r12
	jg	LBB0_7
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_ASN1_TIME_free
	testq	%r12, %r12
	jg	LBB0_7
	jmp	LBB0_6
LBB0_2:
	xorl	%edi, %edi
	callq	_ASN1_TIME_free
LBB0_6:
	movq	_CMS_F_CMS_ADD1_SIGNINGTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CMSerr
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_pkcs9_signingTime,4,2      ## @NID_pkcs9_signingTime
	.comm	_CMS_F_CMS_ADD1_SIGNINGTIME,4,2 ## @CMS_F_CMS_ADD1_SIGNINGTIME
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_cms_add1_signingTime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cms_add1_signingTime
_cms_add1_signingTime:                  ; @cms_add1_signingTime
	.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
	mov	x21, x1
	cbnz	x1, LBB0_2
; %bb.1:
	mov	x0, #0
	bl	_X509_gmtime_adj
	mov	x21, x0
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _NID_pkcs9_signingTime@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_pkcs9_signingTime@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	mov	x3, x21
	mov	w4, #-1
	bl	_CMS_signed_add1_attr_by_NID
	cmp	x0, #0
	cset	w20, gt
	cbz	x19, LBB0_4
; %bb.3:
	b.gt	LBB0_7
	b	LBB0_6
LBB0_4:
	mov	x22, x0
	mov	x0, x21
	bl	_ASN1_TIME_free
	cmp	x22, #1
	b.ge	LBB0_7
	b	LBB0_6
LBB0_5:
	bl	_ASN1_TIME_free
	mov	w20, #0
LBB0_6:
Lloh3:
	adrp	x8, _CMS_F_CMS_ADD1_SIGNINGTIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMS_F_CMS_ADD1_SIGNINGTIME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_CMSerr
LBB0_7:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_pkcs9_signingTime,4,2      ; @NID_pkcs9_signingTime
	.comm	_CMS_F_CMS_ADD1_SIGNINGTIME,4,2 ; @CMS_F_CMS_ADD1_SIGNINGTIME
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_cms_add1_signingTime
.subsections_via_symbols
