	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function econet_release
_econet_release:                        ## @econet_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_econet_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	_econet_sklist@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_econet_remove_socket
	movq	%rbx, %rdi
	callq	*32(%rbx)
	movq	%rbx, %rdi
	callq	_sock_orphan
	leaq	24(%rbx), %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	callq	_sk_has_allocations
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movq	_econet_destroy_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_add_timer
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_sk_free
LBB0_4:
	movq	_econet_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_econet_mutex,4,2               ## @econet_mutex
	.comm	_econet_sklist,4,2              ## @econet_sklist
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_econet_destroy_timer,4,2       ## @econet_destroy_timer
	.no_dead_strip	_econet_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function econet_release
_econet_release:                        ; @econet_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
	mov	x19, x0
Lloh0:
	adrp	x0, _econet_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _econet_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x19, [x19]
	cbz	x19, LBB0_4
; %bb.1:
Lloh2:
	adrp	x0, _econet_sklist@GOTPAGE
Lloh3:
	ldr	x0, [x0, _econet_sklist@GOTPAGEOFF]
	mov	x1, x19
	bl	_econet_remove_socket
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_sock_orphan
	add	x0, x19, #24
	bl	_skb_queue_purge
	mov	x0, x19
	bl	_sk_has_allocations
	cbz	x0, LBB0_3
; %bb.2:
	str	x19, [x19]
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _HZ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #16]
Lloh10:
	adrp	x8, _econet_destroy_timer@GOTPAGE
Lloh11:
	ldr	x8, [x8, _econet_destroy_timer@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_add_timer
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_sk_free
LBB0_4:
Lloh13:
	adrp	x0, _econet_mutex@GOTPAGE
Lloh14:
	ldr	x0, [x0, _econet_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_econet_mutex,4,2               ; @econet_mutex
	.comm	_econet_sklist,4,2              ; @econet_sklist
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_econet_destroy_timer,4,2       ; @econet_destroy_timer
	.no_dead_strip	_econet_release
.subsections_via_symbols
