	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ef10_vswitching_probe_pf   ## -- Begin function efx_ef10_vswitching_probe_pf
	.p2align	4, 0x90
_efx_ef10_vswitching_probe_pf:          ## @efx_ef10_vswitching_probe_pf
	.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, %rbx
	movq	16(%rdi), %r14
	movq	8(%rdi), %r13
	movl	(%rdi), %edi
	callq	_pci_sriov_get_totalvfs
	testq	%rax, %rax
	jle	LBB0_8
## %bb.1:
	movq	_EVB_PORT_ID_ASSIGNED@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_efx_ef10_vswitch_alloc
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%r12), %esi
	movq	_MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EFX_EF10_NO_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %r8
	callq	_efx_ef10_vport_alloc
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	(%r14), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_efx_ef10_vport_add_mac
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	4(%r14), %edi
	movl	(%r13), %esi
	callq	_ether_addr_copy
	movq	%rbx, %rdi
	callq	_efx_ef10_vadaptor_alloc_set_features
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movl	%eax, %r15d
	movl	(%r14), %esi
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_efx_ef10_vport_del_mac
	movl	4(%r14), %edi
	callq	_eth_zero_addr
LBB0_6:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_efx_ef10_vport_free
	movl	(%r12), %eax
	movl	%eax, (%r14)
LBB0_7:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_efx_ef10_vswitch_free
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_efx_ef10_vadaptor_alloc_set_features
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVB_PORT_ID_ASSIGNED,4,2       ## @EVB_PORT_ID_ASSIGNED
	.comm	_MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB,4,2 ## @MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB
	.comm	_MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL,4,2 ## @MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL
	.comm	_EFX_EF10_NO_VLAN,4,2           ## @EFX_EF10_NO_VLAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ef10_vswitching_probe_pf   ; -- Begin function efx_ef10_vswitching_probe_pf
	.p2align	2
_efx_ef10_vswitching_probe_pf:          ; @efx_ef10_vswitching_probe_pf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldp	x23, x20, [x0, #8]
	ldr	w0, [x0]
	bl	_pci_sriov_get_totalvfs
	cmp	x0, #0
	b.le	LBB0_8
; %bb.1:
Lloh0:
	adrp	x22, _EVB_PORT_ID_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EVB_PORT_ID_ASSIGNED@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_efx_ef10_vswitch_alloc
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.2:
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _EFX_EF10_NO_VLAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFX_EF10_NO_VLAN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x20
	bl	_efx_ef10_vport_alloc
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	w1, [x20]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_efx_ef10_vport_add_mac
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x20, #4]
	ldr	w1, [x23]
	bl	_ether_addr_copy
	mov	x0, x19
	bl	_efx_ef10_vadaptor_alloc_set_features
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.5:
	ldp	w1, w2, [x20]
	mov	x0, x19
	bl	_efx_ef10_vport_del_mac
	ldr	w0, [x20, #4]
	bl	_eth_zero_addr
LBB0_6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_efx_ef10_vport_free
	ldr	w8, [x22]
	str	w8, [x20]
LBB0_7:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_efx_ef10_vswitch_free
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_efx_ef10_vadaptor_alloc_set_features
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EVB_PORT_ID_ASSIGNED,4,2       ; @EVB_PORT_ID_ASSIGNED
	.comm	_MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB,4,2 ; @MC_CMD_VSWITCH_ALLOC_IN_VSWITCH_TYPE_VEB
	.comm	_MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL,4,2 ; @MC_CMD_VPORT_ALLOC_IN_VPORT_TYPE_NORMAL
	.comm	_EFX_EF10_NO_VLAN,4,2           ; @EFX_EF10_NO_VLAN
.subsections_via_symbols
