	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_transport               ## -- Begin function update_transport
	.p2align	4, 0x90
_update_transport:                      ## @update_transport
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_num_remote_objects@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.1:
	xorl	%r12d, %r12d
	movq	_NUM_SLAVES@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	_num_remote_objects@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r12
	jae	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	_remote_objects@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %r15
	movq	(%r15), %rax
	movq	_MASTER_TO_ALL_SLAVES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SLAVE_TO_MASTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r13)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	16(%r15), %rdx
	movl	%r12d, (%rax,%rdx,4)
	incl	%r14d
	incq	%rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_router_send_frame
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	16(%r15), %rdi
	callq	_LOCAL_OBJECT_SIZE
	cltq
	leaq	(%rbx,%rax,4), %rbx
	cmpl	(%r13), %r14d
	jae	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_LOCAL_OBJECT_EXTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_triple_buffer_read_internal
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incl	%r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rsi
	movq	_LOCAL_OBJECT_EXTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r15), %rdi
	callq	_triple_buffer_read_internal
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdx
	movl	%r12d, (%rax,%rdx,4)
	movq	(%r15), %rcx
	movq	_MASTER_TO_ALL_SLAVES@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	movl	$0, %edi
	movl	$255, %ecx
	cmovel	%ecx, %edi
	incq	%rdx
	movq	%rax, %rsi
	callq	_router_send_frame
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_remote_objects,4,2         ## @num_remote_objects
	.comm	_remote_objects,8,3             ## @remote_objects
	.comm	_MASTER_TO_ALL_SLAVES,8,3       ## @MASTER_TO_ALL_SLAVES
	.comm	_SLAVE_TO_MASTER,8,3            ## @SLAVE_TO_MASTER
	.comm	_LOCAL_OBJECT_EXTRA,8,3         ## @LOCAL_OBJECT_EXTRA
	.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	_update_transport               ; -- Begin function update_transport
	.p2align	2
_update_transport:                      ; @update_transport
	.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
Lloh0:
	adrp	x21, _num_remote_objects@GOTPAGE
Lloh1:
	ldr	x21, [x21, _num_remote_objects@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_12
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _remote_objects@GOTPAGE
Lloh3:
	ldr	x23, [x23, _remote_objects@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MASTER_TO_ALL_SLAVES@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MASTER_TO_ALL_SLAVES@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SLAVE_TO_MASTER@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SLAVE_TO_MASTER@GOTPAGEOFF]
Lloh8:
	adrp	x26, _LOCAL_OBJECT_EXTRA@GOTPAGE
Lloh9:
	ldr	x26, [x26, _LOCAL_OBJECT_EXTRA@GOTPAGEOFF]
Lloh10:
	adrp	x28, _NUM_SLAVES@GOTPAGE
Lloh11:
	ldr	x28, [x28, _NUM_SLAVES@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	w8, [x21]
	cmp	x22, x8
	b.hs	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x23]
	ldr	x27, [x8, x22, lsl #3]
	ldr	x8, [x27]
	ldr	x9, [x24]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x8, [x27, #8]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_triple_buffer_read_internal
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	ldr	x8, [x27, #16]
	str	w22, [x0, x8, lsl #2]
	ldr	x9, [x27]
	ldr	x10, [x24]
	cmp	x9, x10
	mov	w9, #255
	csel	w0, w9, wzr, eq
	add	x2, x8, #1
	bl	_router_send_frame
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	cbz	w8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	ldr	x20, [x27, #8]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	mov	x1, x0
	ldr	x8, [x27, #16]
	str	w22, [x0, x8, lsl #2]
	add	w19, w19, #1
	add	x2, x8, #1
	mov	x0, x19
	bl	_router_send_frame
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	x0, [x27, #16]
	bl	_LOCAL_OBJECT_SIZE
	add	x20, x20, w0, sxtw #2
	ldr	w8, [x28]
	cmp	w19, w8
	b.hs	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27, #16]
	ldr	x9, [x26]
	add	x0, x9, x8
	mov	x1, x20
	bl	_triple_buffer_read_internal
	cbnz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	w19, w19, #1
	b	LBB0_9
LBB0_12:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_num_remote_objects,4,2         ; @num_remote_objects
	.comm	_remote_objects,8,3             ; @remote_objects
	.comm	_MASTER_TO_ALL_SLAVES,8,3       ; @MASTER_TO_ALL_SLAVES
	.comm	_SLAVE_TO_MASTER,8,3            ; @SLAVE_TO_MASTER
	.comm	_LOCAL_OBJECT_EXTRA,8,3         ; @LOCAL_OBJECT_EXTRA
	.comm	_NUM_SLAVES,4,2                 ; @NUM_SLAVES
.subsections_via_symbols
