	.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
	movq	_layer_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_biton32
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_11
LBB0_3:
	movq	_RGB_INIT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_rgblight_config@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_RGB_current_mode@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	$1, (%rax)
LBB0_5:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
LBB0_11:
	popq	%rbp
	retq
LBB0_7:
	movq	_RGB_INIT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_RGB_current_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_10
LBB0_6:
	movl	$1, (%rax)
	movl	$29, %edi
	popq	%rbp
	jmp	_rgblight_mode                  ## TAILCALL
LBB0_9:
	movq	_rgblight_config@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_RGB_current_mode@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	movl	$1, (%rax)
LBB0_10:
	callq	_rgblight_mode
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_layer_state,4,2                ## @layer_state
	.comm	_RGB_INIT,4,2                   ## @RGB_INIT
	.comm	_rgblight_config,4,2            ## @rgblight_config
	.comm	_RGB_current_mode,4,2           ## @RGB_current_mode
	.comm	_TOG_STATUS,4,2                 ## @TOG_STATUS
.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	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _layer_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_biton32
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_3
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _RGB_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RGB_INIT@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_5
; %bb.4:
Lloh5:
	adrp	x9, _rgblight_config@GOTPAGE
Lloh6:
	ldr	x9, [x9, _rgblight_config@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _RGB_current_mode@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RGB_current_mode@GOTPAGEOFF]
Lloh10:
	str	w9, [x10]
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
Lloh11:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_9
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh13:
	adrp	x8, _RGB_INIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RGB_INIT@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_10
; %bb.8:
Lloh15:
	adrp	x8, _RGB_current_mode@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RGB_current_mode@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_9:
	mov	w9, #1
	str	w9, [x8]
	mov	w0, #29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_rgblight_mode
LBB0_10:
Lloh18:
	adrp	x9, _rgblight_config@GOTPAGE
Lloh19:
	ldr	x9, [x9, _rgblight_config@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
Lloh21:
	adrp	x9, _RGB_current_mode@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RGB_current_mode@GOTPAGEOFF]
Lloh23:
	str	w0, [x9]
	mov	w9, #1
	str	w9, [x8]
LBB0_11:
	bl	_rgblight_mode
Lloh24:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
Lloh26:
	str	wzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_layer_state,4,2                ; @layer_state
	.comm	_RGB_INIT,4,2                   ; @RGB_INIT
	.comm	_rgblight_config,4,2            ; @rgblight_config
	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_TOG_STATUS,4,2                 ; @TOG_STATUS
.subsections_via_symbols
