	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vsi_cfg_txq
_ice_vsi_cfg_txq:                       ## @ice_vsi_cfg_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -48(%rbp)
	movq	8(%rdi), %rbx
	movq	(%rsi), %r14
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ice_setup_tx_ctx
	movq	%r14, %rdi
	callq	_cpu_to_le16
	movq	(%r13), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rcx), %esi
	movq	_ice_tlan_ctx_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	callq	_ice_set_ctx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movq	%r14, %rdi
	callq	_QTX_COMM_DBELL
	addq	%rbx, %rax
	movq	%rax, 24(%r15)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%r15)
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	$1, %r8d
	movq	%r13, %r9
	pushq	$0
	pushq	$8
	callq	_ice_ena_vsi_txq
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movq	(%r13), %r12
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	xorl	%ebx, %ebx
	cmpq	%rax, %r14
	jne	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	callq	_le32_to_cpu
	movl	%eax, 8(%r15)
LBB0_4:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ice_tlan_ctx_info,4,2          ## @ice_tlan_ctx_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set LAN Tx queue context, error: %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_ice_vsi_cfg_txq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vsi_cfg_txq
_ice_vsi_cfg_txq:                       ; @ice_vsi_cfg_txq
	.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
	mov	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x24, x0
	str	wzr, [sp, #8]
	ldr	x25, [x0, #8]
	ldr	x21, [x1]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_ice_setup_tx_ctx
	mov	x0, x21
	bl	_cpu_to_le16
	ldr	x8, [x20]
	str	w0, [x8, #4]
	ldr	w1, [x8, #8]
Lloh0:
	adrp	x8, _ice_tlan_ctx_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ice_tlan_ctx_info@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_ice_set_ctx
	ldr	x26, [x25, #8]
	mov	x0, x21
	bl	_QTX_COMM_DBELL
	add	x8, x0, x26
	stp	x23, x8, [x19, #16]
	ldp	w1, w0, [x24]
	mov	x2, x22
	mov	x3, x23
	mov	w4, #1
	mov	x5, x20
	mov	w6, #8
	mov	x7, #0
	bl	_ice_ena_vsi_txq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	x0, [x25]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	x20, [x20]
	ldr	w0, [x20, #4]
	bl	_le16_to_cpu
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ice_tlan_ctx_info,4,2          ; @ice_tlan_ctx_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set LAN Tx queue context, error: %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_ice_vsi_cfg_txq
.subsections_via_symbols
