	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateSystemTime
_UpdateSystemTime:                      ## @UpdateSystemTime
	.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	$56, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movabsq	$4294969196, %rax               ## imm = 0x10000076C
	movq	%rax, -64(%rbp)
	movl	$1, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movups	%xmm0, -32(%rbp)
	leaq	-64(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_SystemTimeToFileTime
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	imull	$10000000, %ebx, %eax           ## imm = 0x989680
	addl	-16(%rbp), %eax
	movq	%rax, -16(%rbp)
	leaq	-16(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_FileTimeToSystemTime
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	-64(%rbp), %rdi
	callq	_SystemSetTime
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	callq	_GetLastError
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,4,2              ## @ERROR_SUCCESS
	.no_dead_strip	_UpdateSystemTime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function UpdateSystemTime
lCPI0_0:
	.long	1900                            ; 0x76c
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_UpdateSystemTime:                      ; @UpdateSystemTime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w8, #1
	str	w8, [sp, #16]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #24]
	stur	q0, [sp, #40]
	add	x0, sp, #8
	sub	x1, x29, #24
	bl	_SystemTimeToFileTime
	cbz	w0, LBB0_4
; %bb.1:
	ldur	w8, [x29, #-24]
	mov	w9, #38528
	movk	w9, #152, lsl #16
	madd	w8, w19, w9, w8
	stur	x8, [x29, #-24]
	sub	x0, x29, #24
	add	x1, sp, #8
	bl	_FileTimeToSystemTime
	cbz	w0, LBB0_4
; %bb.2:
	add	x0, sp, #8
	bl	_SystemSetTime
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	bl	_GetLastError
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,4,2              ; @ERROR_SUCCESS
	.no_dead_strip	_UpdateSystemTime
.subsections_via_symbols
