	.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	%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	_keyboard_report@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %ebx
	movq	_KC_LSFT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MOD_BIT
	movl	$1, %r14d
	movl	$1, %esi
	testl	%ebx, %eax
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_get_oneshot_mods
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_MOD_BIT
	testl	%r12d, %eax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_has_oneshot_mods_timed_out
	movl	$1, %esi
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	xorl	%esi, %esi
LBB0_4:
	movl	$1, %edi
	callq	_indicate_using_led
	movq	(%r15), %rax
	movl	(%rax), %ebx
	movq	_KC_LALT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MOD_BIT
	testl	%ebx, %eax
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_get_oneshot_mods
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_MOD_BIT
	testl	%r15d, %eax
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_has_oneshot_mods_timed_out
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	$2, %edi
	movl	%r14d, %esi
	callq	_indicate_using_led
	movq	_FNAV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_ON
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	movl	$3, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_indicate_using_led             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_keyboard_report,8,3            ## @keyboard_report
	.comm	_KC_LSFT,4,2                    ## @KC_LSFT
	.comm	_KC_LALT,4,2                    ## @KC_LALT
	.comm	_FNAV,4,2                       ## @FNAV
.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _keyboard_report@GOTPAGE
Lloh1:
	ldr	x20, [x20, _keyboard_report@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w19, [x8]
Lloh2:
	adrp	x21, _KC_LSFT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _KC_LSFT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_MOD_BIT
	tst	w0, w19
	b.eq	LBB0_2
LBB0_1:
	mov	w1, #1
	b	LBB0_5
LBB0_2:
	bl	_get_oneshot_mods
	mov	x19, x0
	ldr	w0, [x21]
	bl	_MOD_BIT
	tst	w0, w19
	b.eq	LBB0_4
; %bb.3:
	bl	_has_oneshot_mods_timed_out
	cbz	w0, LBB0_1
LBB0_4:
	mov	w1, #0
LBB0_5:
	mov	w19, #1
	mov	w0, #1
	bl	_indicate_using_led
	ldr	x8, [x20]
	ldr	w21, [x8]
Lloh4:
	adrp	x20, _KC_LALT@GOTPAGE
Lloh5:
	ldr	x20, [x20, _KC_LALT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_MOD_BIT
	tst	w0, w21
	b.ne	LBB0_10
; %bb.6:
	bl	_get_oneshot_mods
	mov	x19, x0
	ldr	w0, [x20]
	bl	_MOD_BIT
	tst	w0, w19
	b.eq	LBB0_8
; %bb.7:
	bl	_has_oneshot_mods_timed_out
	cbz	w0, LBB0_9
LBB0_8:
	mov	w19, #0
	b	LBB0_10
LBB0_9:
	mov	w19, #1
LBB0_10:
	mov	w0, #2
	mov	x1, x19
	bl	_indicate_using_led
Lloh6:
	adrp	x8, _FNAV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FNAV@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_IS_LAYER_ON
	cmp	x0, #0
	cset	w1, ne
	mov	w0, #3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_indicate_using_led
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_keyboard_report,8,3            ; @keyboard_report
	.comm	_KC_LSFT,4,2                    ; @KC_LSFT
	.comm	_KC_LALT,4,2                    ; @KC_LALT
	.comm	_FNAV,4,2                       ; @FNAV
.subsections_via_symbols
