	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_init_interrupt_scheme     ## -- Begin function iavf_init_interrupt_scheme
	.p2align	4, 0x90
_iavf_init_interrupt_scheme:            ## @iavf_init_interrupt_scheme
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_iavf_alloc_queues
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_11
LBB0_2:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r14, %rdi
	callq	_iavf_set_interrupt_capability
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rtnl_unlock
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.3:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_iavf_alloc_q_vectors
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_iavf_reset_interrupt_capability
LBB0_4:
	movq	%r14, %rdi
	callq	_iavf_free_queues
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	24(%r14), %rax
	movq	_VIRTCHNL_VF_OFFLOAD_ADQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.8:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:
	movq	8(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_10:
	movq	8(%r14), %rdi
	movl	(%r14), %ecx
	cmpl	$2, %ecx
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmovgeq	%rax, %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate memory for queues\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to setup interrupt capabilities\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to allocate memory for queue vectors\n"

	.comm	_VIRTCHNL_VF_OFFLOAD_ADQ,4,2    ## @VIRTCHNL_VF_OFFLOAD_ADQ
L_.str.3:                               ## @.str.3
	.asciz	"ADq Enabled, %u TCs created"

L_.str.4:                               ## @.str.4
	.asciz	"Multiqueue %s: Queue pair count = %u"

L_.str.5:                               ## @.str.5
	.asciz	"Enabled"

L_.str.6:                               ## @.str.6
	.asciz	"Disabled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_init_interrupt_scheme     ; -- Begin function iavf_init_interrupt_scheme
	.p2align	2
_iavf_init_interrupt_scheme:            ; @iavf_init_interrupt_scheme
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_iavf_alloc_queues
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_2:
	bl	_rtnl_lock
	mov	x0, x19
	bl	_iavf_set_interrupt_capability
	mov	x20, x0
	bl	_rtnl_unlock
	cbz	w20, LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_iavf_alloc_q_vectors
	cbz	w0, LBB0_8
; %bb.5:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	mov	x0, x19
	bl	_iavf_reset_interrupt_capability
LBB0_6:
	mov	x0, x19
	bl	_iavf_free_queues
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VIRTCHNL_VF_OFFLOAD_ADQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VIRTCHNL_VF_OFFLOAD_ADQ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_11
; %bb.10:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
LBB0_11:
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
Lloh11:
	adrp	x9, l_.str.6@PAGE
Lloh12:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh13:
	adrp	x10, l_.str.5@PAGE
Lloh14:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	w8, #1
	csel	x2, x10, x9, gt
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
	mov	w20, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate memory for queues\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to setup interrupt capabilities\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to allocate memory for queue vectors\n"

	.comm	_VIRTCHNL_VF_OFFLOAD_ADQ,4,2    ; @VIRTCHNL_VF_OFFLOAD_ADQ
l_.str.3:                               ; @.str.3
	.asciz	"ADq Enabled, %u TCs created"

l_.str.4:                               ; @.str.4
	.asciz	"Multiqueue %s: Queue pair count = %u"

l_.str.5:                               ; @.str.5
	.asciz	"Enabled"

l_.str.6:                               ; @.str.6
	.asciz	"Disabled"

.subsections_via_symbols
