	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_setup_vfdb
_qed_iov_setup_vfdb:                    ## @qed_iov_setup_vfdb
	.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	$56, %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), %r15
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	(%r15), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	48(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movq	32(%r15), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.2:
	movq	16(%r15), %r9
	testq	%r9, %r9
	je	LBB0_7
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.4:
	movq	%r14, %r8
	movq	40(%r15), %rdi
	movq	24(%r15), %rsi
	movq	8(%r15), %rdx
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movq	%rcx, 104(%r15,%rbx)
	movq	%rdi, 96(%r15,%rbx)
	movq	%r12, 88(%r15,%rbx)
	movq	%rsi, 80(%r15,%rbx)
	movq	_VF_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15,%rbx)
	movl	$0, (%r15,%rbx)
	movq	%rdx, 64(%r15,%rbx)
	movq	%r9, 56(%r15,%rbx)
	movl	$4, 48(%r15,%rbx)
	movq	%r14, 8(%r15,%rbx)
	movl	8(%r8), %esi
	addl	%r14d, %esi
	movl	%esi, 16(%r15,%rbx)
	movq	%r13, %rdi
	callq	_qed_vfid_to_concrete
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	%eax, 40(%r15,%rbx)
	movzbl	(%r13), %eax
	movl	16(%r15,%rbx), %ecx
	shll	$8, %ecx
	orl	%eax, %ecx
	movl	%ecx, 20(%r15,%rbx)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incq	%r14
	movq	%r14, 24(%r15,%rbx)
	movq	_QED_ETH_VF_NUM_MAC_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15,%rbx)
	movq	_QED_ETH_VF_NUM_VLAN_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15,%rbx)
	addq	$4, %r9
	addq	$4, %r12
	addq	$4, %rcx
	addq	$112, %rbx
	addq	$4, %rdi
	addq	$4, %rsi
	addq	$4, %rdx
	cmpq	(%r8), %r14
	jb	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP_ERR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qed_iov_setup_vfdb called without allocating mem first\n"

	.comm	_VF_STOPPED,4,2                 ## @VF_STOPPED
	.comm	_QED_ETH_VF_NUM_MAC_FILTERS,4,2 ## @QED_ETH_VF_NUM_MAC_FILTERS
	.comm	_QED_ETH_VF_NUM_VLAN_FILTERS,4,2 ## @QED_ETH_VF_NUM_VLAN_FILTERS
	.no_dead_strip	_qed_iov_setup_vfdb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_setup_vfdb
_qed_iov_setup_vfdb:                    ; @qed_iov_setup_vfdb
	.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
	ldp	x21, x8, [x0, #8]
	ldr	x20, [x8]
	ldr	x0, [x21]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x23, [x21, #48]
	ldr	x24, [x21, #32]
	ldr	x26, [x21, #16]
	cmp	x23, #0
	ccmp	x24, #0, #4, ne
	ccmp	x26, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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	_DP_ERR
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x9, x20
	mov	x25, #0
	ldr	x27, [x21, #40]
	ldr	x28, [x21, #24]
	ldr	x22, [x21, #8]
	mov	w20, #104
	stp	x9, x21, [sp]                   ; 16-byte Folded Spill
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x21, x8, x20
	stp	x27, x23, [x21, #-8]
	stp	x28, x24, [x21, #-24]
Lloh2:
	adrp	x8, _VF_STOPPED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VF_STOPPED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stur	w8, [x21, #-32]
	stur	wzr, [x21, #-104]
	stp	x26, x22, [x21, #-48]
	mov	w8, #4
	stur	w8, [x21, #-56]
	stur	x25, [x21, #-96]
	ldr	w8, [x9, #8]
	add	w1, w25, w8
	stur	w1, [x21, #-88]
	mov	x0, x19
	bl	_qed_vfid_to_concrete
	stur	w0, [x21, #-64]
	ldrb	w8, [x19]
	ldur	w9, [x21, #-88]
	bfi	w8, w9, #8, #24
	stur	w8, [x21, #-84]
	add	x25, x25, #1
	stur	x25, [x21, #-80]
Lloh5:
	adrp	x8, _QED_ETH_VF_NUM_MAC_FILTERS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_ETH_VF_NUM_MAC_FILTERS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stur	w8, [x21, #-68]
Lloh8:
	adrp	x8, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stur	w8, [x21, #-72]
	ldp	x9, x21, [sp]                   ; 16-byte Folded Reload
	add	x26, x26, #4
	add	x24, x24, #4
	add	x23, x23, #4
	add	x20, x20, #112
	ldr	x8, [x9]
	add	x27, x27, #4
	add	x28, x28, #4
	add	x22, x22, #4
	cmp	x25, x8
	b.lo	LBB0_4
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qed_iov_setup_vfdb called without allocating mem first\n"

	.comm	_VF_STOPPED,4,2                 ; @VF_STOPPED
	.comm	_QED_ETH_VF_NUM_MAC_FILTERS,4,2 ; @QED_ETH_VF_NUM_MAC_FILTERS
	.comm	_QED_ETH_VF_NUM_VLAN_FILTERS,4,2 ; @QED_ETH_VF_NUM_VLAN_FILTERS
	.no_dead_strip	_qed_iov_setup_vfdb
.subsections_via_symbols
