	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPESinterval_from_asc       ## -- Begin function PGTYPESinterval_from_asc
	.p2align	4, 0x90
_PGTYPESinterval_from_asc:              ## @PGTYPESinterval_from_asc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXDATEFIELDS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MAXDATELEN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	addl	%ebx, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -64(%rbp)
	movq	%r15, %rdi
	callq	_strlen
	cmpl	(%r14), %eax
	jg	LBB0_2
## %bb.1:
	testq	%r13, %r13
	leaq	-152(%rbp), %r9
	cmovneq	%r13, %r9
	leaq	-68(%rbp), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_ParseDateTime
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	movq	_PGTYPES_INTVL_BAD_INTERVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.5:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-68(%rbp), %edx
	leaq	-52(%rbp), %rcx
	leaq	-144(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_DecodeInterval
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	-52(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	callq	_DecodeISO8601Interval
	testq	%rax, %rax
	jne	LBB0_2
LBB0_8:
	movl	$4, %edi
	callq	_pgtypes_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rax, %rbx
	movl	-52(%rbp), %eax
	movq	_DTK_DELTA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.10:
	movq	-64(%rbp), %rsi
	leaq	-144(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_tm2interval
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	_PGTYPES_INTVL_BAD_INTERVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_3
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_4
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDATEFIELDS,4,2              ## @MAXDATEFIELDS
	.comm	_MAXDATELEN,4,2                 ## @MAXDATELEN
	.comm	_PGTYPES_INTVL_BAD_INTERVAL,8,3 ## @PGTYPES_INTVL_BAD_INTERVAL
	.comm	_errno,8,3                      ## @errno
	.comm	_DTK_DELTA,4,2                  ## @DTK_DELTA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPESinterval_from_asc       ; -- Begin function PGTYPESinterval_from_asc
	.p2align	2
_PGTYPESinterval_from_asc:              ; @PGTYPESinterval_from_asc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #80
	mov	x21, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x12, _MAXDATEFIELDS@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAXDATEFIELDS@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w12, [x12]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh9:
	adrp	x25, _MAXDATELEN@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MAXDATELEN@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w9, w8, w12
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x8
	mov	sp, x23
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-128]
	stur	q0, [x29, #-96]
	stur	xzr, [x29, #-80]
	bl	_strlen
	ldr	w8, [x25]
	cmp	w0, w8
	b.gt	LBB0_2
; %bb.1:
	sub	x8, x29, #144
	cmp	x21, #0
	csel	x5, x8, x21, eq
	sub	x4, x29, #136
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	bl	_ParseDateTime
	cbz	x0, LBB0_5
LBB0_2:
	mov	x19, #0
Lloh13:
	adrp	x8, _PGTYPES_INTVL_BAD_INTERVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PGTYPES_INTVL_BAD_INTERVAL@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _errno@GOTPAGE
Lloh17:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh18:
	str	x8, [x9]
LBB0_3:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.4:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldur	w2, [x29, #-136]
	sub	x3, x29, #132
	sub	x4, x29, #128
	sub	x5, x29, #80
	mov	x0, x20
	mov	x1, x22
	bl	_DecodeInterval
	cbz	x0, LBB0_7
; %bb.6:
	sub	x1, x29, #132
	sub	x2, x29, #128
	sub	x3, x29, #80
	mov	x0, x19
	bl	_DecodeISO8601Interval
	cbnz	x0, LBB0_2
LBB0_7:
	mov	w0, #4
	bl	_pgtypes_alloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.8:
	ldur	w8, [x29, #-132]
Lloh22:
	adrp	x9, _DTK_DELTA@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DTK_DELTA@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:
	ldur	x1, [x29, #-80]
	sub	x0, x29, #128
	mov	x2, x19
	bl	_tm2interval
	cbz	x0, LBB0_11
LBB0_10:
Lloh25:
	adrp	x8, _PGTYPES_INTVL_BAD_INTERVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PGTYPES_INTVL_BAD_INTERVAL@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _errno@GOTPAGE
Lloh29:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh30:
	str	x8, [x9]
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_3
LBB0_11:
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	str	xzr, [x8]
	b	LBB0_3
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDATEFIELDS,4,2              ; @MAXDATEFIELDS
	.comm	_MAXDATELEN,4,2                 ; @MAXDATELEN
	.comm	_PGTYPES_INTVL_BAD_INTERVAL,8,3 ; @PGTYPES_INTVL_BAD_INTERVAL
	.comm	_errno,8,3                      ; @errno
	.comm	_DTK_DELTA,4,2                  ; @DTK_DELTA
.subsections_via_symbols
