	.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
	xorl	%eax, %eax
	callq	_ergodox_board_led_off
	xorl	%eax, %eax
	callq	_led_1_off
	xorl	%eax, %eax
	callq	_led_2_off
	xorl	%eax, %eax
	callq	_led_3_off
	movq	_default_layer_state@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_QWERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_state_cmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_led_3_on
LBB0_2:
	movl	(%rbx), %edi
	movq	_FN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_state_cmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_led_2_on
LBB0_4:
	movl	(%rbx), %edi
	movq	_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_state_cmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_led_2_on
	xorl	%eax, %eax
	callq	_led_3_on
LBB0_6:
	movl	(%rbx), %edi
	movq	_MOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_layer_state_cmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_led_1_on                       ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_layer_state,4,2        ## @default_layer_state
	.comm	_QWERTY,4,2                     ## @QWERTY
	.comm	_FN,4,2                         ## @FN
	.comm	_NUM,4,2                        ## @NUM
	.comm	_MOUSE,4,2                      ## @MOUSE
.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
	bl	_ergodox_board_led_off
	bl	_led_1_off
	bl	_led_2_off
	bl	_led_3_off
Lloh0:
	adrp	x19, _default_layer_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _default_layer_state@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _QWERTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QWERTY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_layer_state_cmp
	cbz	x0, LBB0_2
; %bb.1:
	bl	_led_3_on
LBB0_2:
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _FN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_layer_state_cmp
	cbz	x0, LBB0_4
; %bb.3:
	bl	_led_2_on
LBB0_4:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _NUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NUM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_layer_state_cmp
	cbz	x0, LBB0_6
; %bb.5:
	bl	_led_2_on
	bl	_led_3_on
LBB0_6:
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _MOUSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MOUSE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_layer_state_cmp
	cbz	x0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_led_1_on
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_default_layer_state,4,2        ; @default_layer_state
	.comm	_QWERTY,4,2                     ; @QWERTY
	.comm	_FN,4,2                         ; @FN
	.comm	_NUM,4,2                        ; @NUM
	.comm	_MOUSE,4,2                      ; @MOUSE
.subsections_via_symbols
