	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_layer_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_biton32
	movq	_old_layer@GOTPCREL(%rip), %r14
	cmpl	%eax, (%r14)
	je	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.2:
	cltq
	leaq	l_switch.table.matrix_scan_user(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_backlight_set
LBB0_3:
	movl	%ebx, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_layer_state,4,2                ## @layer_state
	.comm	_old_layer,4,2                  ## @old_layer
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.matrix_scan_user
l_switch.table.matrix_scan_user:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	1                               ## 0x1
	.long	1                               ## 0x1

.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, _layer_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_biton32
Lloh3:
	adrp	x20, _old_layer@GOTPAGE
Lloh4:
	ldr	x20, [x20, _old_layer@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w0
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, l_switch.table.matrix_scan_user@PAGE
Lloh6:
	add	x9, x9, l_switch.table.matrix_scan_user@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	bl	_backlight_set
LBB0_3:
	str	w19, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_layer_state,4,2                ; @layer_state
	.comm	_old_layer,4,2                  ; @old_layer
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.matrix_scan_user
l_switch.table.matrix_scan_user:
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.long	1                               ; 0x1

.subsections_via_symbols
