	.file	"extr_keymap.c_matrix_scan_user.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	matrix_scan_user
	.type	matrix_scan_user, @function
matrix_scan_user:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, DWORD PTR layer_state[rip]
	call	biton32@PLT
	mov	ebx, eax
	xor	eax, eax
	call	ergodox_board_led_off@PLT
	xor	eax, eax
	and	ebx, -3
	call	ergodox_right_led_1_off@PLT
	xor	eax, eax
	call	ergodox_right_led_2_off@PLT
	xor	eax, eax
	call	ergodox_right_led_3_off@PLT
	cmp	ebx, 1
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	ergodox_board_led_on@PLT
	.cfi_endproc
.LFE0:
	.size	matrix_scan_user, .-matrix_scan_user
	.comm	layer_state,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_keymap.c_matrix_scan_user.c"
	.text
	.align	2
	.global	matrix_scan_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix_scan_user, %function
matrix_scan_user:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, lr}
	ldr	r0, [r3]
	bl	biton32
	mov	r4, r0
	bic	r4, r4, #2
	bl	ergodox_board_led_off
	bl	ergodox_right_led_1_off
	bl	ergodox_right_led_2_off
	bl	ergodox_right_led_3_off
	cmp	r4, #1
	popne	{r4, pc}
	pop	{r4, lr}
	b	ergodox_board_led_on
.L6:
	.align	2
.L5:
	.word	layer_state
	.size	matrix_scan_user, .-matrix_scan_user
	.comm	layer_state,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
