	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_RateMsec                    ## -- Begin function SV_RateMsec
	.p2align	4, 0x90
_SV_RateMsec:                           ## @SV_RateMsec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	movl	8(%rdi), %r15d
	movq	_sv_maxRate@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$999, %eax                      ## imm = 0x3E7
	jg	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Cvar_Set
	movq	(%r12), %rax
	movl	(%rax), %eax
LBB0_3:
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
LBB0_4:
	movq	_sv_minRate@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$999, %eax                      ## imm = 0x3E7
	jg	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Cvar_Set
	movq	(%r12), %rax
	movl	(%rax), %eax
LBB0_7:
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
LBB0_8:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.10:
	movq	16(%r14), %rax
	movq	_NA_IP6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	_UDPIP6_HEADER_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	movq	_UDPIP_HEADER_SIZE@GOTPCREL(%rip), %rax
LBB0_13:
	addl	(%rax), %r15d
	imull	$1000, %r15d, %eax              ## imm = 0x3E8
	movq	_com_timescale@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	(%rcx), %ebx
	cltd
	idivl	%ebx
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	subl	12(%r14), %eax
	subl	%eax, %ebx
	cmovll	%r15d, %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_maxRate,8,3                 ## @sv_maxRate
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sv_MaxRate"

L_.str.1:                               ## @.str.1
	.asciz	"1000"

	.comm	_sv_minRate,8,3                 ## @sv_minRate
L_.str.2:                               ## @.str.2
	.asciz	"sv_minRate"

	.comm	_NA_IP6,8,3                     ## @NA_IP6
	.comm	_UDPIP6_HEADER_SIZE,8,3         ## @UDPIP6_HEADER_SIZE
	.comm	_UDPIP_HEADER_SIZE,8,3          ## @UDPIP_HEADER_SIZE
	.comm	_com_timescale,8,3              ## @com_timescale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_RateMsec                    ; -- Begin function SV_RateMsec
	.p2align	2
_SV_RateMsec:                           ; @SV_RateMsec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w21, [x0, #8]
	ldr	w20, [x0]
Lloh0:
	adrp	x22, _sv_maxRate@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sv_maxRate@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	cmp	w8, #999
	b.gt	LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Cvar_Set
	ldr	x8, [x22]
	ldr	w8, [x8]
LBB0_3:
	cmp	w8, w20
	csel	w20, w8, w20, lt
LBB0_4:
Lloh6:
	adrp	x22, _sv_minRate@GOTPAGE
Lloh7:
	ldr	x22, [x22, _sv_minRate@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.5:
	cmp	w8, #999
	b.gt	LBB0_7
; %bb.6:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Cvar_Set
	ldr	x8, [x22]
	ldr	w8, [x8]
LBB0_7:
	cmp	w8, w20
	csel	w20, w8, w20, gt
LBB0_8:
	cbz	w20, LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _NA_IP6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NA_IP6@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x10, _UDPIP6_HEADER_SIZE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _UDPIP6_HEADER_SIZE@GOTPAGEOFF]
Lloh17:
	adrp	x11, _UDPIP_HEADER_SIZE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _UDPIP_HEADER_SIZE@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	add	w8, w21, w8
	mov	w9, #1000
	mul	w8, w8, w9
Lloh19:
	adrp	x9, _com_timescale@GOTPAGE
Lloh20:
	ldr	x9, [x9, _com_timescale@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	ldr	w9, [x9]
	mul	w9, w9, w20
	sdiv	w20, w8, w9
	bl	_Sys_Milliseconds
	ldr	w8, [x19, #12]
	sub	w8, w0, w8
	subs	w8, w20, w8
	csel	w0, wzr, w8, lt
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_maxRate,8,3                 ; @sv_maxRate
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sv_MaxRate"

l_.str.1:                               ; @.str.1
	.asciz	"1000"

	.comm	_sv_minRate,8,3                 ; @sv_minRate
l_.str.2:                               ; @.str.2
	.asciz	"sv_minRate"

	.comm	_NA_IP6,8,3                     ; @NA_IP6
	.comm	_UDPIP6_HEADER_SIZE,8,3         ; @UDPIP6_HEADER_SIZE
	.comm	_UDPIP_HEADER_SIZE,8,3          ; @UDPIP_HEADER_SIZE
	.comm	_com_timescale,8,3              ; @com_timescale
.subsections_via_symbols
