	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_PaintTitle
_MONTHCAL_PaintTitle:                   ## @MONTHCAL_PaintTitle
	.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	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -352(%rbp)                ## 8-byte Spill
	movq	%rcx, -360(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rcx,4), %r13
	leaq	32(%rax,%r13,8), %rsi
	movq	%rsi, -344(%rbp)                ## 8-byte Spill
	leaq	16(%rax,%r13,8), %rax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	_BrushTitle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movl	%r14d, %edi
	callq	_FillRect
	movq	16(%rbx), %rax
	movq	_MCSC_TITLEBK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edi
	callq	_SetBkColor
	movq	16(%rbx), %rax
	movq	_MCSC_TITLETEXT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edi
	callq	_SetTextColor
	movq	%rbx, -312(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	callq	_SelectObject
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_DATE_YEARMONTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-208(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	-320(%rbp), %rdx                ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_GetDateFormatW
	movq	%r12, %rdi
	callq	_strlenW
	movq	_DT_CENTER@GOTPCREL(%rip), %rcx
	movq	_DT_VCENTER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rcx), %r8d
	movq	_DT_SINGLELINE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movl	%r14d, -300(%rbp)               ## 4-byte Spill
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	callq	_DrawTextW
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_LOCALE_SYEARMONTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-288(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
	movq	%r13, -336(%rbp)                ## 8-byte Spill
	movq	-352(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax,%r13,8), %rdx
	leaq	_MONTHCAL_PaintTitle.fmtyearW(%rip), %rsi
	leaq	-326(%rbp), %rdi
	callq	_wsprintfW
	leaq	_MONTHCAL_PaintTitle.mmmmW(%rip), %rsi
	movq	%r14, %rdi
	callq	_strstrW
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_LOCALE_SMONTHNAME1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-320(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rbx
	decq	%rbx
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
	movq	-312(%rbp), %r13                ## 8-byte Reload
	cmpb	$0, -208(%rbp)
	jne	LBB0_9
	jmp	LBB0_27
LBB0_2:
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %r14
	movq	-320(%rbp), %rbx                ## 8-byte Reload
	leaq	_MONTHCAL_PaintTitle.mmmW(%rip), %rsi
	leaq	-288(%rbp), %rdi
	callq	_strstrW
	testq	%rax, %rax
	movq	-312(%rbp), %r13                ## 8-byte Reload
	je	LBB0_4
## %bb.3:
	movl	(%r14), %r14d
	movq	_LOCALE_SABBREVMONTHNAME1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	leaq	(%rax,%rcx), %rbx
	decq	%rbx
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
	cmpb	$0, -208(%rbp)
	je	LBB0_27
LBB0_9:
	xorl	%ebx, %ebx
	leaq	-326(%rbp), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rbp), %r12
	addq	$-208, %r12
	movq	%r14, %rdi
	callq	_strlenW
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmpW
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	1(%rbx), %r13
	cmpb	$0, -207(%rbp,%rbx)
	movq	%r13, %rbx
	jne	LBB0_10
## %bb.12:
	leaq	-208(,%r13), %r12
	addq	%rbp, %r12
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %r13
LBB0_14:
	xorl	%edx, %edx
	cmpb	$0, -208(%rbp)
	movl	$0, %r14d
	je	LBB0_20
## %bb.15:
	xorl	%ebx, %ebx
	leaq	-128(%rbp), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rbp), %r14
	addq	$-208, %r14
	movq	%r15, %rdi
	callq	_strlenW
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncmpW
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	1(%rbx), %r14
	cmpb	$0, -207(%rbp,%rbx)
	movq	%r14, %rbx
	jne	LBB0_16
	jmp	LBB0_19
LBB0_17:
	movq	%rbx, %r14
LBB0_19:
	xorl	%edx, %edx
LBB0_20:
	movl	$0, -296(%rbp)
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.21:
	leaq	-208(%rbp), %rsi
	leaq	-296(%rbp), %rcx
	movl	-300(%rbp), %edi                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_GetTextExtentPoint32W
	movl	-296(%rbp), %edx
LBB0_22:
	movq	-312(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %rax
	movq	-336(%rbp), %rcx                ## 8-byte Reload
	movl	%edx, 8(%rax,%rcx,8)
	movl	$0, -296(%rbp)
	testl	%r14d, %r14d
	movl	-300(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_23
## %bb.24:
	leaq	-208(%rbp), %rsi
	leaq	-296(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r14d, %edx
	callq	_GetTextExtentPoint32W
	movl	-296(%rbp), %ecx
	movq	(%r13), %rax
	jmp	LBB0_25
LBB0_23:
	xorl	%ecx, %ecx
	jmp	LBB0_25
LBB0_4:
	leaq	_MONTHCAL_PaintTitle.mmW(%rip), %rsi
	leaq	-288(%rbp), %rdi
	callq	_strstrW
	movq	(%rbx), %rdx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	_MONTHCAL_PaintTitle.fmtmmW(%rip), %rsi
	jmp	LBB0_7
LBB0_6:
	leaq	_MONTHCAL_PaintTitle.fmtmW(%rip), %rsi
LBB0_7:
	leaq	-128(%rbp), %rdi
	callq	_wsprintfW
	cmpb	$0, -208(%rbp)
	jne	LBB0_9
LBB0_27:
	movq	(%r13), %rax
	movq	-336(%rbp), %rcx                ## 8-byte Reload
	movl	$0, 8(%rax,%rcx,8)
	movl	$0, -296(%rbp)
	xorl	%ecx, %ecx
	movl	-300(%rbp), %ebx                ## 4-byte Reload
LBB0_25:
	movq	-360(%rbp), %rdx                ## 8-byte Reload
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,4), %r14
	movl	%ecx, (%rax,%r14)
	leaq	-326(%rbp), %rdi
	callq	_strlenW
	leaq	-296(%rbp), %r15
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_GetTextExtentPoint32W
	movq	(%r13), %rax
	movl	-296(%rbp), %ecx
	addl	8(%rax,%r14), %ecx
	movl	%ecx, 12(%rax,%r14)
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	callq	_strlenW
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_GetTextExtentPoint32W
	movq	(%r13), %rax
	movl	-296(%rbp), %ecx
	addl	(%rax,%r14), %ecx
	movl	%ecx, 4(%rax,%r14)
	leaq	-208(%rbp), %r12
	movq	%r12, %rdi
	callq	_strlenW
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_GetTextExtentPoint32W
	movq	-344(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movq	-352(%rbp), %rcx                ## 8-byte Reload
	movl	36(%rcx,%r14), %ecx
	movl	-296(%rbp), %edx
	addl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	addl	%ecx, %ebx
	movq	(%r13), %rax
	leaq	(%rax,%r14), %rdi
	addq	$8, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_OffsetRect
	addq	(%r13), %r14
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_OffsetRect
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.26:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_MONTHCAL_PaintTitle.mmmmW:             ## @MONTHCAL_PaintTitle.mmmmW
	.asciz	"MMMM"

_MONTHCAL_PaintTitle.mmmW:              ## @MONTHCAL_PaintTitle.mmmW
	.asciz	"MMM"

_MONTHCAL_PaintTitle.mmW:               ## @MONTHCAL_PaintTitle.mmW
	.asciz	"MM"

_MONTHCAL_PaintTitle.fmtyearW:          ## @MONTHCAL_PaintTitle.fmtyearW
	.asciz	"%ld"

_MONTHCAL_PaintTitle.fmtmmW:            ## @MONTHCAL_PaintTitle.fmtmmW
	.asciz	"%02d"

_MONTHCAL_PaintTitle.fmtmW:             ## @MONTHCAL_PaintTitle.fmtmW
	.asciz	"%d"

	.comm	_BrushTitle,8,3                 ## @BrushTitle
	.comm	_MCSC_TITLEBK,8,3               ## @MCSC_TITLEBK
	.comm	_MCSC_TITLETEXT,8,3             ## @MCSC_TITLETEXT
	.comm	_LOCALE_USER_DEFAULT,4,2        ## @LOCALE_USER_DEFAULT
	.comm	_DATE_YEARMONTH,4,2             ## @DATE_YEARMONTH
	.comm	_DT_CENTER,4,2                  ## @DT_CENTER
	.comm	_DT_VCENTER,4,2                 ## @DT_VCENTER
	.comm	_DT_SINGLELINE,4,2              ## @DT_SINGLELINE
	.comm	_LOCALE_SYEARMONTH,8,3          ## @LOCALE_SYEARMONTH
	.comm	_LOCALE_SMONTHNAME1,8,3         ## @LOCALE_SMONTHNAME1
	.comm	_LOCALE_SABBREVMONTHNAME1,8,3   ## @LOCALE_SABBREVMONTHNAME1
	.no_dead_strip	_MONTHCAL_PaintTitle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_PaintTitle
_MONTHCAL_PaintTitle:                   ; @MONTHCAL_PaintTitle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x22, x3
	mov	x20, x1
	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, #-96]
	ldr	x27, [x0]
	mov	w8, #40
	madd	x26, x3, x8, x27
	add	x21, x26, #32
	add	x23, x26, #16
	ldr	x8, [x0, #24]
Lloh3:
	adrp	x9, _BrushTitle@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BrushTitle@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x1
	mov	x1, x21
	bl	_FillRect
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _MCSC_TITLEBK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MCSC_TITLEBK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_SetBkColor
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x9, _MCSC_TITLETEXT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MCSC_TITLETEXT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_SetTextColor
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_SelectObject
Lloh12:
	adrp	x28, _LOCALE_USER_DEFAULT@GOTPAGE
Lloh13:
	ldr	x28, [x28, _LOCALE_USER_DEFAULT@GOTPAGEOFF]
	ldr	w24, [x28]
Lloh14:
	adrp	x8, _DATE_YEARMONTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DATE_YEARMONTH@GOTPAGEOFF]
Lloh16:
	ldr	w25, [x8]
	add	x0, sp, #96
	bl	_ARRAY_SIZE
	mov	x5, x0
	add	x4, sp, #96
	mov	x0, x24
	mov	x1, x25
	mov	x2, x23
	mov	x3, #0
	bl	_GetDateFormatW
	add	x0, sp, #96
	bl	_strlenW
	mov	x2, x0
Lloh17:
	adrp	x8, _DT_CENTER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DT_CENTER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _DT_VCENTER@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DT_VCENTER@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _DT_SINGLELINE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DT_SINGLELINE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w4, w8, w9
	add	x1, sp, #96
	mov	x0, x20
	mov	x3, x21
	bl	_DrawTextW
	ldr	w24, [x28]
Lloh26:
	adrp	x8, _LOCALE_SYEARMONTH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOCALE_SYEARMONTH@GOTPAGEOFF]
Lloh28:
	ldr	x25, [x8]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #16
	mov	x0, x24
	mov	x1, x25
	bl	_GetLocaleInfoW
	ldr	x2, [x26, #24]
Lloh29:
	adrp	x1, _MONTHCAL_PaintTitle.fmtyearW@PAGE
Lloh30:
	add	x1, x1, _MONTHCAL_PaintTitle.fmtyearW@PAGEOFF
	add	x0, sp, #10
	bl	_wsprintfW
Lloh31:
	adrp	x1, _MONTHCAL_PaintTitle.mmmmW@PAGE
Lloh32:
	add	x1, x1, _MONTHCAL_PaintTitle.mmmmW@PAGEOFF
	add	x0, sp, #16
	bl	_strstrW
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w24, [x28]
Lloh33:
	adrp	x8, _LOCALE_SMONTHNAME1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LOCALE_SMONTHNAME1@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh35:
	adrp	x1, _MONTHCAL_PaintTitle.mmmW@PAGE
Lloh36:
	add	x1, x1, _MONTHCAL_PaintTitle.mmmW@PAGEOFF
	add	x0, sp, #16
	bl	_strstrW
	cbz	x0, LBB0_19
; %bb.3:
	ldr	w24, [x28]
Lloh37:
	adrp	x8, _LOCALE_SABBREVMONTHNAME1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LOCALE_SABBREVMONTHNAME1@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	ldr	x9, [x23]
	add	x8, x8, x9
	sub	x23, x8, #1
	add	x0, sp, #176
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #176
	mov	x0, x24
	mov	x1, x23
	bl	_GetLocaleInfoW
	ldrb	w8, [sp, #96]
	cbz	w8, LBB0_23
LBB0_5:
	mov	x24, #0
	add	x25, sp, #96
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x25, x24
	add	x0, sp, #10
	bl	_strlenW
	mov	x2, x0
	add	x1, sp, #10
	mov	x0, x23
	bl	_strncmpW
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrb	w8, [x23, #1]
	cbnz	w8, LBB0_6
LBB0_8:
	add	x8, sp, #96
	add	x23, x8, x24
	ldrb	w8, [sp, #96]
	cbz	w8, LBB0_14
; %bb.9:
	mov	x25, #0
	add	x28, sp, #96
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x28, x25
	add	x0, sp, #176
	bl	_strlenW
	mov	x2, x0
	add	x1, sp, #176
	mov	x0, x26
	bl	_strncmpW
	cbz	w0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x25, x25, #1
	ldrb	w8, [x26, #1]
	cbnz	w8, LBB0_10
LBB0_12:
	str	wzr, [sp]
	cbz	w24, LBB0_15
LBB0_13:
	add	x1, sp, #96
	mov	x3, sp
	mov	x0, x20
	mov	x2, x24
	bl	_GetTextExtentPoint32W
	ldr	w9, [sp]
	b	LBB0_16
LBB0_14:
	mov	w25, #0
	str	wzr, [sp]
	cbnz	w24, LBB0_13
LBB0_15:
	mov	w9, #0
LBB0_16:
	ldr	x8, [x19]
	mov	w10, #40
	madd	x10, x22, x10, x8
	str	w9, [x10, #8]
	str	wzr, [sp]
	cbz	w25, LBB0_18
; %bb.17:
	add	x1, sp, #96
	mov	x3, sp
	mov	x0, x20
	mov	x2, x25
	bl	_GetTextExtentPoint32W
	ldr	w9, [sp]
	ldr	x8, [x19]
	b	LBB0_24
LBB0_18:
	mov	w9, #0
	b	LBB0_24
LBB0_19:
Lloh39:
	adrp	x1, _MONTHCAL_PaintTitle.mmW@PAGE
Lloh40:
	add	x1, x1, _MONTHCAL_PaintTitle.mmW@PAGEOFF
	add	x0, sp, #16
	bl	_strstrW
	ldr	x2, [x23]
	cbz	x0, LBB0_21
; %bb.20:
Lloh41:
	adrp	x1, _MONTHCAL_PaintTitle.fmtmmW@PAGE
Lloh42:
	add	x1, x1, _MONTHCAL_PaintTitle.fmtmmW@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh43:
	adrp	x1, _MONTHCAL_PaintTitle.fmtmW@PAGE
Lloh44:
	add	x1, x1, _MONTHCAL_PaintTitle.fmtmW@PAGEOFF
LBB0_22:
	add	x0, sp, #176
	bl	_wsprintfW
	ldrb	w8, [sp, #96]
	cbnz	w8, LBB0_5
LBB0_23:
	mov	w9, #0
	add	x23, sp, #96
	ldr	x8, [x19]
	mov	w10, #40
	madd	x10, x22, x10, x8
	str	wzr, [x10, #8]
	str	wzr, [sp]
LBB0_24:
	add	x10, x22, x22, lsl #2
	lsl	x22, x10, #3
	str	w9, [x8, x22]
	add	x0, sp, #10
	bl	_strlenW
	mov	x2, x0
	mov	x3, sp
	mov	x0, x20
	mov	x1, x23
	bl	_GetTextExtentPoint32W
	ldr	x8, [x19]
	add	x8, x8, x22
	ldr	w9, [x8, #8]
	ldr	w10, [sp]
	add	w9, w10, w9
	str	w9, [x8, #12]
	add	x0, sp, #176
	bl	_strlenW
	mov	x2, x0
	add	x1, sp, #176
	mov	x3, sp
	mov	x0, x20
	bl	_GetTextExtentPoint32W
	ldr	x8, [x19]
	add	x8, x8, x22
	ldr	w9, [x8]
	ldr	w10, [sp]
	add	w9, w10, w9
	str	w9, [x8, #4]
	add	x0, sp, #96
	bl	_strlenW
	mov	x2, x0
	add	x1, sp, #96
	mov	x3, sp
	mov	x0, x20
	bl	_GetTextExtentPoint32W
	ldr	w8, [x21]
	add	x9, x27, x22
	ldr	w9, [x9, #36]
	ldr	w10, [sp]
	add	w10, w9, w10
	sub	w8, w8, w10
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w20, w9, w8, asr #1
	ldr	x8, [x19]
	add	x8, x8, x22
	add	x0, x8, #8
	mov	x1, x20
	mov	w2, #0
	bl	_OffsetRect
	ldr	x8, [x19]
	add	x0, x8, x22
	mov	x1, x20
	mov	w2, #0
	bl	_OffsetRect
	ldur	x8, [x29, #-96]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_MONTHCAL_PaintTitle.mmmmW:             ; @MONTHCAL_PaintTitle.mmmmW
	.asciz	"MMMM"

_MONTHCAL_PaintTitle.mmmW:              ; @MONTHCAL_PaintTitle.mmmW
	.asciz	"MMM"

_MONTHCAL_PaintTitle.mmW:               ; @MONTHCAL_PaintTitle.mmW
	.asciz	"MM"

_MONTHCAL_PaintTitle.fmtyearW:          ; @MONTHCAL_PaintTitle.fmtyearW
	.asciz	"%ld"

_MONTHCAL_PaintTitle.fmtmmW:            ; @MONTHCAL_PaintTitle.fmtmmW
	.asciz	"%02d"

_MONTHCAL_PaintTitle.fmtmW:             ; @MONTHCAL_PaintTitle.fmtmW
	.asciz	"%d"

	.comm	_BrushTitle,8,3                 ; @BrushTitle
	.comm	_MCSC_TITLEBK,8,3               ; @MCSC_TITLEBK
	.comm	_MCSC_TITLETEXT,8,3             ; @MCSC_TITLETEXT
	.comm	_LOCALE_USER_DEFAULT,4,2        ; @LOCALE_USER_DEFAULT
	.comm	_DATE_YEARMONTH,4,2             ; @DATE_YEARMONTH
	.comm	_DT_CENTER,4,2                  ; @DT_CENTER
	.comm	_DT_VCENTER,4,2                 ; @DT_VCENTER
	.comm	_DT_SINGLELINE,4,2              ; @DT_SINGLELINE
	.comm	_LOCALE_SYEARMONTH,8,3          ; @LOCALE_SYEARMONTH
	.comm	_LOCALE_SMONTHNAME1,8,3         ; @LOCALE_SMONTHNAME1
	.comm	_LOCALE_SABBREVMONTHNAME1,8,3   ; @LOCALE_SABBREVMONTHNAME1
	.no_dead_strip	_MONTHCAL_PaintTitle
.subsections_via_symbols
