	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_date
_is_date:                               ## @is_date
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	decl	%esi
	xorl	%eax, %eax
	cmpl	$11, %esi
	ja	LBB0_17
## %bb.1:
	movl	%edi, %r14d
	leal	-1(%rdx), %edi
	cmpl	$30, %edi
	ja	LBB0_17
## %bb.2:
	movq	%r9, %r12
	movl	%r8d, %r15d
	movl	8(%r9), %eax
	movl	%eax, -40(%rbp)
	movq	(%r9), %rax
	testq	%rcx, %rcx
	leaq	-48(%rbp), %rdi
	movq	%rdi, %rbx
	cmoveq	%r9, %rbx
	movq	%rax, -48(%rbp)
	movl	%esi, (%rbx)
	movl	%edx, 4(%rbx)
	cmpl	$-1, %r14d
	je	LBB0_5
## %bb.3:
	leal	-1970(%r14), %eax
	cmpl	$129, %eax
	ja	LBB0_7
## %bb.4:
	leal	-1900(%r14), %eax
	jmp	LBB0_10
LBB0_5:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.6:
	movl	8(%rcx), %eax
	movl	%eax, -40(%rbp)
	jmp	LBB0_11
LBB0_7:
	leal	-71(%r14), %edx
	movl	%r14d, %eax
	cmpl	$29, %edx
	jb	LBB0_10
## %bb.8:
	xorl	%eax, %eax
	cmpl	$37, %r14d
	jg	LBB0_17
## %bb.9:
	leal	100(%r14), %eax
LBB0_10:
	testq	%rcx, %rcx
	cmoveq	%r12, %rdi
	movl	%eax, 8(%rdi)
	je	LBB0_16
LBB0_11:
	movq	%rbx, %rdi
	callq	_tm_to_time_t
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ecx
	addl	$864000, %r15d                  ## imm = 0xD2F00
	xorl	%eax, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_17
LBB0_13:
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r12)
	movl	$1, %eax
	cmpl	$-1, %r14d
	je	LBB0_17
## %bb.14:
	movl	-40(%rbp), %ecx
	movl	%ecx, 8(%r12)
	jmp	LBB0_17
LBB0_16:
	movl	$1, %eax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_date
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_date
_is_date:                               ; @is_date
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #1
	sub	w9, w2, #1
	cmp	w8, #11
	ccmp	w9, #30, #2, ls
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	sub	sp, sp, #64
	.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
	mov	x19, x5
	mov	x21, x4
	mov	x20, x0
	ldr	x9, [x5]
	str	x9, [sp]
	ldr	w9, [x5, #8]
	str	w9, [sp, #8]
	mov	x9, sp
	cmp	x3, #0
	csel	x22, x5, x9, eq
	stp	w8, w2, [x22]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	sub	w8, w20, #1970
	cmp	w8, #129
	b.hi	LBB0_7
; %bb.4:
	sub	w8, w20, #1900
	b	LBB0_10
LBB0_5:
	cbz	x3, LBB0_16
; %bb.6:
	ldr	w8, [x3, #8]
	str	w8, [sp, #8]
	b	LBB0_11
LBB0_7:
	sub	w9, w20, #71
	mov	x8, x20
	cmp	w9, #29
	b.lo	LBB0_10
; %bb.8:
	cmp	w20, #37
	b.gt	LBB0_13
; %bb.9:
	add	w8, w20, #100
LBB0_10:
	mov	x9, sp
	cmp	x3, #0
	csel	x9, x19, x9, eq
	str	w8, [x9, #8]
	cbz	x3, LBB0_16
LBB0_11:
	mov	x0, x22
	bl	_tm_to_time_t
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.12:
	add	w8, w21, #210, lsl #12          ; =860160
	add	w8, w8, #3840
	cmp	w8, w0
	b.ge	LBB0_14
LBB0_13:
	mov	w0, #0
	b	LBB0_17
LBB0_14:
	ldp	w8, w9, [x22]
	stp	w8, w9, [x19]
	cmn	w20, #1
	b.eq	LBB0_16
; %bb.15:
	ldr	w8, [sp, #8]
	str	w8, [x19, #8]
LBB0_16:
	mov	w0, #1
LBB0_17:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_date
.subsections_via_symbols
