	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_configure_queues          ## -- Begin function iavf_configure_queues
	.p2align	4, 0x90
_iavf_configure_queues:                 ## @iavf_configure_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_11
## %bb.1:
	movl	(%r13), %edx
	movq	_IAVF_MAX_RXBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	movq	_qpair@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_struct_size
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kzalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	_IAVF_FLAG_LEGACY_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.3:
	movq	48(%r13), %rax
	movq	(%rax), %rax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_5
## %bb.4:
	movq	_IAVF_RXBUFFER_1536@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_5:
	movq	40(%r13), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 4(%rdx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.6:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %r15
	decq	-64(%rbp)                       ## 8-byte Folded Spill
	addq	$36, %r15
	movl	$8, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%r15)
	movl	%r12d, -12(%r15)
	movq	32(%r13), %rcx
	movl	4(%rcx,%r12,8), %edx
	movl	%edx, -4(%r15)
	movl	(%rcx,%r12,8), %ecx
	movl	%ecx, -8(%r15)
	movl	%eax, -16(%r15)
	movl	%r12d, -36(%r15)
	movq	24(%r13), %rax
	movl	(%rax,%r14), %ecx
	movl	%ecx, -20(%r15)
	movl	-4(%rax,%r14), %ecx
	movl	%ecx, -24(%r15)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -32(%r15)
	movl	-8(%rax,%r14), %ebx
	movq	_IAVF_RXQ_CTX_DBUFF_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ALIGN
	movl	%eax, -28(%r15)
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	addq	$12, %r14
	addq	$40, %r15
	incq	%r12
	jmp	LBB0_7
LBB0_11:
	movq	56(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_9:
	movq	_IAVF_FLAG_AQ_CONFIGURE_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%r13)
	movq	_VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_iavf_send_pf_msg
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IAVF_MAX_RXBUFFER,4,2          ## @IAVF_MAX_RXBUFFER
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ## @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot configure queues, command %d pending\n"

	.comm	_VIRTCHNL_OP_CONFIG_VSI_QUEUES,8,3 ## @VIRTCHNL_OP_CONFIG_VSI_QUEUES
	.comm	_qpair,4,2                      ## @qpair
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IAVF_FLAG_LEGACY_RX,4,2        ## @IAVF_FLAG_LEGACY_RX
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_IAVF_RXBUFFER_1536,4,2         ## @IAVF_RXBUFFER_1536
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_IAVF_RXQ_CTX_DBUFF_SHIFT,4,2   ## @IAVF_RXQ_CTX_DBUFF_SHIFT
	.comm	_IAVF_FLAG_AQ_CONFIGURE_QUEUES,4,2 ## @IAVF_FLAG_AQ_CONFIGURE_QUEUES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_configure_queues          ; -- Begin function iavf_configure_queues
	.p2align	2
_iavf_configure_queues:                 ; @iavf_configure_queues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x2, [x0, #8]
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_9
; %bb.1:
	ldr	w22, [x19]
Lloh3:
	adrp	x8, _IAVF_MAX_RXBUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IAVF_MAX_RXBUFFER@GOTPAGEOFF]
Lloh5:
	adrp	x9, _VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
Lloh8:
	ldr	x8, [x9]
	str	x8, [x19, #8]
Lloh9:
	adrp	x8, _qpair@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qpair@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_struct_size
	mov	x20, x0
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.2:
	mov	x21, x0
	ldr	w8, [x19, #16]
Lloh15:
	adrp	x9, _IAVF_FLAG_LEGACY_RX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IAVF_FLAG_LEGACY_RX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _IAVF_RXBUFFER_1536@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IAVF_RXBUFFER_1536@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	sub	w24, w8, w9
LBB0_5:
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
	stp	w22, w8, [x21]
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x25, #0
	mov	x26, #0
	mov	x27, #0
	ldr	x28, [x21, #8]
	mov	w9, #40
	mul	x9, x22, x9
	sub	x23, x9, #40
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x28, x25
	str	w8, [x20, #36]
	str	w27, [x20, #24]
	ldp	x10, x9, [x19, #24]
	ldr	d0, [x9, x27, lsl #3]
	stur	d0, [x20, #28]
	str	w8, [x20, #20]
	str	w27, [x20]
	add	x8, x10, x26
	ldur	d0, [x8, #4]
	stur	d0, [x20, #12]
	str	w24, [x20, #4]
	ldr	w22, [x8]
Lloh27:
	adrp	x8, _IAVF_RXQ_CTX_DBUFF_SHIFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IAVF_RXQ_CTX_DBUFF_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_BIT_ULL
	mov	x1, x0
	mov	x0, x22
	bl	_ALIGN
	str	w0, [x20, #8]
	cmp	x23, x25
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21, #4]
	add	x26, x26, #12
	add	x25, x25, #40
	add	x27, x27, #1
	b	LBB0_7
LBB0_9:
	ldr	x0, [x19, #56]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_err
LBB0_10:
Lloh32:
	adrp	x8, _IAVF_FLAG_AQ_CONFIGURE_QUEUES@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IAVF_FLAG_AQ_CONFIGURE_QUEUES@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	bic	w8, w9, w8
	str	w8, [x19, #20]
Lloh35:
	adrp	x8, _VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VIRTCHNL_OP_CONFIG_VSI_QUEUES@GOTPAGEOFF]
Lloh37:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x21
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	bl	_iavf_send_pf_msg
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_kfree
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IAVF_MAX_RXBUFFER,4,2          ; @IAVF_MAX_RXBUFFER
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ; @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot configure queues, command %d pending\n"

	.comm	_VIRTCHNL_OP_CONFIG_VSI_QUEUES,8,3 ; @VIRTCHNL_OP_CONFIG_VSI_QUEUES
	.comm	_qpair,4,2                      ; @qpair
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IAVF_FLAG_LEGACY_RX,4,2        ; @IAVF_FLAG_LEGACY_RX
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_IAVF_RXBUFFER_1536,4,2         ; @IAVF_RXBUFFER_1536
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_IAVF_RXQ_CTX_DBUFF_SHIFT,4,2   ; @IAVF_RXQ_CTX_DBUFF_SHIFT
	.comm	_IAVF_FLAG_AQ_CONFIGURE_QUEUES,4,2 ; @IAVF_FLAG_AQ_CONFIGURE_QUEUES
.subsections_via_symbols
