	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_init                        ## -- Begin function ws_init
	.p2align	4, 0x90
_ws_init:                               ## @ws_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_new_wsserver
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_new_wspipein
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_new_wspipeout
	movl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_wsconfig@GOTPCREL(%rip), %rax
	movq	$0, 80(%rax)
	movq	%r12, (%rax)
	movq	_WS_MAX_FRM_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movups	%xmm0, 48(%rax)
	movq	$0, 64(%rax)
	movq	%r15, 8(%rax)
	movups	%xmm0, 16(%rax)
	callq	*%r14
	movq	%rbx, %rdi
	callq	_ws_fifo
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wsconfig,88,3                  ## @wsconfig
	.comm	_WS_MAX_FRM_SZ,4,2              ## @WS_MAX_FRM_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_init                        ; -- Begin function ws_init
	.p2align	2
_ws_init:                               ; @ws_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_new_wsserver
	mov	x22, x0
	bl	_new_wspipein
	str	w0, [x22, #8]
	bl	_new_wspipeout
	str	w0, [x22, #4]
	ldr	w0, [x22]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, _wsconfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wsconfig@GOTPAGEOFF]
	str	xzr, [x8, #80]
Lloh2:
	adrp	x9, _WS_MAX_FRM_SZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WS_MAX_FRM_SZ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x8, #72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #32]
	str	xzr, [x8, #64]
	stp	x21, x20, [x8]
	stp	xzr, xzr, [x8, #16]
	blr	x19
	mov	x0, x22
	bl	_ws_fifo
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wsconfig,88,3                  ; @wsconfig
	.comm	_WS_MAX_FRM_SZ,4,2              ; @WS_MAX_FRM_SZ
.subsections_via_symbols
