	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_SetDayFocus
_MONTHCAL_SetDayFocus:                  ## @MONTHCAL_SetDayFocus
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_MONTHCAL_IsDateEqual
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_11
LBB0_3:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$-1, %ecx
	callq	_MONTHCAL_GetDayRect
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	4(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rsi
	callq	_InvalidateRect
LBB0_5:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_6:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$-1, %ecx
	callq	_MONTHCAL_GetDayRect
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	4(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rsi
	callq	_InvalidateRect
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %r15
	testq	%r14, %r14
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_MONTHCAL_ValidateDate
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_st_null@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_11:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_st_null,4,2                    ## @st_null
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_MONTHCAL_SetDayFocus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_SetDayFocus
_MONTHCAL_SetDayFocus:                  ; @MONTHCAL_SetDayFocus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_MONTHCAL_IsDateEqual
Lloh0:
	adrp	x21, _FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	cbnz	x0, LBB0_11
; %bb.2:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x19
	mov	w3, #-1
	bl	_MONTHCAL_GetDayRect
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w2, [x21]
	add	x1, sp, #12
	bl	_InvalidateRect
LBB0_4:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_5:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x19
	mov	w3, #-1
	bl	_MONTHCAL_GetDayRect
	cbz	x0, LBB0_7
; %bb.6:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_InvalidateRect
LBB0_7:
	cbnz	x20, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_MONTHCAL_ValidateDate
	cbz	x0, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _st_null@GOTPAGE
Lloh6:
	ldr	x8, [x8, _st_null@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_10:
Lloh8:
	adrp	x21, _TRUE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_st_null,4,2                    ; @st_null
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_MONTHCAL_SetDayFocus
.subsections_via_symbols
