	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_NotifySelectionChange
_MONTHCAL_NotifySelectionChange:        ## @MONTHCAL_NotifySelectionChange
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	movl	%edi, -32(%rbp)
	movq	_GWLP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	movl	%eax, -40(%rbp)
	movq	_MCN_SELCHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -36(%rbp)
	movq	$0, -16(%rbp)
	movq	_MCS_MULTISELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_st_null@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rcx, -24(%rbp)
	movl	4(%rbx), %edi
	movq	_WM_NOTIFY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-40(%rbp), %rcx
	movl	%eax, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GWLP_ID,4,2                    ## @GWLP_ID
	.comm	_MCN_SELCHANGE,4,2              ## @MCN_SELCHANGE
	.comm	_MCS_MULTISELECT,4,2            ## @MCS_MULTISELECT
	.comm	_st_null,8,3                    ## @st_null
	.comm	_WM_NOTIFY,4,2                  ## @WM_NOTIFY
	.no_dead_strip	_MONTHCAL_NotifySelectionChange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_NotifySelectionChange
_MONTHCAL_NotifySelectionChange:        ; @MONTHCAL_NotifySelectionChange
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	w0, [x0, #24]
	str	w0, [sp, #8]
Lloh0:
	adrp	x8, _GWLP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWLP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
	mov	x2, x0
Lloh3:
	adrp	x8, _MCN_SELCHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCN_SELCHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w0, w8, [sp]
Lloh6:
	adrp	x8, _MCS_MULTISELECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCS_MULTISELECT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _st_null@GOTPAGE
Lloh10:
	ldr	x9, [x9, _st_null@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldp	w10, w0, [x19]
	tst	w8, w10
	csel	x8, x9, xzr, eq
	stp	x8, xzr, [sp, #16]
Lloh12:
	adrp	x8, _WM_NOTIFY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM_NOTIFY@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x3, sp
	bl	_SendMessageW
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GWLP_ID,4,2                    ; @GWLP_ID
	.comm	_MCN_SELCHANGE,4,2              ; @MCN_SELCHANGE
	.comm	_MCS_MULTISELECT,4,2            ; @MCS_MULTISELECT
	.comm	_st_null,8,3                    ; @st_null
	.comm	_WM_NOTIFY,4,2                  ; @WM_NOTIFY
	.no_dead_strip	_MONTHCAL_NotifySelectionChange
.subsections_via_symbols
