	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_sc_vsi_init              ## -- Begin function i40iw_sc_vsi_init
	.p2align	4, 0x90
_i40iw_sc_vsi_init:                     ## @i40iw_sc_vsi_init
	.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	%rsi, %r14
	movq	%rdi, %r12
	movl	16(%rsi), %eax
	movl	%eax, 8(%rdi)
	movl	12(%rsi), %eax
	movl	%eax, 20(%rdi)
	movq	(%rsi), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 16(%rdi)
	movl	8(%rsi), %ecx
	movl	%ecx, 12(%rdi)
	movq	(%rax), %rdi
	callq	_i40iw_fill_qos_list
	movq	_I40IW_MAX_USER_PRIORITY@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r8d
	movq	(%r12), %rax
	movl	%r8d, 8(%rax,%r13)
	movl	8(%r12), %edi
	movq	_I40IW_DEBUG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_i40iw_debug
	movq	(%r12), %rax
	leaq	(%rax,%r13), %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	(%r12), %rdi
	addq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	incq	%rbx
	movslq	(%r15), %rax
	addq	$12, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_MAX_USER_PRIORITY,4,2    ## @I40IW_MAX_USER_PRIORITY
	.comm	_I40IW_DEBUG_DCB,4,2            ## @I40IW_DEBUG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qset[%d]: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_sc_vsi_init              ; -- Begin function i40iw_sc_vsi_init
	.p2align	2
_i40iw_sc_vsi_init:                     ; @i40iw_sc_vsi_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldp	w11, w8, [x1, #12]
	ldr	x9, [x1]
	ldr	w10, [x9, #8]
	ldr	w12, [x1, #8]
	stp	w10, w11, [x0, #16]
	stp	w8, w12, [x0, #8]
	ldr	x0, [x9]
	bl	_i40iw_fill_qos_list
Lloh0:
	adrp	x23, _I40IW_MAX_USER_PRIORITY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _I40IW_MAX_USER_PRIORITY@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w24, #8
Lloh2:
	adrp	x25, _I40IW_DEBUG_DCB@GOTPAGE
Lloh3:
	ldr	x25, [x25, _I40IW_DEBUG_DCB@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w4, [x8, x21, lsl #2]
	ldr	x8, [x20]
	str	w4, [x8, x24]
	ldr	w0, [x20, #8]
	ldr	w1, [x25]
	mov	x2, x22
	mov	x3, x21
	bl	_i40iw_debug
	ldr	x8, [x20]
	add	x8, x8, x24
	sub	x0, x8, #4
	bl	_spin_lock_init
	ldr	x8, [x20]
	add	x8, x8, x24
	sub	x0, x8, #8
	bl	_INIT_LIST_HEAD
	add	x21, x21, #1
	ldrsw	x8, [x23]
	add	x24, x24, #12
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_MAX_USER_PRIORITY,4,2    ; @I40IW_MAX_USER_PRIORITY
	.comm	_I40IW_DEBUG_DCB,4,2            ; @I40IW_DEBUG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qset[%d]: %d\n"

.subsections_via_symbols
