	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_link_remove_remote_sink     ## -- Begin function dc_link_remove_remote_sink
	.p2align	4, 0x90
_dc_link_remove_remote_sink:            ## @dc_link_remove_remote_sink
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.2:
	movq	%rdi, %r14
	movq	8(%rdi), %rcx
	movb	$3, %r15b
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx,%rbx,8)
	je	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addb	$3, %r15b
	cmpq	%rbx, %rax
	jne	LBB0_3
	jmp	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BREAK_TO_DEBUGGER              ## TAILCALL
LBB0_4:
	movq	%rsi, %rdi
	callq	_dc_sink_release
	movq	8(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	movl	(%r14), %esi
	leal	-1(%rsi), %r9d
	cmpl	%ebx, %r9d
	jle	LBB0_12
## %bb.5:
	movl	%r9d, %ecx
	movq	%rcx, %rdi
	subq	%rbx, %rdi
	leaq	-1(%rdi), %r8
	testb	$3, %dil
	je	LBB0_6
## %bb.7:
	addb	%r15b, %sil
	movzbl	%sil, %edi
	andl	$3, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdx
	leaq	1(%rbx), %rsi
	movq	8(%rdx,%rbx,8), %rax
	movq	%rax, (%rdx,%rbx,8)
	movq	%rsi, %rbx
	decq	%rdi
	jne	LBB0_8
## %bb.9:
	cmpq	$3, %r8
	jb	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	8(%rax,%rsi,8), %rdx
	movq	%rdx, (%rax,%rsi,8)
	movq	8(%r14), %rax
	movq	16(%rax,%rsi,8), %rdx
	movq	%rdx, 8(%rax,%rsi,8)
	movq	8(%r14), %rax
	movq	24(%rax,%rsi,8), %rdx
	movq	%rdx, 16(%rax,%rsi,8)
	movq	8(%r14), %rax
	movq	32(%rax,%rsi,8), %rdx
	movq	%rdx, 24(%rax,%rsi,8)
	leaq	4(%rsi), %rax
	movq	%rax, %rsi
	cmpq	%rax, %rcx
	jne	LBB0_10
LBB0_11:
	movq	%rcx, %rbx
LBB0_12:
	movq	8(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	movl	%r9d, (%r14)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rsi
	cmpq	$3, %r8
	jae	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_link_remove_remote_sink     ; -- Begin function dc_link_remove_remote_sink
	.p2align	2
_dc_link_remove_remote_sink:            ; @dc_link_remove_remote_sink
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x19, x0
	mov	x20, #0
	ldr	x9, [x0, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x20, lsl #3]
	cmp	x10, x1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x8, x20
	b.ne	LBB0_3
	b	LBB0_10
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BREAK_TO_DEBUGGER
LBB0_6:
	mov	x0, x1
	bl	_dc_sink_release
	ldr	x8, [x19, #8]
	str	xzr, [x8, x20, lsl #3]
	ldr	w8, [x19]
	sub	w8, w8, #1
	cmp	w8, w20
	b.le	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x9, x9, x20, lsl #3
	add	x10, x20, #1
	ldr	x11, [x9, #8]
	str	x11, [x9]
	mov	x20, x10
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.8:
	mov	x20, x8
LBB0_9:
	ldr	x9, [x19, #8]
	str	xzr, [x9, x20, lsl #3]
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
