	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_PaintFocusAndCircle
_MONTHCAL_PaintFocusAndCircle:          ## @MONTHCAL_PaintFocusAndCircle
	.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
	pushq	%rax
	.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, %r13
	movq	_MCS_NOTODAYCIRCLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_6:
	leaq	4(%r13), %r15
	movq	_st_null@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_MONTHCAL_IsDateEqual
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	-44(%rbp), %r12
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$-1, %ecx
	callq	_MONTHCAL_GetDayRect
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_DrawFocusRect
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, %rdi
	callq	_MONTHCAL_GetCalCount
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	8(%r13), %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	callq	_MONTHCAL_CompareMonths
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_MONTHCAL_GetCalCount
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_MONTHCAL_CircleDay
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MCS_NOTODAYCIRCLE,4,2          ## @MCS_NOTODAYCIRCLE
	.comm	_st_null,4,2                    ## @st_null
	.no_dead_strip	_MONTHCAL_PaintFocusAndCircle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_PaintFocusAndCircle
_MONTHCAL_PaintFocusAndCircle:          ; @MONTHCAL_PaintFocusAndCircle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MCS_NOTODAYCIRCLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCS_NOTODAYCIRCLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_1:
	add	x21, x20, #4
Lloh3:
	adrp	x1, _st_null@GOTPAGE
Lloh4:
	ldr	x1, [x1, _st_null@GOTPAGEOFF]
	mov	x0, x21
	bl	_MONTHCAL_IsDateEqual
	cbnz	w0, LBB0_3
; %bb.2:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	w3, #-1
	bl	_MONTHCAL_GetDayRect
	add	x1, sp, #12
	mov	x0, x19
	bl	_DrawFocusRect
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x0, x20
	bl	_MONTHCAL_GetCalCount
	cbz	x0, LBB0_1
; %bb.5:
	mov	x22, #0
	mov	x23, #0
	add	x21, x20, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x1, x8, x22
	mov	x0, x21
	bl	_MONTHCAL_CompareMonths
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	mov	x0, x20
	bl	_MONTHCAL_GetCalCount
	add	x22, x22, #4
	cmp	x23, x0
	b.lo	LBB0_6
	b	LBB0_1
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_MONTHCAL_CircleDay
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MCS_NOTODAYCIRCLE,4,2          ; @MCS_NOTODAYCIRCLE
	.comm	_st_null,4,2                    ; @st_null
	.no_dead_strip	_MONTHCAL_PaintFocusAndCircle
.subsections_via_symbols
