	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan_user               ## -- Begin function matrix_scan_user
	.p2align	4, 0x90
_matrix_scan_user:                      ## @matrix_scan_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SYMB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_SYSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_on
LBB0_4:
	movq	_NUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_on
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_off
LBB0_7:
	movq	_FCTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_ergodox_right_led_3_on         ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_ergodox_right_led_3_off        ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_off
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMB,4,2                       ## @SYMB
	.comm	_SYSH,4,2                       ## @SYSH
	.comm	_NUMP,4,2                       ## @NUMP
	.comm	_FCTN,4,2                       ## @FCTN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan_user               ; -- Begin function matrix_scan_user
	.p2align	2
_matrix_scan_user:                      ; @matrix_scan_user
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SYMB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYMB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_LAYER_ON
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SYSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYSH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_9
LBB0_2:
	bl	_ergodox_right_led_1_on
LBB0_3:
Lloh6:
	adrp	x8, _NUMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUMP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_5
; %bb.4:
	bl	_ergodox_right_led_2_on
	b	LBB0_6
LBB0_5:
	bl	_ergodox_right_led_2_off
LBB0_6:
Lloh9:
	adrp	x8, _FCTN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FCTN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ergodox_right_led_3_on
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ergodox_right_led_3_off
LBB0_9:
	bl	_ergodox_right_led_1_off
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMB,4,2                       ; @SYMB
	.comm	_SYSH,4,2                       ; @SYSH
	.comm	_NUMP,4,2                       ; @NUMP
	.comm	_FCTN,4,2                       ; @FCTN
.subsections_via_symbols
