	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_remote_objects             ## -- Begin function add_remote_objects
	.p2align	4, 0x90
_add_remote_objects:                    ## @add_remote_objects
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	je	LBB0_13
## %bb.1:
	movl	%esi, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	_NUM_SLAVES@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	callq	_triple_buffer_init
	movq	16(%r15), %rbx
	movl	8(%r15), %edi
	callq	_LOCAL_OBJECT_SIZE
	cltq
	leaq	(%rbx,%rax,4), %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_triple_buffer_init
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r15
	movq	_remote_objects@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_num_remote_objects@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rsi)
	movq	%r15, (%rax,%rcx,8)
	movq	(%r15), %rax
	movq	_MASTER_TO_ALL_SLAVES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rbx
	movq	_MASTER_TO_SINGLE_SLAVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r14)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_triple_buffer_init
	movl	8(%r15), %edi
	callq	_LOCAL_OBJECT_SIZE
	cltq
	leaq	(%rbx,%rax,4), %rbx
	incl	%r13d
	cmpl	(%r14), %r13d
	jb	LBB0_7
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_triple_buffer_init
	movl	8(%r15), %edi
	callq	_LOCAL_OBJECT_SIZE
	cmpl	$0, (%r14)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cltq
	leaq	(%rbx,%rax,4), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_triple_buffer_init
	movl	8(%r15), %edi
	callq	_REMOTE_OBJECT_SIZE
	cltq
	leaq	(%r13,%rax,4), %r13
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_11
	jmp	LBB0_12
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_objects,8,3             ## @remote_objects
	.comm	_num_remote_objects,4,2         ## @num_remote_objects
	.comm	_MASTER_TO_ALL_SLAVES,8,3       ## @MASTER_TO_ALL_SLAVES
	.comm	_MASTER_TO_SINGLE_SLAVE,8,3     ## @MASTER_TO_SINGLE_SLAVE
	.comm	_NUM_SLAVES,4,2                 ## @NUM_SLAVES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_remote_objects             ; -- Begin function add_remote_objects
	.p2align	2
_add_remote_objects:                    ; @add_remote_objects
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w1, LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x21, #0
Lloh0:
	adrp	x22, _remote_objects@GOTPAGE
Lloh1:
	ldr	x22, [x22, _remote_objects@GOTPAGEOFF]
Lloh2:
	adrp	x23, _num_remote_objects@GOTPAGE
Lloh3:
	ldr	x23, [x23, _num_remote_objects@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MASTER_TO_ALL_SLAVES@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MASTER_TO_ALL_SLAVES@GOTPAGEOFF]
	mov	w25, w1
Lloh6:
	adrp	x27, _NUM_SLAVES@GOTPAGE
Lloh7:
	ldr	x27, [x27, _NUM_SLAVES@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x28, #16]
	bl	_triple_buffer_init
	ldr	x20, [x28, #16]
	ldr	w0, [x28, #8]
	bl	_LOCAL_OBJECT_SIZE
	add	x20, x20, w0, sxtw #2
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_triple_buffer_init
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x21, x25
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x28, [x19, x21, lsl #3]
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	w10, w9, #1
	str	w10, [x23]
	str	x28, [x8, x9, lsl #3]
	ldr	x8, [x28]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x20, [x28, #16]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	cbz	w8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #0
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_triple_buffer_init
	ldr	w0, [x28, #8]
	bl	_LOCAL_OBJECT_SIZE
	add	x20, x20, w0, sxtw #2
	add	w26, w26, #1
	ldr	w8, [x27]
	cmp	w26, w8
	b.lo	LBB0_9
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_triple_buffer_init
	ldr	w0, [x28, #8]
	bl	_LOCAL_OBJECT_SIZE
	ldr	w8, [x27]
	cbz	w8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #0
	add	x20, x20, w0, sxtw #2
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_triple_buffer_init
	ldr	w0, [x28, #8]
	bl	_REMOTE_OBJECT_SIZE
	add	x20, x20, w0, sxtw #2
	add	w26, w26, #1
	ldr	w8, [x27]
	cmp	w26, w8
	b.lo	LBB0_12
	b	LBB0_4
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_objects,8,3             ; @remote_objects
	.comm	_num_remote_objects,4,2         ; @num_remote_objects
	.comm	_MASTER_TO_ALL_SLAVES,8,3       ; @MASTER_TO_ALL_SLAVES
	.comm	_MASTER_TO_SINGLE_SLAVE,8,3     ; @MASTER_TO_SINGLE_SLAVE
	.comm	_NUM_SLAVES,4,2                 ; @NUM_SLAVES
.subsections_via_symbols
