	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPEStimestamp_add_interval  ## -- Begin function PGTYPEStimestamp_add_interval
	.p2align	4, 0x90
_PGTYPEStimestamp_add_interval:         ## @PGTYPEStimestamp_add_interval
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_TIMESTAMP_NOT_FINITE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	jmp	LBB0_15
LBB0_2:
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.3:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_timestamp2tm
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:
	movl	-56(%rbp), %eax
	addl	(%r15), %eax
	movl	%eax, -56(%rbp)
	movq	_MONTHS_PER_YEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_6
## %bb.5:
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	addl	-52(%rbp), %edi
	movl	%edi, -52(%rbp)
	incl	%edx
	jmp	LBB0_9
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	movl	-52(%rbp), %edi
	jmp	LBB0_10
LBB0_8:
	movl	-52(%rbp), %esi
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rsi), %edi
	decl	%edi
	movl	%edi, -52(%rbp)
	addl	%ecx, %edx
LBB0_9:
	movl	%edx, -56(%rbp)
LBB0_10:
	movq	-48(%rbp), %r13
	movq	_day_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	callq	_isleap
	movq	(%r12,%rax,8), %rax
	movslq	-56(%rbp), %rcx
	cmpq	-8(%rax,%rcx,8), %r13
	jle	LBB0_12
## %bb.11:
	movq	_day_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	-52(%rbp), %edi
	callq	_isleap
	movq	(%r12,%rax,8), %rax
	movslq	-56(%rbp), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movq	%rax, -48(%rbp)
LBB0_12:
	movl	-60(%rbp), %esi
	leaq	-56(%rbp), %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_tm2timestamp
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_14:
	movl	(%rbx), %eax
	addl	8(%r15), %eax
	movl	%eax, (%rbx)
LBB0_15:
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MONTHS_PER_YEAR,4,2            ## @MONTHS_PER_YEAR
	.comm	_day_tab,8,3                    ## @day_tab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPEStimestamp_add_interval  ; -- Begin function PGTYPEStimestamp_add_interval
	.p2align	2
_PGTYPEStimestamp_add_interval:         ; @PGTYPEStimestamp_add_interval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_TIMESTAMP_NOT_FINITE
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	b	LBB0_15
LBB0_2:
	ldr	x8, [x21]
	cbz	x8, LBB0_14
; %bb.3:
	ldr	w0, [x20]
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x1, #0
	mov	x4, #0
	bl	_timestamp2tm
	cbnz	x0, LBB0_13
; %bb.4:
	ldr	w9, [x21]
	ldr	w10, [sp, #16]
Lloh0:
	adrp	x8, _MONTHS_PER_YEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MONTHS_PER_YEAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w10, w9
	cmp	w9, w8
	str	w9, [sp, #16]
	b.le	LBB0_6
; %bb.5:
	sub	w9, w9, #1
	sdiv	w10, w9, w8
	ldr	w11, [sp, #20]
	add	w0, w11, w10
	msub	w8, w10, w8, w9
	add	w8, w8, #1
	b	LBB0_9
LBB0_6:
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	w0, [sp, #20]
	b	LBB0_10
LBB0_8:
	sdiv	w10, w9, w8
	ldr	w11, [sp, #20]
	add	w11, w10, w11
	sub	w0, w11, #1
	msub	w9, w10, w8, w9
	add	w8, w9, w8
LBB0_9:
	stp	w8, w0, [sp, #16]
LBB0_10:
	ldr	x23, [sp, #24]
Lloh3:
	adrp	x22, _day_tab@GOTPAGE
Lloh4:
	ldr	x22, [x22, _day_tab@GOTPAGEOFF]
	ldr	x24, [x22]
	bl	_isleap
	ldr	x8, [x24, x0, lsl #3]
	ldrsw	x9, [sp, #16]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	cmp	x23, x8
	b.le	LBB0_12
; %bb.11:
	ldr	x22, [x22]
	ldr	w0, [sp, #20]
	bl	_isleap
	ldr	x8, [x22, x0, lsl #3]
	ldrsw	x9, [sp, #16]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	str	x8, [sp, #24]
LBB0_12:
	ldr	w1, [sp, #12]
	add	x0, sp, #16
	mov	x2, #0
	mov	x3, x20
	bl	_tm2timestamp
	cbz	x0, LBB0_14
LBB0_13:
	mov	w0, #-1
	b	LBB0_16
LBB0_14:
	ldr	w8, [x21, #8]
	ldr	w9, [x20]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_15:
	mov	w0, #0
	str	w8, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MONTHS_PER_YEAR,4,2            ; @MONTHS_PER_YEAR
	.comm	_day_tab,8,3                    ; @day_tab
.subsections_via_symbols
