	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetServerTime                  ## -- Begin function GetServerTime
	.p2align	4, 0x90
_GetServerTime:                         ## @GetServerTime
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	callq	_wcslen
	movl	%eax, %ebx
	incl	%ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HeapAlloc
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_7
## %bb.1:
	testq	%r15, %r15
	je	LBB0_7
## %bb.2:
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$-1, %ecx
	movq	%r15, %r8
	movl	%ebx, %r9d
	callq	_WideCharToMultiByte
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_InitConnection
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_SendData
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_ReceiveData
	movl	%eax, %r14d
LBB0_6:
	xorl	%eax, %eax
	callq	_DestroyConnection
LBB0_7:
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_ACP,4,2                     ## @CP_ACP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetServerTime                  ; -- Begin function GetServerTime
	.p2align	2
_GetServerTime:                         ; @GetServerTime
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
	bl	_wcslen
	add	w23, w0, #1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	w2, #4
	bl	_HeapAlloc
	mov	x20, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapAlloc
	mov	x19, x0
	mov	w21, #0
	cbz	x20, LBB0_9
; %bb.1:
	cbz	x19, LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _CP_ACP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CP_ACP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x22
	mov	w3, #-1
	mov	x4, x19
	mov	x5, x23
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_InitConnection
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_SendData
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_ReceiveData
	mov	x21, x0
	b	LBB0_8
LBB0_6:
	mov	w21, #0
	b	LBB0_9
LBB0_7:
	mov	w21, #0
LBB0_8:
	bl	_DestroyConnection
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_11:
	cbz	x19, LBB0_13
; %bb.12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_13:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_ACP,4,2                     ; @CP_ACP
.subsections_via_symbols
