	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_SetFocus
_DATETIME_SetFocus:                     ## @DATETIME_SetFocus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_IsWindowVisible
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShowWindow
	movq	_DTN_CLOSEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_DATETIME_SendSimpleNotify
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	jmp	LBB0_7
LBB0_4:
	cmpq	$0, 8(%r14)
	jne	LBB0_6
## %bb.5:
	movq	_NM_SETFOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_DATETIME_SendSimpleNotify
	movq	_DTHT_GOTFOCUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_6:
	movl	16(%r14), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got focus from %p\n"

	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_DTN_CLOSEUP,4,2                ## @DTN_CLOSEUP
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_NM_SETFOCUS,4,2                ## @NM_SETFOCUS
	.comm	_DTHT_GOTFOCUS,8,3              ## @DTHT_GOTFOCUS
	.no_dead_strip	_DATETIME_SetFocus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_SetFocus
_DATETIME_SetFocus:                     ; @DATETIME_SetFocus
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x8, [x19]
	cmp	x8, #0
	ccmp	x8, x20, #0, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_IsWindowVisible
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_ShowWindow
Lloh5:
	adrp	x8, _DTN_CLOSEUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DTN_CLOSEUP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DATETIME_SendSimpleNotify
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _NM_SETFOCUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NM_SETFOCUS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DATETIME_SendSimpleNotify
Lloh14:
	adrp	x8, _DTHT_GOTFOCUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DTHT_GOTFOCUS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_5:
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_InvalidateRect
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got focus from %p\n"

	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_DTN_CLOSEUP,4,2                ; @DTN_CLOSEUP
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_NM_SETFOCUS,4,2                ; @NM_SETFOCUS
	.comm	_DTHT_GOTFOCUS,8,3              ; @DTHT_GOTFOCUS
	.no_dead_strip	_DATETIME_SetFocus
.subsections_via_symbols
