	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppol2tp_session_destruct
_pppol2tp_session_destruct:             ## @pppol2tp_session_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	_L2TP_SESSION_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	movq	_L2TP_TUNNEL_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_write_lock_bh
	leaq	24(%rbx), %rdi
	callq	_hlist_del_init
	movq	%r15, %rdi
	callq	_write_unlock_bh
	movq	_pppol2tp_session_count@GOTPCREL(%rip), %rdi
	callq	_atomic_dec
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%r14, %rdi
	callq	_pppol2tp_tunnel_dec_refcount
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_L2TP_SESSION_MAGIC,8,3         ## @L2TP_SESSION_MAGIC
	.comm	_L2TP_TUNNEL_MAGIC,8,3          ## @L2TP_TUNNEL_MAGIC
	.comm	_pppol2tp_session_count,4,2     ## @pppol2tp_session_count
	.no_dead_strip	_pppol2tp_session_destruct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppol2tp_session_destruct
_pppol2tp_session_destruct:             ; @pppol2tp_session_destruct
	.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	x19, [x0]
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _L2TP_SESSION_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L2TP_SESSION_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_5
; %bb.2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _L2TP_TUNNEL_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _L2TP_TUNNEL_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	add	x21, x20, #8
	mov	x0, x21
	bl	_write_lock_bh
	add	x0, x19, #24
	bl	_hlist_del_init
	mov	x0, x21
	bl	_write_unlock_bh
Lloh6:
	adrp	x0, _pppol2tp_session_count@GOTPAGE
Lloh7:
	ldr	x0, [x0, _pppol2tp_session_count@GOTPAGEOFF]
	bl	_atomic_dec
LBB0_4:
	stp	xzr, xzr, [x19, #8]
	mov	x0, x20
	bl	_pppol2tp_tunnel_dec_refcount
LBB0_5:
	mov	x0, x19
	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
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_L2TP_SESSION_MAGIC,8,3         ; @L2TP_SESSION_MAGIC
	.comm	_L2TP_TUNNEL_MAGIC,8,3          ; @L2TP_TUNNEL_MAGIC
	.comm	_pppol2tp_session_count,4,2     ; @pppol2tp_session_count
	.no_dead_strip	_pppol2tp_session_destruct
.subsections_via_symbols
