	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date_basic               ## -- Begin function parse_date_basic
	.p2align	4, 0x90
_parse_date_basic:                      ## @parse_date_basic
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	leaq	-88(%rbp), %r14
	cmovneq	%rsi, %r14
	testq	%rdx, %rdx
	leaq	-84(%rbp), %r15
	cmovneq	%rdx, %r15
	leaq	-80(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	pcmpeqd	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movdqu	%xmm0, -68(%rbp)
	movl	$-1, (%r15)
	movl	$0, -44(%rbp)
	cmpb	$64, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	1(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_match_object_header_date
	testl	%eax, %eax
	je	LBB0_25
LBB0_2:
	leaq	-80(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	cltq
	addq	%rax, %rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %r13d
	testb	%r13b, %r13b
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %r13b
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%r13b, %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_match_alpha
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%r13b, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	leaq	-44(%rbp), %rcx
	callq	_match_digit
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, %r13b
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$43, %r13b
	jne	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movsbl	1(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_match_tz
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_14
LBB0_16:
	leaq	-80(%rbp), %rdi
	callq	_tm_to_time_t
	movl	%eax, (%r14)
	cmpl	$-1, %eax
	je	LBB0_17
## %bb.18:
	movl	(%r15), %edx
	cmpl	$-1, %edx
	jne	LBB0_23
## %bb.19:
	movl	$-1, -68(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_mktime
	movslq	(%r14), %rcx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	jge	LBB0_21
## %bb.20:
	subq	%rax, %rcx
	movabsq	$-8608480567731124087, %rdx     ## imm = 0x8888888888888889
	movq	%rcx, %rax
	imulq	%rdx
	addq	%rcx, %rdx
	jmp	LBB0_22
LBB0_17:
	movl	$-1, %r12d
	jmp	LBB0_25
LBB0_21:
	movabsq	$8608480567731124087, %rcx      ## imm = 0x7777777777777777
	movq	%rsi, %rax
	imulq	%rcx
	subq	%rsi, %rdx
LBB0_22:
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$5, %rdx
	addq	%rax, %rdx
	movl	%edx, (%r15)
LBB0_23:
	xorl	%r12d, %r12d
	cmpl	$0, -44(%rbp)
	jne	LBB0_25
## %bb.24:
	imull	$-60, %edx, %eax
	addl	%eax, (%r14)
LBB0_25:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date_basic               ; -- Begin function parse_date_basic
	.p2align	2
_parse_date_basic:                      ; @parse_date_basic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x0
	add	x8, sp, #8
	cmp	x1, #0
	csel	x19, x8, x1, eq
	add	x8, sp, #4
	cmp	x2, #0
	csel	x20, x8, x2, eq
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	mov	x8, #-1
	stp	x8, x8, [sp, #16]
	str	x8, [sp, #32]
	str	w8, [sp, #40]
	mov	w8, #-1
	str	w8, [x20]
	str	wzr, [sp, #12]
	ldrb	w8, [x21]
	cmp	w8, #64
	b.ne	LBB0_4
; %bb.1:
	add	x0, x21, #1
	mov	x1, x19
	mov	x2, x20
	bl	_match_object_header_date
	cbnz	w0, LBB0_4
	b	LBB0_19
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, w0, sxtw
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w22, [x21]
	cmp	w22, #0
	ccmp	w22, #10, #4, ne
	b.eq	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_isalpha
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #16
	mov	x0, x21
	mov	x2, x20
	bl	_match_alpha
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w22
	bl	_isdigit
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #16
	add	x3, sp, #12
	mov	x0, x21
	mov	x2, x20
	bl	_match_digit
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #45
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #43
	b.ne	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x21, #1]
	bl	_isdigit
	cbz	x0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_match_tz
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_13:
	add	x0, sp, #16
	bl	_tm_to_time_t
	str	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.14:
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_17
; %bb.15:
	ldr	w9, [sp, #12]
	cbz	w9, LBB0_18
LBB0_16:
	mov	w0, #0
	b	LBB0_19
LBB0_17:
	str	w8, [sp, #28]
	add	x0, sp, #16
	bl	_mktime
	ldrsw	x8, [x19]
	mov	x9, #8608480567731124087
	sub	x10, x0, x8
	smulh	x9, x10, x9
	sub	x9, x9, x10
	asr	x10, x9, #5
	add	x9, x10, x9, lsr #63
	mov	x10, #-8608480567731124088
	movk	x10, #34953
	sub	x11, x8, x0
	smulh	x10, x11, x10
	add	x10, x10, x11
	asr	x11, x10, #5
	add	x10, x11, x10, lsr #63
	cmp	x0, x8
	csel	x8, x9, x10, ge
	str	w8, [x20]
	ldr	w9, [sp, #12]
	cbnz	w9, LBB0_16
LBB0_18:
	mov	w0, #0
	mov	w9, #-60
	ldr	w10, [x19]
	madd	w8, w8, w9, w10
	str	w8, [x19]
LBB0_19:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
