	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_vadaptor_alloc_set_features
_efx_ef10_vadaptor_alloc_set_features:  ## @efx_ef10_vadaptor_alloc_set_features
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	(%r15), %esi
	callq	_efx_ef10_vadaptor_alloc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_efx_ef10_vadaptor_query
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	_EVB_PORT_ID_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_efx_ef10_vadaptor_free
	jmp	LBB0_7
LBB0_3:
	movl	-28(%rbp), %eax
	movq	_MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jae	LBB0_5
## %bb.4:
	orl	%eax, (%r14)
	jmp	LBB0_6
LBB0_5:
	notl	%eax
	andl	%eax, (%r14)
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN,4,2 ## @MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_EVB_PORT_ID_ASSIGNED,4,2       ## @EVB_PORT_ID_ASSIGNED
	.no_dead_strip	_efx_ef10_vadaptor_alloc_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_vadaptor_alloc_set_features
_efx_ef10_vadaptor_alloc_set_features:  ; @efx_ef10_vadaptor_alloc_set_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w1, [x21]
	bl	_efx_ef10_vadaptor_alloc
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	bl	_efx_ef10_vadaptor_query
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x8, _EVB_PORT_ID_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVB_PORT_ID_ASSIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_efx_ef10_vadaptor_free
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh5:
	ldr	w10, [x8]
Lloh6:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w20, #0
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_5
; %bb.4:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_5:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [x19]
LBB0_7:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN,4,2 ; @MC_CMD_VPORT_ALLOC_IN_FLAG_VLAN_RESTRICT_LBN
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_EVB_PORT_ID_ASSIGNED,4,2       ; @EVB_PORT_ID_ASSIGNED
	.no_dead_strip	_efx_ef10_vadaptor_alloc_set_features
.subsections_via_symbols
