	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkweekdays
_mkweekdays:                            ## @mkweekdays
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-80(%rbp), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_wcsncat
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rdi
	leaq	l_.str.1(%rip), %rsi
	movl	$1, %edx
	callq	_wcsncat
	movq	%r12, %r13
	cmpq	$7, %r12
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %r12
	cmpq	$6, %r13
	movl	%r12d, %eax
	movl	$0, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -88(%rbp)
	movq	%rbx, %rdi
	movl	$20, %esi
	leaq	l_.str(%rip), %rdx
	leaq	-88(%rbp), %rcx
	callq	_wcsftime
	movl	$2, %r14d
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_wcswidth
	movl	%eax, %r15d
	cmpl	$3, %eax
	jl	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-80(%rbp), %rdi
	movl	$1, %esi
	callq	_wcswidth
	movl	%eax, %r15d
	xorl	%r14d, %r14d
	cmpl	$3, %eax
	setl	%r14b
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_wmemset
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rdi
	cmpl	$1, %r15d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$32, (%rdi)
	jmp	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	97                              ## 0x61
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.1
l_.str.1:
	.long	32                              ## 0x20
	.long	0                               ## 0x0

	.no_dead_strip	_mkweekdays
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkweekdays
_mkweekdays:                            ; @mkweekdays
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x25, #0
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	w24, #32
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #4
	mov	x2, x22
	bl	_wcsncat
	ldr	x8, [x19]
	ldr	x0, [x8, x25, lsl #3]
	mov	x1, x21
	mov	w2, #1
	bl	_wcsncat
	mov	x25, x26
	cmp	x26, #7
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x25, #1
	cmp	x25, #6
	csel	w8, wzr, w26, eq
	str	w8, [sp]
	add	x0, sp, #4
	mov	x3, sp
	mov	w1, #20
	mov	x2, x20
	bl	_wcsftime
	mov	w22, #2
	add	x0, sp, #4
	mov	w1, #2
	bl	_wcswidth
	cmp	w0, #3
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #4
	mov	w1, #1
	bl	_wcswidth
	mov	x23, x0
	cmp	w0, #3
	cset	w22, lt
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	lsl	x27, x25, #3
	ldr	x0, [x8, x27]
	mov	w1, #0
	mov	w2, #4
	bl	_wmemset
	ldr	x8, [x19]
	ldr	x0, [x8, x27]
	cmp	w23, #1
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w24, [x0]
	b	LBB0_1
LBB0_7:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	97                              ; 0x61
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.1
l_.str.1:
	.long	32                              ; 0x20
	.long	0                               ; 0x0

	.no_dead_strip	_mkweekdays
.subsections_via_symbols
