	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_dis_vsi_txq                ## -- Begin function ice_dis_vsi_txq
	.p2align	4, 0x90
_ice_dis_vsi_txq:                       ## @ice_dis_vsi_txq
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	_ICE_SCHED_PORT_STATE_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	%r8, %rbx
	movl	24(%rbp), %r8d
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_4
## %bb.6:
	movq	_ICE_ERR_DOES_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%r13), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	xorl	%r12d, %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r13), %edi
	movq	_ICE_DBG_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx,%r12,8), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_ice_debug
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r13), %edi
	movq	16(%rbp), %rax
	movl	(%rax,%r12,4), %esi
	callq	_ice_sched_find_node_by_teid
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r15
	movl	12(%r13), %edi
	movq	(%rbx,%r12,8), %rcx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_ice_get_lan_q_ctx
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rcx
	movq	(%rbx,%r12,8), %r8
	cmpq	%r8, %rcx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %eax
	movl	%eax, -104(%rbp)
	movl	$1, -120(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	callq	_cpu_to_le16
	movq	-112(%rbp), %rcx
	movl	%eax, (%rcx)
	movl	12(%r13), %edi
	movq	40(%rbp), %rax
	movq	%rax, (%rsp)
	movl	$1, %esi
	leaq	-120(%rbp), %rdx
	movl	$24, %ecx
	movl	24(%rbp), %r8d
	movq	32(%rbp), %r9
	callq	_ice_aq_dis_lan_txq
	testl	%eax, %eax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ice_free_sched_node
	movq	_ICE_INVAL_Q_HANDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r13), %edi
	movq	_ICE_DBG_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_ice_debug
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_4:
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.5:
	movl	12(%r13), %edi
	movq	$0, (%rsp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	32(%rbp), %r9
	callq	_ice_aq_dis_lan_txq
	jmp	LBB0_18
LBB0_2:
	movq	_ICE_ERR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_13:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_17:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_18:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_DOES_NOT_EXIST,4,2     ## @ICE_ERR_DOES_NOT_EXIST
	.comm	_ICE_SCHED_PORT_STATE_READY,8,3 ## @ICE_SCHED_PORT_STATE_READY
	.comm	_ICE_ERR_CFG,4,2                ## @ICE_ERR_CFG
	.comm	_ICE_DBG_SCHED,4,2              ## @ICE_DBG_SCHED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid queue handle%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Err:handles %d %d\n"

	.comm	_ICE_INVAL_Q_HANDLE,8,3         ## @ICE_INVAL_Q_HANDLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_dis_vsi_txq                ; -- Begin function ice_dis_vsi_txq
	.p2align	2
_ice_dis_vsi_txq:                       ; @ice_dis_vsi_txq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_16
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ICE_SCHED_PORT_STATE_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICE_SCHED_PORT_STATE_READY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.2:
	mov	x24, x3
	ldr	x8, [x29, #16]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	cbz	x3, LBB0_14
; %bb.3:
	mov	x20, x6
	mov	x21, x5
	mov	x23, x4
	mov	x25, x2
	mov	x27, x1
	str	w7, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x8, [x29, #24]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _ICE_ERR_DOES_NOT_EXIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_ERR_DOES_NOT_EXIST@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	add	x0, x22, #8
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_mutex_lock
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22, #12]
Lloh6:
	adrp	x8, _ICE_DBG_SCHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_DBG_SCHED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x3, [x23]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_ice_debug
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #8
	add	x23, x23, #8
	add	x20, x20, #4
	subs	x24, x24, #1
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #16]
	ldr	w1, [x20]
	bl	_ice_sched_find_node_by_teid
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	ldr	w0, [x22, #12]
	ldr	x3, [x23]
	mov	x1, x27
	mov	x2, x25
	bl	_ice_get_lan_q_ctx
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x19, x0
	ldr	x3, [x0]
	ldr	x8, [x23]
	cmp	x3, x8
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26]
	str	w8, [sp, #56]
	mov	w8, #1
	str	w8, [sp, #40]
	ldr	x0, [x21]
	bl	_cpu_to_le16
	ldr	x8, [sp, #48]
	str	w0, [x8]
	ldr	w0, [x22, #12]
	add	x2, sp, #40
	mov	w1, #1
	mov	w3, #24
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	ldr	x5, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x6, [sp, #16]                   ; 8-byte Folded Reload
	bl	_ice_aq_dis_lan_txq
	mov	x28, x0
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x26
	bl	_ice_free_sched_node
Lloh11:
	adrp	x8, _ICE_INVAL_Q_HANDLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ICE_INVAL_Q_HANDLE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22, #12]
Lloh14:
	adrp	x9, _ICE_DBG_SCHED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ICE_DBG_SCHED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_13:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_mutex_unlock
	b	LBB0_17
LBB0_14:
	cbz	w7, LBB0_16
; %bb.15:
	ldr	w0, [x22, #12]
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	x4, x7
	ldr	x5, [sp, #32]                   ; 8-byte Folded Reload
	mov	x6, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ice_aq_dis_lan_txq
LBB0_16:
Lloh19:
	adrp	x8, _ICE_ERR_CFG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ICE_ERR_CFG@GOTPAGEOFF]
Lloh21:
	ldr	w28, [x8]
LBB0_17:
	mov	x0, x28
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_DOES_NOT_EXIST,4,2     ; @ICE_ERR_DOES_NOT_EXIST
	.comm	_ICE_SCHED_PORT_STATE_READY,8,3 ; @ICE_SCHED_PORT_STATE_READY
	.comm	_ICE_ERR_CFG,4,2                ; @ICE_ERR_CFG
	.comm	_ICE_DBG_SCHED,4,2              ; @ICE_DBG_SCHED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid queue handle%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Err:handles %d %d\n"

	.comm	_ICE_INVAL_Q_HANDLE,8,3         ; @ICE_INVAL_Q_HANDLE
.subsections_via_symbols
