	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	$0, (%rsi)
	cmpl	$128, (%r14)
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_PF_TO_PPP
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_ppp_shutdown_interface
LBB0_4:
	leaq	4(%r14), %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_PF_TO_PPP
	movq	%rax, %rdi
	callq	_ppp_destroy_interface
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_PF_TO_CHANNEL
	movl	%eax, %edi
	callq	_ppp_destroy_channel
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	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	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, [x1]
	cbz	x19, LBB0_9
; %bb.1:
	mov	x20, x1
	str	xzr, [x1]
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_PF_TO_PPP
	ldr	x8, [x0]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	bl	_ppp_shutdown_interface
LBB0_4:
	add	x0, x19, #4
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.6:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_PF_TO_PPP
	bl	_ppp_destroy_interface
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_PF_TO_CHANNEL
	bl	_ppp_destroy_channel
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ppp_release
.subsections_via_symbols
