	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cert_times
_parse_cert_times:                      ## @parse_cert_times
	.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	%rdi, %r12
	xorl	%edi, %edi
	callq	_time
	movl	%eax, %r14d
	cmpb	$43, (%r12)
	jne	LBB0_5
## %bb.1:
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	%r12, %rdi
	callq	_xstrdup
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpq	%rbx, %r15
	je	LBB0_8
## %bb.7:
	cmpb	$0, 1(%rbx)
	jne	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_9:
	movq	%rbx, %r12
	incq	%r12
	movb	$0, (%rbx)
	movb	(%r15), %al
	cmpb	$45, %al
	je	LBB0_11
## %bb.10:
	cmpb	$43, %al
	jne	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_parse_relative_time
	movq	_cert_valid_from@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_16:
	movb	(%r12), %al
	cmpb	$45, %al
	je	LBB0_18
## %bb.17:
	cmpb	$43, %al
	jne	LBB0_19
LBB0_18:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_parse_relative_time
	movq	_cert_valid_to@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_23:
	movq	_cert_valid_to@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cert_valid_from@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_25
## %bb.24:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_25:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	_cert_valid_from@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_parse_absolute_time
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_16
LBB0_19:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	_cert_valid_to@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_parse_absolute_time
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_23
LBB0_2:
	leaq	1(%r12), %rdi
	callq	_convtime
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_4:
	addl	%r14d, %ebx
	movq	_cert_valid_to@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	%r14d, %eax
	addl	$-59, %eax
	cltq
	imulq	$-2004318071, %rax, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%r14d, %eax
	addl	$-59, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$5, %eax
	addl	%ecx, %eax
	imull	$60, %eax, %eax
	movq	_cert_valid_from@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_cert_valid_from@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_16
LBB0_20:
	movq	_cert_valid_to@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid relative certificate life %s"

	.comm	_cert_valid_to,4,2              ## @cert_valid_to
	.comm	_cert_valid_from,4,2            ## @cert_valid_from
L_.str.1:                               ## @.str.1
	.asciz	"Invalid certificate life specification %s"

L_.str.2:                               ## @.str.2
	.asciz	"always"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid from time \"%s\""

L_.str.4:                               ## @.str.4
	.asciz	"forever"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid to time \"%s\""

L_.str.6:                               ## @.str.6
	.asciz	"Empty certificate validity interval"

	.no_dead_strip	_parse_cert_times
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cert_times
_parse_cert_times:                      ; @parse_cert_times
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x0
	mov	x0, #0
	bl	_time
	mov	x20, x0
	ldrb	w8, [x22]
	cmp	w8, #43
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_21
LBB0_2:
	mov	x0, x22
	bl	_xstrdup
	mov	x19, x0
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.3:
	cmp	x19, x21
	b.eq	LBB0_5
; %bb.4:
	ldrb	w8, [x21, #1]
	cbnz	w8, LBB0_6
LBB0_5:
	str	x22, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_6:
	strb	wzr, [x21], #1
	ldrb	w8, [x19]
Lloh2:
	adrp	x22, _cert_valid_from@GOTPAGE
Lloh3:
	ldr	x22, [x22, _cert_valid_from@GOTPAGEOFF]
	cmp	w8, #45
	b.eq	LBB0_8
; %bb.7:
	cmp	w8, #43
	b.ne	LBB0_15
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_relative_time
	str	w0, [x22]
LBB0_9:
	ldrb	w8, [x21]
Lloh4:
	adrp	x23, _cert_valid_to@GOTPAGE
Lloh5:
	ldr	x23, [x23, _cert_valid_to@GOTPAGEOFF]
	cmp	w8, #45
	b.eq	LBB0_11
; %bb.10:
	cmp	w8, #43
	b.ne	LBB0_18
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	bl	_parse_relative_time
	str	w0, [x23]
LBB0_12:
	ldr	w8, [x23]
	ldr	w9, [x22]
	cmp	w8, w9
	b.gt	LBB0_14
; %bb.13:
Lloh6:
	adrp	x0, l_.str.6@PAGE
Lloh7:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_fatal
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_free
LBB0_15:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_24
; %bb.16:
Lloh10:
	adrp	x1, _cert_valid_from@GOTPAGE
Lloh11:
	ldr	x1, [x1, _cert_valid_from@GOTPAGEOFF]
	mov	x0, x19
	bl	_parse_absolute_time
	cbz	x0, LBB0_9
; %bb.17:
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
	b	LBB0_9
LBB0_18:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.19:
Lloh16:
	adrp	x1, _cert_valid_to@GOTPAGE
Lloh17:
	ldr	x1, [x1, _cert_valid_to@GOTPAGEOFF]
	mov	x0, x21
	bl	_parse_absolute_time
	cbz	x0, LBB0_12
; %bb.20:
	str	x21, [sp]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
	b	LBB0_12
LBB0_21:
	add	x0, x22, #1
	bl	_convtime
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_23
; %bb.22:
	str	x22, [sp]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_23:
	add	w8, w19, w20
Lloh22:
	adrp	x9, _cert_valid_to@GOTPAGE
Lloh23:
	ldr	x9, [x9, _cert_valid_to@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
	sub	w8, w20, #59
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #5
	add	w8, w9, w8, lsr #31
	mov	w9, #60
	mul	w8, w8, w9
Lloh25:
	adrp	x9, _cert_valid_from@GOTPAGE
Lloh26:
	ldr	x9, [x9, _cert_valid_from@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
	str	wzr, [x22]
	b	LBB0_9
LBB0_25:
	mov	w8, #-1
	str	w8, [x23]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid relative certificate life %s"

	.comm	_cert_valid_to,4,2              ; @cert_valid_to
	.comm	_cert_valid_from,4,2            ; @cert_valid_from
l_.str.1:                               ; @.str.1
	.asciz	"Invalid certificate life specification %s"

l_.str.2:                               ; @.str.2
	.asciz	"always"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid from time \"%s\""

l_.str.4:                               ; @.str.4
	.asciz	"forever"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid to time \"%s\""

l_.str.6:                               ; @.str.6
	.asciz	"Empty certificate validity interval"

	.no_dead_strip	_parse_cert_times
.subsections_via_symbols
