	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_to_timestamp
_do_to_timestamp:                       ## @do_to_timestamp
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %rbx
	callq	_text_to_cstring
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-224(%rbp), %rdi
	callq	_ZERO_tmfc
	movq	%r14, %rdi
	callq	_ZERO_tm
	movq	$0, (%r15)
	movq	%rbx, %rdi
	callq	_VARSIZE_ANY_EXHDR
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	movq	%r15, -232(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_text_to_cstring
	movq	%rax, %r15
	movq	_DCH_CACHE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r12d
	jle	LBB0_6
## %bb.3:
	leal	1(%r12), %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	_DCH_keywords@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DCH_suff@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_DCH_index@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_DCH_FLAG@GOTPCREL(%rip), %rdi
	movl	%r13d, %r9d
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movq	_STD_FLAG@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
LBB0_5:
	orl	(%rdi), %r9d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_format
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_DCH_cache_fetch
	movq	(%rax), %rbx
	movl	$1, %eax
LBB0_7:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-224(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	24(%rbp), %r13
	movq	%r13, %r8
	callq	_DCH_from_char
	movq	%r15, %rdi
	callq	_pfree
	movq	16(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_DCH_datetime_type
	movl	%eax, (%r15)
LBB0_9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpl	-76(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-232(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_12
## %bb.10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pfree
LBB0_11:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_12:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	leaq	-224(%rbp), %rdi
	callq	_DEBUG_TMFC
	movl	-224(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.13:
	movq	_SECS_PER_HOUR@GOTPCREL(%rip), %rsi
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
	movl	%eax, (%r14)
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
	movl	%edx, %eax
	movq	_SECS_PER_MINUTE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, 4(%r14)
	movl	%edx, 8(%r14)
LBB0_14:
	movl	-220(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, 8(%r14)
LBB0_16:
	movl	-216(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, 4(%r14)
LBB0_18:
	movl	-212(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, (%r14)
LBB0_20:
	movq	-208(%rbp), %rax
	movq	_CLOCK_12_HOUR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.21:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_23
## %bb.22:
	movq	_HOURS_PER_DAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	cmpl	%edx, %eax
	jle	LBB0_24
LBB0_23:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_DATETIME_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	%eax, %edi
	callq	_RETURN_ERROR
LBB0_24:
	movq	_HOURS_PER_DAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	cmpq	$0, -88(%rbp)
	movl	(%r14), %ecx
	je	LBB0_27
## %bb.25:
	cmpl	%eax, %ecx
	jge	LBB0_29
## %bb.26:
	addl	%ecx, %eax
	movl	%eax, %edx
	jmp	LBB0_28
LBB0_27:
	xorl	%edx, %edx
	cmpl	%eax, %ecx
	jne	LBB0_29
LBB0_28:
	movl	%edx, (%r14)
LBB0_29:
	movl	-200(%rbp), %ecx
	movl	-196(%rbp), %eax
	testl	%ecx, %ecx
	je	LBB0_42
## %bb.30:
	testl	%eax, %eax
	je	LBB0_39
## %bb.31:
	cmpl	$2, -192(%rbp)
	jg	LBB0_39
## %bb.32:
	cmpq	$0, -104(%rbp)
	je	LBB0_34
## %bb.33:
	negl	%eax
	movl	%eax, -196(%rbp)
LBB0_34:
	movslq	%ecx, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	imull	$100, %edx, %edx
	subl	%edx, %ecx
	je	LBB0_38
## %bb.35:
	imull	$100, %eax, %edx
	testl	%eax, %eax
	js	LBB0_37
## %bb.36:
	leal	(%rcx,%rdx), %eax
	addl	$-100, %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_47
LBB0_42:
	testl	%eax, %eax
	je	LBB0_43
## %bb.44:
	cmpq	$0, -104(%rbp)
	je	LBB0_46
## %bb.45:
	negl	%eax
	movl	%eax, -196(%rbp)
LBB0_46:
	imull	$100, %eax, %ecx
	leal	-99(%rcx), %edx
	orl	$1, %ecx
	testl	%eax, %eax
	cmovnsl	%edx, %ecx
	movl	%ecx, 12(%r14)
	jmp	LBB0_47
LBB0_39:
	movl	%ecx, 12(%r14)
	cmpq	$0, -104(%rbp)
	je	LBB0_47
## %bb.40:
	testl	%ecx, %ecx
	jle	LBB0_47
## %bb.41:
	movl	$1, %eax
	subl	%ecx, %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_47
LBB0_43:
	xorl	%r13d, %r13d
	jmp	LBB0_48
LBB0_38:
	imull	$100, %eax, %ecx
	shrl	$31, %eax
	orl	%ecx, %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_47
LBB0_37:
	subl	%ecx, %edx
	addl	$101, %edx
	movl	%edx, 12(%r14)
LBB0_47:
	movq	_YEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DTK_M
	movl	%eax, %r13d
LBB0_48:
	movl	-188(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_50
## %bb.49:
	leaq	12(%r14), %rsi
	leaq	16(%r14), %rdx
	leaq	20(%r14), %rcx
	callq	_j2date
	movq	_DTK_DATE_M@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_50:
	movl	-184(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_57
## %bb.51:
	movq	-176(%rbp), %rax
	movq	_FROM_CHAR_DATE_ISOWEEK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_56
## %bb.52:
	movq	-96(%rbp), %rsi
	leaq	12(%r14), %rdx
	leaq	16(%r14), %rcx
	leaq	20(%r14), %r8
                                        ## kill: def $edi killed $edi killed $rdi
	testq	%rsi, %rsi
	je	LBB0_54
## %bb.53:
	callq	_isoweekdate2date
	jmp	LBB0_55
LBB0_56:
	leal	(,%rdi,8), %eax
	subl	%edi, %eax
	addl	$-6, %eax
	movl	%eax, -168(%rbp)
	jmp	LBB0_57
LBB0_54:
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	callq	_isoweek2date
LBB0_55:
	movq	_DTK_DATE_M@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_57:
	movl	-164(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_58
## %bb.59:
	leal	(,%rcx,8), %eax
	subl	%ecx, %eax
	addl	$-6, %eax
	movl	%eax, -160(%rbp)
	testl	%eax, %eax
	je	LBB0_62
LBB0_61:
	movl	%eax, 20(%r14)
	movq	_DAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DTK_M
	orl	%eax, %r13d
LBB0_62:
	movl	-156(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_64
## %bb.63:
	movl	%eax, 16(%r14)
	movq	_MONTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DTK_M
	orl	%eax, %r13d
LBB0_64:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, -168(%rbp)
	je	LBB0_84
## %bb.65:
	cmpl	$2, 16(%r14)
	jl	LBB0_67
## %bb.66:
	cmpl	$1, 20(%r14)
	jg	LBB0_84
LBB0_67:
	movq	%r15, %r12
	leaq	12(%r14), %r15
	cmpl	$0, 12(%r14)
	jne	LBB0_70
## %bb.68:
	cmpq	$0, -104(%rbp)
	jne	LBB0_70
## %bb.69:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_DATETIME_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	%eax, %edi
	callq	_RETURN_ERROR
LBB0_70:
	leaq	16(%r14), %rbx
	movq	-176(%rbp), %rax
	movq	_FROM_CHAR_DATE_ISOWEEK@GOTPCREL(%rip), %rcx
	movl	(%r15), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_72
## %bb.71:
	movl	$1, %esi
	callq	_isoweek2j
                                        ## kill: def $eax killed $eax def $rax
	movl	-168(%rbp), %ecx
	leal	(%rax,%rcx), %edi
	decl	%edi
	leaq	20(%r14), %rcx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_j2date
	movq	_DTK_DATE_M@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	%r12, %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_83
LBB0_58:
	movl	-160(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_61
	jmp	LBB0_62
LBB0_72:
	callq	_isleap
	movq	_MONTHS_PER_YEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_73
## %bb.74:
	movl	-168(%rbp), %edx
	incq	%rcx
	imulq	$52, %rax, %rdi
	leaq	_do_to_timestamp.ysum(%rip), %rsi
	addq	%rdi, %rsi
	movl	$1, %edi
	movq	%r12, %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_75:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rsi,%rdi,4), %edx
	jle	LBB0_77
## %bb.76:                              ##   in Loop: Header=BB0_75 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_75
	jmp	LBB0_78
LBB0_73:
	movl	$1, %ecx
	movq	%r12, %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_78:
	cmpl	$1, (%rbx)
	jg	LBB0_80
LBB0_79:
	movl	%ecx, (%rbx)
LBB0_80:
	cmpl	$1, 20(%r14)
	jg	LBB0_82
## %bb.81:
	movl	-168(%rbp), %edx
	movslq	%ecx, %rcx
	imulq	$52, %rax, %rax
	leaq	_do_to_timestamp.ysum(%rip), %rsi
	addq	%rax, %rsi
	subl	-4(%rsi,%rcx,4), %edx
	movl	%edx, 20(%r14)
LBB0_82:
	movq	_MONTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DTK_M
	movl	%eax, %ebx
	movq	_DAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DTK_M
	orl	%r13d, %ebx
	orl	%eax, %ebx
	movl	%ebx, %r13d
LBB0_83:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_84:
	movslq	-152(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_86
## %bb.85:
	imulq	$1000, %rax, %rax               ## imm = 0x3E8
	addq	%rax, (%r15)
LBB0_86:
	movq	-144(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_88
## %bb.87:
	addq	%rax, (%r15)
LBB0_88:
	testq	%rcx, %rcx
	je	LBB0_90
## %bb.89:
	movl	-136(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_90:
	testl	%r13d, %r13d
	je	LBB0_93
## %bb.91:
	movl	%r13d, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_ValidateDate
	testl	%eax, %eax
	je	LBB0_93
## %bb.92:
	movq	_DTERR_FIELD_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rsi
	callq	_DateTimeParseError
	movl	%eax, %edi
	callq	_RETURN_ERROR
LBB0_93:
	movl	(%r14), %eax
	testl	%eax, %eax
	js	LBB0_101
## %bb.94:
	movq	_HOURS_PER_DAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_101
## %bb.95:
	movl	4(%r14), %eax
	testl	%eax, %eax
	js	LBB0_101
## %bb.96:
	movq	_MINS_PER_HOUR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_101
## %bb.97:
	movl	8(%r14), %eax
	testl	%eax, %eax
	js	LBB0_101
## %bb.98:
	movq	_SECS_PER_MINUTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_101
## %bb.99:
	movq	(%r15), %rbx
	xorl	%edi, %edi
	callq	_INT64CONST
	cmpq	%rax, %rbx
	jl	LBB0_101
## %bb.100:
	movq	(%r15), %rax
	movq	_USECS_PER_SEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_102
LBB0_101:
	movq	_DTERR_FIELD_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rsi
	callq	_DateTimeParseError
	movl	%eax, %edi
	callq	_RETURN_ERROR
LBB0_102:
	movq	-128(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_109
## %bb.103:
	movq	-120(%rbp), %rdx
	testq	%rdx, %rdx
	js	LBB0_107
## %bb.104:
	movq	_MAX_TZDISP_HOUR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jg	LBB0_107
## %bb.105:
	movl	-112(%rbp), %ecx
	testl	%ecx, %ecx
	js	LBB0_107
## %bb.106:
	movq	_MINS_PER_HOUR@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	jl	LBB0_108
LBB0_107:
	movq	_DTERR_TZDISP_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rsi
	callq	_DateTimeParseError
	movl	%eax, %edi
	callq	_RETURN_ERROR
	movq	-128(%rbp), %rax
	movq	-120(%rbp), %rdx
	movl	-112(%rbp), %ecx
LBB0_108:
	xorl	%esi, %esi
	testq	%rax, %rax
	setle	%sil
	addl	%esi, %esi
	addl	$43, %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_psprintf
	movq	%rax, 24(%r14)
LBB0_109:
	movq	%r14, %rdi
	callq	_DEBUG_TM
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_112
## %bb.110:
	testq	%rdi, %rdi
	je	LBB0_112
## %bb.111:
	callq	_pfree
LBB0_112:
	movq	%r12, %rdi
	callq	_pfree
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_77:
	movl	%edi, %ecx
	cmpl	$1, (%rbx)
	jle	LBB0_79
	jmp	LBB0_80
	.cfi_endproc
                                        ## -- End function
	.comm	_DCH_CACHE_SIZE,4,2             ## @DCH_CACHE_SIZE
	.comm	_DCH_keywords,4,2               ## @DCH_keywords
	.comm	_DCH_suff,4,2                   ## @DCH_suff
	.comm	_DCH_index,4,2                  ## @DCH_index
	.comm	_DCH_FLAG,4,2                   ## @DCH_FLAG
	.comm	_STD_FLAG,4,2                   ## @STD_FLAG
	.comm	_CHECK_ERROR,4,2                ## @CHECK_ERROR
	.comm	_SECS_PER_HOUR,4,2              ## @SECS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ## @SECS_PER_MINUTE
	.comm	_CLOCK_12_HOUR,8,3              ## @CLOCK_12_HOUR
	.comm	_HOURS_PER_DAY,4,2              ## @HOURS_PER_DAY
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_DATETIME_FORMAT,4,2 ## @ERRCODE_INVALID_DATETIME_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hour \"%d\" is invalid for the 12-hour clock"

L_.str.1:                               ## @.str.1
	.asciz	"Use the 24-hour clock, or give an hour between 1 and 12."

	.comm	_YEAR,4,2                       ## @YEAR
	.comm	_DTK_DATE_M,4,2                 ## @DTK_DATE_M
	.comm	_FROM_CHAR_DATE_ISOWEEK,8,3     ## @FROM_CHAR_DATE_ISOWEEK
	.comm	_DAY,4,2                        ## @DAY
	.comm	_MONTH,4,2                      ## @MONTH
L_.str.2:                               ## @.str.2
	.asciz	"cannot calculate day of year without year information"

	.section	__TEXT,__const
	.p2align	4                               ## @do_to_timestamp.ysum
_do_to_timestamp.ysum:
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	59                              ## 0x3b
	.long	90                              ## 0x5a
	.long	120                             ## 0x78
	.long	151                             ## 0x97
	.long	181                             ## 0xb5
	.long	212                             ## 0xd4
	.long	243                             ## 0xf3
	.long	273                             ## 0x111
	.long	304                             ## 0x130
	.long	334                             ## 0x14e
	.long	365                             ## 0x16d
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	60                              ## 0x3c
	.long	91                              ## 0x5b
	.long	121                             ## 0x79
	.long	152                             ## 0x98
	.long	182                             ## 0xb6
	.long	213                             ## 0xd5
	.long	244                             ## 0xf4
	.long	274                             ## 0x112
	.long	305                             ## 0x131
	.long	335                             ## 0x14f
	.long	366                             ## 0x16e

	.comm	_MONTHS_PER_YEAR,4,2            ## @MONTHS_PER_YEAR
	.comm	_DTERR_FIELD_OVERFLOW,4,2       ## @DTERR_FIELD_OVERFLOW
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"timestamp"

	.comm	_MINS_PER_HOUR,4,2              ## @MINS_PER_HOUR
	.comm	_USECS_PER_SEC,8,3              ## @USECS_PER_SEC
	.comm	_MAX_TZDISP_HOUR,8,3            ## @MAX_TZDISP_HOUR
	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ## @DTERR_TZDISP_OVERFLOW
L_.str.4:                               ## @.str.4
	.asciz	"%c%02d:%02d"

	.no_dead_strip	_do_to_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_to_timestamp
_do_to_timestamp:                       ; @do_to_timestamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x7
	mov	x24, x6
	mov	x23, x5
	mov	x22, x4
	mov	x20, x3
	mov	x26, x2
	mov	x21, x1
	bl	_text_to_cstring
	mov	x19, x0
	add	x0, sp, #24
	bl	_ZERO_tmfc
	mov	x0, x20
	bl	_ZERO_tm
	str	xzr, [x22]
	mov	x0, x21
	bl	_VARSIZE_ANY_EXHDR
	mov	x27, x0
	cbz	w0, LBB0_3
; %bb.1:
	stp	x23, x22, [sp, #8]              ; 16-byte Folded Spill
	mov	x22, x19
	mov	x0, x21
	bl	_text_to_cstring
	mov	x28, x0
Lloh0:
	adrp	x8, _DCH_CACHE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCH_CACHE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cmp	w27, w23
	b.le	LBB0_4
; %bb.2:
	add	w0, w27, #1
	bl	_palloc
	mov	x21, x0
Lloh3:
	adrp	x8, _DCH_keywords@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCH_keywords@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DCH_suff@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCH_suff@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _DCH_index@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCH_index@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x8, _DCH_FLAG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCH_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _STD_FLAG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _STD_FLAG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w26, #0
	csel	w9, wzr, w9, eq
	orr	w5, w9, w8
	mov	x1, x28
	mov	x6, #0
	bl	_parse_format
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	x21, #0
	b	LBB0_10
LBB0_4:
	mov	x0, x28
	mov	x1, x26
	bl	_DCH_cache_fetch
	ldr	x21, [x0]
	mov	w19, #1
LBB0_5:
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x22
	mov	x3, x26
	mov	x4, x25
	bl	_DCH_from_char
	mov	x0, x28
	bl	_pfree
	cbz	x24, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x25
	bl	_DCH_datetime_type
	str	w0, [x24]
LBB0_7:
	cmp	w27, w23
	b.le	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_pfree
	mov	x21, #0
LBB0_9:
	mov	x27, x19
	mov	x19, x22
	ldp	x23, x22, [sp, #8]              ; 16-byte Folded Reload
LBB0_10:
	add	x0, sp, #24
	bl	_DEBUG_TMFC
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_12
; %bb.11:
Lloh18:
	adrp	x9, _SECS_PER_HOUR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SECS_PER_HOUR@GOTPAGEOFF]
	ldr	w10, [x9]
	sdiv	w10, w8, w10
	str	w10, [x20]
	ldr	w9, [x9]
	sdiv	w10, w8, w9
Lloh20:
	adrp	x11, _SECS_PER_MINUTE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _SECS_PER_MINUTE@GOTPAGEOFF]
	msub	w8, w10, w9, w8
Lloh22:
	ldr	w9, [x11]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	stp	w10, w8, [x20, #4]
LBB0_12:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_14
; %bb.13:
	str	w8, [x20, #8]
LBB0_14:
	ldr	w8, [sp, #32]
	cbz	w8, LBB0_16
; %bb.15:
	str	w8, [x20, #4]
LBB0_16:
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_18
; %bb.17:
	str	w8, [x20]
LBB0_18:
	ldr	x8, [sp, #40]
Lloh23:
	adrp	x9, _CLOCK_12_HOUR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CLOCK_12_HOUR@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x28, _HOURS_PER_DAY@GOTPAGE
Lloh27:
	ldr	x28, [x28, _HOURS_PER_DAY@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.19:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.20:
	ldr	w9, [x28]
	cmp	w9, #0
	cinc	w9, w9, lt
	cmp	w8, w9, asr #1
	b.le	LBB0_22
LBB0_21:
Lloh28:
	adrp	x8, _ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w24, [x8]
Lloh31:
	adrp	x8, _ERRCODE_INVALID_DATETIME_FORMAT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERRCODE_INVALID_DATETIME_FORMAT@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x20]
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	bl	_RETURN_ERROR
LBB0_22:
	ldr	x10, [sp, #160]
	ldr	w8, [x20]
	ldr	w9, [x28]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	cbz	x10, LBB0_25
; %bb.23:
	cmp	w8, w9
	b.ge	LBB0_28
; %bb.24:
	add	w8, w9, w8
	b	LBB0_27
LBB0_25:
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.26:
	mov	w8, #0
LBB0_27:
	str	w8, [x20]
LBB0_28:
	ldp	w9, w8, [sp, #48]
	cbz	w9, LBB0_36
; %bb.29:
	cbz	w8, LBB0_40
; %bb.30:
	ldr	w10, [sp, #56]
	cmp	w10, #2
	b.gt	LBB0_40
; %bb.31:
	ldr	x10, [sp, #144]
	cbz	x10, LBB0_33
; %bb.32:
	neg	w8, w8
	str	w8, [sp, #52]
LBB0_33:
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #37
	add	w11, w10, w11
	mov	w10, #100
	msub	w9, w11, w10, w9
	cbz	w9, LBB0_44
; %bb.34:
	mul	w10, w8, w10
	tbnz	w8, #31, LBB0_45
; %bb.35:
	add	w8, w9, w10
	sub	w8, w8, #100
	b	LBB0_46
LBB0_36:
	cbz	w8, LBB0_43
; %bb.37:
	ldr	x9, [sp, #144]
	cbz	x9, LBB0_39
; %bb.38:
	neg	w8, w8
	str	w8, [sp, #52]
LBB0_39:
	mov	w9, #100
	mul	w9, w8, w9
	sub	w10, w9, #99
	orr	w9, w9, #0x1
	cmp	w8, #0
	csel	w8, w9, w10, lt
	b	LBB0_46
LBB0_40:
	str	w9, [x20, #12]
	ldr	x8, [sp, #144]
	cbz	x8, LBB0_47
; %bb.41:
	cmp	w9, #1
	b.lt	LBB0_47
; %bb.42:
	mov	w8, #1
	sub	w8, w8, w9
	b	LBB0_46
LBB0_43:
	mov	w24, #0
	ldr	w0, [sp, #60]
	cbnz	w0, LBB0_48
	b	LBB0_49
LBB0_44:
	mul	w9, w8, w10
	bfxil	w9, w8, #31, #1
	str	w9, [x20, #12]
	b	LBB0_47
LBB0_45:
	sub	w8, w10, w9
	add	w8, w8, #101
LBB0_46:
	str	w8, [x20, #12]
LBB0_47:
Lloh38:
	adrp	x8, _YEAR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _YEAR@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_DTK_M
	mov	x24, x0
	ldr	w0, [sp, #60]
	cbz	w0, LBB0_49
LBB0_48:
	add	x1, x20, #12
	add	x2, x20, #16
	add	x3, x20, #20
	bl	_j2date
Lloh41:
	adrp	x8, _DTK_DATE_M@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DTK_DATE_M@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_49:
	ldr	w0, [sp, #64]
Lloh44:
	adrp	x9, _FROM_CHAR_DATE_ISOWEEK@GOTPAGE
Lloh45:
	ldr	x9, [x9, _FROM_CHAR_DATE_ISOWEEK@GOTPAGEOFF]
	cbz	w0, LBB0_54
; %bb.50:
	ldr	x8, [sp, #72]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.51:
	ldr	x1, [sp, #152]
	add	x2, x20, #12
	add	x3, x20, #16
	add	x4, x20, #20
	cbz	x1, LBB0_100
; %bb.52:
	bl	_isoweekdate2date
	b	LBB0_101
LBB0_53:
	lsl	w8, w0, #3
	sub	w8, w8, w0
	sub	w8, w8, #6
	str	w8, [sp, #80]
LBB0_54:
	ldr	w8, [sp, #84]
	cbz	w8, LBB0_102
LBB0_55:
	lsl	w9, w8, #3
	sub	w8, w9, w8
	sub	w8, w8, #6
	str	w8, [sp, #88]
	cbz	w8, LBB0_57
LBB0_56:
	str	w8, [x20, #20]
Lloh46:
	adrp	x8, _DAY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DAY@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_DTK_M
	orr	w24, w0, w24
LBB0_57:
	ldr	w8, [sp, #92]
	cbz	w8, LBB0_59
; %bb.58:
	str	w8, [x20, #16]
Lloh49:
	adrp	x8, _MONTH@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MONTH@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_DTK_M
	orr	w24, w0, w24
LBB0_59:
	ldr	w8, [sp, #80]
	cbz	w8, LBB0_67
; %bb.60:
	mov	x25, x20
	ldr	w8, [x25, #16]!
	cmp	w8, #2
	b.lt	LBB0_62
; %bb.61:
	ldr	w8, [x20, #20]
	cmp	w8, #1
	b.gt	LBB0_67
LBB0_62:
	mov	x26, x20
	ldr	w8, [x26, #12]!
	cbnz	w8, LBB0_65
; %bb.63:
	ldr	x8, [sp, #144]
	cbnz	x8, LBB0_65
; %bb.64:
Lloh52:
	adrp	x8, _ERROR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	mov	x28, x21
	mov	x21, x23
	mov	x23, x22
	mov	x22, x19
	mov	x19, x27
Lloh54:
	ldr	w27, [x8]
Lloh55:
	adrp	x8, _ERRCODE_INVALID_DATETIME_FORMAT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ERRCODE_INVALID_DATETIME_FORMAT@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	bl	_errcode
Lloh58:
	adrp	x0, l_.str.2@PAGE
Lloh59:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	mov	x27, x19
	mov	x19, x22
	mov	x22, x23
	mov	x23, x21
	mov	x21, x28
Lloh60:
	adrp	x28, _HOURS_PER_DAY@GOTPAGE
Lloh61:
	ldr	x28, [x28, _HOURS_PER_DAY@GOTPAGEOFF]
	bl	_ereport
	bl	_RETURN_ERROR
LBB0_65:
	ldr	x8, [sp, #72]
Lloh62:
	adrp	x9, _FROM_CHAR_DATE_ISOWEEK@GOTPAGE
Lloh63:
	ldr	x9, [x9, _FROM_CHAR_DATE_ISOWEEK@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	ldr	w0, [x26]
	cmp	x8, x9
	b.ne	LBB0_96
; %bb.66:
	mov	w1, #1
	bl	_isoweek2j
	ldr	w8, [sp, #80]
	add	w8, w0, w8
	sub	w0, w8, #1
	add	x3, x20, #20
	mov	x1, x26
	mov	x2, x25
	bl	_j2date
Lloh65:
	adrp	x8, _DTK_DATE_M@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DTK_DATE_M@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_67:
	ldrsw	x8, [sp, #96]
	cbz	w8, LBB0_69
LBB0_68:
	mov	w9, #1000
	ldr	x10, [x22]
	madd	x8, x8, x9, x10
	str	x8, [x22]
LBB0_69:
	ldr	x8, [sp, #104]
	cbz	x8, LBB0_71
; %bb.70:
	ldr	x9, [x22]
	add	x8, x9, x8
	str	x8, [x22]
LBB0_71:
	cbz	x23, LBB0_73
; %bb.72:
	ldr	w8, [sp, #112]
	str	w8, [x23]
LBB0_73:
Lloh68:
	adrp	x23, _DTERR_FIELD_OVERFLOW@GOTPAGE
Lloh69:
	ldr	x23, [x23, _DTERR_FIELD_OVERFLOW@GOTPAGEOFF]
	cbz	w24, LBB0_76
; %bb.74:
	mov	x0, x24
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	mov	x4, x20
	bl	_ValidateDate
	cbz	w0, LBB0_76
; %bb.75:
	ldr	w0, [x23]
Lloh70:
	adrp	x2, l_.str.3@PAGE
Lloh71:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_DateTimeParseError
	bl	_RETURN_ERROR
LBB0_76:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_84
; %bb.77:
	ldr	w9, [x28]
	cmp	w8, w9
	b.ge	LBB0_84
; %bb.78:
	ldr	w8, [x20, #4]
	tbnz	w8, #31, LBB0_84
; %bb.79:
Lloh72:
	adrp	x9, _MINS_PER_HOUR@GOTPAGE
Lloh73:
	ldr	x9, [x9, _MINS_PER_HOUR@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_84
; %bb.80:
	ldr	w8, [x20, #8]
	tbnz	w8, #31, LBB0_84
; %bb.81:
Lloh75:
	adrp	x9, _SECS_PER_MINUTE@GOTPAGE
Lloh76:
	ldr	x9, [x9, _SECS_PER_MINUTE@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_84
; %bb.82:
	ldr	x24, [x22]
	mov	w0, #0
	bl	_INT64CONST
	cmp	x24, x0
	b.lt	LBB0_84
; %bb.83:
	ldr	x8, [x22]
Lloh78:
	adrp	x9, _USECS_PER_SEC@GOTPAGE
Lloh79:
	ldr	x9, [x9, _USECS_PER_SEC@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_85
LBB0_84:
	ldr	w0, [x23]
Lloh81:
	adrp	x2, l_.str.3@PAGE
Lloh82:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_DateTimeParseError
	bl	_RETURN_ERROR
LBB0_85:
	ldr	x8, [sp, #120]
	cbz	x8, LBB0_92
; %bb.86:
	ldr	x2, [sp, #128]
	tbnz	x2, #63, LBB0_90
; %bb.87:
Lloh83:
	adrp	x9, _MAX_TZDISP_HOUR@GOTPAGE
Lloh84:
	ldr	x9, [x9, _MAX_TZDISP_HOUR@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x2, x9
	b.gt	LBB0_90
; %bb.88:
	ldr	w3, [sp, #136]
	tbnz	w3, #31, LBB0_90
; %bb.89:
Lloh86:
	adrp	x9, _MINS_PER_HOUR@GOTPAGE
Lloh87:
	ldr	x9, [x9, _MINS_PER_HOUR@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	cmp	w3, w9
	b.lt	LBB0_91
LBB0_90:
Lloh89:
	adrp	x8, _DTERR_TZDISP_OVERFLOW@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DTERR_TZDISP_OVERFLOW@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
Lloh92:
	adrp	x2, l_.str.3@PAGE
Lloh93:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_DateTimeParseError
	bl	_RETURN_ERROR
	ldp	x8, x2, [sp, #120]
	ldr	w3, [sp, #136]
LBB0_91:
	cmp	x8, #0
	mov	w8, #45
	mov	w9, #43
	csel	w1, w9, w8, gt
Lloh94:
	adrp	x0, l_.str.4@PAGE
Lloh95:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_psprintf
	str	x0, [x20, #24]
LBB0_92:
	mov	x0, x20
	bl	_DEBUG_TM
	cbnz	w27, LBB0_95
; %bb.93:
	cbz	x21, LBB0_95
; %bb.94:
	mov	x0, x21
	bl	_pfree
LBB0_95:
	mov	x0, x19
	bl	_pfree
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_96:
	bl	_isleap
Lloh96:
	adrp	x8, _MONTHS_PER_YEAR@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MONTHS_PER_YEAR@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x8]
Lloh99:
	adrp	x8, _do_to_timestamp.ysum@PAGE
Lloh100:
	add	x8, x8, _do_to_timestamp.ysum@PAGEOFF
	cmp	w9, #1
	b.lt	LBB0_103
; %bb.97:
	ldr	w10, [sp, #80]
	add	x9, x9, #1
	mov	w11, #52
	madd	x12, x0, x11, x8
	mov	w11, #1
LBB0_98:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12, x11, lsl #2]
	cmp	w10, w13
	b.le	LBB0_104
; %bb.99:                               ;   in Loop: Header=BB0_98 Depth=1
	add	x11, x11, #1
	cmp	x9, x11
	b.ne	LBB0_98
	b	LBB0_105
LBB0_100:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	bl	_isoweek2date
LBB0_101:
Lloh101:
	adrp	x8, _DTK_DATE_M@GOTPAGE
Lloh102:
	ldr	x8, [x8, _DTK_DATE_M@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	orr	w24, w8, w24
	ldr	w8, [sp, #84]
	cbnz	w8, LBB0_55
LBB0_102:
	ldr	w8, [sp, #88]
	cbnz	w8, LBB0_56
	b	LBB0_57
LBB0_103:
	mov	w9, #1
	b	LBB0_105
LBB0_104:
	mov	x9, x11
LBB0_105:
	ldr	w10, [x25]
	cmp	w10, #1
	b.gt	LBB0_107
; %bb.106:
	str	w9, [x25]
LBB0_107:
	ldr	w10, [x20, #20]
	cmp	w10, #1
	b.gt	LBB0_109
; %bb.108:
	ldr	w10, [sp, #80]
	mov	w11, #52
	madd	x8, x0, x11, x8
	add	x8, x8, w9, sxtw #2
	ldur	w8, [x8, #-4]
	sub	w8, w10, w8
	str	w8, [x20, #20]
LBB0_109:
Lloh104:
	adrp	x8, _MONTH@GOTPAGE
Lloh105:
	ldr	x8, [x8, _MONTH@GOTPAGEOFF]
Lloh106:
	ldr	w0, [x8]
	bl	_DTK_M
	mov	x25, x0
Lloh107:
	adrp	x8, _DAY@GOTPAGE
Lloh108:
	ldr	x8, [x8, _DAY@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	bl	_DTK_M
	orr	w8, w25, w24
	orr	w24, w8, w0
	ldrsw	x8, [sp, #96]
	cbnz	w8, LBB0_68
	b	LBB0_69
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_DCH_CACHE_SIZE,4,2             ; @DCH_CACHE_SIZE
	.comm	_DCH_keywords,4,2               ; @DCH_keywords
	.comm	_DCH_suff,4,2                   ; @DCH_suff
	.comm	_DCH_index,4,2                  ; @DCH_index
	.comm	_DCH_FLAG,4,2                   ; @DCH_FLAG
	.comm	_STD_FLAG,4,2                   ; @STD_FLAG
	.comm	_CHECK_ERROR,4,2                ; @CHECK_ERROR
	.comm	_SECS_PER_HOUR,4,2              ; @SECS_PER_HOUR
	.comm	_SECS_PER_MINUTE,4,2            ; @SECS_PER_MINUTE
	.comm	_CLOCK_12_HOUR,8,3              ; @CLOCK_12_HOUR
	.comm	_HOURS_PER_DAY,4,2              ; @HOURS_PER_DAY
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_DATETIME_FORMAT,4,2 ; @ERRCODE_INVALID_DATETIME_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hour \"%d\" is invalid for the 12-hour clock"

l_.str.1:                               ; @.str.1
	.asciz	"Use the 24-hour clock, or give an hour between 1 and 12."

	.comm	_YEAR,4,2                       ; @YEAR
	.comm	_DTK_DATE_M,4,2                 ; @DTK_DATE_M
	.comm	_FROM_CHAR_DATE_ISOWEEK,8,3     ; @FROM_CHAR_DATE_ISOWEEK
	.comm	_DAY,4,2                        ; @DAY
	.comm	_MONTH,4,2                      ; @MONTH
l_.str.2:                               ; @.str.2
	.asciz	"cannot calculate day of year without year information"

	.section	__TEXT,__const
	.p2align	2                               ; @do_to_timestamp.ysum
_do_to_timestamp.ysum:
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	59                              ; 0x3b
	.long	90                              ; 0x5a
	.long	120                             ; 0x78
	.long	151                             ; 0x97
	.long	181                             ; 0xb5
	.long	212                             ; 0xd4
	.long	243                             ; 0xf3
	.long	273                             ; 0x111
	.long	304                             ; 0x130
	.long	334                             ; 0x14e
	.long	365                             ; 0x16d
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	60                              ; 0x3c
	.long	91                              ; 0x5b
	.long	121                             ; 0x79
	.long	152                             ; 0x98
	.long	182                             ; 0xb6
	.long	213                             ; 0xd5
	.long	244                             ; 0xf4
	.long	274                             ; 0x112
	.long	305                             ; 0x131
	.long	335                             ; 0x14f
	.long	366                             ; 0x16e

	.comm	_MONTHS_PER_YEAR,4,2            ; @MONTHS_PER_YEAR
	.comm	_DTERR_FIELD_OVERFLOW,4,2       ; @DTERR_FIELD_OVERFLOW
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"timestamp"

	.comm	_MINS_PER_HOUR,4,2              ; @MINS_PER_HOUR
	.comm	_USECS_PER_SEC,8,3              ; @USECS_PER_SEC
	.comm	_MAX_TZDISP_HOUR,8,3            ; @MAX_TZDISP_HOUR
	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ; @DTERR_TZDISP_OVERFLOW
l_.str.4:                               ; @.str.4
	.asciz	"%c%02d:%02d"

	.no_dead_strip	_do_to_timestamp
.subsections_via_symbols
