	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppol2tp_tunnel_destruct
_pppol2tp_tunnel_destruct:              ## @pppol2tp_tunnel_destruct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movl	16(%rbx), %r8d
	movl	20(%rbx), %edi
	movq	_PPPOL2TP_MSG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_PRINTK
	movq	%rbx, %rdi
	callq	_pppol2tp_tunnel_closeall
	movq	%r14, %rdi
	callq	_udp_sk
	movq	$0, 8(%rax)
	movq	%r14, %rdi
	callq	_udp_sk
	movq	$0, (%rax)
	movq	$0, 8(%rbx)
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	movq	$0, 8(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pppol2tp_tunnel_dec_refcount   ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPPOL2TP_MSG_CONTROL,4,2       ## @PPPOL2TP_MSG_CONTROL
	.comm	_KERN_INFO,4,2                  ## @KERN_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: closing...\n"

	.no_dead_strip	_pppol2tp_tunnel_destruct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppol2tp_tunnel_destruct
_pppol2tp_tunnel_destruct:              ; @pppol2tp_tunnel_destruct
	.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
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _PPPOL2TP_MSG_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPPOL2TP_MSG_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _KERN_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldp	w4, w0, [x19, #16]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_PRINTK
	mov	x0, x19
	bl	_pppol2tp_tunnel_closeall
	mov	x0, x20
	bl	_udp_sk
	str	xzr, [x0, #8]
	mov	x0, x20
	bl	_udp_sk
	str	xzr, [x0]
	str	xzr, [x19, #8]
	ldr	x8, [x19]
	stp	x8, xzr, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	blr	x8
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pppol2tp_tunnel_dec_refcount
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPPOL2TP_MSG_CONTROL,4,2       ; @PPPOL2TP_MSG_CONTROL
	.comm	_KERN_INFO,4,2                  ; @KERN_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: closing...\n"

	.no_dead_strip	_pppol2tp_tunnel_destruct
.subsections_via_symbols
