	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsnd_reset
_rsnd_reset:                            ## @rsnd_reset
	.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
	movl	56(%rdi), %edi
	cmpl	$-1, %edi
	je	LBB0_2
## %bb.1:
	callq	_net_socketclose
	cmpl	$1, 56(%rbx)
	je	LBB0_3
LBB0_2:
	movl	60(%rbx), %edi
	callq	_net_socketclose
LBB0_3:
	movl	4(%rbx), %edi
	callq	_slock_lock
	movq	$-1, 56(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movl	4(%rbx), %edi
	callq	_slock_unlock
	movl	(%rbx), %edi
	callq	_scond_signal
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rsnd_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsnd_reset
_rsnd_reset:                            ; @rsnd_reset
	.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	w0, [x0, #56]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_net_socketclose
	ldr	w8, [x19, #56]
	cmp	w8, #1
	b.eq	LBB0_3
LBB0_2:
	ldr	w0, [x19, #60]
	bl	_net_socketclose
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_slock_lock
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
	stur	q0, [x19, #40]
	ldr	w0, [x19, #4]
	bl	_slock_unlock
	ldr	w0, [x19]
	bl	_scond_signal
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rsnd_reset
.subsections_via_symbols
