	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_IsDateInValidRange
_DATETIME_IsDateInValidRange:           ## @DATETIME_IsDateInValidRange
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_max_allowed_date@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MONTHCAL_CompareSystemTime
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpl	$1, %eax
	je	LBB0_7
## %bb.1:
	movq	_min_allowed_date@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MONTHCAL_CompareSystemTime
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.2:
	movl	(%r14), %edi
	movq	_MCM_GETRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rcx
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movl	%eax, %r14d
	movq	_GDTR_MAX@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_MONTHCAL_CompareSystemTime
	cmpl	$1, %eax
	je	LBB0_7
LBB0_4:
	movq	_GDTR_MIN@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_MONTHCAL_CompareSystemTime
	cmpl	$-1, %eax
	je	LBB0_7
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_7:
	movl	(%r15), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_max_allowed_date,4,2           ## @max_allowed_date
	.comm	_min_allowed_date,4,2           ## @min_allowed_date
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MCM_GETRANGE,4,2               ## @MCM_GETRANGE
	.comm	_GDTR_MAX,4,2                   ## @GDTR_MAX
	.comm	_GDTR_MIN,4,2                   ## @GDTR_MIN
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_DATETIME_IsDateInValidRange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_IsDateInValidRange
_DATETIME_IsDateInValidRange:           ; @DATETIME_IsDateInValidRange
	.cfi_startproc
; %bb.0:
	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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x1, _max_allowed_date@GOTPAGE
Lloh4:
	ldr	x1, [x1, _max_allowed_date@GOTPAGEOFF]
	mov	x0, x19
	bl	_MONTHCAL_CompareSystemTime
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.1:
Lloh5:
	adrp	x1, _min_allowed_date@GOTPAGE
Lloh6:
	ldr	x1, [x1, _min_allowed_date@GOTPAGEOFF]
	mov	x0, x19
	bl	_MONTHCAL_CompareSystemTime
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _MCM_GETRANGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MCM_GETRANGE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x21, sp
	mov	x3, sp
	mov	w2, #0
	bl	_SendMessageW
	mov	x20, x0
Lloh10:
	adrp	x8, _GDTR_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GDTR_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	add	x1, x21, #4
	mov	x0, x19
	bl	_MONTHCAL_CompareSystemTime
	cmp	w0, #1
	b.eq	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _GDTR_MIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GDTR_MIN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	mov	x1, sp
	mov	x0, x19
	bl	_MONTHCAL_CompareSystemTime
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_max_allowed_date,4,2           ; @max_allowed_date
	.comm	_min_allowed_date,4,2           ; @min_allowed_date
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MCM_GETRANGE,4,2               ; @MCM_GETRANGE
	.comm	_GDTR_MAX,4,2                   ; @GDTR_MAX
	.comm	_GDTR_MIN,4,2                   ; @GDTR_MIN
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_DATETIME_IsDateInValidRange
.subsections_via_symbols
