	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_disable_channels          ## -- Begin function iavf_disable_channels
	.p2align	4, 0x90
_iavf_disable_channels:                 ## @iavf_disable_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movq	___IAVF_TC_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_IAVF_FLAG_REINIT_ITR_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rdi)
	movq	_VIRTCHNL_OP_DISABLE_CHANNELS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdi)
	movq	_IAVF_FLAG_AQ_DISABLE_CHANNELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 8(%rdi)
	movq	(%rax), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_iavf_send_pf_msg               ## TAILCALL
LBB0_1:
	movq	24(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ## @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot configure mqprio, command %d pending\n"

	.comm	___IAVF_TC_INVALID,4,2          ## @__IAVF_TC_INVALID
	.comm	_IAVF_FLAG_REINIT_ITR_NEEDED,4,2 ## @IAVF_FLAG_REINIT_ITR_NEEDED
	.comm	_VIRTCHNL_OP_DISABLE_CHANNELS,8,3 ## @VIRTCHNL_OP_DISABLE_CHANNELS
	.comm	_IAVF_FLAG_AQ_DISABLE_CHANNELS,4,2 ## @IAVF_FLAG_AQ_DISABLE_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_disable_channels          ; -- Begin function iavf_disable_channels
	.p2align	2
_iavf_disable_channels:                 ; @iavf_disable_channels
	.cfi_startproc
; %bb.0:
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, ___IAVF_TC_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___IAVF_TC_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #16]
Lloh6:
	adrp	x8, _IAVF_FLAG_REINIT_ITR_NEEDED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IAVF_FLAG_REINIT_ITR_NEEDED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldp	w10, w9, [x0, #8]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _VIRTCHNL_OP_DISABLE_CHANNELS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VIRTCHNL_OP_DISABLE_CHANNELS@GOTPAGEOFF]
	ldr	x11, [x9]
	str	x11, [x0]
Lloh11:
	adrp	x11, _IAVF_FLAG_AQ_DISABLE_CHANNELS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IAVF_FLAG_AQ_DISABLE_CHANNELS@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	bic	w10, w10, w11
	stp	w10, w8, [x0, #8]
	ldr	x1, [x9]
	mov	x2, #0
	mov	w3, #0
	b	_iavf_send_pf_msg
LBB0_2:
	ldr	x0, [x0, #24]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ; @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot configure mqprio, command %d pending\n"

	.comm	___IAVF_TC_INVALID,4,2          ; @__IAVF_TC_INVALID
	.comm	_IAVF_FLAG_REINIT_ITR_NEEDED,4,2 ; @IAVF_FLAG_REINIT_ITR_NEEDED
	.comm	_VIRTCHNL_OP_DISABLE_CHANNELS,8,3 ; @VIRTCHNL_OP_DISABLE_CHANNELS
	.comm	_IAVF_FLAG_AQ_DISABLE_CHANNELS,4,2 ; @IAVF_FLAG_AQ_DISABLE_CHANNELS
.subsections_via_symbols
