	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_GetMonth
_MONTHCAL_GetMonth:                     ## @MONTHCAL_GetMonth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	addl	(%rdi), %eax
	jle	LBB0_2
## %bb.1:
	decl	%eax
	movl	$2863311531, %ecx               ## imm = 0xAAAAAAAB
	imulq	%rax, %rcx
	shrq	$35, %rcx
	movl	8(%rbx), %esi
	addl	%ecx, %esi
	movl	%esi, 8(%rbx)
	shll	$2, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %eax
	incl	%eax
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %ecx
	negl	%ecx
	movl	$2863311531, %edx               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,2), %ecx
	movl	%edx, %esi
	notl	%esi
	addl	8(%rbx), %esi
	movl	%esi, 8(%rbx)
	leal	(%rax,%rcx,4), %eax
	addl	$12, %eax
LBB0_3:
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_MONTHCAL_MonthLength
	cmpl	%eax, 4(%rbx)
	jle	LBB0_5
## %bb.4:
	movl	%eax, 4(%rbx)
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MONTHCAL_CalculateDayOfWeek    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_MONTHCAL_GetMonth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_GetMonth
_MONTHCAL_GetMonth:                     ; @MONTHCAL_GetMonth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	add	w9, w8, w1
	subs	w8, w9, #1
	b.lt	LBB0_2
; %bb.1:
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #35
	ldr	w10, [x19, #8]
	add	w1, w10, w9
	str	w1, [x19, #8]
	mov	w10, #12
	msub	w8, w9, w10, w8
	add	w0, w8, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #43691
	movk	w8, #43690, lsl #16
	neg	w9, w9
	neg	w10, w9
	umull	x8, w9, w8
	lsr	x8, x8, #35
	mvn	w9, w8
	ldr	w11, [x19, #8]
	add	w1, w11, w9
	str	w1, [x19, #8]
	mov	w9, #12
	madd	w8, w8, w9, w10
	add	w0, w8, #12
LBB0_3:
	str	w0, [x19]
	bl	_MONTHCAL_MonthLength
	ldr	w8, [x19, #4]
	cmp	w8, w0
	b.le	LBB0_5
; %bb.4:
	str	w0, [x19, #4]
LBB0_5:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MONTHCAL_CalculateDayOfWeek
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_MONTHCAL_GetMonth
.subsections_via_symbols
