	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ws_queue_fifobuf
_ws_queue_fifobuf:                      ## @ws_queue_fifobuf
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	testl	%ecx, %ecx
	cmovgl	%ecx, %r12d
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, 8(%r14)
	subl	%r12d, %ebx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_xcalloc
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r14), %rax
	movq	8(%rax), %rdi
	addq	%r12, %r15
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	8(%r14), %rax
	movl	%ebx, (%rax)
	movq	_WS_SENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WS_SENDING,4,2                 ## @WS_SENDING
	.no_dead_strip	_ws_queue_fifobuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ws_queue_fifobuf
_ws_queue_fifobuf:                      ; @ws_queue_fifobuf
	.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
	cmp	w3, #0
	csel	w22, w3, wzr, gt
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	str	x0, [x21, #8]
	sub	w19, w19, w22
	mov	x0, x19
	mov	w1, #1
	bl	_xcalloc
	ldr	x8, [x21, #8]
	str	x0, [x8, #8]
	ldr	x8, [x21, #8]
	ldr	x0, [x8, #8]
	add	x1, x20, x22
	mov	x2, x19
	bl	_memcpy
	ldr	x8, [x21, #8]
	str	w19, [x8]
Lloh0:
	adrp	x8, _WS_SENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WS_SENDING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WS_SENDING,4,2                 ; @WS_SENDING
	.no_dead_strip	_ws_queue_fifobuf
.subsections_via_symbols
