	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_CAPS@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_BLINK_TIMER@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_BLINK_DURATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.2:
	movq	_CAPS_LED_PIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAPS_LED_STATE@GOTPCREL(%rip), %rdi
	callq	_togg_indicator
	xorl	%eax, %eax
LBB0_3:
	incq	%rax
	movq	%rax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAPS,4,2                       ## @CAPS
	.comm	_BLINK_TIMER,8,3                ## @BLINK_TIMER
	.comm	_BLINK_DURATION,8,3             ## @BLINK_DURATION
	.comm	_CAPS_LED_STATE,4,2             ## @CAPS_LED_STATE
	.comm	_CAPS_LED_PIN,4,2               ## @CAPS_LED_PIN
.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	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, _CAPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, _BLINK_TIMER@GOTPAGE
Lloh4:
	ldr	x19, [x19, _BLINK_TIMER@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _BLINK_DURATION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BLINK_DURATION@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _CAPS_LED_PIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CAPS_LED_PIN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, _CAPS_LED_STATE@GOTPAGE
Lloh12:
	ldr	x0, [x0, _CAPS_LED_STATE@GOTPAGEOFF]
	bl	_togg_indicator
	mov	x8, #0
LBB0_3:
	add	x8, x8, #1
	str	x8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CAPS,4,2                       ; @CAPS
	.comm	_BLINK_TIMER,8,3                ; @BLINK_TIMER
	.comm	_BLINK_DURATION,8,3             ; @BLINK_DURATION
	.comm	_CAPS_LED_STATE,4,2             ; @CAPS_LED_STATE
	.comm	_CAPS_LED_PIN,4,2               ; @CAPS_LED_PIN
.subsections_via_symbols
