	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_visualizer_layer_and_color
_get_visualizer_layer_and_color:        ## @get_visualizer_layer_and_color
	.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	%rdi, %r14
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rdi), %ecx
	movl	20(%rdi), %edx
	btl	%eax, %ecx
	movl	$60, %esi
	movl	$255, %eax
	cmovbl	%eax, %esi
	testb	$2, %dl
	movl	$84, %eax
	movl	$168, %ecx
	cmovel	%eax, %ecx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rdi, %rax
	xorl	%edi, %edi
	testb	$4, %dl
	cmovel	%ecx, %edi
	leaq	L_.str(%rip), %rbx
	cmoveq	%rax, %rbx
	movl	$255, %edx
	callq	_LCD_COLOR
	movq	%rax, 8(%r14)
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Media"

L_.str.1:                               ## @.str.1
	.asciz	"Symbols"

L_.str.2:                               ## @.str.2
	.asciz	"Base"

	.no_dead_strip	_get_visualizer_layer_and_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_visualizer_layer_and_color
_get_visualizer_layer_and_color:        ; @get_visualizer_layer_and_color
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x0, #16]
	lsr	w8, w9, w8
	tst	w8, #0x1
	mov	w8, #255
	mov	w9, #60
	csel	w1, w9, w8, eq
	tst	w10, #0x2
	mov	w8, #168
	mov	w9, #84
	csel	w8, w9, w8, eq
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x11, l_.str.2@PAGE
Lloh6:
	add	x11, x11, l_.str.2@PAGEOFF
	csel	x9, x11, x9, eq
	tst	w10, #0x4
	csel	w0, w8, wzr, eq
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	csel	x20, x9, x8, eq
	mov	w2, #255
	bl	_LCD_COLOR
	stp	x20, x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Media"

l_.str.1:                               ; @.str.1
	.asciz	"Symbols"

l_.str.2:                               ; @.str.2
	.asciz	"Base"

	.no_dead_strip	_get_visualizer_layer_and_color
.subsections_via_symbols
