	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function render_keyboard_leds
_render_keyboard_leds:                  ## @render_keyboard_leds
	.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
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movl	%eax, %ebx
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_IS_LED_ON
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str(%rip), %rdi
	cmoveq	%r14, %rdi
	callq	_PSTR
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_oled_write_P
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_IS_LED_ON
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%r14, %rdi
	callq	_PSTR
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_oled_write_P
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_IS_LED_ON
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_PSTR
	movl	%eax, %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_oled_write_P                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NUM  "

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

	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
L_.str.2:                               ## @.str.2
	.asciz	"CAPS "

	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
L_.str.3:                               ## @.str.3
	.asciz	"SCRL"

L_.str.4:                               ## @.str.4
	.asciz	"    "

	.no_dead_strip	_render_keyboard_leds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function render_keyboard_leds
_render_keyboard_leds:                  ; @render_keyboard_leds
	.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
	bl	_host_keyboard_leds
	mov	x19, x0
Lloh0:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IS_LED_ON
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x20, l_.str.1@PAGE
Lloh6:
	add	x20, x20, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x0, x20, x8, eq
	bl	_PSTR
	mov	w1, #0
	bl	_oled_write_P
Lloh7:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IS_LED_ON
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x0, x20, x8, eq
	bl	_PSTR
	mov	w1, #0
	bl	_oled_write_P
Lloh12:
	adrp	x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IS_LED_ON
Lloh15:
	adrp	x8, l_.str.3@PAGE
Lloh16:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh17:
	adrp	x9, l_.str.4@PAGE
Lloh18:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
	bl	_PSTR
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_oled_write_P
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NUM  "

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

	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
l_.str.2:                               ; @.str.2
	.asciz	"CAPS "

	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
l_.str.3:                               ; @.str.3
	.asciz	"SCRL"

l_.str.4:                               ; @.str.4
	.asciz	"    "

	.no_dead_strip	_render_keyboard_leds
.subsections_via_symbols
