	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_update_rtt                 ## -- Begin function rpc_update_rtt
	.p2align	4, 0x90
_rpc_update_rtt:                        ## @rpc_update_rtt
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	decl	%esi
	testq	%rdx, %rdx
	movl	$1, %eax
	cmovneq	%rdx, %rax
	movq	8(%rdi), %r8
	movq	(%r8,%rsi,4), %rcx
	movq	%rcx, %rdx
	sarq	$3, %rdx
	subq	%rdx, %rax
	addq	%rax, %rcx
	movq	%rcx, (%r8,%rsi,4)
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	movq	(%rdi), %rax
	movq	(%rax,%rsi,4), %rdx
	movq	%rdx, %rdi
	sarq	$2, %rdi
	subq	%rdi, %rcx
	addq	%rdx, %rcx
	movq	%rcx, (%rax,%rsi,4)
	movq	_RPC_RTO_MIN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	cmovleq	%rdx, %rcx
	movq	%rcx, (%rax,%rsi,4)
	popq	%rbp
LBB0_3:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_RTO_MIN,8,3                ## @RPC_RTO_MIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_update_rtt                 ; -- Begin function rpc_update_rtt
	.p2align	2
_rpc_update_rtt:                        ; @rpc_update_rtt
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
	tbnz	x2, #63, LBB0_3
; %bb.2:
	sub	w8, w1, #1
	cmp	x2, #0
	csinc	x9, x2, xzr, ne
	lsl	x8, x8, #2
	ldp	x11, x10, [x0]
	ldr	x12, [x10, x8]
	sub	x9, x9, x12, asr #3
	add	x12, x9, x12
	str	x12, [x10, x8]
	cmp	x9, #0
	cneg	x9, x9, mi
	ldr	x10, [x11, x8]
	sub	x9, x9, x10, asr #2
	add	x9, x9, x10
	str	x9, [x11, x8]
Lloh0:
	adrp	x10, _RPC_RTO_MIN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RPC_RTO_MIN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	csel	x9, x9, x10, gt
	str	x9, [x11, x8]
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_RTO_MIN,8,3                ; @RPC_RTO_MIN
.subsections_via_symbols
