	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtt_update                     ## -- Begin function rtt_update
	.p2align	4, 0x90
_rtt_update:                            ## @rtt_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	subl	%eax, %esi
	leal	7(%rsi), %edx
	testl	%esi, %esi
	cmovnsl	%esi, %edx
	sarl	$3, %edx
	addl	%eax, %edx
	movl	%esi, %eax
	negl	%eax
	cmovsl	%esi, %eax
	subl	%ecx, %eax
	leal	3(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	movl	%edx, (%rdi)
	sarl	$2, %esi
	addl	%ecx, %esi
	movl	%esi, 4(%rdi)
	callq	_calc_rto
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtt_update                     ; -- Begin function rtt_update
	.p2align	2
_rtt_update:                            ; @rtt_update
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	w8, w9, [x0]
	sub	w10, w1, w8
	add	w11, w10, #7
	cmp	w10, #0
	csel	w11, w11, w10, lt
	add	w8, w8, w11, asr #3
	cneg	w10, w10, mi
	sub	w10, w10, w9
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	add	w9, w9, w10, asr #2
	stp	w8, w9, [x0]
	bl	_calc_rto
	str	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
