	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SVC_RateLimit                  ## -- Begin function SVC_RateLimit
	.p2align	4, 0x90
_SVC_RateLimit:                         ## @SVC_RateLimit
	.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	_qtrue@GOTPCREL(%rip), %r12
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	_sv_rateLimit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qfalse@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	movl	%eax, %ecx
	movl	%eax, %esi
	subl	(%rbx), %esi
	movl	%esi, %eax
	cltd
	idivl	%r15d
	testl	%esi, %esi
	js	LBB0_5
## %bb.4:
	movl	4(%rbx), %esi
	subl	%eax, %esi
	jl	LBB0_5
## %bb.6:
	movl	%esi, 4(%rbx)
	subl	%edx, %ecx
	movl	%esi, %r13d
	jmp	LBB0_7
LBB0_2:
	movq	%rcx, %r12
	jmp	LBB0_9
LBB0_5:
	movl	$0, 4(%rbx)
LBB0_7:
	movl	%ecx, (%rbx)
	cmpl	%r14d, %r13d
	jge	LBB0_9
## %bb.8:
	incl	%r13d
	movl	%r13d, 4(%rbx)
	movq	_qfalse@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_rateLimit,8,3               ## @sv_rateLimit
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SVC_RateLimit                  ; -- Begin function SVC_RateLimit
	.p2align	2
_SVC_RateLimit:                         ; @SVC_RateLimit
	.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
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _sv_rateLimit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sv_rateLimit@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_Sys_Milliseconds
	ldr	w8, [x19]
	subs	w9, w0, w8
	b.mi	LBB0_5
; %bb.3:
	sdiv	w10, w9, w21
	ldr	w8, [x19, #4]
	subs	w8, w8, w10
	b.lt	LBB0_5
; %bb.4:
	str	w8, [x19, #4]
	neg	w9, w9
	madd	w9, w10, w21, w9
	add	w0, w0, w9
	b	LBB0_6
LBB0_5:
	mov	w8, #0
	str	wzr, [x19, #4]
LBB0_6:
	str	w0, [x19]
	cmp	w8, w20
	b.ge	LBB0_9
; %bb.7:
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_8:
Lloh3:
	adrp	x8, _qfalse@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x8, _qtrue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_rateLimit,8,3               ; @sv_rateLimit
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
