	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function convert_timevalue_to_scalar
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convert_timevalue_to_scalar:           ## @convert_timevalue_to_scalar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	callq	_DatumGetTimeTzADTP
	cvtsi2sdl	8(%rax), %xmm1
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	%xmm1, %xmm0
	popq	%rbp
	retq
LBB0_8:
	movl	$1, (%rdx)
	xorps	%xmm0, %xmm0
	popq	%rbp
	retq
LBB0_3:
	popq	%rbp
	jmp	_DatumGetTimestampTz            ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_DatumGetTimestamp              ## TAILCALL
LBB0_6:
	popq	%rbp
	jmp	_DatumGetTimeADT                ## TAILCALL
LBB0_5:
	callq	_DatumGetIntervalP
	cvtsi2sdl	16(%rax), %xmm0
	movq	_USECS_PER_DAY@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movq	_DAYS_PER_YEAR@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	movq	_MONTHS_PER_YEAR@GOTPCREL(%rip), %rcx
	cvtsi2sdq	(%rcx), %xmm3
	divsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	8(%rax), %xmm0
	addsd	%xmm2, %xmm0
	popq	%rbp
	retq
LBB0_4:
	callq	_DatumGetDateADT
	movl	%eax, %edi
	popq	%rbp
	jmp	_date2timestamp_no_overflow     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_USECS_PER_DAY,8,3              ## @USECS_PER_DAY
	.comm	_DAYS_PER_YEAR,8,3              ## @DAYS_PER_YEAR
	.comm	_MONTHS_PER_YEAR,8,3            ## @MONTHS_PER_YEAR
	.no_dead_strip	_convert_timevalue_to_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_timevalue_to_scalar
_convert_timevalue_to_scalar:           ; @convert_timevalue_to_scalar
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	bl	_DatumGetTimeTzADTP
	ldr	s0, [x0, #8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	ldr	d1, [x0]
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d2, x8
	fmadd	d0, d1, d2, d0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w8, #1
	str	w8, [x2]
	movi	d0, #0000000000000000
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_DatumGetTimestampTz
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_DatumGetTimestamp
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_DatumGetTimeADT
LBB0_7:
	bl	_DatumGetIntervalP
	ldr	s0, [x0, #16]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
Lloh2:
	adrp	x8, _USECS_PER_DAY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USECS_PER_DAY@GOTPAGEOFF]
Lloh4:
	ldr	d1, [x8]
	ldp	d2, d3, [x0]
	fmadd	d0, d2, d1, d0
Lloh5:
	adrp	x8, _DAYS_PER_YEAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DAYS_PER_YEAR@GOTPAGEOFF]
Lloh7:
	ldr	d2, [x8]
Lloh8:
	adrp	x8, _MONTHS_PER_YEAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MONTHS_PER_YEAR@GOTPAGEOFF]
Lloh10:
	ldr	d4, [x8]
	scvtf	d4, d4
	fdiv	d2, d2, d4
	fmul	d1, d1, d2
	fmadd	d0, d3, d1, d0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	_DatumGetDateADT
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_date2timestamp_no_overflow
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_USECS_PER_DAY,8,3              ; @USECS_PER_DAY
	.comm	_DAYS_PER_YEAR,8,3              ; @DAYS_PER_YEAR
	.comm	_MONTHS_PER_YEAR,8,3            ; @MONTHS_PER_YEAR
	.no_dead_strip	_convert_timevalue_to_scalar
.subsections_via_symbols
