	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initialise_months              ## -- Begin function initialise_months
	.p2align	4, 0x90
_initialise_months:                     ## @initialise_months
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ABMON_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, -96(%rbp)
	movq	_ABMON_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_ABMON_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_ABMON_4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_ABMON_5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_ABMON_6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_ABMON_7@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_ABMON_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_ABMON_9@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_ABMON_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_ABMON_11@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_ABMON_12@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_12
## %bb.1:
	movq	_cmonths@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_25
## %bb.2:
	movl	$96, %edi
	callq	_sort_malloc
	movq	%rax, (%r13)
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	$0, (%rax,%r12,8)
	movl	%r15d, %edi
	callq	_nl_langinfo
	movq	%rax, %r15
	movq	_debug_sort@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_printf
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%r15)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sort_strdup
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%r14), %edi
	callq	_toupper
	movb	%al, (%rbx,%r14)
	incl	%r14d
	cmpq	%r14, %r15
	ja	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	%rbx, (%rax,%r12,8)
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	$12, %r12
	je	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	-96(%rbp,%r12,4), %r15d
	jmp	LBB0_3
LBB0_12:
	movq	_wmonths@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_13
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	$96, %edi
	callq	_sort_malloc
	movq	%rax, (%rbx)
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movq	$0, (%rax,%r12,8)
	movl	%r15d, %edi
	callq	_nl_langinfo
	movq	%rax, %r13
	movq	_debug_sort@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movq	%r13, %rdx
	callq	_printf
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, (%r13)
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	movq	%rax, %r15
	leaq	1(%rax), %rdi
	callq	_SIZEOF_WCHAR_STRING
	movl	%eax, %edi
	callq	_sort_malloc
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_mbstowcs
	cmpq	$-1, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %r13
	movl	$0, (%r14,%r15,4)
	testq	%r15, %r15
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%rbx,4), %edi
	callq	_towupper
	movl	%eax, (%r14,%rbx,4)
	incl	%ebx
	cmpq	%rbx, %r15
	ja	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rbx
	movq	(%r13), %rax
	movq	%r14, (%rax,%r12,8)
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	callq	_sort_free
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	cmpq	$12, %r12
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rax
	movl	-96(%rbp,%r12,4), %r15d
	jmp	LBB0_14
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ABMON_1,4,2                    ## @ABMON_1
	.comm	_ABMON_2,4,2                    ## @ABMON_2
	.comm	_ABMON_3,4,2                    ## @ABMON_3
	.comm	_ABMON_4,4,2                    ## @ABMON_4
	.comm	_ABMON_5,4,2                    ## @ABMON_5
	.comm	_ABMON_6,4,2                    ## @ABMON_6
	.comm	_ABMON_7,4,2                    ## @ABMON_7
	.comm	_ABMON_8,4,2                    ## @ABMON_8
	.comm	_ABMON_9,4,2                    ## @ABMON_9
	.comm	_ABMON_10,4,2                   ## @ABMON_10
	.comm	_ABMON_11,4,2                   ## @ABMON_11
	.comm	_ABMON_12,4,2                   ## @ABMON_12
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
	.comm	_cmonths,8,3                    ## @cmonths
	.comm	_debug_sort,8,3                 ## @debug_sort
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"month[%d]=%s\n"

	.comm	_wmonths,8,3                    ## @wmonths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initialise_months              ; -- Begin function initialise_months
	.p2align	2
_initialise_months:                     ; @initialise_months
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _ABMON_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ABMON_1@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ABMON_2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ABMON_2@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	ldr	w8, [x9]
	stp	w21, w8, [sp, #8]
Lloh9:
	adrp	x8, _ABMON_3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABMON_3@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ABMON_4@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ABMON_4@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh15:
	adrp	x8, _ABMON_5@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ABMON_5@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _ABMON_6@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ABMON_6@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh21:
	adrp	x8, _ABMON_7@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ABMON_7@GOTPAGEOFF]
Lloh23:
	adrp	x9, _ABMON_8@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ABMON_8@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #32]
Lloh27:
	adrp	x8, _ABMON_9@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ABMON_9@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _ABMON_10@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ABMON_10@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #40]
Lloh33:
	adrp	x8, _ABMON_11@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ABMON_11@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _ABMON_12@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ABMON_12@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
Lloh39:
	adrp	x8, _MB_CUR_MAX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.1:
Lloh42:
	adrp	x23, _cmonths@GOTPAGE
Lloh43:
	ldr	x23, [x23, _cmonths@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_13
; %bb.2:
	mov	w0, #96
	bl	_sort_malloc
	mov	x19, #0
	str	x0, [x23]
Lloh44:
	adrp	x24, _debug_sort@GOTPAGE
Lloh45:
	ldr	x24, [x24, _debug_sort@GOTPAGEOFF]
	add	x25, sp, #8
Lloh46:
	adrp	x20, l_.str@PAGE
Lloh47:
	add	x20, x20, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	str	xzr, [x0, x19, lsl #3]
	mov	x0, x21
	bl	_nl_langinfo
	mov	x22, x0
	ldr	x8, [x24]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_printf
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_sort_strdup
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	mov	x26, #0
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x21, x26]
	bl	_toupper
	strb	w0, [x21, x26]
	add	w26, w26, #1
	cmp	x22, x26
	b.hi	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	str	x21, [x8, x19, lsl #3]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	cmp	x19, #12
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23]
	ldr	w21, [x25, x19, lsl #2]
	b	LBB0_3
LBB0_12:
Lloh48:
	adrp	x24, _wmonths@GOTPAGE
Lloh49:
	ldr	x24, [x24, _wmonths@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_15
LBB0_13:
	ldr	x8, [sp, #56]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.14:
	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
LBB0_15:
	mov	w0, #96
	bl	_sort_malloc
	mov	x19, #0
	str	x0, [x24]
Lloh53:
	adrp	x25, _debug_sort@GOTPAGE
Lloh54:
	ldr	x25, [x25, _debug_sort@GOTPAGEOFF]
	add	x26, sp, #8
Lloh55:
	adrp	x20, l_.str@PAGE
Lloh56:
	add	x20, x20, l_.str@PAGEOFF
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	str	xzr, [x0, x19, lsl #3]
	mov	x0, x21
	bl	_nl_langinfo
	mov	x23, x0
	ldr	x8, [x25]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_printf
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_strlen
	mov	x21, x0
	add	x0, x0, #1
	bl	_SIZEOF_WCHAR_STRING
	bl	_sort_malloc
	mov	x22, x0
	mov	x1, x23
	mov	x2, x21
	bl	_mbstowcs
	cmn	x0, #1
	b.eq	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	str	wzr, [x22, x21, lsl #2]
	cbz	x21, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, #0
LBB0_22:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x27, x23, #2
	ldr	w0, [x22, x27]
	bl	_towupper
	str	w0, [x22, x27]
	add	w23, w23, #1
	cmp	x21, x23
	b.hi	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x24]
	str	x22, [x8, x19, lsl #3]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x22
	bl	_sort_free
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x19, x19, #1
	cmp	x19, #12
	b.eq	LBB0_13
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x24]
	ldr	w21, [x26, x19, lsl #2]
	b	LBB0_16
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_ABMON_1,4,2                    ; @ABMON_1
	.comm	_ABMON_2,4,2                    ; @ABMON_2
	.comm	_ABMON_3,4,2                    ; @ABMON_3
	.comm	_ABMON_4,4,2                    ; @ABMON_4
	.comm	_ABMON_5,4,2                    ; @ABMON_5
	.comm	_ABMON_6,4,2                    ; @ABMON_6
	.comm	_ABMON_7,4,2                    ; @ABMON_7
	.comm	_ABMON_8,4,2                    ; @ABMON_8
	.comm	_ABMON_9,4,2                    ; @ABMON_9
	.comm	_ABMON_10,4,2                   ; @ABMON_10
	.comm	_ABMON_11,4,2                   ; @ABMON_11
	.comm	_ABMON_12,4,2                   ; @ABMON_12
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
	.comm	_cmonths,8,3                    ; @cmonths
	.comm	_debug_sort,8,3                 ; @debug_sort
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"month[%d]=%s\n"

	.comm	_wmonths,8,3                    ; @wmonths
.subsections_via_symbols
