	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetLocalSystemTime
_SetLocalSystemTime:                    ## @SetLocalSystemTime
	.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
	movl	%edi, %ebx
	movq	_IDC_TIMEPICKER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	leaq	-28(%rbp), %rsi
	movl	%eax, %edi
	callq	_DateTime_GetSystemtime
	movq	_GDT_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_IDC_MONTHCALENDAR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_GetDlgItem
	movq	_MCCM_GETDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-28(%rbp), %r14
	movl	%eax, %edi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-28(%rbp), %rdi
	callq	_SystemSetLocalTime
	movq	_DWLP_MSGRESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSNRET_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_SetWindowLongPtrW
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_GetDlgItem
	movq	_MCCM_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_HWND_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WM_TIMECHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_TIMEPICKER,4,2             ## @IDC_TIMEPICKER
	.comm	_GDT_VALID,8,3                  ## @GDT_VALID
	.comm	_IDC_MONTHCALENDAR,4,2          ## @IDC_MONTHCALENDAR
	.comm	_MCCM_GETDATE,4,2               ## @MCCM_GETDATE
	.comm	_DWLP_MSGRESULT,4,2             ## @DWLP_MSGRESULT
	.comm	_PSNRET_NOERROR,4,2             ## @PSNRET_NOERROR
	.comm	_MCCM_RESET,4,2                 ## @MCCM_RESET
	.comm	_HWND_BROADCAST,4,2             ## @HWND_BROADCAST
	.comm	_WM_TIMECHANGE,4,2              ## @WM_TIMECHANGE
	.no_dead_strip	_SetLocalSystemTime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetLocalSystemTime
_SetLocalSystemTime:                    ; @SetLocalSystemTime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _IDC_TIMEPICKER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TIMEPICKER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	add	x1, sp, #12
	bl	_DateTime_GetSystemtime
Lloh3:
	adrp	x8, _GDT_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GDT_VALID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x20, _IDC_MONTHCALENDAR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IDC_MONTHCALENDAR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GetDlgItem
Lloh8:
	adrp	x8, _MCCM_GETDATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MCCM_GETDATE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w3, #0
	bl	_SendMessageW
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #12
	bl	_SystemSetLocalTime
Lloh11:
	adrp	x8, _DWLP_MSGRESULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DWLP_MSGRESULT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _PSNRET_NOERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSNRET_NOERROR@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_SetWindowLongPtrW
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GetDlgItem
Lloh17:
	adrp	x8, _MCCM_RESET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MCCM_RESET@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w3, #0
	bl	_SendMessageW
Lloh20:
	adrp	x8, _HWND_BROADCAST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HWND_BROADCAST@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _WM_TIMECHANGE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WM_TIMECHANGE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_TIMEPICKER,4,2             ; @IDC_TIMEPICKER
	.comm	_GDT_VALID,8,3                  ; @GDT_VALID
	.comm	_IDC_MONTHCALENDAR,4,2          ; @IDC_MONTHCALENDAR
	.comm	_MCCM_GETDATE,4,2               ; @MCCM_GETDATE
	.comm	_DWLP_MSGRESULT,4,2             ; @DWLP_MSGRESULT
	.comm	_PSNRET_NOERROR,4,2             ; @PSNRET_NOERROR
	.comm	_MCCM_RESET,4,2                 ; @MCCM_RESET
	.comm	_HWND_BROADCAST,4,2             ; @HWND_BROADCAST
	.comm	_WM_TIMECHANGE,4,2              ; @WM_TIMECHANGE
	.no_dead_strip	_SetLocalSystemTime
.subsections_via_symbols
