	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_TIME_set_string_X509      ## -- Begin function ASN1_TIME_set_string_X509
	.p2align	4, 0x90
_ASN1_TIME_set_string_X509:             ## @ASN1_TIME_set_string_X509
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, -56(%rbp)
	movq	%rbx, -72(%rbp)
	movq	_ASN1_STRING_FLAG_X509_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_V_ASN1_UTCTIME@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_ASN1_TIME_check
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_V_ASN1_GENERALIZEDTIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_ASN1_TIME_check
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	testq	%r14, %r14
	je	LBB0_11
## %bb.4:
	movq	-64(%rbp), %rax
	movq	_V_ASN1_GENERALIZEDTIME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:
	leaq	-40(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_asn1_time_to_tm
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movl	-40(%rbp), %edi
	callq	_is_utc
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	-56(%rbp), %rdi
	leaq	-2(%rdi), %rax
	movq	%rax, -56(%rbp)
	decq	%rdi
	callq	_OPENSSL_zalloc
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	leaq	2(%rbx), %rsi
	movq	-56(%rbp), %rdx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)
LBB0_9:
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ASN1_STRING_copy
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movl	$1, %r15d
	jmp	LBB0_12
LBB0_10:
	xorl	%r15d, %r15d
LBB0_12:
	movq	-72(%rbp), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_14
## %bb.13:
	callq	_OPENSSL_free
	jmp	LBB0_14
LBB0_2:
	xorl	%r15d, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_STRING_FLAG_X509_TIME,4,2 ## @ASN1_STRING_FLAG_X509_TIME
	.comm	_V_ASN1_UTCTIME,8,3             ## @V_ASN1_UTCTIME
	.comm	_V_ASN1_GENERALIZEDTIME,8,3     ## @V_ASN1_GENERALIZEDTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_TIME_set_string_X509      ; -- Begin function ASN1_TIME_set_string_X509
	.p2align	2
_ASN1_TIME_set_string_X509:             ; @ASN1_TIME_set_string_X509
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x0, x1
	bl	_strlen
	str	x0, [sp, #32]
Lloh0:
	adrp	x8, _ASN1_STRING_FLAG_X509_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_STRING_FLAG_X509_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x21, _V_ASN1_UTCTIME@GOTPAGE
Lloh4:
	ldr	x21, [x21, _V_ASN1_UTCTIME@GOTPAGEOFF]
	ldr	x8, [x21]
	stp	x19, x8, [sp, #16]
	add	x0, sp, #16
	bl	_ASN1_TIME_check
	cbnz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _V_ASN1_GENERALIZEDTIME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V_ASN1_GENERALIZEDTIME@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #16
	bl	_ASN1_TIME_check
	cbz	w0, LBB0_10
LBB0_2:
	cbz	x20, LBB0_9
; %bb.3:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, _V_ASN1_GENERALIZEDTIME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V_ASN1_GENERALIZEDTIME@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_asn1_time_to_tm
	cbz	w0, LBB0_10
; %bb.5:
	ldr	w0, [sp, #8]
	bl	_is_utc
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [sp, #32]
	sub	x9, x8, #2
	str	x9, [sp, #32]
	sub	x0, x8, #1
	bl	_OPENSSL_zalloc
	str	x0, [sp, #16]
	cbz	x0, LBB0_10
; %bb.7:
	add	x1, x19, #2
	ldr	x2, [sp, #32]
	bl	_memcpy
	ldr	x8, [x21]
	str	x8, [sp, #24]
LBB0_8:
	add	x1, sp, #16
	mov	x0, x20
	bl	_ASN1_STRING_copy
	cbz	x0, LBB0_11
LBB0_9:
	mov	w20, #1
	b	LBB0_12
LBB0_10:
	mov	w20, #0
	b	LBB0_14
LBB0_11:
	mov	w20, #0
LBB0_12:
	ldr	x0, [sp, #16]
	cmp	x0, x19
	b.eq	LBB0_14
; %bb.13:
	bl	_OPENSSL_free
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_STRING_FLAG_X509_TIME,4,2 ; @ASN1_STRING_FLAG_X509_TIME
	.comm	_V_ASN1_UTCTIME,8,3             ; @V_ASN1_UTCTIME
	.comm	_V_ASN1_GENERALIZEDTIME,8,3     ; @V_ASN1_GENERALIZEDTIME
.subsections_via_symbols
