	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_default                   ## -- Begin function draw_default
	.p2align	4, 0x90
_draw_default:                          ## @draw_default
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_encoder_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENC_MODE_CLOCK_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_hour_config@GOTPCREL(%rip), %rax
	movq	_minute_config@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%rax), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	_last_minute@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	imulq	$-2004318071, %rbx, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%ebx, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$5, %ecx
	addl	%eax, %ecx
	imull	$60, %ecx, %eax
	subl	%eax, %ebx
LBB0_3:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rax
	imulq	$715827883, %rax, %rcx          ## imm = 0x2AAAAAAB
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$33, %rcx
	addl	%edx, %ecx
	shll	$2, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %eax
	movl	$12, %edx
	cmovnel	%eax, %edx
	movb	$0, -46(%rbp)
	movw	$0, -48(%rbp)
	movb	$0, -42(%rbp)
	movw	$0, -44(%rbp)
	leaq	L_.str(%rip), %r14
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_sprintf
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_sprintf
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_get_mods
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_draw_layer_section
	movl	$45, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_draw_encoder
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.4:
	movq	_MATRIX_COLS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	cmpl	%ecx, %r12d
	jge	LBB0_10
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	20(%r12), %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	2(%rbx), %r13
	movl	%r12d, %edi
	movq	%rdx, %r14
	callq	_matrix_get_row
	movl	$1, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	xorl	%edx, %edx
	testl	%esi, %eax
	setg	%dl
	movq	_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_draw_pixel
	movq	%r14, %rdx
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_9
LBB0_10:
	movq	_PIXEL_ON@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	_NORM@GOTPCREL(%rip), %r15
	movl	(%r15), %r9d
	xorl	%edi, %edi
	movl	$18, %esi
	movl	$19, %edx
	movl	$9, %ecx
	callq	_draw_rect_soft
	movl	(%rbx), %r8d
	movl	(%r15), %r9d
	movl	$14, %edi
	movl	$20, %esi
	movl	$3, %edx
	movl	$1, %ecx
	callq	_draw_rect_filled_soft
	movq	_MOD_LSFT@GOTPCREL(%rip), %rax
	movl	(%rbx), %r8d
	movl	(%r15), %r9d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.11:
	movl	$30, %edi
	movl	$18, %esi
	movl	$11, %edx
	movl	$11, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	$33, %edi
	movl	$20, %esi
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.1(%rip), %rdx
	movl	$33, %edi
	movl	$20, %esi
	movl	%r8d, %ecx
	movl	%r9d, %r8d
LBB0_13:
	xorl	%r9d, %r9d
	callq	_draw_string
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	_MOD_LCTL@GOTPCREL(%rip), %rax
	movl	(%rbx), %r8d
	movl	(%r15), %r9d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:
	movl	$40, %edi
	movl	$18, %esi
	movl	$11, %edx
	movl	$11, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.2(%rip), %rdx
	movl	$43, %edi
	movl	$20, %esi
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.2(%rip), %rdx
	movl	$43, %edi
	movl	$20, %esi
	movl	%r8d, %ecx
	movl	%r9d, %r8d
LBB0_16:
	xorl	%r9d, %r9d
	callq	_draw_string
	movq	_MOD_LALT@GOTPCREL(%rip), %rax
	movl	(%rbx), %r8d
	movl	(%r15), %r9d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.17:
	movl	$50, %edi
	movl	$18, %esi
	movl	$11, %edx
	movl	$11, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.3(%rip), %rdx
	movl	$53, %edi
	movl	$20, %esi
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.3(%rip), %rdx
	movl	$53, %edi
	movl	$20, %esi
	movl	%r8d, %ecx
	movl	%r9d, %r8d
LBB0_19:
	xorl	%r9d, %r9d
	callq	_draw_string
	movq	_MOD_LGUI@GOTPCREL(%rip), %rax
	movl	(%rbx), %r8d
	movl	(%r15), %r9d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_21
## %bb.20:
	movl	$60, %edi
	movl	$18, %esi
	movl	$11, %edx
	movl	$11, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.4(%rip), %rdx
	movl	$63, %edi
	movl	$20, %esi
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.4(%rip), %rdx
	movl	$63, %edi
	movl	$20, %esi
	movl	%r8d, %ecx
	movl	%r9d, %r8d
LBB0_22:
	xorl	%r9d, %r9d
	callq	_draw_string
	movq	_led_capslock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	cmpl	$1, %eax
	jne	LBB0_26
## %bb.24:
	movq	_PIXEL_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%r15), %r9d
	movl	$100, %edi
	xorl	%esi, %esi
	movl	$23, %edx
	movl	$9, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rbx
LBB0_25:
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.5(%rip), %rdx
	movl	$103, %edi
	movl	$1, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
LBB0_26:
	movq	_led_scrolllock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_27
## %bb.28:
	cmpl	$1, %eax
	jne	LBB0_31
## %bb.29:
	movq	_PIXEL_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%r15), %r9d
	movl	$100, %edi
	movl	$11, %esi
	movl	$23, %edx
	movl	$9, %ecx
	callq	_draw_rect_filled_soft
	movq	_PIXEL_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_27:
	movq	_PIXEL_ON@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.6(%rip), %rdx
	movl	$103, %edi
	movl	$12, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
LBB0_31:
	movq	_PIXEL_ON@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	leaq	-48(%rbp), %rdx
	movl	$82, %edi
	movl	$22, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.7(%rip), %rdx
	movl	$93, %edi
	movl	$22, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	leaq	-44(%rbp), %rdx
	movl	$97, %edi
	movl	$22, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
	cmpl	$12, %r14d
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.9(%rip), %rdx
	cmovgeq	%rax, %rdx
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	movl	$109, %edi
	movl	$22, %esi
	xorl	%r9d, %r9d
	callq	_draw_string
	xorl	%eax, %eax
	callq	_send_buffer
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_minute,4,2                ## @last_minute
	.comm	_encoder_mode,8,3               ## @encoder_mode
	.comm	_ENC_MODE_CLOCK_SET,8,3         ## @ENC_MODE_CLOCK_SET
	.comm	_hour_config,4,2                ## @hour_config
	.comm	_minute_config,4,2              ## @minute_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02d"

	.comm	_MATRIX_ROWS,4,2                ## @MATRIX_ROWS
	.comm	_MATRIX_COLS,4,2                ## @MATRIX_COLS
	.comm	_NORM,4,2                       ## @NORM
	.comm	_PIXEL_ON,4,2                   ## @PIXEL_ON
	.comm	_MOD_LSFT,4,2                   ## @MOD_LSFT
L_.str.1:                               ## @.str.1
	.asciz	"S"

	.comm	_PIXEL_OFF,4,2                  ## @PIXEL_OFF
	.comm	_MOD_LCTL,4,2                   ## @MOD_LCTL
L_.str.2:                               ## @.str.2
	.asciz	"C"

	.comm	_MOD_LALT,4,2                   ## @MOD_LALT
L_.str.3:                               ## @.str.3
	.asciz	"A"

	.comm	_MOD_LGUI,4,2                   ## @MOD_LGUI
L_.str.4:                               ## @.str.4
	.asciz	"G"

	.comm	_led_capslock,4,2               ## @led_capslock
L_.str.5:                               ## @.str.5
	.asciz	"CAP"

	.comm	_led_scrolllock,4,2             ## @led_scrolllock
L_.str.6:                               ## @.str.6
	.asciz	"SCR"

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

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

L_.str.9:                               ## @.str.9
	.asciz	"am"

	.comm	_ENCODER_INDICATOR_X,4,2        ## @ENCODER_INDICATOR_X
	.comm	_ENCODER_INDICATOR_Y,4,2        ## @ENCODER_INDICATOR_Y
	.comm	_LOCK_DISPLAY_X,8,3             ## @LOCK_DISPLAY_X
	.comm	_LOCK_DISPLAY_Y,4,2             ## @LOCK_DISPLAY_Y
	.comm	_MATRIX_DISPLAY_X,8,3           ## @MATRIX_DISPLAY_X
	.comm	_MATRIX_DISPLAY_Y,4,2           ## @MATRIX_DISPLAY_Y
	.comm	_MOD_DISPLAY_X,8,3              ## @MOD_DISPLAY_X
	.comm	_MOD_DISPLAY_Y,4,2              ## @MOD_DISPLAY_Y
	.comm	_TIME_DISPLAY_X,8,3             ## @TIME_DISPLAY_X
	.comm	_TIME_DISPLAY_Y,4,2             ## @TIME_DISPLAY_Y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_default                   ; -- Begin function draw_default
	.p2align	2
_draw_default:                          ; @draw_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _last_minute@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_minute@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #5
	add	w9, w10, w9, lsr #31
	mov	w10, #60
	msub	w8, w9, w10, w8
Lloh3:
	adrp	x10, _encoder_mode@GOTPAGE
Lloh4:
	ldr	x10, [x10, _encoder_mode@GOTPAGEOFF]
Lloh5:
	adrp	x11, _ENC_MODE_CLOCK_SET@GOTPAGE
Lloh6:
	ldr	x11, [x11, _ENC_MODE_CLOCK_SET@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	ldr	x11, [x11]
Lloh9:
	adrp	x12, _hour_config@GOTPAGE
Lloh10:
	ldr	x12, [x12, _hour_config@GOTPAGEOFF]
Lloh11:
	adrp	x13, _minute_config@GOTPAGE
Lloh12:
	ldr	x13, [x13, _minute_config@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
Lloh14:
	ldr	w13, [x13]
	cmp	x10, x11
	csel	w19, w13, w8, eq
	csel	w23, w12, w9, eq
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w23, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	mov	w9, #12
	strb	wzr, [sp, #14]
	strh	wzr, [sp, #12]
	msub	w8, w8, w9, w23
	cmp	w8, #0
	csel	w2, w9, w8, eq
	strb	wzr, [sp, #10]
	strh	wzr, [sp, #8]
Lloh15:
	adrp	x20, l_.str@PAGE
Lloh16:
	add	x20, x20, l_.str@PAGEOFF
	add	x0, sp, #12
	mov	x1, x20
	bl	_sprintf
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	_sprintf
	bl	_get_mods
	mov	x19, x0
	mov	w25, #1
	mov	w0, #0
	mov	w1, #0
	mov	w2, #1
	bl	_draw_layer_section
	mov	w0, #45
	mov	w1, #0
	mov	w2, #1
	bl	_draw_encoder
Lloh17:
	adrp	x26, _MATRIX_ROWS@GOTPAGE
Lloh18:
	ldr	x26, [x26, _MATRIX_ROWS@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh19:
	adrp	x24, _NORM@GOTPAGE
Lloh20:
	ldr	x24, [x24, _NORM@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w20, #0
Lloh21:
	adrp	x27, _MATRIX_COLS@GOTPAGE
Lloh22:
	ldr	x27, [x27, _MATRIX_COLS@GOTPAGEOFF]
	ldr	w9, [x27]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	add	w21, w20, #20
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x22, x28, #2
	mov	x0, x20
	bl	_matrix_get_row
	lsl	w8, w25, w28
	tst	w0, w8
	cset	w2, gt
	ldr	w3, [x24]
	mov	x0, x22
	mov	x1, x21
	bl	_draw_pixel
	add	x28, x28, #1
	ldrsw	x9, [x27]
	cmp	x28, x9
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	b	LBB0_2
LBB0_7:
Lloh23:
	adrp	x20, _PIXEL_ON@GOTPAGE
Lloh24:
	ldr	x20, [x20, _PIXEL_ON@GOTPAGEOFF]
	ldr	w4, [x20]
	ldr	w5, [x24]
	mov	x0, #0
	mov	w1, #18
	mov	w2, #19
	mov	w3, #9
	bl	_draw_rect_soft
	ldr	w4, [x20]
	ldr	w5, [x24]
	mov	w0, #14
	mov	w1, #20
	mov	w2, #3
	mov	w3, #1
	bl	_draw_rect_filled_soft
Lloh25:
	adrp	x8, _MOD_LSFT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MOD_LSFT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w4, [x20]
	ldr	w5, [x24]
Lloh28:
	adrp	x21, _PIXEL_OFF@GOTPAGE
Lloh29:
	ldr	x21, [x21, _PIXEL_OFF@GOTPAGEOFF]
	tst	w8, w19
	b.eq	LBB0_9
; %bb.8:
	mov	w0, #30
	mov	w1, #18
	mov	w2, #11
	mov	w3, #11
	bl	_draw_rect_filled_soft
	ldr	w3, [x21]
	ldr	w4, [x24]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #33
	mov	w1, #20
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #33
	mov	w1, #20
	mov	x3, x4
	mov	x4, x5
LBB0_10:
	mov	w5, #0
	bl	_draw_string
Lloh34:
	adrp	x8, _MOD_LCTL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MOD_LCTL@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w4, [x20]
	ldr	w5, [x24]
	tst	w8, w19
	b.eq	LBB0_12
; %bb.11:
	mov	w0, #40
	mov	w1, #18
	mov	w2, #11
	mov	w3, #11
	bl	_draw_rect_filled_soft
	ldr	w3, [x21]
	ldr	w4, [x24]
Lloh37:
	adrp	x2, l_.str.2@PAGE
Lloh38:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #43
	mov	w1, #20
	b	LBB0_13
LBB0_12:
Lloh39:
	adrp	x2, l_.str.2@PAGE
Lloh40:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #43
	mov	w1, #20
	mov	x3, x4
	mov	x4, x5
LBB0_13:
	mov	w5, #0
	bl	_draw_string
Lloh41:
	adrp	x8, _MOD_LALT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MOD_LALT@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w4, [x20]
	ldr	w5, [x24]
	tst	w8, w19
	b.eq	LBB0_15
; %bb.14:
	mov	w0, #50
	mov	w1, #18
	mov	w2, #11
	mov	w3, #11
	bl	_draw_rect_filled_soft
	ldr	w3, [x21]
	ldr	w4, [x24]
Lloh44:
	adrp	x2, l_.str.3@PAGE
Lloh45:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #53
	mov	w1, #20
	b	LBB0_16
LBB0_15:
Lloh46:
	adrp	x2, l_.str.3@PAGE
Lloh47:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #53
	mov	w1, #20
	mov	x3, x4
	mov	x4, x5
LBB0_16:
	mov	w5, #0
	bl	_draw_string
Lloh48:
	adrp	x8, _MOD_LGUI@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MOD_LGUI@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	w4, [x20]
	ldr	w5, [x24]
	tst	w8, w19
	b.eq	LBB0_18
; %bb.17:
	mov	w0, #60
	mov	w1, #18
	mov	w2, #11
	mov	w3, #11
	bl	_draw_rect_filled_soft
	ldr	w3, [x21]
	ldr	w4, [x24]
Lloh51:
	adrp	x2, l_.str.4@PAGE
Lloh52:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #63
	mov	w1, #20
	b	LBB0_19
LBB0_18:
Lloh53:
	adrp	x2, l_.str.4@PAGE
Lloh54:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #63
	mov	w1, #20
	mov	x3, x4
	mov	x4, x5
LBB0_19:
	mov	w5, #0
	bl	_draw_string
Lloh55:
	adrp	x8, _led_capslock@GOTPAGE
Lloh56:
	ldr	x8, [x8, _led_capslock@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x8]
Lloh58:
	adrp	x8, _PIXEL_ON@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PIXEL_ON@GOTPAGEOFF]
	cbz	w9, LBB0_22
; %bb.20:
	cmp	w9, #1
	b.ne	LBB0_23
; %bb.21:
	ldr	w4, [x8]
	ldr	w5, [x24]
	mov	w0, #100
	mov	w1, #0
	mov	w2, #23
	mov	w3, #9
	bl	_draw_rect_filled_soft
Lloh60:
	adrp	x8, _PIXEL_OFF@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PIXEL_OFF@GOTPAGEOFF]
LBB0_22:
	ldr	w3, [x8]
	ldr	w4, [x24]
Lloh62:
	adrp	x2, l_.str.5@PAGE
Lloh63:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w0, #103
	mov	w1, #1
	mov	w5, #0
	bl	_draw_string
LBB0_23:
Lloh64:
	adrp	x8, _led_scrolllock@GOTPAGE
Lloh65:
	ldr	x8, [x8, _led_scrolllock@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x19, _PIXEL_ON@GOTPAGE
Lloh68:
	ldr	x19, [x19, _PIXEL_ON@GOTPAGEOFF]
	cbz	w8, LBB0_26
; %bb.24:
	cmp	w8, #1
	b.ne	LBB0_28
; %bb.25:
	ldr	w4, [x19]
	ldr	w5, [x24]
	mov	w0, #100
	mov	w1, #11
	mov	w2, #23
	mov	w3, #9
	bl	_draw_rect_filled_soft
Lloh69:
	adrp	x8, _PIXEL_OFF@GOTPAGE
Lloh70:
	ldr	x8, [x8, _PIXEL_OFF@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:
	mov	x8, x19
LBB0_27:
	ldr	w3, [x8]
	ldr	w4, [x24]
Lloh71:
	adrp	x2, l_.str.6@PAGE
Lloh72:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w0, #103
	mov	w1, #12
	mov	w5, #0
	bl	_draw_string
LBB0_28:
	ldr	w3, [x19]
	ldr	w4, [x24]
	add	x2, sp, #12
	mov	w0, #82
	mov	w1, #22
	mov	w5, #0
	bl	_draw_string
	ldr	w3, [x19]
	ldr	w4, [x24]
Lloh73:
	adrp	x2, l_.str.7@PAGE
Lloh74:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w0, #93
	mov	w1, #22
	mov	w5, #0
	bl	_draw_string
	ldr	w3, [x19]
	ldr	w4, [x24]
	add	x2, sp, #8
	mov	w0, #97
	mov	w1, #22
	mov	w5, #0
	bl	_draw_string
Lloh75:
	adrp	x8, l_.str.9@PAGE
Lloh76:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh77:
	adrp	x9, l_.str.8@PAGE
Lloh78:
	add	x9, x9, l_.str.8@PAGEOFF
	cmp	w23, #11
	csel	x2, x9, x8, gt
	ldr	w3, [x19]
	ldr	w4, [x24]
	mov	w0, #109
	mov	w1, #22
	mov	w5, #0
	bl	_draw_string
	bl	_send_buffer
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_last_minute,4,2                ; @last_minute
	.comm	_encoder_mode,8,3               ; @encoder_mode
	.comm	_ENC_MODE_CLOCK_SET,8,3         ; @ENC_MODE_CLOCK_SET
	.comm	_hour_config,4,2                ; @hour_config
	.comm	_minute_config,4,2              ; @minute_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02d"

	.comm	_MATRIX_ROWS,4,2                ; @MATRIX_ROWS
	.comm	_MATRIX_COLS,4,2                ; @MATRIX_COLS
	.comm	_NORM,4,2                       ; @NORM
	.comm	_PIXEL_ON,4,2                   ; @PIXEL_ON
	.comm	_MOD_LSFT,4,2                   ; @MOD_LSFT
l_.str.1:                               ; @.str.1
	.asciz	"S"

	.comm	_PIXEL_OFF,4,2                  ; @PIXEL_OFF
	.comm	_MOD_LCTL,4,2                   ; @MOD_LCTL
l_.str.2:                               ; @.str.2
	.asciz	"C"

	.comm	_MOD_LALT,4,2                   ; @MOD_LALT
l_.str.3:                               ; @.str.3
	.asciz	"A"

	.comm	_MOD_LGUI,4,2                   ; @MOD_LGUI
l_.str.4:                               ; @.str.4
	.asciz	"G"

	.comm	_led_capslock,4,2               ; @led_capslock
l_.str.5:                               ; @.str.5
	.asciz	"CAP"

	.comm	_led_scrolllock,4,2             ; @led_scrolllock
l_.str.6:                               ; @.str.6
	.asciz	"SCR"

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

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

l_.str.9:                               ; @.str.9
	.asciz	"am"

	.comm	_ENCODER_INDICATOR_X,4,2        ; @ENCODER_INDICATOR_X
	.comm	_ENCODER_INDICATOR_Y,4,2        ; @ENCODER_INDICATOR_Y
	.comm	_LOCK_DISPLAY_X,8,3             ; @LOCK_DISPLAY_X
	.comm	_LOCK_DISPLAY_Y,4,2             ; @LOCK_DISPLAY_Y
	.comm	_MATRIX_DISPLAY_X,8,3           ; @MATRIX_DISPLAY_X
	.comm	_MATRIX_DISPLAY_Y,4,2           ; @MATRIX_DISPLAY_Y
	.comm	_MOD_DISPLAY_X,8,3              ; @MOD_DISPLAY_X
	.comm	_MOD_DISPLAY_Y,4,2              ; @MOD_DISPLAY_Y
	.comm	_TIME_DISPLAY_X,8,3             ; @TIME_DISPLAY_X
	.comm	_TIME_DISPLAY_Y,4,2             ; @TIME_DISPLAY_Y
.subsections_via_symbols
