	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppp_release
_ppp_release:                           ## @ppp_release
	.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	(%rsi), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movq	$0, (%rsi)
	cmpl	$128, (%r14)
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_PF_TO_PPP
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_rtnl_lock
	cmpq	%rbx, 8(%r15)
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_unregister_netdevice
LBB0_4:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_5:
	leaq	4(%r14), %rdi
	callq	_refcount_dec_and_test
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_PF_TO_PPP
	movq	%rax, %rdi
	callq	_ppp_destroy_interface
	jmp	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	callq	_PF_TO_CHANNEL
	movl	%eax, %edi
	callq	_ppp_destroy_channel
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ppp_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppp_release
_ppp_release:                           ; @ppp_release
	.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, [x1]
	cbz	x19, LBB0_10
; %bb.1:
	mov	x20, x1
	str	xzr, [x1]
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_PF_TO_PPP
	mov	x21, x0
	bl	_rtnl_lock
	ldr	x8, [x21, #8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x21]
	bl	_unregister_netdevice
LBB0_4:
	bl	_rtnl_unlock
LBB0_5:
	add	x0, x19, #4
	bl	_refcount_dec_and_test
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_PF_TO_PPP
	bl	_ppp_destroy_interface
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_PF_TO_CHANNEL
	bl	_ppp_destroy_channel
LBB0_10:
	mov	w0, #0
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ppp_release
.subsections_via_symbols
