	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dateconv
_dateconv:                              ## @dateconv
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-36(%rbp), %rdi
	callq	_time
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_err
LBB0_2:
	leaq	-36(%rbp), %rdi
	callq	_localtime
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_xo_err
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_17
## %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
                                        ## kill: def $eax killed $eax def $rax
	addl	$-4, %eax
	cmpl	$8, %eax
	ja	LBB0_17
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%r14, %rdi
	callq	_ATOI2
	cmpl	$68, %eax
	jg	LBB0_13
## %bb.12:
	addl	$2000, %eax                     ## imm = 0x7D0
	jmp	LBB0_14
LBB0_10:
	movq	%r14, %rdi
	callq	_ATOI2
	imull	$100, %eax, %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	addl	(%r15), %eax
	jmp	LBB0_14
LBB0_13:
	addl	$1900, %eax                     ## imm = 0x76C
LBB0_14:
	movl	%eax, (%r15)
	addl	$-1900, %eax                    ## imm = 0xF894
	movl	%eax, (%r15)
LBB0_15:
	movq	%r14, %rdi
	callq	_ATOI2
	decq	%rax
	movq	%rax, 32(%r15)
	movq	%r14, %rdi
	callq	_ATOI2
	movq	%rax, 24(%r15)
LBB0_16:
	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
	movl	%eax, -36(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_18
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_xo_errx
	movl	-36(%rbp), %eax
LBB0_18:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_17
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"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	_dateconv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dateconv
_dateconv:                              ; @dateconv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x0, sp, #12
	bl	_time
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_err
LBB0_2:
	add	x0, sp, #12
	bl	_localtime
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_xo_err
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_16
; %bb.6:
	strb	wzr, [x21]
	mov	x0, x22
	bl	_ATOI2
LBB0_7:
	str	x0, [x20, #40]
	mov	x0, x19
	bl	_strlen
	sub	w8, w0, #4
	cmp	w8, #8
	b.hi	LBB0_16
; %bb.8:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	x0, x19
	bl	_ATOI2
	cmp	w0, #68
	b.gt	LBB0_12
; %bb.10:
	add	w8, w0, #2000
	b	LBB0_13
LBB0_11:
	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_13
LBB0_12:
	add	w8, w0, #1900
LBB0_13:
	str	w8, [x20]
	sub	w8, w8, #1900
	str	w8, [x20]
LBB0_14:
	mov	x0, x19
	bl	_ATOI2
	sub	x8, x0, #1
	str	x8, [x20, #32]
	mov	x0, x19
	bl	_ATOI2
	str	x0, [x20, #24]
LBB0_15:
	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
	str	w0, [sp, #12]
	cmn	w0, #1
	b.ne	LBB0_17
LBB0_16:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_xo_errx
	ldr	w0, [sp, #12]
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"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	_dateconv
.subsections_via_symbols
