	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSQLLocalTime                ## -- Begin function GetSQLLocalTime
	.p2align	4, 0x90
_GetSQLLocalTime:                       ## @GetSQLLocalTime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_GetCurrentTransactionStartTimestamp
	leaq	-36(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	%eax, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_timestamp2tm
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	-28(%rbp), %esi
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_tm2time
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_AdjustTimeForTypmod
	movl	-32(%rbp), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE,4,2 ## @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timestamp out of range"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetSQLLocalTime                ; -- Begin function GetSQLLocalTime
	.p2align	2
_GetSQLLocalTime:                       ; @GetSQLLocalTime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_GetCurrentTransactionStartTimestamp
	mov	x1, sp
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, #0
	mov	x5, #0
	bl	_timestamp2tm
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_2:
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	add	x2, sp, #12
	bl	_tm2time
	add	x0, sp, #12
	mov	x1, x19
	bl	_AdjustTimeForTypmod
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE,4,2 ; @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timestamp out of range"

.subsections_via_symbols
