	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_gre_uninit                 ## -- Begin function in6_gre_uninit
	.p2align	4, 0x90
_in6_gre_uninit:                        ## @in6_gre_uninit
	.cfi_startproc
## %bb.0:
	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	_curvnet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_DEFAULT_VNET
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ecookie@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ip6_encap_detach
	movq	_ipv6_srcaddrtab@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ip6_encap_unregister_srcaddr
LBB0_2:
	movq	_V_ipv6_hashtbl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_gre_hashdestroy
	movq	$0, (%rbx)
	xorl	%eax, %eax
	callq	_GRE_WAIT
	movq	_V_ipv6_srchashtbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_gre_hashdestroy
	movq	_V_ipv6_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gre_hashdestroy                ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curvnet,4,2                    ## @curvnet
	.comm	_ecookie,4,2                    ## @ecookie
	.comm	_ipv6_srcaddrtab,4,2            ## @ipv6_srcaddrtab
	.comm	_V_ipv6_hashtbl,8,3             ## @V_ipv6_hashtbl
	.comm	_V_ipv6_srchashtbl,8,3          ## @V_ipv6_srchashtbl
	.comm	_V_ipv6_sockets,8,3             ## @V_ipv6_sockets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in6_gre_uninit                 ; -- Begin function in6_gre_uninit
	.p2align	2
_in6_gre_uninit:                        ; @in6_gre_uninit
	.cfi_startproc
; %bb.0:
	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
Lloh0:
	adrp	x8, _curvnet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curvnet@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_DEFAULT_VNET
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ecookie@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ecookie@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ip6_encap_detach
Lloh6:
	adrp	x8, _ipv6_srcaddrtab@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ipv6_srcaddrtab@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ip6_encap_unregister_srcaddr
LBB0_2:
Lloh9:
	adrp	x19, _V_ipv6_hashtbl@GOTPAGE
Lloh10:
	ldr	x19, [x19, _V_ipv6_hashtbl@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_gre_hashdestroy
	str	xzr, [x19]
	bl	_GRE_WAIT
Lloh11:
	adrp	x8, _V_ipv6_srchashtbl@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V_ipv6_srchashtbl@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_gre_hashdestroy
Lloh14:
	adrp	x8, _V_ipv6_sockets@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V_ipv6_sockets@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gre_hashdestroy
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_curvnet,4,2                    ; @curvnet
	.comm	_ecookie,4,2                    ; @ecookie
	.comm	_ipv6_srcaddrtab,4,2            ; @ipv6_srcaddrtab
	.comm	_V_ipv6_hashtbl,8,3             ; @V_ipv6_hashtbl
	.comm	_V_ipv6_srchashtbl,8,3          ; @V_ipv6_srchashtbl
	.comm	_V_ipv6_sockets,8,3             ; @V_ipv6_sockets
.subsections_via_symbols
