	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_deactivate_txqsq
_mlx5e_deactivate_txqsq:                ## @mlx5e_deactivate_txqsq
	.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	%rdi, %rbx
	movq	40(%rdi), %r15
	leaq	36(%rdi), %r14
	movq	_MLX5E_SQ_STATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	callq	_clear_bit
	movq	%r15, %rdi
	callq	_napi_synchronize
	movl	28(%rbx), %edi
	callq	_mlx5e_tx_disable_queue
	movl	4(%rbx), %edx
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_mlx5e_wqc_has_room_for
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	4(%rbx), %r15
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_mlx5_wq_cyc_ctr2ix
	movq	%rax, %r12
	movq	16(%rbx), %r13
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, (%r13,%r12,4)
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_mlx5e_post_nop
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5e_notify_hw                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_SQ_STATE_ENABLED,4,2     ## @MLX5E_SQ_STATE_ENABLED
	.no_dead_strip	_mlx5e_deactivate_txqsq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_deactivate_txqsq
_mlx5e_deactivate_txqsq:                ; @mlx5e_deactivate_txqsq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #40]
Lloh0:
	adrp	x8, _MLX5E_SQ_STATE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_SQ_STATE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	_clear_bit
	mov	x0, x20
	bl	_napi_synchronize
	ldr	w0, [x19, #28]
	bl	_mlx5e_tx_disable_queue
	mov	x21, x19
	ldr	w2, [x21, #4]!
	add	x20, x21, #32
	ldr	w1, [x21, #20]
	mov	w23, #1
	mov	x0, x20
	mov	w3, #1
	bl	_mlx5e_wqc_has_room_for
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_mlx5_wq_cyc_ctr2ix
	ldr	x8, [x19, #16]
	add	x22, x8, x0, lsl #2
	mov	x0, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w23, [x22]
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_mlx5e_post_nop
	mov	x3, x0
	ldp	w2, w1, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mlx5e_notify_hw
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_SQ_STATE_ENABLED,4,2     ; @MLX5E_SQ_STATE_ENABLED
	.no_dead_strip	_mlx5e_deactivate_txqsq
.subsections_via_symbols
