	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_status                  ## -- Begin function render_status
	.p2align	4, 0x90
_render_status:                         ## @render_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_get_enable_kc_lang
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leaq	(%rcx,%rcx,2), %rbx
	leaq	_render_status.logo(%rip), %r15
	leaq	(%r15,%rbx,2), %rsi
	movq	%r14, %rdi
	callq	_matrix_write
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_matrix_write
	leaq	(%r15,%rbx,2), %rsi
	addq	$3, %rsi
	movq	%r14, %rdi
	callq	_matrix_write
	movq	_layer_state@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$40, %esi
	xorl	%eax, %eax
	callq	_snprintf
	leaq	L_.str.2(%rip), %rdi
	callq	_PSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_matrix_write_P
	movl	(%rbx), %edi
	callq	_biton32
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.5(%rip), %rdi
LBB0_4:
	callq	_PSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_matrix_write_P
	jmp	LBB0_8
LBB0_7:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_matrix_write
LBB0_8:
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.8(%rip), %r12
	leaq	L_.str.7(%rip), %r15
	cmovaeq	%r12, %r15
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.9(%rip), %rbx
	cmovaeq	%r12, %rbx
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.10(%rip), %r9
	cmovaeq	%r12, %r9
	leaq	L_.str.6(%rip), %rdx
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	movl	$40, %esi
	movq	%r15, %rcx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_matrix_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_render_status.logo:                    ## @render_status.logo
	.asciz	"\225\226"
	.asciz	"\265\266"
	.asciz	"\227\230"
	.asciz	"\267\270"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Undef-%ld"

	.comm	_layer_state,4,2                ## @layer_state
L_.str.2:                               ## @.str.2
	.asciz	"\nLayer: "

L_.str.3:                               ## @.str.3
	.asciz	"Default"

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

L_.str.5:                               ## @.str.5
	.asciz	"Lower"

L_.str.6:                               ## @.str.6
	.asciz	"\n%s %s %s"

	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
L_.str.7:                               ## @.str.7
	.asciz	"NMLK"

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

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

	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
L_.str.10:                              ## @.str.10
	.asciz	"SCLK"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_status                  ; -- Begin function render_status
	.p2align	2
_render_status:                         ; @render_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_get_enable_kc_lang
	cmp	x0, #0
	cset	w8, eq
Lloh3:
	adrp	x9, _render_status.logo@PAGE
Lloh4:
	add	x9, x9, _render_status.logo@PAGEOFF
	mov	w10, #6
	umaddl	x20, w8, w10, x9
	mov	x0, x19
	mov	x1, x20
	bl	_matrix_write
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_matrix_write
	add	x1, x20, #3
	mov	x0, x19
	bl	_matrix_write
Lloh7:
	adrp	x20, _layer_state@GOTPAGE
Lloh8:
	ldr	x20, [x20, _layer_state@GOTPAGEOFF]
	ldrsw	x3, [x20]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #64
	mov	w1, #40
	bl	_snprintf
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PSTR
	mov	x1, x0
	mov	x0, x19
	bl	_matrix_write_P
	ldr	w0, [x20]
	bl	_biton32
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_6:
	bl	_PSTR
	mov	x1, x0
	mov	x0, x19
	bl	_matrix_write_P
	b	LBB0_8
LBB0_7:
	add	x1, sp, #64
	mov	x0, x19
	bl	_matrix_write
LBB0_8:
	bl	_host_keyboard_leds
Lloh19:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh22:
	adrp	x9, l_.str.7@PAGE
Lloh23:
	add	x9, x9, l_.str.7@PAGEOFF
Lloh24:
	adrp	x21, l_.str.8@PAGE
Lloh25:
	add	x21, x21, l_.str.8@PAGEOFF
	tst	w8, #0x1
	csel	x20, x21, x9, eq
	bl	_host_keyboard_leds
Lloh26:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh29:
	adrp	x9, l_.str.9@PAGE
Lloh30:
	add	x9, x9, l_.str.9@PAGEOFF
	tst	w8, #0x1
	csel	x22, x21, x9, eq
	bl	_host_keyboard_leds
Lloh31:
	adrp	x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh34:
	adrp	x9, l_.str.10@PAGE
Lloh35:
	add	x9, x9, l_.str.10@PAGEOFF
	tst	w8, #0x1
	csel	x8, x21, x9, eq
	stp	x22, x8, [sp]
Lloh36:
	adrp	x2, l_.str.6@PAGE
Lloh37:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x0, sp, #24
	mov	w1, #40
	mov	x3, x20
	bl	_snprintf
	add	x1, sp, #24
	mov	x0, x19
	bl	_matrix_write
	ldur	x8, [x29, #-40]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_render_status.logo:                    ; @render_status.logo
	.asciz	"\225\226"
	.asciz	"\265\266"
	.asciz	"\227\230"
	.asciz	"\267\270"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Undef-%ld"

	.comm	_layer_state,4,2                ; @layer_state
l_.str.2:                               ; @.str.2
	.asciz	"\nLayer: "

l_.str.3:                               ; @.str.3
	.asciz	"Default"

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

l_.str.5:                               ; @.str.5
	.asciz	"Lower"

l_.str.6:                               ; @.str.6
	.asciz	"\n%s %s %s"

	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
l_.str.7:                               ; @.str.7
	.asciz	"NMLK"

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

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

	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
l_.str.10:                              ; @.str.10
	.asciz	"SCLK"

.subsections_via_symbols
