	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_sched_add_vsi_support_nodes
_ice_sched_add_vsi_support_nodes:       ## @ice_sched_add_vsi_support_nodes
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	$0, -64(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rbx
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	callq	_ice_sched_get_vsi_layer
	movq	%rax, %r12
	movq	(%r13), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	cmpq	%r12, %r15
	ja	LBB0_15
## %bb.3:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r12, %r15
	ja	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,8), %r8
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	leaq	-52(%rbp), %r9
	callq	_ice_sched_add_nodes_to_layer
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r15,8), %rax
	cmpq	-64(%rbp), %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ice_sched_find_node_by_teid
	movq	%rax, %r14
	testq	%r14, %r14
	jne	LBB0_11
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, %r12
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	jmp	LBB0_13
LBB0_1:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_6:
	movq	_ICE_ERR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ICE_ERR_CFG,4,2                ## @ICE_ERR_CFG
	.no_dead_strip	_ice_sched_add_vsi_support_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_sched_add_vsi_support_nodes
_ice_sched_add_vsi_support_nodes:       ; @ice_sched_add_vsi_support_nodes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x0, [x0]
	bl	_ice_sched_get_vsi_layer
	ldr	x8, [x22]
	ldr	x24, [x8]
	cmp	x24, x0
	b.ls	LBB0_4
LBB0_2:
	mov	w0, #0
	b	LBB0_15
LBB0_3:
Lloh0:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	mov	x23, x0
	mov	x25, x20
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	cmp	x24, x23
	b.hi	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x4, [x19, x24, lsl #3]
	add	x5, sp, #12
	mov	x6, sp
	mov	x0, x22
	mov	x1, x20
	mov	x2, x25
	mov	x3, x24
	bl	_ice_sched_add_nodes_to_layer
	cbnz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, x24, lsl #3]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_ice_sched_find_node_by_teid
	mov	x25, x0
	cbnz	x25, LBB0_11
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25, #8]
	ldr	x25, [x8]
	cbz	x25, LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x23, x24
	b.ne	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [x25]
	b	LBB0_5
LBB0_13:
Lloh2:
	adrp	x8, _ICE_ERR_CFG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICE_ERR_CFG@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ICE_ERR_CFG,4,2                ; @ICE_ERR_CFG
	.no_dead_strip	_ice_sched_add_vsi_support_nodes
.subsections_via_symbols
