	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkmonthb
_mkmonthb:                              ## @mkmonthb
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r14d
	xorl	%r15d, %r15d
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	sete	%al
	jne	LBB0_1
## %bb.2:
	movq	_daystr@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_jdaystr@GOTPCREL(%rip), %rcx
LBB0_3:
	movb	%al, %r15b
	movl	$4, -44(%rbp)                   ## 4-byte Folded Spill
	movq	(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r12d, -88(%rbp)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	leaq	l_.str(%rip), %rdx
	movl	$2, %esi
	movq	%r13, %rcx
	callq	_wcsftime
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_towupper
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, -64(%rbp)
	leal	1(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	$1, -56(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_sndaysb
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	cmpl	$11, %r12d
	jne	LBB0_5
## %bb.4:
	leal	1(%r14), %eax
	movl	%eax, -64(%rbp)
	movl	$1, %r12d
	jmp	LBB0_6
LBB0_5:
	movl	%r14d, -64(%rbp)
	addl	$2, %r12d
LBB0_6:
	subl	%r15d, -44(%rbp)                ## 4-byte Folded Spill
	movl	%r12d, -60(%rbp)
	movl	$1, -56(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_sndaysb
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.8:
	movl	%r14d, -64(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -60(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_sndaysb
	movl	$1, %ecx
	subl	%eax, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
LBB0_7:
	movl	$1, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
LBB0_9:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_weekday
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	incl	%ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rdx        ## imm = 0x92492493
	shrq	$32, %rdx
	addl	%edx, %eax
	incl	%eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$2, %eax
	addl	%edx, %eax
	leal	(,%rax,8), %edx
	subl	%eax, %edx
	subl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	leaq	(%r15,%r15), %rax
	leaq	(%rax,%rax,2), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	incq	%rax
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	movb	$0, (%rax)
	movl	-48(%rbp), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx,%r13,4)
	incq	%r13
	cmpq	$6, %r13
	je	LBB0_28
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	$0, -48(%rbp)
	leal	(,%r13,8), %r14d
	subl	%r13d, %r14d
	addl	-92(%rbp), %r14d                ## 4-byte Folded Reload
	cmpl	-84(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	-80(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	-48(%rbp), %rdi
	addq	(%rax,%r13,8), %rdi
	addq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%r14d, %eax
	movl	%eax, -56(%rbp)
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r14d, %edi
	leaq	-64(%rbp), %rsi
	callq	_sdateb
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rdi
	movq	_highlightdate@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	_flag_nohighlight@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	addq	%rbx, %rdi
	movslq	-56(%rbp), %rax
	movq	%r15, %rsi
	imulq	%rax, %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	leaq	-48(%rbp), %rcx
	callq	_highlight
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movslq	-48(%rbp), %rax
	addq	%rax, %rdi
	addq	%rbx, %rdi
	movslq	-56(%rbp), %rax
	movq	%r15, %rsi
	imulq	%rax, %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=2
	incl	%r14d
	leaq	(%rbx,%r15), %rax
	cmpl	-84(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	%rbx, %r12
	movq	%rax, %rbx
	jne	LBB0_12
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	testl	%eax, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	addl	-48(%rbp), %eax
	movq	(%rbx), %rcx
	cltq
	addq	(%rcx,%r13,8), %rax
	jmp	LBB0_27
LBB0_28:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jdaystr,8,3                    ## @jdaystr
	.comm	_daystr,8,3                     ## @daystr
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	79                              ## 0x4f
	.long	66                              ## 0x42
	.long	0                               ## 0x0

	.comm	_highlightdate,4,2              ## @highlightdate
	.comm	_flag_nohighlight,4,2           ## @flag_nohighlight
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"    "

	.no_dead_strip	_mkmonthb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkmonthb
_mkmonthb:                              ; @mkmonthb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	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
	.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	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
	cmp	w2, #0
	mov	w8, #3
	cinc	w21, w8, ne
Lloh0:
	adrp	x8, _daystr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _daystr@GOTPAGEOFF]
Lloh2:
	adrp	x9, _jdaystr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _jdaystr@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x26, [x8]
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w23, [sp, #56]
	ldr	x0, [x19, #16]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #56
	mov	w1, #2
	bl	_wcsftime
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_towupper
	ldr	x8, [x19, #16]
	str	w0, [x8]
	add	w8, w23, #1
	stp	w24, w8, [sp, #40]
	mov	w8, #1
	str	w8, [sp, #48]
	add	x0, sp, #40
	bl	_sndaysb
	mov	x22, x0
	cmp	w23, #11
	b.ne	LBB0_2
; %bb.1:
	add	w8, w24, #1
	str	w8, [sp, #40]
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	str	w24, [sp, #40]
	add	w8, w23, #2
LBB0_3:
	mov	w25, #1
	stp	w8, w25, [sp, #44]
	add	x0, sp, #40
	bl	_sndaysb
	mov	x23, x0
	cbz	w20, LBB0_5
; %bb.4:
	str	w24, [sp, #40]
	movi.2s	v0, #1
	stur	d0, [sp, #44]
	add	x0, sp, #40
	bl	_sndaysb
	sub	w25, w25, w0
	str	w25, [sp, #32]                  ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
LBB0_6:
	mov	x0, x22
	bl	_weekday
	mov	x28, #0
	add	w8, w0, #1
	mov	w9, #9363
	movk	w9, #37449, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #2
	add	w9, w10, w9, lsr #31
	lsl	w10, w9, #3
	sub	w9, w10, w9
	sub	w8, w9, w8
	add	w11, w22, w8
	add	x8, x21, w21, uxtw #1
	lsl	x27, x8, #1
	mov	x8, x21
	sxtw	x9, w8
	mov	x8, x21
	sxtw	x8, w8
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	str	w11, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x28, lsl #3]
	add	x8, x8, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	strb	wzr, [x8]
	ldr	w8, [sp, #36]
	ldr	x9, [x19, #8]
	str	w8, [x9, x28, lsl #2]
	add	x28, x28, #1
	cmp	x28, #6
	b.eq	LBB0_24
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	str	wzr, [sp, #36]
	lsl	w8, w28, #3
	sub	w8, w8, w28
	add	w25, w11, w8
	cmp	w25, w23
	b.ge	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, #0
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w25, w22
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19]
	ldr	x8, [x8, x28, lsl #3]
	ldrsw	x9, [sp, #36]
	add	x8, x8, x9
	add	x0, x8, x24
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	cbz	w20, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	add	w8, w8, w25
	str	w8, [sp, #48]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #40
	mov	x0, x25
	bl	_sdateb
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh8:
	adrp	x8, _highlightdate@GOTPAGE
Lloh9:
	ldr	x8, [x8, _highlightdate@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
Lloh11:
	adrp	x8, _flag_nohighlight@GOTPAGE
Lloh12:
	ldr	x8, [x8, _flag_nohighlight@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8, x28, lsl #3]
	cmp	w25, w9
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrsw	x9, [sp, #36]
	add	x8, x8, x9
	add	x0, x8, x24
	ldrsw	x8, [sp, #48]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	madd	x1, x8, x9, x26
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x2, x21
	bl	_memcpy
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x0, x8, x24
	ldrsw	x8, [sp, #48]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	madd	x1, x8, x9, x26
	add	x3, sp, #36
	mov	x2, x21
	bl	_highlight
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w25, w25, #1
	add	x8, x24, x21
	cmp	w25, w23
	b.ge	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	x27, x24
	mov	x24, x8
	b.ne	LBB0_11
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w8, LBB0_7
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19]
	ldr	x9, [x9, x28, lsl #3]
	ldr	w10, [sp, #36]
	add	w8, w10, w8
	add	x8, x9, w8, sxtw
	b	LBB0_8
LBB0_24:
	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
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_jdaystr,8,3                    ; @jdaystr
	.comm	_daystr,8,3                     ; @daystr
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	79                              ; 0x4f
	.long	66                              ; 0x42
	.long	0                               ; 0x0

	.comm	_highlightdate,4,2              ; @highlightdate
	.comm	_flag_nohighlight,4,2           ; @flag_nohighlight
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"    "

	.no_dead_strip	_mkmonthb
.subsections_via_symbols
