	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dotime
LCPI0_0:
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
LCPI0_1:
	.long	4294912068                      ## 0xffff2844
	.long	4294966767                      ## 0xfffffdef
	.long	4294966768                      ## 0xfffffdf0
	.long	4294966768                      ## 0xfffffdf0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dotime
	.p2align	4, 0x90
_dotime:                                ## @dotime
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, %r12d
	movq	-48(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_9
## %bb.6:
	cmpb	$0, (%rax)
	jne	LBB0_9
## %bb.7:
	cmpl	$999999999, %r12d               ## imm = 0x3B9AC9FF
	jg	LBB0_9
## %bb.8:
	testl	%r12d, %r12d
	jns	LBB0_2
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.1(%rip), %rdi
	cmpl	$14, %eax
	jne	LBB0_14
## %bb.3:
	movl	%r12d, (%r15)
	movsbl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	leaq	1(%r13), %rcx
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	addb	$-58, %dl
	cmpb	$-10, %dl
	jb	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	movzbl	(%rcx), %edx
	incq	%rcx
	testb	%dl, %dl
	jne	LBB0_11
LBB0_12:
	movsbl	1(%r13), %ecx
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	movsbl	2(%r13), %ecx
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	movsbl	4(%r13), %ecx
	movsbl	6(%r13), %edx
	movzbl	3(%r13), %esi
	movd	%esi, %xmm0
	pinsrb	$1, 5(%r13), %xmm0
	pinsrb	$2, 7(%r13), %xmm0
	movsbl	8(%r13), %esi
	pinsrb	$3, 9(%r13), %xmm0
	movd	%eax, %xmm1
	pinsrd	$1, %ecx, %xmm1
	pinsrd	$2, %edx, %xmm1
	pinsrd	$3, %esi, %xmm1
	pmulld	LCPI0_0(%rip), %xmm1
	pmovsxbd	%xmm0, %xmm0
	paddd	%xmm0, %xmm1
	paddd	LCPI0_1(%rip), %xmm1
	movdqa	%xmm1, -80(%rbp)
	movsbl	10(%r13), %eax
	movsbl	11(%r13), %ecx
	leal	(%rax,%rax,4), %eax
	leal	-528(%rcx,%rax,2), %eax
	movl	%eax, -64(%rbp)
	movsbl	12(%r13), %eax
	movsbl	13(%r13), %ecx
	leal	(%rax,%rax,4), %eax
	leal	-528(%rcx,%rax,2), %eax
	movl	%eax, -60(%rbp)
	movl	$-1, -56(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_mktime
	movl	%eax, %ecx
	movl	%eax, (%r14)
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
LBB0_14:
	callq	_warnx
	movl	$1, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid nanoseconds"

L_.str.1:                               ## @.str.1
	.asciz	"date format: YYYYMMDDHHMMSS[.nsec]"

L_.str.2:                               ## @.str.2
	.asciz	"date/time out of range"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dotime                         ; -- Begin function dotime
	.p2align	2
_dotime:                                ; @dotime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x19, x1
	mov	x20, x0
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	strb	wzr, [x23], #1
	add	x1, sp, #40
	mov	x0, x23
	mov	w2, #0
	bl	_strtoul
	ldr	x8, [sp, #40]
	cmp	x8, x23
	b.eq	LBB0_4
; %bb.2:
	mov	x22, x0
	ldrb	w8, [x8]
	cmp	w8, #0
	mov	w8, #51711
	movk	w8, #15258, lsl #16
	ccmp	w0, w8, #0, eq
	b.gt	LBB0_4
; %bb.3:
	tbz	w22, #31, LBB0_6
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	b	LBB0_13
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #14
	b.ne	LBB0_13
; %bb.7:
	str	w22, [x21]
	ldrsb	w8, [x20]
	cbz	w8, LBB0_11
; %bb.8:
	and	w10, w8, #0xff
	add	x9, x20, #1
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w10, #58
	and	w10, w10, #0xff
	cmp	w10, #246
	b.lo	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w10, [x9], #1
	cbnz	w10, LBB0_9
LBB0_11:
	ldrsb	w9, [x20, #1]
	mov	w10, #10
	madd	w8, w8, w10, w9
	ldrsb	w9, [x20, #2]
	madd	w8, w8, w10, w9
	ldrsb	w9, [x20, #3]
	madd	w8, w8, w10, w9
	mov	w9, #-55228
	add	w8, w8, w9
	ldrsb	w9, [x20, #4]
	ldrsb	w11, [x20, #5]
	madd	w9, w9, w10, w11
	sub	w9, w9, #529
	stp	w8, w9, [sp, #8]
	ldrsb	w8, [x20, #6]
	ldrsb	w9, [x20, #7]
	madd	w8, w8, w10, w9
	ldrsb	w9, [x20, #8]
	ldrsb	w11, [x20, #9]
	madd	w9, w9, w10, w11
	sub	w8, w8, #528
	sub	w9, w9, #528
	stp	w8, w9, [sp, #16]
	ldrsb	w8, [x20, #10]
	ldrsb	w9, [x20, #11]
	madd	w8, w8, w10, w9
	sub	w8, w8, #528
	ldrsb	w9, [x20, #12]
	ldrsb	w11, [x20, #13]
	madd	w9, w9, w10, w11
	sub	w9, w9, #528
	stp	w8, w9, [sp, #24]
	mov	w8, #-1
	str	w8, [sp, #32]
	add	x0, sp, #8
	bl	_mktime
	str	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.12:
	mov	w0, #0
	b	LBB0_15
LBB0_13:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_warnx
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid nanoseconds"

l_.str.1:                               ; @.str.1
	.asciz	"date format: YYYYMMDDHHMMSS[.nsec]"

l_.str.2:                               ; @.str.2
	.asciz	"date/time out of range"

.subsections_via_symbols
