	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_sane_timezone
_parse_sane_timezone:                   ## @parse_sane_timezone
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_TZ_STRLEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_text_to_cstring_buffer
	movzbl	(%r12), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.2(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_DecodeTimezone
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	movq	_DTERR_TZDISP_OVERFLOW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %r15
	jmp	LBB0_7
LBB0_5:
	movq	_DTERR_BAD_FORMAT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.4(%rip), %r15
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movq	%r12, %rdi
	callq	_strlen
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_downcase_truncate_identifier
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_DecodeTimezoneAbbrev
	movq	_TZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.9:
	movq	_DTZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.11:
	movq	_DYNTZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_DetermineTimeZoneAbbrevOffset
	movl	%eax, -44(%rbp)
	jmp	LBB0_16
LBB0_10:
	subl	-48(%rbp), %ebx
	movl	%ebx, -44(%rbp)
	jmp	LBB0_16
LBB0_13:
	movq	%r12, %rdi
	callq	_pg_tzset
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_DetermineTimeZoneOffset
	movl	%eax, -44(%rbp)
	jmp	LBB0_16
LBB0_15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_16:
	movl	-44(%rbp), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TZ_STRLEN_MAX,4,2              ## @TZ_STRLEN_MAX
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"numeric time zone"

L_.str.2:                               ## @.str.2
	.asciz	"Numeric time zones must have \"-\" or \"+\" as first character."

	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ## @DTERR_TZDISP_OVERFLOW
L_.str.3:                               ## @.str.3
	.asciz	"numeric time zone \"%s\" out of range"

	.comm	_DTERR_BAD_FORMAT,4,2           ## @DTERR_BAD_FORMAT
L_.str.4:                               ## @.str.4
	.asciz	"time zone \"%s\" not recognized"

	.comm	_TZ,4,2                         ## @TZ
	.comm	_DTZ,4,2                        ## @DTZ
	.comm	_DYNTZ,4,2                      ## @DYNTZ
	.no_dead_strip	_parse_sane_timezone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_sane_timezone
_parse_sane_timezone:                   ; @parse_sane_timezone
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _TZ_STRLEN_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TZ_STRLEN_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w2, w8, #1
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	x0, x1
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_text_to_cstring_buffer
	ldrb	w0, [x20]
	bl	_isdigit
Lloh8:
	adrp	x23, _ERROR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
Lloh10:
	adrp	x24, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w21, [x23]
	ldr	w0, [x24]
	bl	_errcode
	str	x20, [sp, #-16]!
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	sub	x1, x29, #60
	mov	x0, x20
	bl	_DecodeTimezone
	cbz	w0, LBB0_15
; %bb.3:
Lloh18:
	adrp	x8, _DTERR_TZDISP_OVERFLOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DTERR_TZDISP_OVERFLOW@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
Lloh21:
	adrp	x21, l_.str.3@PAGE
Lloh22:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh23:
	adrp	x8, _DTERR_BAD_FORMAT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DTERR_BAD_FORMAT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.6:
Lloh26:
	adrp	x21, l_.str.4@PAGE
Lloh27:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_7:
	ldr	w22, [x23]
	ldr	w0, [x24]
	bl	_errcode
	mov	x0, x21
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_8:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_downcase_truncate_identifier
	mov	x1, x0
	sub	x2, x29, #64
	sub	x3, x29, #72
	mov	w0, #0
	bl	_DecodeTimezoneAbbrev
Lloh28:
	adrp	x8, _TZ@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TZ@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _DTZ@GOTPAGE
Lloh32:
	ldr	x9, [x9, _DTZ@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_10
; %bb.9:
	ldur	w8, [x29, #-64]
	neg	w8, w8
	stur	w8, [x29, #-60]
	b	LBB0_15
LBB0_10:
Lloh34:
	adrp	x8, _DYNTZ@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DYNTZ@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.11:
	ldur	x2, [x29, #-72]
	mov	x0, x19
	mov	x1, x20
	bl	_DetermineTimeZoneAbbrevOffset
	stur	w0, [x29, #-60]
	b	LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_pg_tzset
	stur	x0, [x29, #-72]
	cbz	x0, LBB0_14
; %bb.13:
	mov	x1, x0
	mov	x0, x19
	bl	_DetermineTimeZoneOffset
	stur	w0, [x29, #-60]
	b	LBB0_15
LBB0_14:
	ldr	w19, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_15:
	ldur	w0, [x29, #-60]
	ldur	x8, [x29, #-56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_TZ_STRLEN_MAX,4,2              ; @TZ_STRLEN_MAX
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"numeric time zone"

l_.str.2:                               ; @.str.2
	.asciz	"Numeric time zones must have \"-\" or \"+\" as first character."

	.comm	_DTERR_TZDISP_OVERFLOW,4,2      ; @DTERR_TZDISP_OVERFLOW
l_.str.3:                               ; @.str.3
	.asciz	"numeric time zone \"%s\" out of range"

	.comm	_DTERR_BAD_FORMAT,4,2           ; @DTERR_BAD_FORMAT
l_.str.4:                               ; @.str.4
	.asciz	"time zone \"%s\" not recognized"

	.comm	_TZ,4,2                         ; @TZ
	.comm	_DTZ,4,2                        ; @DTZ
	.comm	_DYNTZ,4,2                      ; @DYNTZ
	.no_dead_strip	_parse_sane_timezone
.subsections_via_symbols
