	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppp_destroy_channel
_ppp_destroy_channel:                   ## @ppp_destroy_channel
	.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	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_put_net
	movq	$0, 16(%rbx)
	movq	_channel_count@GOTPCREL(%rip), %rdi
	callq	_atomic_dec
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	leaq	4(%rbx), %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_channel_count,4,2              ## @channel_count
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ppp: destroying undead channel %p !\n"

	.no_dead_strip	_ppp_destroy_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppp_destroy_channel
_ppp_destroy_channel:                   ; @ppp_destroy_channel
	.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
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_put_net
	str	xzr, [x19, #16]
Lloh0:
	adrp	x0, _channel_count@GOTPAGE
Lloh1:
	ldr	x0, [x0, _channel_count@GOTPAGEOFF]
	bl	_atomic_dec
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_2
; %bb.1:
	add	x0, x19, #4
	bl	_skb_queue_purge
	mov	x0, x19
	bl	_skb_queue_purge
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_channel_count,4,2              ; @channel_count
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ppp: destroying undead channel %p !\n"

	.no_dead_strip	_ppp_destroy_channel
.subsections_via_symbols
