	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppp_shutdown_interface
_ppp_shutdown_interface:                ## @ppp_shutdown_interface
	.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	%rdi, %rbx
	movl	28(%rdi), %edi
	callq	_ppp_pernet
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_ppp_lock
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_ppp_unlock
	jmp	LBB0_3
LBB0_1:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_ppp_unlock
	movl	24(%rbx), %edi
	callq	_unregister_netdev
LBB0_3:
	movq	%r14, %rdi
	addq	$4, %rdi
	movl	12(%rbx), %esi
	callq	_unit_put
	movl	$1, 4(%rbx)
	movq	$0, 16(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ppp_shutdown_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppp_shutdown_interface
_ppp_shutdown_interface:                ; @ppp_shutdown_interface
	.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	w0, [x0, #28]
	bl	_ppp_pernet
	mov	x20, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_ppp_lock
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ppp_unlock
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_ppp_unlock
	ldr	w0, [x19, #24]
	bl	_unregister_netdev
LBB0_3:
	add	x0, x20, #4
	ldr	w1, [x19, #12]
	bl	_unit_put
	mov	w8, #1
	str	w8, [x19, #4]
	str	xzr, [x19, #16]
	add	x0, x19, #8
	bl	_wake_up_interruptible
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ppp_shutdown_interface
.subsections_via_symbols
