	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compareDatetime
_compareDatetime:                       ## @compareDatetime
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %r14d
	movl	%esi, %edx
	movl	%edi, %r15d
	movl	$0, (%r9)
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.1:
	movl	%r8d, %r12d
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.3:
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_timetz_cmp@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_5:
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.6:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movl	%r14d, %edi
	callq	_DatumGetTimestamp
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_DatumGetTimestampTz
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_cmpTimestampToTimestampTz
	jmp	LBB0_26
LBB0_8:
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.9:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	%r15d, %edi
	callq	_DatumGetTimestamp
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_DatumGetTimestampTz
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmpTimestampToTimestampTz      ## TAILCALL
LBB0_11:
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.12:
	leaq	LJTI0_4(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_castTimeToTimeTz
	movl	%eax, %r15d
	jmp	LBB0_23
LBB0_14:
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_18
## %bb.15:
	leaq	LJTI0_5(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_19
LBB0_18:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
LBB0_19:
	callq	_elog
                                        ## implicit-def: $edi
LBB0_20:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	jne	LBB0_27
	jmp	LBB0_33
LBB0_21:
	movq	_timestamp_cmp@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_22:
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_castTimeToTimeTz
	movl	%eax, %r14d
LBB0_23:
	movq	_timetz_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_20
LBB0_24:
	movl	%r14d, %edi
	callq	_DatumGetDateADT
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_DatumGetTimestampTz
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_cmpDateToTimestampTz
	jmp	LBB0_26
LBB0_25:
	movl	%r14d, %edi
	callq	_DatumGetDateADT
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_DatumGetTimestamp
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_cmpDateToTimestamp
LBB0_26:
	negl	%eax
LBB0_27:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_time_cmp@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_29:
	movl	%r15d, %edi
	callq	_DatumGetDateADT
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_DatumGetTimestampTz
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmpDateToTimestampTz           ## TAILCALL
LBB0_30:
	movl	%r15d, %edi
	callq	_DatumGetDateADT
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_DatumGetTimestamp
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmpDateToTimestamp             ## TAILCALL
LBB0_31:
	movq	_date_cmp@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %edi
LBB0_33:
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_DirectFunctionCall2
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DatumGetInt32                  ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_14
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
LJTI0_1:
	.long	L0_1_set_16
	.long	L0_1_set_21
	.long	L0_1_set_7
	.long	L0_1_set_16
	.long	L0_1_set_24
.set L0_2_set_16, LBB0_16-LJTI0_2
.set L0_2_set_10, LBB0_10-LJTI0_2
.set L0_2_set_21, LBB0_21-LJTI0_2
.set L0_2_set_25, LBB0_25-LJTI0_2
LJTI0_2:
	.long	L0_2_set_16
	.long	L0_2_set_10
	.long	L0_2_set_21
	.long	L0_2_set_16
	.long	L0_2_set_25
.set L0_3_set_4, LBB0_4-LJTI0_3
.set L0_3_set_16, LBB0_16-LJTI0_3
.set L0_3_set_22, LBB0_22-LJTI0_3
LJTI0_3:
	.long	L0_3_set_4
	.long	L0_3_set_16
	.long	L0_3_set_16
	.long	L0_3_set_22
	.long	L0_3_set_16
.set L0_4_set_13, LBB0_13-LJTI0_4
.set L0_4_set_16, LBB0_16-LJTI0_4
.set L0_4_set_28, LBB0_28-LJTI0_4
LJTI0_4:
	.long	L0_4_set_13
	.long	L0_4_set_16
	.long	L0_4_set_16
	.long	L0_4_set_28
	.long	L0_4_set_16
.set L0_5_set_16, LBB0_16-LJTI0_5
.set L0_5_set_29, LBB0_29-LJTI0_5
.set L0_5_set_30, LBB0_30-LJTI0_5
.set L0_5_set_31, LBB0_31-LJTI0_5
LJTI0_5:
	.long	L0_5_set_16
	.long	L0_5_set_29
	.long	L0_5_set_30
	.long	L0_5_set_16
	.long	L0_5_set_31
	.end_data_region
                                        ## -- End function
	.comm	_date_cmp,4,2                   ## @date_cmp
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized SQL/JSON datetime type oid: %u"

	.comm	_time_cmp,4,2                   ## @time_cmp
	.comm	_timetz_cmp,4,2                 ## @timetz_cmp
	.comm	_timestamp_cmp,4,2              ## @timestamp_cmp
	.no_dead_strip	_compareDatetime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compareDatetime
_compareDatetime:                       ; @compareDatetime
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x5
	mov	x19, x2
	mov	x20, x0
	str	wzr, [x5]
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_17
; %bb.1:
	mov	x22, x4
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:
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_3@PAGE
Lloh3:
	add	x9, x9, lJTI0_3@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh4:
	adrp	x8, _timetz_cmp@GOTPAGE
Lloh5:
	ldr	x8, [x8, _timetz_cmp@GOTPAGEOFF]
	b	LBB0_32
LBB0_5:
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.6:
Lloh6:
	adrp	x9, lJTI0_1@PAGE
Lloh7:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x19
	bl	_DatumGetTimestamp
	mov	x19, x0
	mov	x0, x20
	bl	_DatumGetTimestampTz
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_cmpTimestampToTimestampTz
	b	LBB0_26
LBB0_8:
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.9:
Lloh8:
	adrp	x9, lJTI0_2@PAGE
Lloh9:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x0, x20
	bl	_DatumGetTimestamp
	mov	x20, x0
	mov	x0, x19
	bl	_DatumGetTimestampTz
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cmpTimestampToTimestampTz
LBB0_11:
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.12:
Lloh10:
	adrp	x9, lJTI0_4@PAGE
Lloh11:
	add	x9, x9, lJTI0_4@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	mov	x0, x20
	mov	x1, x22
	bl	_castTimeToTimeTz
	mov	x20, x0
	b	LBB0_23
LBB0_14:
	sub	w8, w3, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.15:
Lloh12:
	adrp	x9, lJTI0_5@PAGE
Lloh13:
	add	x9, x9, lJTI0_5@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_27
LBB0_17:
	mov	x2, x1
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
LBB0_19:
	bl	_elog
                                        ; implicit-def: $w0
	ldr	w8, [x21]
	cbz	w8, LBB0_33
LBB0_20:
	mov	w0, #0
	b	LBB0_27
LBB0_21:
Lloh24:
	adrp	x8, _timestamp_cmp@GOTPAGE
Lloh25:
	ldr	x8, [x8, _timestamp_cmp@GOTPAGEOFF]
	b	LBB0_32
LBB0_22:
	mov	x0, x19
	mov	x1, x22
	bl	_castTimeToTimeTz
	mov	x19, x0
LBB0_23:
Lloh26:
	adrp	x8, _timetz_cmp@GOTPAGE
Lloh27:
	ldr	x8, [x8, _timetz_cmp@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w8, [x21]
	cbnz	w8, LBB0_20
	b	LBB0_33
LBB0_24:
	mov	x0, x19
	bl	_DatumGetDateADT
	mov	x19, x0
	mov	x0, x20
	bl	_DatumGetTimestampTz
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_cmpDateToTimestampTz
	b	LBB0_26
LBB0_25:
	mov	x0, x19
	bl	_DatumGetDateADT
	mov	x19, x0
	mov	x0, x20
	bl	_DatumGetTimestamp
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_cmpDateToTimestamp
LBB0_26:
	neg	w0, w0
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_28:
Lloh29:
	adrp	x8, _time_cmp@GOTPAGE
Lloh30:
	ldr	x8, [x8, _time_cmp@GOTPAGEOFF]
	b	LBB0_32
LBB0_29:
	mov	x0, x20
	bl	_DatumGetDateADT
	mov	x20, x0
	mov	x0, x19
	bl	_DatumGetTimestampTz
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cmpDateToTimestampTz
LBB0_30:
	mov	x0, x20
	bl	_DatumGetDateADT
	mov	x20, x0
	mov	x0, x19
	bl	_DatumGetTimestamp
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cmpDateToTimestamp
LBB0_31:
Lloh31:
	adrp	x8, _date_cmp@GOTPAGE
Lloh32:
	ldr	x8, [x8, _date_cmp@GOTPAGEOFF]
LBB0_32:
	ldr	w0, [x8]
LBB0_33:
	mov	x1, x20
	mov	x2, x19
	bl	_DirectFunctionCall2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DatumGetInt32
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_21-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_24-LBB0_7)>>2
lJTI0_2:
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_21-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_25-LBB0_10)>>2
lJTI0_3:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
lJTI0_4:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_28-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
lJTI0_5:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_29-LBB0_16)>>2
	.byte	(LBB0_30-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_31-LBB0_16)>>2
                                        ; -- End function
	.comm	_date_cmp,4,2                   ; @date_cmp
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized SQL/JSON datetime type oid: %u"

	.comm	_time_cmp,4,2                   ; @time_cmp
	.comm	_timetz_cmp,4,2                 ; @timetz_cmp
	.comm	_timestamp_cmp,4,2              ; @timestamp_cmp
	.no_dead_strip	_compareDatetime
.subsections_via_symbols
