	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slip_close
_slip_close:                            ## @slip_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %rcx
	movq	_SLIP_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.2:
	cmpq	%rdi, 40(%rax)
	je	LBB0_3
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	movq	$0, (%rdi)
	movq	$0, 40(%rax)
	cmpl	$0, 32(%rax)
	jne	LBB0_5
## %bb.4:
	movq	$0, 24(%rax)
LBB0_5:
	movl	8(%rax), %edi
	popq	%rbp
	jmp	_unregister_netdev              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIP_MAGIC,8,3                 ## @SLIP_MAGIC
	.no_dead_strip	_slip_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slip_close
_slip_close:                            ; @slip_close
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _SLIP_MAGIC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SLIP_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x8, #40]
	cmp	x9, x0
	b.eq	LBB0_4
LBB0_3:
	ret
LBB0_4:
	str	xzr, [x0]
	str	xzr, [x8, #40]
	ldr	w9, [x8, #32]
	cbz	w9, LBB0_6
; %bb.5:
	ldr	w0, [x8, #8]
	b	_unregister_netdev
LBB0_6:
	str	xzr, [x8, #24]
	ldr	w0, [x8, #8]
	b	_unregister_netdev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIP_MAGIC,8,3                 ; @SLIP_MAGIC
	.no_dead_strip	_slip_close
.subsections_via_symbols
