	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_add_update_vsi_list
_ice_add_update_vsi_list:               ## @ice_add_update_vsi_list
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	(%rdx), %rax
	movq	_ICE_FWD_TO_Q@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r13
	movq	_ICE_FWD_TO_QGRP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
LBB0_2:
	movq	_ICE_ERR_NOT_IMPL@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %ebx
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%r12), %rsi
	cmpq	%rcx, %rsi
	je	LBB0_5
## %bb.4:
	cmpq	%rdx, %rsi
	jne	LBB0_7
LBB0_5:
	movq	_ICE_FWD_TO_VSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.6:
	movq	_ICE_FWD_TO_VSI_LIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
LBB0_7:
	cmpl	$1, (%r15)
	movq	16(%r15), %rax
	jg	LBB0_21
## %bb.8:
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	32(%r12), %rdi
	movq	%rdi, -128(%rbp)
	jmp	LBB0_10
LBB0_21:
	movq	32(%r12), %rdi
	movq	%rdi, -128(%rbp)
	testq	%rax, %rax
	je	LBB0_22
LBB0_10:
	movl	(%rax), %esi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.11:
	movq	24(%r13), %rcx
	movq	%rcx, -72(%rbp)
	movq	_ice_aqc_opc_update_sw_rules@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	8(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-128(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%r8d, %r8d
	callq	_ice_update_vsi_list_rule
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.12:
	movq	-128(%rbp), %rdi
	movq	16(%r15), %rax
	movl	(%rax), %esi
	callq	_set_bit
LBB0_19:
	testl	%ebx, %ebx
	jne	LBB0_24
## %bb.20:
	incl	(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_13:
	movq	16(%r13), %rax
	cmpq	16(%r12), %rax
	jne	LBB0_15
## %bb.14:
	movq	_ICE_ERR_ALREADY_EXISTS@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_ICE_ERR_CFG@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_15:
	movq	32(%r13), %rax
	movq	%rax, -64(%rbp)
	movq	32(%r12), %rax
	movq	%rax, -56(%rbp)
	movl	8(%r12), %r8d
	leaq	-64(%rbp), %rsi
	leaq	-72(%rbp), %rcx
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_ice_create_vsi_list_rule
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.16:
	movups	(%r12), %xmm0
	movups	16(%r12), %xmm1
	movups	32(%r12), %xmm2
	movaps	%xmm2, -96(%rbp)
	movaps	%xmm1, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movl	40(%r13), %eax
	movl	%eax, -88(%rbp)
	movq	_ICE_FWD_TO_VSI_LIST@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -128(%rbp)
	movq	-72(%rbp), %rax
	movq	%rax, -104(%rbp)
	leaq	-128(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ice_update_pkt_fwd_rule
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.17:
	movq	-72(%rbp), %rcx
	movq	%rcx, 24(%r13)
	movq	(%r12), %rax
	movq	%rax, (%r13)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_ice_create_vsi_list_map
	movq	%rax, 16(%r15)
	movq	8(%r15), %rdx
	movq	_ICE_INVAL_SW_MARKER_ID@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	(%rax), %rdx
	je	LBB0_19
## %bb.18:
	movl	24(%r15), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ice_add_marker_act
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_FWD_TO_Q,8,3               ## @ICE_FWD_TO_Q
	.comm	_ICE_FWD_TO_QGRP,8,3            ## @ICE_FWD_TO_QGRP
	.comm	_ICE_ERR_NOT_IMPL,4,2           ## @ICE_ERR_NOT_IMPL
	.comm	_ICE_FWD_TO_VSI,8,3             ## @ICE_FWD_TO_VSI
	.comm	_ICE_FWD_TO_VSI_LIST,8,3        ## @ICE_FWD_TO_VSI_LIST
	.comm	_ICE_ERR_ALREADY_EXISTS,4,2     ## @ICE_ERR_ALREADY_EXISTS
	.comm	_ICE_INVAL_SW_MARKER_ID,8,3     ## @ICE_INVAL_SW_MARKER_ID
	.comm	_ICE_ERR_CFG,4,2                ## @ICE_ERR_CFG
	.comm	_ice_aqc_opc_update_sw_rules,4,2 ## @ice_aqc_opc_update_sw_rules
	.no_dead_strip	_ice_add_update_vsi_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_add_update_vsi_list
_ice_add_update_vsi_list:               ; @ice_add_update_vsi_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	xzr, [sp, #48]
	ldr	x8, [x2]
Lloh3:
	adrp	x9, _ICE_FWD_TO_Q@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICE_FWD_TO_Q@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x10, _ICE_FWD_TO_QGRP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ICE_FWD_TO_QGRP@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x10
	b.eq	LBB0_4
; %bb.2:
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x11, [x3]
	cmp	x11, x9
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_8
; %bb.3:
Lloh9:
	adrp	x9, _ICE_FWD_TO_VSI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICE_FWD_TO_VSI@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _ICE_FWD_TO_VSI_LIST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ICE_FWD_TO_VSI_LIST@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
LBB0_4:
Lloh15:
	adrp	x8, _ICE_ERR_NOT_IMPL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ICE_ERR_NOT_IMPL@GOTPAGEOFF]
LBB0_5:
	ldr	w23, [x8]
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.7:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	ldr	w9, [x19]
	ldr	x8, [x19, #16]
	cmp	w9, #1
	b.gt	LBB0_11
; %bb.9:
	cbz	x8, LBB0_18
; %bb.10:
	ldr	x0, [x22, #32]
	str	x0, [sp]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x22, #32]
	str	x0, [sp]
	cbz	x8, LBB0_20
LBB0_12:
	ldr	w1, [x8]
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.13:
	mov	w23, #0
	b	LBB0_6
LBB0_14:
	ldr	x3, [x21, #24]
	str	x3, [sp, #48]
Lloh20:
	adrp	x8, _ice_aqc_opc_update_sw_rules@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ice_aqc_opc_update_sw_rules@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	ldr	w6, [x22, #8]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #1
	mov	w4, #0
	bl	_ice_update_vsi_list_rule
	mov	x23, x0
	cbnz	w0, LBB0_16
; %bb.15:
	ldr	x0, [sp]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_set_bit
LBB0_16:
	cbnz	w23, LBB0_6
; %bb.17:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_18:
	ldr	x8, [x21, #16]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.19:
Lloh23:
	adrp	x8, _ICE_ERR_ALREADY_EXISTS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ICE_ERR_ALREADY_EXISTS@GOTPAGEOFF]
	b	LBB0_5
LBB0_20:
Lloh25:
	adrp	x8, _ICE_ERR_CFG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ICE_ERR_CFG@GOTPAGEOFF]
	b	LBB0_5
LBB0_21:
	ldr	x8, [x21, #32]
	ldr	x9, [x22, #32]
	stp	x8, x9, [sp, #56]
	ldr	w4, [x22, #8]
	add	x1, sp, #56
	add	x3, sp, #48
	mov	x0, x20
	mov	w2, #2
	bl	_ice_create_vsi_list_rule
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.22:
	ldp	q1, q0, [x22, #16]
	stp	q1, q0, [sp, #16]
	ldr	q0, [x22]
	str	q0, [sp]
	ldr	w8, [x21, #40]
	str	w8, [sp, #40]
Lloh27:
	adrp	x22, _ICE_FWD_TO_VSI_LIST@GOTPAGE
Lloh28:
	ldr	x22, [x22, _ICE_FWD_TO_VSI_LIST@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [sp, #48]
	str	x8, [sp]
	str	x9, [sp, #24]
	mov	x1, sp
	mov	x0, x20
	bl	_ice_update_pkt_fwd_rule
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.23:
	ldr	x3, [sp, #48]
	str	x3, [x21, #24]
	ldr	x8, [x22]
	str	x8, [x21]
	add	x1, sp, #56
	mov	x0, x20
	mov	w2, #2
	bl	_ice_create_vsi_list_map
	str	x0, [x19, #16]
	ldr	x2, [x19, #8]
Lloh29:
	adrp	x8, _ICE_INVAL_SW_MARKER_ID@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ICE_INVAL_SW_MARKER_ID@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_25
; %bb.24:
	mov	w23, #0
	b	LBB0_16
LBB0_25:
	ldr	w3, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_ice_add_marker_act
	mov	x23, x0
	b	LBB0_16
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_FWD_TO_Q,8,3               ; @ICE_FWD_TO_Q
	.comm	_ICE_FWD_TO_QGRP,8,3            ; @ICE_FWD_TO_QGRP
	.comm	_ICE_ERR_NOT_IMPL,4,2           ; @ICE_ERR_NOT_IMPL
	.comm	_ICE_FWD_TO_VSI,8,3             ; @ICE_FWD_TO_VSI
	.comm	_ICE_FWD_TO_VSI_LIST,8,3        ; @ICE_FWD_TO_VSI_LIST
	.comm	_ICE_ERR_ALREADY_EXISTS,4,2     ; @ICE_ERR_ALREADY_EXISTS
	.comm	_ICE_INVAL_SW_MARKER_ID,8,3     ; @ICE_INVAL_SW_MARKER_ID
	.comm	_ICE_ERR_CFG,4,2                ; @ICE_ERR_CFG
	.comm	_ice_aqc_opc_update_sw_rules,4,2 ; @ice_aqc_opc_update_sw_rules
	.no_dead_strip	_ice_add_update_vsi_list
.subsections_via_symbols
