	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ptime_relparse                 ## -- Begin function ptime_relparse
	.p2align	4, 0x90
_ptime_relparse:                        ## @ptime_relparse
	.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	%rcx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	addq	$72, %rdi
	movq	%rdx, 72(%rbx)
	callq	_localtime
	movups	(%rax), %xmm0
	movups	%xmm0, 44(%rbx)
	movq	16(%rax), %rcx
	movq	%rcx, 60(%rbx)
	movq	16(%rax), %rcx
	movups	(%rax), %xmm0
	movups	%xmm0, 20(%rbx)
	movq	%rcx, 36(%rbx)
	movl	$0, 28(%rbx)
	movq	$0, 20(%rbx)
	movq	_PTM_PARSE_DWM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parseDWM
	testl	%eax, %eax
	js	LBB0_4
LBB0_5:
	leaq	20(%rbx), %r14
	movl	32(%rbx), %edi
	movl	36(%rbx), %esi
	callq	_days_pmonth
	movl	%eax, %r10d
	movq	_PTM_PARSE_MATCHDOM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_16
## %bb.6:
	movq	_TSPEC_DAYOFMONTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_16
## %bb.7:
	movl	40(%rbx), %r8d
	cmpl	%r10d, %r8d
	jle	LBB0_16
## %bb.8:
	movq	_verbose@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	movq	_dbg_at_times@GOTPCREL(%rip), %r15
	je	LBB0_11
## %bb.9:
	cmpl	$2, (%r15)
	jl	LBB0_11
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%rbx), %edx
	movl	32(%rbx), %ecx
	movl	20(%rbx), %r9d
	movl	24(%rbx), %r11d
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	callq	_fprintf
	addq	$16, %rsp
LBB0_11:
	movq	16(%r14), %rax
	movq	%rax, -48(%rbp)
	movups	(%r14), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_mktime
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	js	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_ptimeset_nxtime
LBB0_13:
	cmpq	$0, (%r12)
	je	LBB0_16
## %bb.14:
	cmpl	$2, (%r15)
	jl	LBB0_16
## %bb.15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%rbx), %edx
	movl	32(%rbx), %ecx
	movl	40(%rbx), %r8d
	movl	20(%rbx), %r9d
	movl	24(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	callq	_fprintf
	addq	$16, %rsp
LBB0_16:
	movq	%r14, %rdi
	callq	_mktime
	xorl	%ecx, %ecx
	cmpq	$-1, %rax
	setne	%cl
	movq	$-2, %rdx
	cmovneq	%rax, %rdx
	movq	%rdx, 8(%rbx)
	leal	(%rcx,%rcx), %eax
	addl	$-2, %eax
	jmp	LBB0_17
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse8601
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movslq	%eax, %rcx
	movq	%rcx, 8(%rbx)
LBB0_17:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTM_PARSE_DWM,4,2              ## @PTM_PARSE_DWM
	.comm	_PTM_PARSE_MATCHDOM,4,2         ## @PTM_PARSE_MATCHDOM
	.comm	_TSPEC_DAYOFMONTH,4,2           ## @TSPEC_DAYOFMONTH
	.comm	_verbose,8,3                    ## @verbose
	.comm	_dbg_at_times,4,2               ## @dbg_at_times
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\t-- dom fixed: %4d/%02d/%02d %02d:%02d (%02d)"

L_.str.1:                               ## @.str.1
	.asciz	" to: %4d/%02d/%02d %02d:%02d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ptime_relparse                 ; -- Begin function ptime_relparse
	.p2align	2
_ptime_relparse:                        ; @ptime_relparse
	.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	x20, x3
	mov	x21, x1
	mov	x19, x0
	str	w1, [x0]
	str	x2, [x0, #72]!
	bl	_localtime
	ldr	x8, [x0, #16]
	ldr	q0, [x0]
	stur	q0, [x19, #44]
	stur	x8, [x19, #60]
	ldr	x8, [x0, #16]
	ldr	q0, [x0]
	stur	q0, [x19, #20]
	stur	x8, [x19, #36]
	str	xzr, [x19, #24]
	str	wzr, [x19, #20]
Lloh0:
	adrp	x8, _PTM_PARSE_DWM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTM_PARSE_DWM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x19
	mov	x1, x20
	tst	w8, w21
	b.eq	LBB0_14
; %bb.1:
	bl	_parseDWM
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_15
LBB0_2:
	add	x20, x19, #20
	ldp	w0, w1, [x19, #32]
	bl	_days_pmonth
                                        ; kill: def $w0 killed $w0 def $x0
Lloh3:
	adrp	x8, _PTM_PARSE_MATCHDOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTM_PARSE_MATCHDOM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.3:
	ldr	w8, [x19, #16]
Lloh6:
	adrp	x9, _TSPEC_DAYOFMONTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TSPEC_DAYOFMONTH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.4:
	ldr	w4, [x19, #40]
	cmp	w4, w0
	b.le	LBB0_13
; %bb.5:
Lloh9:
	adrp	x22, _verbose@GOTPAGE
Lloh10:
	ldr	x22, [x22, _verbose@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh11:
	adrp	x21, _dbg_at_times@GOTPAGE
Lloh12:
	ldr	x21, [x21, _dbg_at_times@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldp	w3, w2, [x19, #32]
	ldp	w5, w6, [x19, #20]
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_8:
	ldr	q0, [x20]
	str	q0, [sp, #16]
	ldr	x8, [x20, #16]
	str	x8, [sp, #32]
	add	x0, sp, #16
	bl	_mktime
	str	x0, [x19, #8]
	tbnz	x0, #63, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ptimeset_nxtime
LBB0_10:
	ldr	x8, [x22]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #32]
	ldr	w4, [x19, #40]
	ldp	w5, w6, [x19, #20]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_13:
	mov	x0, x20
	bl	_mktime
	cmn	x0, #1
	mov	x8, #-2
	csel	x8, x8, x0, eq
	str	x8, [x19, #8]
	mov	w8, #-2
	csel	w0, w8, wzr, eq
	b	LBB0_16
LBB0_14:
	bl	_parse8601
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_2
LBB0_15:
	sxtw	x8, w0
	str	x8, [x19, #8]
LBB0_16:
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PTM_PARSE_DWM,4,2              ; @PTM_PARSE_DWM
	.comm	_PTM_PARSE_MATCHDOM,4,2         ; @PTM_PARSE_MATCHDOM
	.comm	_TSPEC_DAYOFMONTH,4,2           ; @TSPEC_DAYOFMONTH
	.comm	_verbose,8,3                    ; @verbose
	.comm	_dbg_at_times,4,2               ; @dbg_at_times
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t-- dom fixed: %4d/%02d/%02d %02d:%02d (%02d)"

l_.str.1:                               ; @.str.1
	.asciz	" to: %4d/%02d/%02d %02d:%02d\n"

.subsections_via_symbols
