	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_HitTest
_DATETIME_HitTest:                      ## @DATETIME_HitTest
	.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	%rdi, %r14
	movl	%esi, -28(%rbp)
	leaq	-28(%rbp), %rdi
	callq	_wine_dbgstr_point
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	leaq	20(%r14), %rdi
	movl	-28(%rbp), %esi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DTHT_MCPOPUP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	leaq	16(%r14), %rdi
	movl	-28(%rbp), %esi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	_DTHT_CHECKBOX@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%r15, %rdi
	movl	-28(%rbp), %esi
	callq	_PtInRect
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_7:
	movq	_DTHT_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_DTHT_MCPOPUP,4,2               ## @DTHT_MCPOPUP
	.comm	_DTHT_CHECKBOX,4,2              ## @DTHT_CHECKBOX
	.comm	_DTHT_NONE,4,2                  ## @DTHT_NONE
	.no_dead_strip	_DATETIME_HitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_HitTest
_DATETIME_HitTest:                      ; @DATETIME_HitTest
	.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	x19, x0
	str	w1, [sp, #12]
	add	x0, sp, #12
	bl	_wine_dbgstr_point
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x0, x19, #20
	ldr	w1, [sp, #12]
	bl	_PtInRect
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _DTHT_MCPOPUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DTHT_MCPOPUP@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	add	x0, x19, #16
	ldr	w1, [sp, #12]
	bl	_PtInRect
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _DTHT_CHECKBOX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DTHT_CHECKBOX@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x21, #0
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	ldr	w1, [sp, #12]
	bl	_PtInRect
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x21, x21, #4
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_8:
Lloh6:
	adrp	x8, _DTHT_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTHT_NONE@GOTPAGEOFF]
LBB0_9:
	ldr	w20, [x8]
LBB0_10:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_DTHT_MCPOPUP,4,2               ; @DTHT_MCPOPUP
	.comm	_DTHT_CHECKBOX,4,2              ; @DTHT_CHECKBOX
	.comm	_DTHT_NONE,4,2                  ; @DTHT_NONE
	.no_dead_strip	_DATETIME_HitTest
.subsections_via_symbols
