	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_Notify
_DATETIME_Notify:                       ## @DATETIME_Notify
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %rsi
	movq	8(%r14), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movslq	12(%rbx), %rsi
	movl	36(%rbx), %edx
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%r14), %rax
	movq	_MCN_SELECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	36(%rbx), %edi
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShowWindow
	movq	_TRUE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, 40(%rbx)
	movl	36(%rbx), %edi
	movq	_MCM_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	20(%rbx), %rcx
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movslq	32(%rbx), %rsi
	movl	28(%rbx), %edx
	movl	20(%rbx), %r8d
	movl	24(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	16(%rbx), %edi
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BST_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movl	12(%rbx), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
	movq	%rbx, %rdi
	callq	_DATETIME_SendDateTimeChangeNotify
	movq	_DTN_CLOSEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DATETIME_SendSimpleNotify
LBB0_2:
	movq	8(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movq	_UDN_DELTAPOS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movslq	%eax, %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got notification %x from %p\n"

L_.str.1:                               ## @.str.1
	.asciz	"info: %p %p %p\n"

	.comm	_MCN_SELECT,8,3                 ## @MCN_SELECT
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MCM_GETCURSEL,4,2              ## @MCM_GETCURSEL
L_.str.2:                               ## @.str.2
	.asciz	"got from calendar %04d/%02d/%02d day of week %d\n"

	.comm	_BM_SETCHECK,4,2                ## @BM_SETCHECK
	.comm	_BST_CHECKED,4,2                ## @BST_CHECKED
	.comm	_DTN_CLOSEUP,4,2                ## @DTN_CLOSEUP
	.comm	_UDN_DELTAPOS,8,3               ## @UDN_DELTAPOS
L_.str.3:                               ## @.str.3
	.asciz	"Delta pos %d\n"

	.no_dead_strip	_DATETIME_Notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_Notify
_DATETIME_Notify:                       ; @DATETIME_Notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	x1, [x1]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldrsw	x1, [x19, #12]
	ldr	x8, [x19]
	ldr	w9, [x19, #36]
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _MCN_SELECT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MCN_SELECT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #36]
Lloh7:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_ShowWindow
Lloh10:
	adrp	x21, _TRUE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [x19, #40]
	ldr	w0, [x19, #36]
Lloh12:
	adrp	x8, _MCM_GETCURSEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MCM_GETCURSEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x3, x19, #20
	mov	w2, #0
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessageW
	ldp	w8, w1, [x19, #28]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	ldp	w10, w9, [x19, #20]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _BST_CHECKED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BST_CHECKED@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_SendMessageW
	ldr	w0, [x19, #12]
	ldr	w2, [x21]
	mov	x1, #0
	bl	_InvalidateRect
	mov	x0, x19
	bl	_DATETIME_SendDateTimeChangeNotify
Lloh23:
	adrp	x8, _DTN_CLOSEUP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DTN_CLOSEUP@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DATETIME_SendSimpleNotify
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _UDN_DELTAPOS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _UDN_DELTAPOS@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	sxtw	x1, w8
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	ldr	w8, [x20]
	str	w8, [x19, #8]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got notification %x from %p\n"

l_.str.1:                               ; @.str.1
	.asciz	"info: %p %p %p\n"

	.comm	_MCN_SELECT,8,3                 ; @MCN_SELECT
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MCM_GETCURSEL,4,2              ; @MCM_GETCURSEL
l_.str.2:                               ; @.str.2
	.asciz	"got from calendar %04d/%02d/%02d day of week %d\n"

	.comm	_BM_SETCHECK,4,2                ; @BM_SETCHECK
	.comm	_BST_CHECKED,4,2                ; @BST_CHECKED
	.comm	_DTN_CLOSEUP,4,2                ; @DTN_CLOSEUP
	.comm	_UDN_DELTAPOS,8,3               ; @UDN_DELTAPOS
l_.str.3:                               ; @.str.3
	.asciz	"Delta pos %d\n"

	.no_dead_strip	_DATETIME_Notify
.subsections_via_symbols
