	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_user                   ## -- Begin function led_set_user
	.p2align	4, 0x90
_led_set_user:                          ## @led_set_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	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %edi
	movq	_DISABLED@GOTPCREL(%rip), %r8
	movq	_ENABLED@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmovaeq	%r8, %rdx
	movq	(%rdx), %r10
	movq	_rbw_led_keys@GOTPCREL(%rip), %r9
	movq	(%r9), %rax
	movq	_RBW_LCAP@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%r10, (%rax,%rsi,8)
	movq	(%rdx), %rax
	movq	(%r9), %rdx
	movq	_RBW_RCAP@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rax, (%rdx,%rsi,8)
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %edi
	cmovaeq	%r8, %rcx
	movq	(%rcx), %rax
	movq	(%r9), %rcx
	movq	_RBW_SCRL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	popq	%rbp
	jmp	_led_set_keymap                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_ENABLED,8,3                    ## @ENABLED
	.comm	_rbw_led_keys,8,3               ## @rbw_led_keys
	.comm	_RBW_LCAP,8,3                   ## @RBW_LCAP
	.comm	_RBW_RCAP,8,3                   ## @RBW_RCAP
	.comm	_DISABLED,8,3                   ## @DISABLED
	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
	.comm	_RBW_SCRL,8,3                   ## @RBW_SCRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_user                   ; -- Begin function led_set_user
	.p2align	2
_led_set_user:                          ; @led_set_user
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh3:
	adrp	x9, _ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENABLED@GOTPAGEOFF]
Lloh5:
	adrp	x10, _DISABLED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DISABLED@GOTPAGEOFF]
	tst	w8, #0x1
	csel	x8, x10, x9, eq
	ldr	x11, [x8]
Lloh7:
	adrp	x12, _rbw_led_keys@GOTPAGE
Lloh8:
	ldr	x12, [x12, _rbw_led_keys@GOTPAGEOFF]
	ldr	x13, [x12]
Lloh9:
	adrp	x14, _RBW_LCAP@GOTPAGE
Lloh10:
	ldr	x14, [x14, _RBW_LCAP@GOTPAGEOFF]
Lloh11:
	ldr	x14, [x14]
	str	x11, [x13, x14, lsl #3]
	ldr	x8, [x8]
Lloh12:
	adrp	x11, _RBW_RCAP@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RBW_RCAP@GOTPAGEOFF]
	ldr	x13, [x12]
Lloh14:
	ldr	x11, [x11]
	str	x8, [x13, x11, lsl #3]
Lloh15:
	adrp	x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	tst	w8, #0x1
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	ldr	x9, [x12]
Lloh18:
	adrp	x10, _RBW_SCRL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RBW_SCRL@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	str	x8, [x9, x10, lsl #3]
	b	_led_set_keymap
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_ENABLED,8,3                    ; @ENABLED
	.comm	_rbw_led_keys,8,3               ; @rbw_led_keys
	.comm	_RBW_LCAP,8,3                   ; @RBW_LCAP
	.comm	_RBW_RCAP,8,3                   ; @RBW_RCAP
	.comm	_DISABLED,8,3                   ; @DISABLED
	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
	.comm	_RBW_SCRL,8,3                   ; @RBW_SCRL
.subsections_via_symbols
