	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_stop                        ## -- Begin function ws_stop
	.p2align	4, 0x90
_ws_stop:                               ## @ws_stop
	.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	16(%rdi), %rdi
	callq	_ws_clear_pipein
	movq	8(%rbx), %rdi
	callq	_ws_clear_pipeout
	movq	_wsconfig@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_access_log_close
LBB0_2:
	movq	(%rbx), %rdi
	callq	_list_count
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	movq	_ws_remove_dangling_clients@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_list_foreach
LBB0_4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_list_remove_nodes
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wsconfig,8,3                   ## @wsconfig
	.comm	_ws_remove_dangling_clients,4,2 ## @ws_remove_dangling_clients
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_stop                        ; -- Begin function ws_stop
	.p2align	2
_ws_stop:                               ; @ws_stop
	.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	x0, [x0, #16]
	bl	_ws_clear_pipein
	ldr	x0, [x19, #8]
	bl	_ws_clear_pipeout
Lloh0:
	adrp	x8, _wsconfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wsconfig@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_access_log_close
LBB0_2:
	ldr	x0, [x19]
	bl	_list_count
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _ws_remove_dangling_clients@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ws_remove_dangling_clients@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_list_foreach
LBB0_4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_list_remove_nodes
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_wsconfig,8,3                   ; @wsconfig
	.comm	_ws_remove_dangling_clients,4,2 ; @ws_remove_dangling_clients
.subsections_via_symbols
