	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transport_slave                ## -- Begin function transport_slave
	.p2align	4, 0x90
_transport_slave:                       ## @transport_slave
	.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	_ROWS_PER_HAND@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	_serial_s2m_buffer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	movq	_slave_layer_cache@GOTPCREL(%rip), %rax
	movq	_serial_m2s_buffer@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpq	%rdi, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rdi, (%rax)
	callq	_set_layer_indicators
LBB0_5:
	movq	_slave_nlock_cache@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rsi
	cmpq	%rsi, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%rsi, (%rax)
	movl	$3, %edi
	callq	_led_toggle
LBB0_7:
	movq	_slave_clock_cache@GOTPCREL(%rip), %rax
	movq	16(%rbx), %rsi
	cmpq	%rsi, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%rsi, (%rax)
	movl	$4, %edi
	callq	_led_toggle
LBB0_9:
	movq	_slave_slock_cache@GOTPCREL(%rip), %rax
	movq	24(%rbx), %rsi
	cmpq	%rsi, (%rax)
	jne	LBB0_11
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_11:
	movq	%rsi, (%rax)
	movl	$5, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_led_toggle                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ROWS_PER_HAND,4,2              ## @ROWS_PER_HAND
	.comm	_serial_s2m_buffer,8,3          ## @serial_s2m_buffer
	.comm	_slave_layer_cache,8,3          ## @slave_layer_cache
	.comm	_serial_m2s_buffer,40,3         ## @serial_m2s_buffer
	.comm	_slave_nlock_cache,8,3          ## @slave_nlock_cache
	.comm	_slave_clock_cache,8,3          ## @slave_clock_cache
	.comm	_slave_slock_cache,8,3          ## @slave_slock_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transport_slave                ; -- Begin function transport_slave
	.p2align	2
_transport_slave:                       ; @transport_slave
	.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
Lloh0:
	adrp	x8, _ROWS_PER_HAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROWS_PER_HAND@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _serial_s2m_buffer@GOTPAGE
Lloh3:
	ldr	x10, [x10, _serial_s2m_buffer@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x0, x11]
	str	w12, [x10, x11]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _slave_layer_cache@GOTPAGE
Lloh6:
	ldr	x8, [x8, _slave_layer_cache@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh7:
	adrp	x19, _serial_m2s_buffer@GOTPAGE
Lloh8:
	ldr	x19, [x19, _serial_m2s_buffer@GOTPAGEOFF]
	ldr	x0, [x19]
	cmp	x9, x0
	b.eq	LBB0_5
; %bb.4:
	str	x0, [x8]
	bl	_set_layer_indicators
LBB0_5:
Lloh9:
	adrp	x8, _slave_nlock_cache@GOTPAGE
Lloh10:
	ldr	x8, [x8, _slave_nlock_cache@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x1, [x19, #8]
	cmp	x9, x1
	b.eq	LBB0_7
; %bb.6:
	str	x1, [x8]
	mov	w0, #3
	bl	_led_toggle
LBB0_7:
Lloh11:
	adrp	x8, _slave_clock_cache@GOTPAGE
Lloh12:
	ldr	x8, [x8, _slave_clock_cache@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x1, [x19, #16]
	cmp	x9, x1
	b.eq	LBB0_9
; %bb.8:
	str	x1, [x8]
	mov	w0, #4
	bl	_led_toggle
LBB0_9:
Lloh13:
	adrp	x8, _slave_slock_cache@GOTPAGE
Lloh14:
	ldr	x8, [x8, _slave_slock_cache@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x1, [x19, #24]
	cmp	x9, x1
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	str	x1, [x8]
	mov	w0, #5
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_led_toggle
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ROWS_PER_HAND,4,2              ; @ROWS_PER_HAND
	.comm	_serial_s2m_buffer,8,3          ; @serial_s2m_buffer
	.comm	_slave_layer_cache,8,3          ; @slave_layer_cache
	.comm	_serial_m2s_buffer,40,3         ; @serial_m2s_buffer
	.comm	_slave_nlock_cache,8,3          ; @slave_nlock_cache
	.comm	_slave_clock_cache,8,3          ; @slave_clock_cache
	.comm	_slave_slock_cache,8,3          ; @slave_slock_cache
.subsections_via_symbols
