	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transfer_matrix_values         ## -- Begin function transfer_matrix_values
	.p2align	4, 0x90
_transfer_matrix_values:                ## @transfer_matrix_values
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_matrix_need_update@GOTPCREL(%rip), %r8
	movl	$0, (%r8)
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	_debounce_counters@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%eax, %eax
	movq	_DEBOUNCE_ELAPSED@GOTPCREL(%rip), %r10
	movq	_counters_need_update@GOTPCREL(%rip), %r11
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rbx
	cmpq	%rbx, (%rsi,%rax,8)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9,%rax,8), %r15
	movq	%r8, %r14
	cmpq	(%r10), %r15
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, (%r9,%rax,8)
	movq	%rbx, (%rsi,%rax,8)
	movq	%r11, %r14
	jmp	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_matrix_need_update,4,2         ## @matrix_need_update
	.comm	_debounce_counters,8,3          ## @debounce_counters
	.comm	_DEBOUNCE_ELAPSED,8,3           ## @DEBOUNCE_ELAPSED
	.comm	_counters_need_update,4,2       ## @counters_need_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transfer_matrix_values         ; -- Begin function transfer_matrix_values
	.p2align	2
_transfer_matrix_values:                ; @transfer_matrix_values
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _matrix_need_update@GOTPAGE
Lloh1:
	ldr	x8, [x8, _matrix_need_update@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
	cbz	x2, LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _debounce_counters@GOTPAGE
Lloh4:
	ldr	x9, [x9, _debounce_counters@GOTPAGEOFF]
Lloh5:
	adrp	x8, _DEBOUNCE_ELAPSED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEBOUNCE_ELAPSED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _matrix_need_update@GOTPAGE
Lloh9:
	ldr	x10, [x10, _matrix_need_update@GOTPAGEOFF]
Lloh10:
	adrp	x11, _counters_need_update@GOTPAGE
Lloh11:
	ldr	x11, [x11, _counters_need_update@GOTPAGEOFF]
	mov	w12, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w12, [x14]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	add	x0, x0, #8
	add	x1, x1, #8
	subs	x2, x2, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x1]
	ldr	x13, [x0]
	cmp	x14, x13
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x9]
	ldr	x16, [x8]
	mov	x14, x10
	cmp	x15, x16
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x3, [x9]
	str	x13, [x1]
	mov	x14, x11
	b	LBB0_2
LBB0_7:
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_matrix_need_update,4,2         ; @matrix_need_update
	.comm	_debounce_counters,8,3          ; @debounce_counters
	.comm	_DEBOUNCE_ELAPSED,8,3           ; @DEBOUNCE_ELAPSED
	.comm	_counters_need_update,4,2       ; @counters_need_update
.subsections_via_symbols
