	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_set_channels
_iavf_set_channels:                     ## @iavf_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movl	(%rbx), %esi
	movq	24(%rax), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rax), %esi
	je	LBB0_2
## %bb.1:
	movq	_VIRTCHNL_VF_OFFLOAD_REQ_QUEUES@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_11
LBB0_2:
	movq	_VIRTCHNL_VF_OFFLOAD_ADQ@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.4:
	movq	8(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_5:
	testl	%esi, %esi
	jle	LBB0_13
## %bb.6:
	movq	_IAVF_MAX_REQ_QUEUES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jg	LBB0_13
## %bb.7:
	cmpq	$0, 24(%rbx)
	jne	LBB0_13
## %bb.8:
	cmpq	$0, 16(%rbx)
	jne	LBB0_13
## %bb.9:
	movq	8(%rbx), %rcx
	movq	_NONQ_VECS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.10:
	movl	%esi, 4(%rax)
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iavf_request_queues            ## TAILCALL
LBB0_11:
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
LBB0_12:
	callq	_dev_info
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_VF_OFFLOAD_REQ_QUEUES,4,2 ## @VIRTCHNL_VF_OFFLOAD_REQ_QUEUES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF is not capable of queue negotiation.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VIRTCHNL_VF_OFFLOAD_ADQ,4,2    ## @VIRTCHNL_VF_OFFLOAD_ADQ
L_.str.1:                               ## @.str.1
	.asciz	"Cannot set channels since ADq is enabled.\n"

	.comm	_IAVF_MAX_REQ_QUEUES,4,2        ## @IAVF_MAX_REQ_QUEUES
	.comm	_NONQ_VECS,8,3                  ## @NONQ_VECS
	.no_dead_strip	_iavf_set_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_set_channels
_iavf_set_channels:                     ; @iavf_set_channels
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	w1, [x19]
	ldr	w9, [x0]
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	cmp	w1, w9
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _VIRTCHNL_VF_OFFLOAD_REQ_QUEUES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIRTCHNL_VF_OFFLOAD_REQ_QUEUES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_2:
Lloh3:
	adrp	x9, _VIRTCHNL_VF_OFFLOAD_ADQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VIRTCHNL_VF_OFFLOAD_ADQ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x0, #8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_5:
Lloh8:
	adrp	x8, _IAVF_MAX_REQ_QUEUES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IAVF_MAX_REQ_QUEUES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w1, #1
	ccmp	w1, w8, #0, ge
	b.gt	LBB0_12
; %bb.6:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_12
; %bb.7:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _NONQ_VECS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NONQ_VECS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	str	w1, [x0, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iavf_request_queues
LBB0_10:
	ldr	x0, [x0, #8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	bl	_dev_info
LBB0_12:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_VF_OFFLOAD_REQ_QUEUES,4,2 ; @VIRTCHNL_VF_OFFLOAD_REQ_QUEUES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF is not capable of queue negotiation.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VIRTCHNL_VF_OFFLOAD_ADQ,4,2    ; @VIRTCHNL_VF_OFFLOAD_ADQ
l_.str.1:                               ; @.str.1
	.asciz	"Cannot set channels since ADq is enabled.\n"

	.comm	_IAVF_MAX_REQ_QUEUES,4,2        ; @IAVF_MAX_REQ_QUEUES
	.comm	_NONQ_VECS,8,3                  ; @NONQ_VECS
	.no_dead_strip	_iavf_set_channels
.subsections_via_symbols
