	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_main_draw_status
_menu_main_draw_status:                 ## @menu_main_draw_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_currentConfig@GOTPCREL(%rip), %rax
	movq	_EOPT_SHOW_RTC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_93
## %bb.1:
	movq	_g_screen_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_me_mfont_h@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -116(%rbp)
	leaq	-116(%rbp), %rdi
	callq	_gmtime
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	movq	%rax, %rcx
	callq	_strftime
	movq	_g_screen_width@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_me_mfont_w@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %edi
	movl	(%r12), %esi
	addl	$2, %esi
	movq	%rbx, %rdx
	callq	_text_out16
	movl	-116(%rbp), %eax
	movl	%eax, %ecx
	subl	_menu_main_draw_status.last_bat_read(%rip), %ecx
	cmpl	$11, %ecx
	jl	LBB0_3
## %bb.2:
	movl	%eax, _menu_main_draw_status.last_bat_read(%rip)
	xorl	%eax, %eax
	callq	_plat_target_bat_capacity_get
	movl	%eax, %edx
	movl	%eax, _menu_main_draw_status.last_bat_val(%rip)
	cmpl	$100, %edx
	jbe	LBB0_4
	jmp	LBB0_93
LBB0_3:
	movl	_menu_main_draw_status.last_bat_val(%rip), %edx
	cmpl	$100, %edx
	ja	LBB0_93
LBB0_4:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %eax
	cltq
	imulq	$1431655766, %rax, %r11         ## imm = 0x55555556
	movq	%r11, %rax
	shrq	$63, %rax
	shrq	$32, %r11
	addl	%eax, %r11d
	movl	(%r12), %r10d
	leal	(%r10,%r10), %eax
	addl	$2, %eax
	movslq	(%r15), %rsi
	imull	%esi, %eax
	movl	(%r13), %r8d
	leal	(%r8,%r8,2), %ecx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	addl	%esi, %eax
	subl	%ecx, %eax
	addl	$-3, %eax
	cltq
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax,2), %r14
	leal	(%r8,%r8), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_39
## %bb.5:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpl	$2, %eax
	movl	$1, %r13d
	cmovgel	%eax, %r13d
	cmpl	$16, %r13d
	jb	LBB0_6
## %bb.7:
	movq	_menu_text_color@GOTPCREL(%rip), %r9
	leaq	2(%r9), %rax
	cmpq	%rax, %r14
	jae	LBB0_10
## %bb.8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	leaq	(%r12,%rax,2), %rax
	cmpq	_menu_text_color@GOTPCREL(%rip), %rax
	jbe	LBB0_10
LBB0_6:
	xorl	%eax, %eax
LBB0_16:
	movq	%rax, %r9
	notq	%r9
	addq	%r13, %r9
	movq	%r13, %rdi
	andq	$3, %rdi
	je	LBB0_19
## %bb.17:
	movq	_menu_text_color@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rbx), %ecx
	movw	%cx, (%r14,%rax,2)
	incq	%rax
	decq	%rdi
	jne	LBB0_18
LBB0_19:
	cmpq	$3, %r9
	jb	LBB0_22
## %bb.20:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r12,%rcx,2), %rcx
	addq	$6, %rcx
	movq	_menu_text_color@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rdi), %esi
	movw	%si, -6(%rcx,%rax,2)
	movzwl	(%rdi), %esi
	movw	%si, -4(%rcx,%rax,2)
	movzwl	(%rdi), %esi
	movw	%si, -2(%rcx,%rax,2)
	movzwl	(%rdi), %esi
	movw	%si, (%rcx,%rax,2)
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_21
	jmp	LBB0_22
LBB0_10:
	movl	%r13d, %eax
	andl	$2147483632, %eax               ## imm = 0x7FFFFFF0
	leaq	-16(%rax), %rcx
	movq	%rcx, %r15
	shrq	$4, %r15
	incq	%r15
	testq	%rcx, %rcx
	je	LBB0_48
## %bb.11:
	movq	%r15, %rcx
	andq	$-2, %rcx
	movzwl	(%r9), %edi
	movd	%edi, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%r12,%rsi,2), %rdi
	addq	$48, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%rdi,%rbx,2)
	movdqu	%xmm0, -32(%rdi,%rbx,2)
	movdqu	%xmm0, -16(%rdi,%rbx,2)
	movdqu	%xmm0, (%rdi,%rbx,2)
	addq	$32, %rbx
	addq	$-2, %rcx
	jne	LBB0_12
## %bb.13:
	testb	$1, %r15b
	je	LBB0_15
LBB0_14:
	movzwl	(%r9), %ecx
	movd	%ecx, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%r14,%rbx,2)
	movdqu	%xmm0, 16(%r14,%rbx,2)
LBB0_15:
	cmpq	%r13, %rax
	jne	LBB0_16
LBB0_22:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	imull	%r11d, %eax
	movslq	%eax, %r9
	cmpl	$16, %r13d
	jb	LBB0_23
## %bb.24:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r9,%rax), %rbx
	leaq	(%r12,%rbx,2), %rax
	movq	_menu_text_color@GOTPCREL(%rip), %r15
	leaq	2(%r15), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_27
## %bb.25:
	leaq	(%rbx,%r13), %rax
	leaq	(%r12,%rax,2), %rax
	cmpq	_menu_text_color@GOTPCREL(%rip), %rax
	jbe	LBB0_27
LBB0_23:
	xorl	%edi, %edi
LBB0_33:
	movq	%rdi, %r15
	notq	%r15
	addq	%r13, %r15
	movq	%r13, %rax
	andq	$3, %rax
	je	LBB0_36
## %bb.34:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	%r9, %rcx
	leaq	(%r12,%rcx,2), %rbx
	movq	_menu_text_color@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rcx), %esi
	movw	%si, (%rbx,%rdi,2)
	incq	%rdi
	decq	%rax
	jne	LBB0_35
LBB0_36:
	cmpq	$3, %r15
	jb	LBB0_39
## %bb.37:
	addq	-72(%rbp), %r9                  ## 8-byte Folded Reload
	leaq	(%r12,%r9,2), %rax
	movq	_menu_text_color@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rcx), %esi
	movw	%si, (%rax,%rdi,2)
	movzwl	(%rcx), %esi
	movw	%si, 2(%rax,%rdi,2)
	movzwl	(%rcx), %esi
	movw	%si, 4(%rax,%rdi,2)
	movzwl	(%rcx), %esi
	movw	%si, 6(%rax,%rdi,2)
	addq	$4, %rdi
	cmpq	%rdi, %r13
	jne	LBB0_38
	jmp	LBB0_39
LBB0_27:
	movl	%r13d, %edi
	andl	$2147483632, %edi               ## imm = 0x7FFFFFF0
	leaq	-16(%rdi), %rax
	movq	%rax, %r12
	shrq	$4, %r12
	incq	%r12
	testq	%rax, %rax
	je	LBB0_49
## %bb.28:
	movq	%r12, %rcx
	andq	$-2, %rcx
	movzwl	(%r15), %eax
	movd	%eax, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,2), %rax
	addq	$48, %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%rax,%rbx,2)
	movdqu	%xmm0, -32(%rax,%rbx,2)
	movdqu	%xmm0, -16(%rax,%rbx,2)
	movdqu	%xmm0, (%rax,%rbx,2)
	addq	$32, %rbx
	addq	$-2, %rcx
	jne	LBB0_29
## %bb.30:
	testb	$1, %r12b
	je	LBB0_32
LBB0_31:
	movzwl	(%r15), %eax
	movd	%eax, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	addq	%r9, %rbx
	movdqu	%xmm0, (%r14,%rbx,2)
	movdqu	%xmm0, 16(%r14,%rbx,2)
LBB0_32:
	cmpq	%r13, %rdi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_33
LBB0_39:
	cmpl	$-1, -104(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_93
## %bb.40:
	movslq	-112(%rbp), %r9                 ## 4-byte Folded Reload
	xorl	%r15d, %r15d
	testl	%r11d, %r11d
	movl	$0, %r13d
	cmovgl	%r11d, %r13d
	movl	%r13d, %r12d
	cmpl	$15, %r13d
	jb	LBB0_56
## %bb.41:
	cmpl	$1, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_56
## %bb.42:
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	addl	%r10d, %r10d
	leal	(%r8,%r8,2), %eax
	subl	%eax, %r10d
	movslq	%r10d, %rax
	leaq	(%r9,%rax), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,2), %r8
	addq	%r12, %rcx
	leaq	(%rdx,%rcx,2), %rcx
	addq	$2, %rcx
	leaq	(%rdx,%rax,2), %rbx
	addq	%r12, %rax
	leaq	(%rdx,%rax,2), %rax
	addq	$2, %rax
	cmpq	%rax, %r8
	setb	%sil
	cmpq	%rcx, %rbx
	setb	%dl
	movq	_menu_text_color@GOTPCREL(%rip), %r15
	leaq	2(%r15), %rdi
	cmpq	%rdi, %r8
	setb	%r10b
	cmpq	%r15, %rcx
	seta	%r8b
	cmpq	%rdi, %rbx
	setb	%cl
	cmpq	%r15, %rax
	seta	%dil
	xorl	%r15d, %r15d
	testb	%dl, %sil
	jne	LBB0_55
## %bb.43:
	andb	%r8b, %r10b
	jne	LBB0_55
## %bb.44:
	andb	%dil, %cl
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_56
## %bb.45:
	leal	1(%r13), %r15d
	movq	%r15, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	andl	$2147483632, %r15d              ## imm = 0x7FFFFFF0
	leaq	-16(%r15), %rax
	movq	%rax, %rsi
	shrq	$4, %rsi
	incq	%rsi
	testq	%rax, %rax
	je	LBB0_50
## %bb.46:
	movq	%rsi, %rbx
	andq	$-2, %rbx
	movq	_menu_text_color@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movd	%eax, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	%r10, %rax
	shlq	$4, %rax
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	addq	%r8, %rax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rax,2), %rcx
	addq	$16, %rcx
	shlq	$6, %r10
	leaq	(%rdi,%r8,2), %r8
	addq	$16, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%r8,%r9,2)
	movdqu	%xmm0, (%r8,%r9,2)
	movdqu	%xmm0, -16(%r8)
	movdqu	%xmm0, (%r8)
	movdqu	%xmm0, -16(%rcx,%r9,2)
	movdqu	%xmm0, (%rcx,%r9,2)
	movdqu	%xmm0, -16(%rcx)
	movdqu	%xmm0, (%rcx)
	addq	$32, %rdi
	addq	%r10, %rcx
	addq	%r10, %r8
	addq	$-2, %rbx
	jne	LBB0_47
	jmp	LBB0_51
LBB0_55:
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_56
LBB0_48:
	xorl	%ebx, %ebx
	testb	$1, %r15b
	jne	LBB0_14
	jmp	LBB0_15
LBB0_49:
	xorl	%ebx, %ebx
	testb	$1, %r12b
	jne	LBB0_31
	jmp	LBB0_32
LBB0_50:
	xorl	%edi, %edi
LBB0_51:
	testb	$1, %sil
	je	LBB0_53
## %bb.52:
	movq	_menu_text_color@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movd	%eax, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	imulq	-80(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	(%rdi,%r9), %rax
	movdqu	%xmm0, (%r14,%rax,2)
	movdqu	%xmm0, 16(%r14,%rax,2)
	movdqu	%xmm0, (%r14,%rdi,2)
	movdqu	%xmm0, 16(%r14,%rdi,2)
LBB0_53:
	cmpq	-128(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_61
LBB0_56:
	movq	%r15, %r8
	testb	$1, %r13b
	jne	LBB0_58
## %bb.57:
	movq	_menu_text_color@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	%r15, %rcx
	imulq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	leaq	(%rcx,%r9), %rdi
	movw	%ax, (%r14,%rdi,2)
	movw	%ax, (%r14,%rcx,2)
	movq	%r15, %r8
	orq	$1, %r8
LBB0_58:
	cmpq	%r12, %r15
	je	LBB0_61
## %bb.59:
	subq	%r8, %r12
	incq	%r12
	movq	%r8, %rax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	imulq	%rsi, %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leaq	(%rax,%r15), %rcx
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	leaq	(%r10,%rcx,2), %rcx
	leaq	(,%rsi,4), %rdi
	addq	%r9, %rax
	addq	%r15, %rax
	leaq	(%r10,%rax,2), %rbx
	incq	%r8
	imulq	%rsi, %r8
	addq	%r15, %r8
	leaq	(%r10,%r8,2), %rax
	movq	_menu_text_color@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_60:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%r8), %esi
	movw	%si, (%rbx)
	movw	%si, (%rcx)
	movzwl	(%r8), %esi
	movw	%si, (%rax,%r9,2)
	movw	%si, (%rax)
	addq	%rdi, %rcx
	addq	%rdi, %rbx
	addq	%rdi, %rax
	addq	$-2, %r12
	jne	LBB0_60
LBB0_61:
	cmpl	$6, -104(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_67
## %bb.62:
	cmpl	$5, %r11d
	movl	$4, %r8d
	cmovgel	%r11d, %r8d
	decl	%r8d
	movl	$2, %ecx
	cmpl	$3, %r8d
	je	LBB0_65
## %bb.63:
	leaq	-2(%r8), %r9
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rcx), %rax
	leaq	(%rax,%rax,2), %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rax,%rsi,2), %rax
	addq	$-2, %rax
	leaq	(,%rcx,4), %rbx
	andq	$-2, %r9
	negq	%r9
	movl	$2, %ecx
	movq	_menu_text_color@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_64:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%r10), %esi
	movw	%si, -2(%rax,%rbx)
	movw	%si, (%rax,%rbx)
	movzwl	(%r10), %esi
	movw	%si, -2(%rax,%rdi)
	movw	%si, (%rax,%rdi)
	addq	%rbx, %rax
	leaq	(%r9,%rcx), %rsi
	addq	$2, %rsi
	addq	$2, %rcx
	cmpq	$2, %rsi
	jne	LBB0_64
LBB0_65:
	testb	$1, %r8b
	je	LBB0_67
## %bb.66:
	movq	_menu_text_color@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	imulq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	movw	%ax, -4(%r14,%rcx,2)
	movw	%ax, -2(%r14,%rcx,2)
LBB0_67:
	cmpl	$3, -104(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_93
## %bb.68:
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	leal	-1(%r8), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	imull	%eax, %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
	cmpl	$3, %r11d
	movl	$2, %eax
	cmovgel	%r11d, %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r8), %r11d
	decl	%r11d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	1(%rbx), %rax
	subq	%rdi, %rax
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,2), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rbx,2), %rax
	addq	$2, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movl	%edi, %eax
	andl	$-16, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	addq	$-16, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	shrq	$4, %rsi
	incq	%rsi
	movq	%rsi, %rax
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	%edi, %r10d
	andl	$3, %r10d
	movq	%r10, -224(%rbp)                ## 8-byte Spill
	negq	%r10
	leal	(%rcx,%r8), %eax
	addl	$-17, %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	leal	-4(%rcx,%r8), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leal	-3(%rcx,%r8), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leal	(%rcx,%r8), %eax
	addl	$-2, %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	%rdi, %rax
	negq	%rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	leaq	-1(%rdi), %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	$1, %r8d
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_menu_text_color@GOTPCREL(%rip), %r12
	movl	%r11d, -144(%rbp)               ## 4-byte Spill
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	jmp	LBB0_70
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_70 Depth=1
	incl	%r8d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, -128(%rbp)                ## 4-byte Folded Spill
	addl	%eax, %r11d
	addl	%eax, -88(%rbp)                 ## 4-byte Folded Spill
	addl	%eax, -72(%rbp)                 ## 4-byte Folded Spill
	addl	%eax, -112(%rbp)                ## 4-byte Folded Spill
	cmpl	-148(%rbp), %r8d                ## 4-byte Folded Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_93
LBB0_70:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_81 Depth 2
                                        ##     Child Loop BB0_87 Depth 2
                                        ##     Child Loop BB0_91 Depth 2
	cmpl	$100, %edx
	jl	LBB0_69
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=1
	cmpl	$16, -136(%rbp)                 ## 4-byte Folded Reload
	jb	LBB0_72
## %bb.73:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	imull	-104(%rbp), %ecx                ## 4-byte Folded Reload
	addl	-144(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, %eax
	movq	-216(%rbp), %rdx                ## 8-byte Reload
	subl	%edx, %eax
	cmpl	%ecx, %eax
	jg	LBB0_72
## %bb.74:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	%rdx, %rax
	shrq	$32, %rax
	movl	$0, %eax
	jne	LBB0_85
## %bb.75:                              ##   in Loop: Header=BB0_70 Depth=1
	movslq	%ecx, %rax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,2), %rcx
	cmpq	%r12, %rcx
	jbe	LBB0_79
## %bb.76:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,2), %rax
	leaq	2(%r12), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_79
	.p2align	4, 0x90
LBB0_72:                                ##   in Loop: Header=BB0_70 Depth=1
	xorl	%eax, %eax
LBB0_85:                                ##   in Loop: Header=BB0_70 Depth=1
	movq	%rax, %r15
	notq	%r15
	addq	-136(%rbp), %r15                ## 8-byte Folded Reload
	cmpq	$0, -224(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_89
## %bb.86:                              ##   in Loop: Header=BB0_70 Depth=1
	movl	%r11d, %esi
	subl	%eax, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_87:                                ##   Parent Loop BB0_70 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzwl	(%r12), %edi
	leal	(%rsi,%rbx), %ecx
	movslq	%ecx, %rcx
	movw	%di, (%r14,%rcx,2)
	decq	%rbx
	cmpq	%rbx, %r10
	jne	LBB0_87
## %bb.88:                              ##   in Loop: Header=BB0_70 Depth=1
	subq	%rbx, %rax
LBB0_89:                                ##   in Loop: Header=BB0_70 Depth=1
	cmpq	$3, %r15
	jb	LBB0_69
## %bb.90:                              ##   in Loop: Header=BB0_70 Depth=1
	movl	%eax, %edi
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %ebx
	subl	%eax, %ebx
	movl	-112(%rbp), %ecx                ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx def $rcx
	subl	%eax, %ecx
	addq	-208(%rbp), %rax                ## 8-byte Folded Reload
	movl	%r11d, %r15d
	subl	%edi, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_91:                                ##   Parent Loop BB0_70 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzwl	(%r12), %edi
	leal	(%r15,%r13), %r9d
	movslq	%r9d, %rdx
	movw	%di, (%r14,%rdx,2)
	movzwl	(%r12), %edx
	leal	(%rcx,%r13), %edi
	movslq	%edi, %rdi
	movw	%dx, (%r14,%rdi,2)
	movzwl	(%r12), %edx
	leal	(%rbx,%r13), %edi
	movslq	%edi, %rdi
	movw	%dx, (%r14,%rdi,2)
	movzwl	(%r12), %edx
	leal	(%rsi,%r13), %edi
	movslq	%edi, %rdi
	movw	%dx, (%r14,%rdi,2)
	addq	$-4, %r13
	cmpq	%r13, %rax
	jne	LBB0_91
	jmp	LBB0_69
LBB0_79:                                ##   in Loop: Header=BB0_70 Depth=1
	cmpq	$0, -176(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_92
## %bb.80:                              ##   in Loop: Header=BB0_70 Depth=1
	movzwl	(%r12), %eax
	movd	%eax, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movl	-128(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_81:                                ##   Parent Loop BB0_70 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	16(%rsi), %ebx
	movslq	%ebx, %rbx
	movdqu	%xmm0, -14(%r14,%rbx,2)
	movdqu	%xmm0, -30(%r14,%rbx,2)
	movslq	%esi, %rsi
	movdqu	%xmm0, -14(%r14,%rsi,2)
	movdqu	%xmm0, -30(%r14,%rsi,2)
	addq	$32, %rax
	addl	$-32, %esi
	addq	$-2, %rcx
	jne	LBB0_81
## %bb.82:                              ##   in Loop: Header=BB0_70 Depth=1
	testb	$1, -168(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_84
LBB0_83:                                ##   in Loop: Header=BB0_70 Depth=1
	movl	%r8d, %ecx
	imull	-80(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	-140(%rbp), %ecx                ## 4-byte Folded Reload
	movzwl	(%r12), %esi
	movd	%esi, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movdqu	%xmm0, -14(%r14,%rax,2)
	movdqu	%xmm0, -30(%r14,%rax,2)
LBB0_84:                                ##   in Loop: Header=BB0_70 Depth=1
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	cmpq	-136(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_69
	jmp	LBB0_85
LBB0_92:                                ##   in Loop: Header=BB0_70 Depth=1
	xorl	%eax, %eax
	testb	$1, -168(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_83
	jmp	LBB0_84
LBB0_93:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_95
## %bb.94:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_95:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_menu_main_draw_status.last_bat_read,4,2 ## @menu_main_draw_status.last_bat_read
	.section	__DATA,__data
	.p2align	2                               ## @menu_main_draw_status.last_bat_val
_menu_main_draw_status.last_bat_val:
	.long	4294967295                      ## 0xffffffff

	.comm	_g_screen_ptr,8,3               ## @g_screen_ptr
	.comm	_me_mfont_h,4,2                 ## @me_mfont_h
	.comm	_currentConfig,4,2              ## @currentConfig
	.comm	_EOPT_SHOW_RTC,4,2              ## @EOPT_SHOW_RTC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%H:%M"

	.comm	_g_screen_width,4,2             ## @g_screen_width
	.comm	_me_mfont_w,4,2                 ## @me_mfont_w
	.comm	_menu_text_color,2,1            ## @menu_text_color
	.no_dead_strip	_menu_main_draw_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_main_draw_status
_menu_main_draw_status:                 ; @menu_main_draw_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _currentConfig@GOTPAGE
Lloh4:
	ldr	x9, [x9, _currentConfig@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _EOPT_SHOW_RTC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EOPT_SHOW_RTC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_48
; %bb.1:
Lloh9:
	adrp	x8, _g_screen_ptr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_screen_ptr@GOTPAGEOFF]
Lloh11:
	ldr	x19, [x8]
Lloh12:
	adrp	x21, _me_mfont_h@GOTPAGE
Lloh13:
	ldr	x21, [x21, _me_mfont_h@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, #0
	bl	_time
	str	w0, [sp, #4]
	add	x0, sp, #4
	bl	_gmtime
	mov	x3, x0
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #16
	bl	_strftime
Lloh16:
	adrp	x23, _g_screen_width@GOTPAGE
Lloh17:
	ldr	x23, [x23, _g_screen_width@GOTPAGEOFF]
Lloh18:
	adrp	x22, _me_mfont_w@GOTPAGE
Lloh19:
	ldr	x22, [x22, _me_mfont_w@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x22]
	mov	w10, #-6
	madd	w0, w9, w10, w8
	ldr	w8, [x21]
	add	w1, w8, #2
	add	x2, sp, #8
	bl	_text_out16
	ldr	w8, [sp, #4]
	adrp	x9, _menu_main_draw_status.last_bat_read@PAGE
	ldr	w10, [x9, _menu_main_draw_status.last_bat_read@PAGEOFF]
	sub	w10, w8, w10
	adrp	x24, _menu_main_draw_status.last_bat_val@PAGE
	cmp	w10, #11
	b.lt	LBB0_3
; %bb.2:
	str	w8, [x9, _menu_main_draw_status.last_bat_read@PAGEOFF]
	bl	_plat_target_bat_capacity_get
	str	w0, [x24, _menu_main_draw_status.last_bat_val@PAGEOFF]
	cmp	w0, #100
	b.ls	LBB0_4
	b	LBB0_48
LBB0_3:
	ldr	w0, [x24, _menu_main_draw_status.last_bat_val@PAGEOFF]
	cmp	w0, #100
	b.hi	LBB0_48
LBB0_4:
	lsl	w8, w20, #1
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w11, w8, w9
	ldr	w8, [x21]
	lsl	w14, w8, #1
	add	w9, w14, #2
	ldrsw	x8, [x23]
	ldr	w16, [x22]
	sub	w15, w16, w16, lsl #2
	madd	w9, w9, w8, w8
	add	w9, w9, w15
	sub	w9, w9, #3
	sxtw	x12, w9
	add	x9, x19, w9, sxtw #1
	lsl	w13, w16, #1
Lloh20:
	adrp	x10, _menu_text_color@GOTPAGE
Lloh21:
	ldr	x10, [x10, _menu_text_color@GOTPAGEOFF]
	cmp	w16, #1
	b.lt	LBB0_21
; %bb.5:
	cmp	w13, #1
	csinc	w16, w13, wzr, gt
	cmp	w16, #32
	b.lo	LBB0_10
; %bb.6:
	add	x17, x12, x16
	add	x17, x19, x17, lsl #1
	add	x1, x10, #2
	cmp	x9, x1
	ccmp	x17, x10, #0, lo
	b.hi	LBB0_10
; %bb.7:
	and	x17, x16, #0x7fffffe0
	ld1r.8h	{ v0 }, [x10]
	add	x1, x19, x12, lsl #1
	add	x1, x1, #32
	mov	x2, x17
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x1, #-32]
	stp	q0, q0, [x1], #64
	subs	x2, x2, #32
	b.ne	LBB0_8
; %bb.9:
	cmp	x17, x16
	b.ne	LBB0_11
	b	LBB0_13
LBB0_10:
	mov	x17, #0
LBB0_11:
	add	x1, x17, x12
	add	x1, x19, x1, lsl #1
	sub	x17, x16, x17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrh	w2, [x10]
	strh	w2, [x1], #2
	subs	x17, x17, #1
	b.ne	LBB0_12
LBB0_13:
	mul	w17, w8, w11
	sxtw	x17, w17
	cmp	w16, #32
	b.lo	LBB0_18
; %bb.14:
	add	x1, x17, x12
	add	x3, x1, x16
	add	x2, x19, x1, lsl #1
	add	x1, x19, x3, lsl #1
	add	x3, x10, #2
	cmp	x2, x3
	ccmp	x1, x10, #0, lo
	b.hi	LBB0_18
; %bb.15:
	and	x1, x16, #0x7fffffe0
	ld1r.8h	{ v0 }, [x10]
	add	x2, x2, #32
	mov	x3, x1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x2, #-32]
	stp	q0, q0, [x2], #64
	subs	x3, x3, #32
	b.ne	LBB0_16
; %bb.17:
	cmp	x1, x16
	b.ne	LBB0_19
	b	LBB0_21
LBB0_18:
	mov	x1, #0
LBB0_19:
	add	x17, x1, x17
	add	x17, x17, x12
	add	x17, x19, x17, lsl #1
	sub	x16, x16, x1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrh	w1, [x10]
	strh	w1, [x17], #2
	subs	x16, x16, #1
	b.ne	LBB0_20
LBB0_21:
	cmn	w20, #1
	b.lt	LBB0_48
; %bb.22:
	mov	x2, #0
	sxtw	x17, w13
	cmp	w11, #0
	csel	w1, w11, wzr, gt
	lsl	x16, x8, #1
	cmp	w1, #31
	b.lo	LBB0_30
; %bb.23:
	cmp	w8, #1
	b.ne	LBB0_30
; %bb.24:
	mov	x2, #0
	add	w14, w15, w14
	sxtw	x15, w14
	add	x3, x17, x15
	add	x4, x3, x1
	add	x3, x19, x3, lsl #1
	add	x4, x19, x4, lsl #1
	add	x4, x4, #2
	add	x5, x19, w14, sxtw #1
	add	x14, x15, x1
	add	x14, x19, x14, lsl #1
	add	x6, x14, #2
	add	x15, x10, #2
	cmp	x3, x15
	ccmp	x4, x10, #0, lo
	cset	w14, hi
	cmp	x5, x15
	ccmp	x6, x10, #0, lo
	cset	w15, hi
	cmp	x5, x4
	ccmp	x3, x6, #2, lo
	b.lo	LBB0_30
; %bb.25:
	tbnz	w14, #0, LBB0_30
; %bb.26:
	tbnz	w15, #0, LBB0_30
; %bb.27:
	add	w14, w1, #1
	ld1r.8h	{ v0 }, [x10]
	and	x2, x14, #0x7fffffe0
	lsl	x15, x17, #1
	add	x3, x19, x12, lsl #1
	add	x3, x3, #32
	lsl	x4, x8, #6
	mov	x5, x2
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	add	x6, x3, x15
	stp	q0, q0, [x6, #-32]
	stp	q0, q0, [x6]
	stp	q0, q0, [x3, #-32]
	stp	q0, q0, [x3]
	add	x3, x3, x4
	subs	x5, x5, #32
	b.ne	LBB0_28
; %bb.29:
	cmp	x2, x14
	b.eq	LBB0_32
LBB0_30:
	mul	x14, x2, x8
	lsl	x14, x14, #1
	add	x15, x14, x17, lsl #1
	sub	x17, x1, x2
	add	x17, x17, #1
	mov	x1, x9
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldrh	w2, [x10]
	strh	w2, [x1, x15]
	strh	w2, [x1, x14]
	add	x1, x1, x16
	subs	x17, x17, #1
	b.ne	LBB0_31
LBB0_32:
	cmp	w20, #6
	b.lt	LBB0_35
; %bb.33:
	mov	w14, #4
	cmp	w11, #4
	csel	w14, w11, w14, gt
	sub	w15, w14, #1
	add	x14, x16, x12
	add	x14, x19, x14, lsl #1
	sub	x14, x14, #2
	sub	x15, x15, #2
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldrh	w17, [x10]
	sturh	w17, [x14, #-2]
	strh	w17, [x14]
	add	x14, x14, x16
	subs	x15, x15, #1
	b.ne	LBB0_34
LBB0_35:
	cmp	w20, #3
	b.lt	LBB0_48
; %bb.36:
	mov	w14, #0
	sub	w15, w13, #1
	mul	w15, w15, w0
	mov	w16, #34079
	movk	w16, #20971, lsl #16
	smull	x16, w15, w16
	lsr	x17, x16, #63
	asr	x16, x16, #37
	mov	w0, #2
	cmp	w11, #2
	csel	w11, w11, w0, gt
	add	x0, x12, #1
	add	w12, w16, w17
	sub	x17, x0, x12
	sub	x16, x12, #1
	add	w13, w8, w13
	sub	w13, w13, #1
	add	x17, x19, x17, lsl #1
	add	x0, x19, x0, lsl #1
	and	x1, x12, #0xfffffff8
	mov	w2, #1
	lsr	x3, x16, #32
	mov	x4, x13
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	add	w2, w2, #1
	add	w14, w14, #1
	add	w4, w4, w8
	cmp	w2, w11
	b.eq	LBB0_48
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_43 Depth 2
                                        ;     Child Loop BB0_47 Depth 2
	cmp	w15, #100
	b.lt	LBB0_37
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	cmp	w12, #8
	b.lo	LBB0_45
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=1
	madd	w5, w8, w14, w13
	sub	w6, w5, w16
	cmp	w6, w5
	ccmp	x3, #0, #0, le
	b.ne	LBB0_45
; %bb.41:                               ;   in Loop: Header=BB0_38 Depth=1
	sbfiz	x5, x5, #1, #32
	add	x6, x17, x5
	add	x5, x0, x5
	cmp	x5, x10
	add	x5, x10, #2
	ccmp	x6, x5, #2, hi
	b.lo	LBB0_45
; %bb.42:                               ;   in Loop: Header=BB0_38 Depth=1
	ldrh	w5, [x10]
	dup.2s	v0, w5
	mov	x5, x4
	mov	x6, x1
LBB0_43:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x7, x9, w5, sxtw #1
	mov.s	w19, v0[1]
	strh	w19, [x7]
	fmov	w19, s0
	sturh	w19, [x7, #-2]
	mov.s	w19, v0[1]
	sturh	w19, [x7, #-4]
	fmov	w19, s0
	sturh	w19, [x7, #-6]
	mov.s	w19, v0[1]
	sturh	w19, [x7, #-8]
	fmov	w19, s0
	mov.s	w20, v0[1]
	sturh	w19, [x7, #-10]
	sturh	w20, [x7, #-12]
	sturh	w19, [x7, #-14]
	sub	w5, w5, #8
	sub	x6, x6, #8
	cbnz	x6, LBB0_43
; %bb.44:                               ;   in Loop: Header=BB0_38 Depth=1
	mov	x6, x1
	cmp	x1, x12
	b.eq	LBB0_37
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	x6, #0
LBB0_46:                                ;   in Loop: Header=BB0_38 Depth=1
	sub	w5, w4, w6
	sub	x6, x12, x6
LBB0_47:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrh	w7, [x10]
	strh	w7, [x9, w5, sxtw #1]
	sub	w5, w5, #1
	subs	x6, x6, #1
	b.ne	LBB0_47
	b	LBB0_37
LBB0_48:
	ldr	x8, [sp, #24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.49:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_menu_main_draw_status.last_bat_read,4,2 ; @menu_main_draw_status.last_bat_read
	.section	__DATA,__data
	.p2align	2                               ; @menu_main_draw_status.last_bat_val
_menu_main_draw_status.last_bat_val:
	.long	4294967295                      ; 0xffffffff

	.comm	_g_screen_ptr,8,3               ; @g_screen_ptr
	.comm	_me_mfont_h,4,2                 ; @me_mfont_h
	.comm	_currentConfig,4,2              ; @currentConfig
	.comm	_EOPT_SHOW_RTC,4,2              ; @EOPT_SHOW_RTC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%H:%M"

	.comm	_g_screen_width,4,2             ; @g_screen_width
	.comm	_me_mfont_w,4,2                 ; @me_mfont_w
	.comm	_menu_text_color,2,1            ; @menu_text_color
	.no_dead_strip	_menu_main_draw_status
.subsections_via_symbols
