	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_ECPGdebug
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_PGTYPEStimestamp_from_asc
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_PGTYPEStimestamp_to_asc
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_PGTYPESchar_free
	movl	%r14d, %edi
	callq	_PGTYPESdate_from_timestamp
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_PGTYPESdate_new
	movq	%rax, %r14
	movq	%rbx, (%rax)
	movq	%rbx, %rdi
	callq	_PGTYPESdate_to_asc
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_PGTYPESchar_free
	movq	%r14, %rdi
	callq	_PGTYPESdate_free
	movq	_dates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_dates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%r12,8), %rdi
	incq	%r12
	testq	%rdi, %rdi
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	leaq	-56(%rbp), %rsi
	callq	_PGTYPESdate_from_asc
	movq	%rax, %r14
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_PGTYPESdate_to_asc
	movq	%rax, %r15
	cmpq	%r13, %r14
	movl	$70, %r8d
	movl	$84, %eax
	cmovel	%eax, %r8d
	movq	%r15, %rdx
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %rdx
	cmpq	$0, -56(%rbp)
	movl	$78, %ecx
	movl	$89, %eax
	cmovel	%eax, %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	movq	_times@GOTPCREL(%rip), %rbx
	callq	_PGTYPESchar_free
	cmpq	%r13, %r14
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_dates@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %edi
	addl	$2, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	(%r13), %rax
	leaq	L_.str.4(%rip), %r13
	movq	(%rax,%r12,8), %rdx
	movq	_times@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rcx
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_sprintf
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_PGTYPEStimestamp_from_asc
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_PGTYPEStimestamp_to_asc
	movq	%rax, %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%r13, %rcx
	leaq	L_.str.6(%rip), %rdi
	cmoveq	%rbx, %rcx
	movl	%r12d, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_PGTYPESchar_free
	movq	%r15, %rdi
	movq	_times@GOTPCREL(%rip), %rbx
	callq	_free
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax,%r14,8)
	leaq	1(%r14), %r14
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.7(%rip), %rdi
	xorl	%esi, %esi
	callq	_PGTYPEStimestamp_from_asc
	movl	%eax, -44(%rbp)
	movq	_intervals@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.8:
	leaq	-56(%rbp), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rax
	movq	8(%rax,%r14,8), %rdi
	incq	%r14
	testq	%rdi, %rdi
	je	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	callq	_PGTYPESinterval_from_asc
	movq	%rax, %r15
	movq	-56(%rbp), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	-44(%rbp), %rdi
	movq	%r15, %rsi
	leaq	-60(%rbp), %rdx
	callq	_PGTYPEStimestamp_add_interval
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_PGTYPESinterval_to_asc
	movq	%rax, %r12
	testq	%rax, %rax
	movq	%rax, %rdx
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	L_.str.10(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_PGTYPESchar_free
	xorl	%eax, %eax
	callq	_PGTYPESinterval_new
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_PGTYPESinterval_copy
	movq	%r15, %rdi
	callq	_PGTYPESinterval_to_asc
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%rax, %rdx
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	L_.str.11(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_PGTYPESchar_free
	movq	%r12, %rdi
	leaq	-56(%rbp), %rbx
	callq	_PGTYPESinterval_free
	movq	%r15, %rdi
	callq	_PGTYPESinterval_free
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"2003-12-04 17:34:29"

L_.str.1:                               ## @.str.1
	.asciz	"timestamp: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Date of timestamp: %s\n"

	.comm	_dates,8,3                      ## @dates
	.comm	_INT_MIN,8,3                    ## @INT_MIN
L_.str.3:                               ## @.str.3
	.asciz	"Date[%d]: %s (%c - %c)\n"

L_.str.4:                               ## @.str.4
	.asciz	"-"

	.comm	_times,8,3                      ## @times
L_.str.5:                               ## @.str.5
	.asciz	"%s %s"

L_.str.6:                               ## @.str.6
	.asciz	"TS[%d,%d]: %s\n"

	.comm	_errno,8,3                      ## @errno
L_.str.7:                               ## @.str.7
	.asciz	"2004-04-04 23:23:23"

	.comm	_intervals,8,3                  ## @intervals
L_.str.8:                               ## @.str.8
	.asciz	"endptr set to %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"Error parsing interval %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"interval[%d]: %s\n"

L_.str.11:                              ## @.str.11
	.asciz	"interval_copy[%d]: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_ECPGdebug
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	bl	_PGTYPEStimestamp_from_asc
	mov	x19, x0
	bl	_PGTYPEStimestamp_to_asc
	mov	x20, x0
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_PGTYPESchar_free
	mov	x0, x19
	bl	_PGTYPESdate_from_timestamp
	mov	x19, x0
	bl	_PGTYPESdate_new
	mov	x20, x0
	str	x19, [x0]
	mov	x0, x19
	bl	_PGTYPESdate_to_asc
	mov	x19, x0
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_PGTYPESchar_free
	mov	x0, x20
	bl	_PGTYPESdate_free
Lloh9:
	adrp	x24, _dates@GOTPAGE
Lloh10:
	ldr	x24, [x24, _dates@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x8]
Lloh11:
	adrp	x26, l_.str.4@PAGE
Lloh12:
	add	x26, x26, l_.str.4@PAGEOFF
	cbz	x0, LBB0_7
; %bb.1:
	mov	x25, #0
Lloh13:
	adrp	x28, _times@GOTPAGE
Lloh14:
	ldr	x28, [x28, _times@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str.6@PAGE
Lloh16:
	add	x21, x21, l_.str.6@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	x8, [x24]
	ldr	x0, [x8, x25, lsl #3]
	cbz	x0, LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x1, sp, #32
	bl	_PGTYPESdate_from_asc
	mov	x22, x0
Lloh17:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh19:
	ldr	x19, [x8]
	bl	_PGTYPESdate_to_asc
	mov	x23, x0
	cmp	x22, x19
	csel	x8, x26, x0, eq
	ldr	x9, [sp, #32]
	mov	w10, #70
	mov	w11, #84
	csel	x10, x11, x10, eq
	cmp	x9, #0
	mov	w9, #78
	mov	w11, #89
	csel	x9, x11, x9, eq
	stp	x9, x10, [sp, #16]
	stp	x25, x8, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	mov	x0, x23
	bl	_PGTYPESchar_free
	cmp	x22, x19
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
	mov	x20, x25
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	lsl	x23, x25, #3
	ldr	x0, [x8, x23]
	bl	_strlen
	mov	x22, x0
	ldr	x8, [x28]
	lsl	x27, x19, #3
	ldr	x0, [x8, x27]
	bl	_strlen
	add	w8, w22, w0
	add	w0, w8, #2
	bl	_malloc
	mov	x22, x0
	ldr	x8, [x24]
	ldr	x2, [x8, x23]
	ldr	x8, [x28]
	ldr	x3, [x8, x27]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
	mov	x0, x22
	mov	x1, #0
	bl	_PGTYPEStimestamp_from_asc
	str	w0, [sp, #44]
	bl	_PGTYPEStimestamp_to_asc
	mov	x23, x0
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x0, x26, eq
	stp	x19, x8, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	bl	_printf
	mov	x0, x23
	bl	_PGTYPESchar_free
	mov	x0, x22
	bl	_free
	add	x19, x19, #1
	ldr	x8, [x28]
	add	x8, x8, x27
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_6
	b	LBB0_2
LBB0_7:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, #0
	bl	_PGTYPEStimestamp_from_asc
	str	w0, [sp, #44]
Lloh29:
	adrp	x27, _intervals@GOTPAGE
Lloh30:
	ldr	x27, [x27, _intervals@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x0, [x8]
	cbz	x0, LBB0_16
; %bb.8:
	mov	x28, #0
Lloh31:
	adrp	x19, l_.str.9@PAGE
Lloh32:
	add	x19, x19, l_.str.9@PAGEOFF
Lloh33:
	adrp	x20, l_.str.10@PAGE
Lloh34:
	add	x20, x20, l_.str.10@PAGEOFF
Lloh35:
	adrp	x21, l_.str.11@PAGE
Lloh36:
	add	x21, x21, l_.str.11@PAGEOFF
Lloh37:
	adrp	x22, l_.str.8@PAGE
Lloh38:
	add	x22, x22, l_.str.8@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	str	x28, [sp]
	mov	x0, x19
	bl	_printf
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x27]
	add	x8, x8, x28, lsl #3
	add	x28, x28, #1
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #32
	bl	_PGTYPESinterval_from_asc
	mov	x23, x0
	ldr	x8, [sp, #32]
	ldrb	w9, [x8]
	cbz	w9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x8, [sp]
	mov	x0, x22
	bl	_printf
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	cbz	x23, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #44
	add	x2, sp, #40
	mov	x1, x23
	bl	_PGTYPEStimestamp_add_interval
	tbnz	w0, #31, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	bl	_PGTYPESinterval_to_asc
	mov	x24, x0
	cmp	x0, #0
	csel	x8, x26, x0, eq
	stp	x28, x8, [sp]
	mov	x0, x20
	bl	_printf
	mov	x0, x24
	bl	_PGTYPESchar_free
	bl	_PGTYPESinterval_new
	mov	x24, x0
	mov	x0, x23
	mov	x1, x24
	bl	_PGTYPESinterval_copy
	mov	x0, x23
	bl	_PGTYPESinterval_to_asc
	mov	x25, x0
	cmp	x0, #0
	csel	x8, x26, x0, eq
	stp	x28, x8, [sp]
	mov	x0, x21
	bl	_printf
	mov	x0, x25
	bl	_PGTYPESchar_free
	mov	x0, x24
	bl	_PGTYPESinterval_free
	mov	x0, x23
	bl	_PGTYPESinterval_free
	b	LBB0_10
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"2003-12-04 17:34:29"

l_.str.1:                               ; @.str.1
	.asciz	"timestamp: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Date of timestamp: %s\n"

	.comm	_dates,8,3                      ; @dates
	.comm	_INT_MIN,8,3                    ; @INT_MIN
l_.str.3:                               ; @.str.3
	.asciz	"Date[%d]: %s (%c - %c)\n"

l_.str.4:                               ; @.str.4
	.asciz	"-"

	.comm	_times,8,3                      ; @times
l_.str.5:                               ; @.str.5
	.asciz	"%s %s"

l_.str.6:                               ; @.str.6
	.asciz	"TS[%d,%d]: %s\n"

	.comm	_errno,8,3                      ; @errno
l_.str.7:                               ; @.str.7
	.asciz	"2004-04-04 23:23:23"

	.comm	_intervals,8,3                  ; @intervals
l_.str.8:                               ; @.str.8
	.asciz	"endptr set to %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"Error parsing interval %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"interval[%d]: %s\n"

l_.str.11:                              ; @.str.11
	.asciz	"interval_copy[%d]: %s\n"

.subsections_via_symbols
