	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function veth_destroy_connection
_veth_destroy_connection:               ## @veth_destroy_connection
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	movq	_HvLpEvent_Type_VirtualLan@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mf_deallocate_lp_events
LBB0_3:
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	movq	_HvLpEvent_Type_VirtualLan@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mf_deallocate_lp_events
LBB0_5:
	movq	24(%rbx), %rdi
	callq	_kfree
	movq	_veth_cnx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HvLpEvent_Type_VirtualLan,4,2  ## @HvLpEvent_Type_VirtualLan
	.comm	_veth_cnx,8,3                   ## @veth_cnx
	.no_dead_strip	_veth_destroy_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function veth_destroy_connection
_veth_destroy_connection:               ; @veth_destroy_connection
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x20, _HvLpEvent_Type_VirtualLan@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HvLpEvent_Type_VirtualLan@GOTPAGEOFF]
	cmp	x2, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
	mov	x3, #0
	mov	x4, #0
	bl	_mf_deallocate_lp_events
LBB0_3:
	ldr	x2, [x19, #16]
	cmp	x2, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
	mov	x3, #0
	mov	x4, #0
	bl	_mf_deallocate_lp_events
LBB0_5:
	ldr	x0, [x19, #24]
	bl	_kfree
Lloh2:
	adrp	x8, _veth_cnx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _veth_cnx@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HvLpEvent_Type_VirtualLan,4,2  ; @HvLpEvent_Type_VirtualLan
	.comm	_veth_cnx,8,3                   ; @veth_cnx
	.no_dead_strip	_veth_destroy_connection
.subsections_via_symbols
