	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsi_set_contention_vals
_rsi_set_contention_vals:               ## @rsi_set_contention_vals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_EDCA_QUEUES@GOTPCREL(%rip), %r8
	cmpq	$0, (%r8)
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	_WMM_SHORT_SLOT_TIME@GOTPCREL(%rip), %rax
	movslq	(%rax), %r10
	addq	$16, %rcx
	xorl	%edi, %edi
	movq	_SIFS_DURATION@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,8), %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	movslq	4(%rdx,%rdi,8), %rsi
	cltq
	addq	%rsi, %rax
	imulq	%r10, %rax
	addq	(%r9), %rax
	movq	%rax, -8(%rcx)
	movq	%rax, (%rcx)
	movq	$0, -16(%rcx)
	incq	%rdi
	addq	$24, %rcx
	cmpq	(%r8), %rdi
	jb	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_EDCA_QUEUES,8,3            ## @NUM_EDCA_QUEUES
	.comm	_WMM_SHORT_SLOT_TIME,4,2        ## @WMM_SHORT_SLOT_TIME
	.comm	_SIFS_DURATION,8,3              ## @SIFS_DURATION
	.no_dead_strip	_rsi_set_contention_vals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsi_set_contention_vals
_rsi_set_contention_vals:               ; @rsi_set_contention_vals
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_EDCA_QUEUES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_EDCA_QUEUES@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _WMM_SHORT_SLOT_TIME@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WMM_SHORT_SLOT_TIME@GOTPAGEOFF]
Lloh4:
	ldrsw	x10, [x10]
	ldp	x12, x11, [x0]
	add	x11, x11, #4
	add	x12, x12, #8
Lloh5:
	adrp	x13, _SIFS_DURATION@GOTPAGE
Lloh6:
	ldr	x13, [x13, _SIFS_DURATION@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w14, [x11, #-4]
	ldrsw	x15, [x11]
	cmp	w14, #0
	cinc	w14, w14, lt
	asr	w14, w14, #1
	add	x14, x15, w14, sxtw
	ldr	x15, [x13]
	madd	x14, x14, x10, x15
	stp	x14, x14, [x12]
	stur	xzr, [x12, #-8]
	add	x9, x9, #1
	ldr	x14, [x8]
	add	x11, x11, #8
	add	x12, x12, #24
	cmp	x9, x14
	b.lo	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_EDCA_QUEUES,8,3            ; @NUM_EDCA_QUEUES
	.comm	_WMM_SHORT_SLOT_TIME,4,2        ; @WMM_SHORT_SLOT_TIME
	.comm	_SIFS_DURATION,8,3              ; @SIFS_DURATION
	.no_dead_strip	_rsi_set_contention_vals
.subsections_via_symbols
