	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_map_queues                ## -- Begin function iavf_map_queues
	.p2align	4, 0x90
_iavf_map_queues:                       ## @iavf_map_queues
	.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, %r13
	movq	(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_9
## %bb.1:
	movq	_VIRTCHNL_OP_CONFIG_IRQ_MAP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, (%r13)
	movq	8(%r13), %rdx
	movq	_NONQ_VECS@GOTPCREL(%rip), %r14
	movq	%rdx, %r12
	subq	(%r14), %r12
	callq	_struct_size
	movq	%rax, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r15
	movq	8(%r13), %rax
	movq	%rax, (%r15)
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.4:
	movq	%rbx, %r11
	movq	24(%r13), %rax
	movq	32(%r13), %rsi
	movq	8(%r15), %r8
	movl	(%rax), %ecx
	movl	%r12d, %edx
	leaq	32(%r8), %rdi
	xorl	%eax, %eax
	movq	_IAVF_RX_ITR@GOTPCREL(%rip), %r9
	movq	_IAVF_TX_ITR@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -8(%rdi)
	movq	(%r14), %rbx
	addq	%rax, %rbx
	movq	%rbx, -16(%rdi)
	movq	(%rsi,%rax,8), %rbx
	movq	%rbx, -24(%rdi)
	movq	%rbx, -32(%rdi)
	movl	(%r9), %ebx
	movl	%ebx, (%rdi)
	movl	(%r10), %ebx
	movl	%ebx, -4(%rdi)
	incq	%rax
	addq	$40, %rdi
	cmpq	%rax, %rdx
	jne	LBB0_5
## %bb.6:
	movq	%r11, %rbx
	jmp	LBB0_7
LBB0_9:
	movq	40(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r15), %r8
	movq	24(%r13), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
LBB0_7:
	leaq	(%rdx,%rdx,4), %rax
	movl	%ecx, 24(%r8,%rax,8)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r8,%rax,8)
	movq	$0, 16(%r8,%rax,8)
	movq	_IAVF_FLAG_AQ_MAP_VECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%r13)
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_iavf_send_pf_msg
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ## @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot map queues to vectors, command %d pending\n"

	.comm	_VIRTCHNL_OP_CONFIG_IRQ_MAP,8,3 ## @VIRTCHNL_OP_CONFIG_IRQ_MAP
	.comm	_NONQ_VECS,8,3                  ## @NONQ_VECS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IAVF_RX_ITR,4,2                ## @IAVF_RX_ITR
	.comm	_IAVF_TX_ITR,4,2                ## @IAVF_TX_ITR
	.comm	_IAVF_FLAG_AQ_MAP_VECTORS,4,2   ## @IAVF_FLAG_AQ_MAP_VECTORS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_map_queues                ; -- Begin function iavf_map_queues
	.p2align	2
_iavf_map_queues:                       ; @iavf_map_queues
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	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_5
; %bb.1:
Lloh3:
	adrp	x23, _VIRTCHNL_OP_CONFIG_IRQ_MAP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _VIRTCHNL_OP_CONFIG_IRQ_MAP@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [x19]
	ldr	x22, [x19, #8]
Lloh5:
	adrp	x24, _NONQ_VECS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _NONQ_VECS@GOTPAGEOFF]
	ldr	x25, [x24]
	mov	x2, x22
	bl	_struct_size
	mov	x20, x0
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	sub	x9, x22, x25
	ldr	x8, [x19, #8]
	str	x8, [x0]
	cmp	w9, #0
	b.le	LBB0_7
; %bb.3:
	mov	x11, #0
	ldr	x8, [x21, #8]
	add	x12, x8, #32
	ldp	x10, x13, [x19, #24]
	ldr	w10, [x10]
	and	x9, x9, #0xffffffff
Lloh10:
	adrp	x14, _IAVF_RX_ITR@GOTPAGE
Lloh11:
	ldr	x14, [x14, _IAVF_RX_ITR@GOTPAGEOFF]
Lloh12:
	adrp	x15, _IAVF_TX_ITR@GOTPAGE
Lloh13:
	ldr	x15, [x15, _IAVF_TX_ITR@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stur	w10, [x12, #-8]
	ldr	x16, [x24]
	add	x16, x16, x11
	stur	x16, [x12, #-16]
	ldr	x16, [x13, x11, lsl #3]
	stp	x16, x16, [x12, #-32]
	ldr	w16, [x14]
	str	w16, [x12]
	ldr	w16, [x15]
	stur	w16, [x12, #-4]
	add	x11, x11, #1
	add	x12, x12, #40
	cmp	x9, x11
	b.ne	LBB0_4
	b	LBB0_8
LBB0_5:
	ldr	x0, [x19, #40]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_err
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x9, #0
	ldr	x8, [x21, #8]
	ldr	x10, [x19, #24]
	ldr	w10, [x10]
LBB0_8:
	mov	w11, #40
	madd	x8, x9, x11, x8
	str	w10, [x8, #24]
	str	xzr, [x8, #16]
Lloh16:
	adrp	x9, _IAVF_FLAG_AQ_MAP_VECTORS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IAVF_FLAG_AQ_MAP_VECTORS@GOTPAGEOFF]
	stp	xzr, xzr, [x8]
Lloh18:
	ldr	w8, [x9]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
	ldr	x1, [x23]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_iavf_send_pf_msg
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ; @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot map queues to vectors, command %d pending\n"

	.comm	_VIRTCHNL_OP_CONFIG_IRQ_MAP,8,3 ; @VIRTCHNL_OP_CONFIG_IRQ_MAP
	.comm	_NONQ_VECS,8,3                  ; @NONQ_VECS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IAVF_RX_ITR,4,2                ; @IAVF_RX_ITR
	.comm	_IAVF_TX_ITR,4,2                ; @IAVF_TX_ITR
	.comm	_IAVF_FLAG_AQ_MAP_VECTORS,4,2   ; @IAVF_FLAG_AQ_MAP_VECTORS
.subsections_via_symbols
