	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gswip_vlan_active_remove
_gswip_vlan_active_remove:              ## @gswip_vlan_active_remove
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	$0, -28(%rbp)
	movl	%esi, -40(%rbp)
	movq	_GSWIP_TABLE_ACTIVE_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -36(%rbp)
	leaq	-40(%rbp), %rsi
	callq	_gswip_pce_table_entry_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_2:
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movq	$0, (%rax,%rcx,8)
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSWIP_TABLE_ACTIVE_VLAN,4,2    ## @GSWIP_TABLE_ACTIVE_VLAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to delete active VLAN: %d\n"

	.no_dead_strip	_gswip_vlan_active_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gswip_vlan_active_remove
_gswip_vlan_active_remove:              ; @gswip_vlan_active_remove
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GSWIP_TABLE_ACTIVE_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSWIP_TABLE_ACTIVE_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #8]
	stp	w1, wzr, [sp]
	mov	x1, sp
	bl	_gswip_pce_table_entry_write
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_err
LBB0_2:
	ldr	x8, [x20]
	str	xzr, [x8, w19, sxtw #3]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GSWIP_TABLE_ACTIVE_VLAN,4,2    ; @GSWIP_TABLE_ACTIVE_VLAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to delete active VLAN: %d\n"

	.no_dead_strip	_gswip_vlan_active_remove
.subsections_via_symbols
