	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttime
_ttime:                                 ## @ttime
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movl	-48(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-52(%rbp), %rdi
	callq	_localtime
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_4:
	movq	%r14, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	leaq	1(%rax), %r12
	movq	%r12, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.7:
	movb	$0, (%rbx)
	movq	%r12, %rdi
	callq	_ATOI2
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, 40(%r15)
	movq	%r14, %rdi
	callq	_strlen
	cmpl	$8, %eax
	je	LBB0_14
## %bb.9:
	cmpl	$10, %eax
	je	LBB0_12
## %bb.10:
	cmpl	$12, %eax
	jne	LBB0_15
## %bb.11:
	movq	%r14, %rdi
	callq	_ATOI2
	imull	$100, %eax, %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	addl	(%r15), %eax
	jmp	LBB0_13
LBB0_12:
	movq	%r14, %rdi
	callq	_ATOI2
	addl	$2000, %eax                     ## imm = 0x7D0
LBB0_13:
	movl	%eax, (%r15)
	addl	$-1900, %eax                    ## imm = 0xF894
	movl	%eax, (%r15)
LBB0_14:
	movq	%r14, %rdi
	callq	_ATOI2
	decq	%rax
	movq	%rax, 32(%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	movq	%rax, 24(%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	movq	%rax, 16(%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	movq	%rax, 8(%r15)
	movl	$-1, 4(%r15)
	movq	%r15, %rdi
	callq	_mktime
	cmpl	$-1, %eax
	jne	LBB0_16
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
                                        ## implicit-def: $eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot get current time"

L_.str.1:                               ## @.str.1
	.asciz	"localtime"

L_.str.2:                               ## @.str.2
	.asciz	"out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]"

	.no_dead_strip	_ttime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttime
_ttime:                                 ; @ttime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #16
	mov	x1, #0
	bl	_gettimeofday
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	ldr	w8, [sp, #16]
	str	w8, [sp, #12]
	add	x0, sp, #12
	bl	_localtime
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_4:
	mov	x0, x19
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	add	x22, x0, #1
	mov	x0, x22
	bl	_strlen
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.6:
	strb	wzr, [x21]
	mov	x0, x22
	bl	_ATOI2
LBB0_7:
	str	x0, [x20, #40]
	mov	x0, x19
	bl	_strlen
	cmp	w0, #8
	b.eq	LBB0_13
; %bb.8:
	cmp	w0, #10
	b.eq	LBB0_11
; %bb.9:
	cmp	w0, #12
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_ATOI2
	mov	w8, #100
	mul	w8, w0, w8
	str	w8, [x20]
	mov	x0, x19
	bl	_ATOI2
	ldr	w8, [x20]
	add	w8, w8, w0
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_ATOI2
	add	w8, w0, #2000
LBB0_12:
	str	w8, [x20]
	sub	w8, w8, #1900
	str	w8, [x20]
LBB0_13:
	mov	x0, x19
	bl	_ATOI2
	sub	x8, x0, #1
	str	x8, [x20, #32]
	mov	x0, x19
	bl	_ATOI2
	str	x0, [x20, #24]
	mov	x0, x19
	bl	_ATOI2
	str	x0, [x20, #16]
	mov	x0, x19
	bl	_ATOI2
	str	x0, [x20, #8]
	mov	w8, #-1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_mktime
	cmn	w0, #1
	b.ne	LBB0_15
LBB0_14:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
                                        ; implicit-def: $w0
LBB0_15:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	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
	add	sp, sp, #80
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot get current time"

l_.str.1:                               ; @.str.1
	.asciz	"localtime"

l_.str.2:                               ; @.str.2
	.asciz	"out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]"

	.no_dead_strip	_ttime
.subsections_via_symbols
