	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_server_time            ## -- Begin function process_server_time
	.p2align	4, 0x90
_process_server_time:                   ## @process_server_time
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RS_REPL_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 32(%rdi)
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdi
	movq	24(%rbx), %r13
	movl	(%rdi), %eax
	movq	_MAX_PENDING_BYTES_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_4
## %bb.3:
	movq	_now@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_NOTSENT_SPAM_INTERVAL@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	xorl	%r14d, %r14d
	cmpl	_process_server_time.last_spam(%rip), %eax
	sete	%r14b
	addl	%r14d, %r14d
	callq	_show_remote_ip
	movq	8(%rbx), %rcx
	movl	(%rcx), %r10d
	movl	4(%rcx), %ecx
	movl	20(%rbx), %r8d
	movl	16(%rbx), %r9d
	movl	(%r13), %ebx
	movl	4(%r13), %r11d
	movq	_posinfo_packets_not_sent@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r10
	pushq	%rbx
	pushq	%r11
	callq	_vkprintf
	addq	$32, %rsp
	incl	(%r13)
	movl	(%r12), %eax
	cltd
	movq	_NOTSENT_SPAM_INTERVAL@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, _process_server_time.last_spam(%rip)
	movl	$1, %r14d
	jmp	LBB0_5
LBB0_4:
	movl	$20, %edi
	callq	_alloc_packet
	movq	%rax, %r14
	movq	_P_REPL_POS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, (%r14)
	movq	_posinfo_packets_sent@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	8(%rbx), %rdi
	callq	_show_remote_ip
	movq	8(%rbx), %rcx
	movl	(%rcx), %r10d
	movl	4(%rcx), %ecx
	movl	20(%rbx), %r8d
	movl	16(%rbx), %r9d
	movl	(%r14), %r11d
	movl	4(%r14), %r15d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$2, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	pushq	%r15
	callq	_vkprintf
	addq	$32, %rsp
	movq	8(%rbx), %rdi
	movl	$20, %esi
	callq	_push_packet
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_REPL_STARTED,4,2            ## @RS_REPL_STARTED
	.comm	_MAX_PENDING_BYTES_THRESHOLD,4,2 ## @MAX_PENDING_BYTES_THRESHOLD
.zerofill __DATA,__bss,_process_server_time.last_spam,4,2 ## @process_server_time.last_spam
	.comm	_now,4,2                        ## @now
	.comm	_NOTSENT_SPAM_INTERVAL,4,2      ## @NOTSENT_SPAM_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server is NOT sending server time packet to %s:%d, session %d:%d, position %lld, time %016llx; %d bytes in output buffer (%lld such errors)\n"

	.comm	_posinfo_packets_not_sent,4,2   ## @posinfo_packets_not_sent
	.comm	_P_REPL_POS_INFO,4,2            ## @P_REPL_POS_INFO
	.comm	_posinfo_packets_sent,4,2       ## @posinfo_packets_sent
L_.str.1:                               ## @.str.1
	.asciz	"Server is sending server time packet to %s:%d, session %d:%d, position %lld, time %016llx; %d bytes in output buffer\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_server_time            ; -- Begin function process_server_time
	.p2align	2
_process_server_time:                   ; @process_server_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RS_REPL_STARTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RS_REPL_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x21, [x19, #24]
	ldr	x0, [x19, #8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _MAX_PENDING_BYTES_THRESHOLD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_PENDING_BYTES_THRESHOLD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_4
; %bb.3:
Lloh6:
	adrp	x22, _now@GOTPAGE
Lloh7:
	ldr	x22, [x22, _now@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh8:
	adrp	x23, _NOTSENT_SPAM_INTERVAL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _NOTSENT_SPAM_INTERVAL@GOTPAGEOFF]
	ldr	w9, [x23]
	sdiv	w8, w8, w9
	adrp	x24, _process_server_time.last_spam@PAGE
	ldr	w9, [x24, _process_server_time.last_spam@PAGEOFF]
	cmp	w8, w9
	cset	w8, eq
	lsl	w20, w8, #1
	bl	_show_remote_ip
	mov	x2, x0
	ldr	x8, [x19, #8]
	ldp	w5, w4, [x19, #16]
	ldp	w7, w6, [x21]
	ldp	w8, w3, [x8]
Lloh10:
	adrp	x19, _posinfo_packets_not_sent@GOTPAGE
Lloh11:
	ldr	x19, [x19, _posinfo_packets_not_sent@GOTPAGEOFF]
	ldr	w9, [x19]
	str	x9, [sp, #8]
	str	w8, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_vkprintf
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x22]
	ldr	w9, [x23]
	sdiv	w8, w8, w9
	str	w8, [x24, _process_server_time.last_spam@PAGEOFF]
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	w0, #20
	bl	_alloc_packet
	mov	x20, x0
Lloh14:
	adrp	x8, _P_REPL_POS_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P_REPL_POS_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	d0, [x19, #16]
	ldr	d1, [x21]
	mov.d	v1[1], v0[0]
	str	q1, [x0]
Lloh17:
	adrp	x8, _posinfo_packets_sent@GOTPAGE
Lloh18:
	ldr	x8, [x8, _posinfo_packets_sent@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x0, [x19, #8]
	bl	_show_remote_ip
	mov	x2, x0
	ldr	x8, [x19, #8]
	ldp	w5, w4, [x19, #16]
	ldp	w7, w6, [x20]
	ldp	w8, w3, [x8]
	str	w8, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldr	x0, [x19, #8]
	mov	w1, #20
	bl	_push_packet
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_REPL_STARTED,4,2            ; @RS_REPL_STARTED
	.comm	_MAX_PENDING_BYTES_THRESHOLD,4,2 ; @MAX_PENDING_BYTES_THRESHOLD
.zerofill __DATA,__bss,_process_server_time.last_spam,4,2 ; @process_server_time.last_spam
	.comm	_now,4,2                        ; @now
	.comm	_NOTSENT_SPAM_INTERVAL,4,2      ; @NOTSENT_SPAM_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server is NOT sending server time packet to %s:%d, session %d:%d, position %lld, time %016llx; %d bytes in output buffer (%lld such errors)\n"

	.comm	_posinfo_packets_not_sent,4,2   ; @posinfo_packets_not_sent
	.comm	_P_REPL_POS_INFO,4,2            ; @P_REPL_POS_INFO
	.comm	_posinfo_packets_sent,4,2       ; @posinfo_packets_sent
l_.str.1:                               ; @.str.1
	.asciz	"Server is sending server time packet to %s:%d, session %d:%d, position %lld, time %016llx; %d bytes in output buffer\n"

.subsections_via_symbols
