	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_enable_channels           ## -- Begin function iavf_enable_channels
	.p2align	4, 0x90
_iavf_enable_channels:                  ## @iavf_enable_channels
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_7
## %bb.1:
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	decl	%edx
	xorl	%edi, %edi
	callq	_struct_size
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r15
	movl	8(%rbx), %edx
	movl	%edx, (%rax)
	testl	%edx, %edx
	jle	LBB0_5
## %bb.3:
	movq	32(%rbx), %rax
	movq	8(%r15), %rcx
	shlq	$2, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rax,%rsi), %edi
	movl	%edi, 20(%rcx,%rsi,2)
	movl	4(%rax,%rsi), %edi
	movl	%edi, 16(%rcx,%rsi,2)
	movq	$0, 8(%rcx,%rsi,2)
	movl	(%rax,%rsi), %edi
	movl	%edi, (%rcx,%rsi,2)
	addq	$12, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_4
LBB0_5:
	movq	___IAVF_TC_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_IAVF_FLAG_REINIT_ITR_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movq	_VIRTCHNL_OP_ENABLE_CHANNELS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_IAVF_FLAG_AQ_ENABLE_CHANNELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 12(%rbx)
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_iavf_send_pf_msg
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_7:
	movq	40(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_list,4,2                       ## @list
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___IAVF_TC_RUNNING,4,2          ## @__IAVF_TC_RUNNING
	.comm	_IAVF_FLAG_REINIT_ITR_NEEDED,4,2 ## @IAVF_FLAG_REINIT_ITR_NEEDED
	.comm	_VIRTCHNL_OP_ENABLE_CHANNELS,8,3 ## @VIRTCHNL_OP_ENABLE_CHANNELS
	.comm	_IAVF_FLAG_AQ_ENABLE_CHANNELS,4,2 ## @IAVF_FLAG_AQ_ENABLE_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_enable_channels           ; -- Begin function iavf_enable_channels
	.p2align	2
_iavf_enable_channels:                  ; @iavf_enable_channels
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	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_6
; %bb.1:
Lloh3:
	adrp	x8, _list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
	sub	w2, w8, #1
	mov	x0, #0
	bl	_struct_size
	mov	x20, x0
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w8, [x19, #8]
	str	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	x9, [x19, #32]
	ldr	x10, [x21, #8]
	add	x9, x9, #4
	add	x10, x10, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x9]
	str	d0, [x10]
	stur	xzr, [x10, #-8]
	ldur	w11, [x9, #-4]
	stur	w11, [x10, #-16]
	add	x9, x9, #12
	add	x10, x10, #24
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_5:
Lloh9:
	adrp	x8, ___IAVF_TC_RUNNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___IAVF_TC_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh12:
	adrp	x8, _IAVF_FLAG_REINIT_ITR_NEEDED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IAVF_FLAG_REINIT_ITR_NEEDED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #12]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _VIRTCHNL_OP_ENABLE_CHANNELS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VIRTCHNL_OP_ENABLE_CHANNELS@GOTPAGEOFF]
	ldr	x11, [x9]
Lloh17:
	adrp	x12, _IAVF_FLAG_AQ_ENABLE_CHANNELS@GOTPAGE
Lloh18:
	ldr	x12, [x12, _IAVF_FLAG_AQ_ENABLE_CHANNELS@GOTPAGEOFF]
	str	x11, [x19]
Lloh19:
	ldr	w11, [x12]
	bic	w10, w10, w11
	stp	w10, w8, [x19, #12]
	ldr	x1, [x9]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_iavf_send_pf_msg
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_6:
	ldr	x0, [x19, #40]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_err
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.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	_list,4,2                       ; @list
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___IAVF_TC_RUNNING,4,2          ; @__IAVF_TC_RUNNING
	.comm	_IAVF_FLAG_REINIT_ITR_NEEDED,4,2 ; @IAVF_FLAG_REINIT_ITR_NEEDED
	.comm	_VIRTCHNL_OP_ENABLE_CHANNELS,8,3 ; @VIRTCHNL_OP_ENABLE_CHANNELS
	.comm	_IAVF_FLAG_AQ_ENABLE_CHANNELS,4,2 ; @IAVF_FLAG_AQ_ENABLE_CHANNELS
.subsections_via_symbols
