	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_sriov_free_vf_vports
_efx_ef10_sriov_free_vf_vports:         ## @efx_ef10_sriov_free_vf_vports
	.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	8(%rdi), %r15
	movq	(%r15), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r14
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.2:
	movl	$32, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PCI_DEV_FLAGS_ASSIGNED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -8(%r13,%r12)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EVB_PORT_ID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_efx_ef10_evb_port_assign
	movq	$0, -8(%r13,%r12)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-16(%r13,%r12), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%r13,%r12), %rsi
	movl	-16(%r13,%r12), %edx
	movq	%r14, %rdi
	callq	_efx_ef10_vport_del_mac
	movl	-16(%r13,%r12), %edi
	callq	_eth_zero_addr
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%r13,%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_efx_ef10_vport_free
	movq	$0, -24(%r13,%r12)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -32(%r13,%r12)
	movl	(%r14), %eax
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %r13
	addq	$40, %r12
	jmp	LBB0_3
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DEV_FLAGS_ASSIGNED,4,2     ## @PCI_DEV_FLAGS_ASSIGNED
	.comm	_EVB_PORT_ID_NULL,4,2           ## @EVB_PORT_ID_NULL
	.no_dead_strip	_efx_ef10_sriov_free_vf_vports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_sriov_free_vf_vports
_efx_ef10_sriov_free_vf_vports:         ; @efx_ef10_sriov_free_vf_vports
	.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
	ldr	x21, [x0, #8]
	ldr	x23, [x21]
	cbz	x23, LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x22, #0
	mov	x20, #0
Lloh0:
	adrp	x24, _EVB_PORT_ID_NULL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EVB_PORT_ID_NULL@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PCI_DEV_FLAGS_ASSIGNED@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PCI_DEV_FLAGS_ASSIGNED@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x23, x22
	ldr	x9, [x26, #32]
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x9]
	ldr	w10, [x25]
	tst	w10, w9
	b.ne	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26, #24]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_efx_ef10_evb_port_assign
	str	xzr, [x26, #24]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x23, x22
	ldr	w0, [x26, #16]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x26, #8]
	cbz	x1, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_efx_ef10_vport_free
	str	xzr, [x26, #8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x23, x22]
	ldr	w8, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x21]
	add	x22, x22, #40
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x26, #8]
	ldr	w2, [x26, #16]
	mov	x0, x19
	bl	_efx_ef10_vport_del_mac
	ldr	w0, [x26, #16]
	bl	_eth_zero_addr
	ldr	x1, [x26, #8]
	cbnz	x1, LBB0_9
	b	LBB0_10
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DEV_FLAGS_ASSIGNED,4,2     ; @PCI_DEV_FLAGS_ASSIGNED
	.comm	_EVB_PORT_ID_NULL,4,2           ; @EVB_PORT_ID_NULL
	.no_dead_strip	_efx_ef10_sriov_free_vf_vports
.subsections_via_symbols
