	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_StyleChanged
_DATETIME_StyleChanged:                 ## @DATETIME_StyleChanged
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdx), %edx
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_13
## %bb.1:
	movl	4(%r15), %esi
	movl	%esi, (%r14)
	movl	(%r15), %eax
	movq	_DTS_SHOWNONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	%eax, %edx
	jne	LBB0_4
## %bb.2:
	andl	%ecx, %esi
	je	LBB0_4
## %bb.3:
	movq	_WS_CHILD@GOTPCREL(%rip), %rax
	movq	_WS_VISIBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_WC_BUTTONW@GOTPCREL(%rip), %rax
	movq	_BS_AUTOCHECKBOX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movl	(%rax), %r12d
	movl	4(%r14), %r13d
	movq	_GWLP_HINSTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_GetWindowLongPtrW
	xorl	%edi, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	$2, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	%rax
	pushq	$0
	pushq	%r13
	pushq	$13
	pushq	$13
	callq	_CreateWindowExW
	addq	$48, %rsp
	movq	%rax, 16(%r14)
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	cmpq	$0, 24(%r14)
	setne	%dl
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movl	(%r15), %eax
	movq	_DTS_SHOWNONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	%eax, %edx
LBB0_4:
	testl	%edx, %edx
	je	LBB0_7
## %bb.5:
	testl	%ecx, 4(%r15)
	jne	LBB0_7
## %bb.6:
	movq	16(%r14), %rdi
	callq	_DestroyWindow
	movq	$0, 16(%r14)
	movl	(%r15), %eax
LBB0_7:
	movq	_DTS_UPDOWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_8
LBB0_10:
	testl	%ecx, 4(%r15)
	jne	LBB0_12
## %bb.11:
	movq	8(%r14), %rdi
	callq	_DestroyWindow
	movq	$0, 8(%r14)
	jmp	LBB0_12
LBB0_8:
	testl	%ecx, 4(%r15)
	je	LBB0_12
## %bb.9:
	movq	_WS_CHILD@GOTPCREL(%rip), %rax
	movq	_WS_BORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_WS_VISIBLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	4(%r14), %r9d
	movq	_UD_MAXVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_UD_MINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	$120, %esi
	movl	$1, %edx
	movl	$20, %ecx
	movl	$20, %r8d
	pushq	$0
	pushq	%rax
	pushq	%r10
	pushq	$0
	pushq	$0
	pushq	$1
	callq	_CreateUpDownControl
	addq	$48, %rsp
	movq	%rax, 8(%r14)
	movl	(%rbx), %ecx
	testl	%ecx, (%r15)
	jne	LBB0_10
LBB0_12:
	movl	4(%r14), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(styletype=%lx, styleOld=0x%08x, styleNew=0x%08x)\n"

	.comm	_GWL_STYLE,8,3                  ## @GWL_STYLE
	.comm	_DTS_SHOWNONE,4,2               ## @DTS_SHOWNONE
	.comm	_WC_BUTTONW,4,2                 ## @WC_BUTTONW
	.comm	_WS_CHILD,4,2                   ## @WS_CHILD
	.comm	_WS_VISIBLE,4,2                 ## @WS_VISIBLE
	.comm	_BS_AUTOCHECKBOX,4,2            ## @BS_AUTOCHECKBOX
	.comm	_GWLP_HINSTANCE,4,2             ## @GWLP_HINSTANCE
	.comm	_BM_SETCHECK,4,2                ## @BM_SETCHECK
	.comm	_DTS_UPDOWN,4,2                 ## @DTS_UPDOWN
	.comm	_WS_BORDER,4,2                  ## @WS_BORDER
	.comm	_UD_MAXVAL,4,2                  ## @UD_MAXVAL
	.comm	_UD_MINVAL,4,2                  ## @UD_MINVAL
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_DATETIME_StyleChanged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_StyleChanged
_DATETIME_StyleChanged:                 ; @DATETIME_StyleChanged
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w2, [x2]
	ldr	w3, [x20, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh2:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_12
; %bb.1:
	ldp	w8, w11, [x20]
Lloh5:
	adrp	x24, _DTS_SHOWNONE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _DTS_SHOWNONE@GOTPAGEOFF]
	str	w11, [x19]
	ldr	w9, [x24]
	and	w10, w9, w8
	and	w11, w9, w11
	cmp	w10, #0
	ccmp	w11, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _WC_BUTTONW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WC_BUTTONW@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
Lloh10:
	adrp	x8, _WS_CHILD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WS_CHILD@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _WS_VISIBLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WS_VISIBLE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _BS_AUTOCHECKBOX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BS_AUTOCHECKBOX@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w22, w8, w9
	ldr	w23, [x19, #4]
Lloh19:
	adrp	x8, _GWLP_HINSTANCE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GWLP_HINSTANCE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_GetWindowLongPtrW
	stp	w0, wzr, [sp, #8]
	stp	w23, wzr, [sp]
	mov	w0, #0
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	mov	w4, #2
	mov	w5, #2
	mov	w6, #13
	mov	w7, #13
	bl	_CreateWindowExW
	str	x0, [x19, #16]
Lloh22:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w2, ne
	mov	w3, #0
	bl	_SendMessageW
	ldr	w8, [x20]
	ldr	w9, [x24]
	and	w10, w9, w8
LBB0_3:
	cbz	w10, LBB0_6
; %bb.4:
	ldr	w10, [x20, #4]
	tst	w10, w9
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [x19, #16]
	bl	_DestroyWindow
	str	xzr, [x19, #16]
	ldr	w8, [x20]
LBB0_6:
Lloh25:
	adrp	x21, _DTS_UPDOWN@GOTPAGE
Lloh26:
	ldr	x21, [x21, _DTS_UPDOWN@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_7:
	ldr	w8, [x20, #4]
	tst	w8, w9
	b.ne	LBB0_11
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_DestroyWindow
	str	xzr, [x19, #8]
	b	LBB0_11
LBB0_9:
	ldr	w8, [x20, #4]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.10:
Lloh27:
	adrp	x8, _WS_CHILD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WS_CHILD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _WS_BORDER@GOTPAGE
Lloh31:
	ldr	x9, [x9, _WS_BORDER@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _WS_VISIBLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _WS_VISIBLE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w5, [x19, #4]
Lloh36:
	adrp	x8, _UD_MAXVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UD_MAXVAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _UD_MINVAL@GOTPAGE
Lloh40:
	ldr	x9, [x9, _UD_MINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, wzr, [sp, #8]
	stp	wzr, w8, [sp]
	mov	w1, #120
	mov	w2, #1
	mov	w3, #20
	mov	w4, #20
	mov	w6, #1
	mov	w7, #0
	bl	_CreateUpDownControl
	str	x0, [x19, #8]
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_7
LBB0_11:
	ldr	w0, [x19, #4]
Lloh42:
	adrp	x8, _TRUE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_InvalidateRect
LBB0_12:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(styletype=%lx, styleOld=0x%08x, styleNew=0x%08x)\n"

	.comm	_GWL_STYLE,8,3                  ; @GWL_STYLE
	.comm	_DTS_SHOWNONE,4,2               ; @DTS_SHOWNONE
	.comm	_WC_BUTTONW,4,2                 ; @WC_BUTTONW
	.comm	_WS_CHILD,4,2                   ; @WS_CHILD
	.comm	_WS_VISIBLE,4,2                 ; @WS_VISIBLE
	.comm	_BS_AUTOCHECKBOX,4,2            ; @BS_AUTOCHECKBOX
	.comm	_GWLP_HINSTANCE,4,2             ; @GWLP_HINSTANCE
	.comm	_BM_SETCHECK,4,2                ; @BM_SETCHECK
	.comm	_DTS_UPDOWN,4,2                 ; @DTS_UPDOWN
	.comm	_WS_BORDER,4,2                  ; @WS_BORDER
	.comm	_UD_MAXVAL,4,2                  ; @UD_MAXVAL
	.comm	_UD_MINVAL,4,2                  ; @UD_MINVAL
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_DATETIME_StyleChanged
.subsections_via_symbols
