	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_vf_rep_destroy             ## -- Begin function lio_vf_rep_destroy
	.p2align	4, 0x90
_lio_vf_rep_destroy:                    ## @lio_vf_rep_destroy
	.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), %rax
	movq	_DEVLINK_ESWITCH_MODE_SWITCHDEV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 24(%rdi)
	je	LBB0_8
## %bb.2:
	movl	8(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	movq	(%rcx,%rbx,8), %r15
	movq	$0, (%rcx,%rbx,8)
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	callq	_cancel_delayed_work_sync
	movq	%r15, %rdi
	callq	_netif_tx_disable
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	%r15, %rdi
	callq	_unregister_netdev
	movq	%r15, %rdi
	callq	_free_netdev
	movl	8(%r14), %eax
	jmp	LBB0_6
LBB0_7:
	movl	$0, 8(%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVLINK_ESWITCH_MODE_SWITCHDEV,8,3 ## @DEVLINK_ESWITCH_MODE_SWITCHDEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_vf_rep_destroy             ; -- Begin function lio_vf_rep_destroy
	.p2align	2
_lio_vf_rep_destroy:                    ; @lio_vf_rep_destroy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DEVLINK_ESWITCH_MODE_SWITCHDEV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DEVLINK_ESWITCH_MODE_SWITCHDEV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_8
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x21, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	lsl	x10, x21, #3
	ldr	x20, [x9, x10]
	str	xzr, [x9, x10]
	cbz	x20, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_netdev_priv
	bl	_cancel_delayed_work_sync
	mov	x0, x20
	bl	_netif_tx_disable
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_unregister_netdev
	mov	x0, x20
	bl	_free_netdev
	ldr	w8, [x19, #8]
	b	LBB0_4
LBB0_7:
	str	wzr, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVLINK_ESWITCH_MODE_SWITCHDEV,8,3 ; @DEVLINK_ESWITCH_MODE_SWITCHDEV
.subsections_via_symbols
