	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timestamptz2timestamp
_timestamptz2timestamp:                 ## @timestamptz2timestamp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_TIMESTAMP_NOT_FINITE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, -12(%rbp)
	jmp	LBB0_6
LBB0_2:
	leaq	-24(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_timestamp2tm
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	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_4:
	movl	-20(%rbp), %esi
	leaq	-16(%rbp), %rdi
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	callq	_tm2timestamp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	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_6:
	movl	-12(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	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"

	.no_dead_strip	_timestamptz2timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timestamptz2timestamp
_timestamptz2timestamp:                 ; @timestamptz2timestamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_TIMESTAMP_NOT_FINITE
	cbz	x0, LBB0_2
; %bb.1:
	str	w19, [sp, #12]
	b	LBB0_6
LBB0_2:
	mov	x1, sp
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	mov	x4, #0
	mov	x5, #0
	bl	_timestamp2tm
Lloh0:
	adrp	x20, _ERROR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x21, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w19, [x20]
	ldr	w0, [x21]
	bl	_errcode
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_4:
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	add	x3, sp, #12
	mov	x2, #0
	bl	_tm2timestamp
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w19, [x20]
	ldr	w0, [x21]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_6:
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.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"

	.no_dead_strip	_timestamptz2timestamp
.subsections_via_symbols
