	.file	"extr_datetime.c_DATETIME_StyleChanged.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"(styletype=%lx, styleOld=0x%08x, styleNew=0x%08x)\n"
	.text
	.p2align 4
	.type	DATETIME_StyleChanged, @function
DATETIME_StyleChanged:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	mov	ecx, DWORD PTR 4[rdx]
	mov	edx, DWORD PTR [rdx]
	call	TRACE@PLT
	cmp	QWORD PTR GWL_STYLE[rip], rbp
	jne	.L2
	mov	eax, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	ecx, DWORD PTR DTS_SHOWNONE[rip]
	mov	esi, eax
	mov	DWORD PTR [r12], eax
	mov	edi, edx
	and	esi, ecx
	test	edx, ecx
	jne	.L3
	test	esi, esi
	jne	.L20
.L4:
	mov	ecx, DWORD PTR DTS_UPDOWN[rip]
	and	eax, ecx
	test	ecx, edx
	jne	.L7
	mov	edi, DWORD PTR 4[r12]
	test	eax, eax
	jne	.L21
	mov	edx, DWORD PTR TRUE[rip]
	xor	esi, esi
	call	InvalidateRect@PLT
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR GWLP_HINSTANCE[rip]
	call	GetWindowLongPtrW@PLT
	push	0
	.cfi_def_cfa_offset 40
	mov	esi, DWORD PTR WC_BUTTONW[rip]
	xor	edx, edx
	push	rax
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR 4[r12]
	xor	edi, edi
	mov	r9d, 2
	push	0
	.cfi_def_cfa_offset 56
	mov	ecx, DWORD PTR WS_CHILD[rip]
	mov	r8d, 2
	push	rax
	.cfi_def_cfa_offset 64
	or	ecx, DWORD PTR WS_VISIBLE[rip]
	push	13
	.cfi_def_cfa_offset 72
	or	ecx, DWORD PTR BS_AUTOCHECKBOX[rip]
	push	13
	.cfi_def_cfa_offset 80
	call	CreateWindowExW@PLT
	mov	esi, DWORD PTR BM_SETCHECK[rip]
	add	rsp, 48
	.cfi_def_cfa_offset 32
	xor	edx, edx
	mov	QWORD PTR 16[r12], rax
	cmp	QWORD PTR 24[r12], 0
	mov	rdi, rax
	setne	dl
	xor	ecx, ecx
	call	SendMessageW@PLT
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR DTS_SHOWNONE[rip]
	mov	eax, DWORD PTR 4[rbx]
	mov	edi, edx
	test	edx, esi
	je	.L4
	and	esi, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, edi
	test	esi, esi
	jne	.L4
	mov	rdi, QWORD PTR 16[r12]
	call	DestroyWindow@PLT
	mov	edx, DWORD PTR [rbx]
	mov	eax, DWORD PTR 4[rbx]
	mov	QWORD PTR 16[r12], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR UD_MINVAL[rip]
	push	0
	.cfi_def_cfa_offset 40
	mov	r9d, edi
	mov	ecx, 20
	mov	r8d, 20
	mov	edx, 1
	mov	esi, 120
	mov	r10d, DWORD PTR WS_CHILD[rip]
	push	rax
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR UD_MAXVAL[rip]
	or	r10d, DWORD PTR WS_BORDER[rip]
	or	r10d, DWORD PTR WS_VISIBLE[rip]
	push	rax
	.cfi_def_cfa_offset 56
	mov	edi, r10d
	push	0
	.cfi_def_cfa_offset 64
	push	0
	.cfi_def_cfa_offset 72
	push	1
	.cfi_def_cfa_offset 80
	call	CreateUpDownControl@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 32
	mov	QWORD PTR 8[r12], rax
	mov	eax, DWORD PTR DTS_UPDOWN[rip]
	test	DWORD PTR [rbx], eax
	je	.L18
	and	eax, DWORD PTR 4[rbx]
	.p2align 4,,10
	.p2align 3
.L7:
	test	eax, eax
	je	.L10
.L18:
	mov	edi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR TRUE[rip]
	xor	esi, esi
	call	InvalidateRect@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR 8[r12]
	call	DestroyWindow@PLT
	mov	QWORD PTR 8[r12], 0
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	DATETIME_StyleChanged, .-DATETIME_StyleChanged
	.comm	WS_VISIBLE,4,4
	.comm	WS_CHILD,4,4
	.comm	WS_BORDER,4,4
	.comm	WC_BUTTONW,4,4
	.comm	UD_MINVAL,4,4
	.comm	UD_MAXVAL,4,4
	.comm	TRUE,4,4
	.comm	GWL_STYLE,8,8
	.comm	GWLP_HINSTANCE,4,4
	.comm	DTS_UPDOWN,4,4
	.comm	DTS_SHOWNONE,4,4
	.comm	BS_AUTOCHECKBOX,4,4
	.comm	BM_SETCHECK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_datetime.c_DATETIME_StyleChanged.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(styletype=%lx, styleOld=0x%08x, styleNew=0x%08x)\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DATETIME_StyleChanged, %function
DATETIME_StyleChanged:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r4, r2
	ldm	r2, {r2, r3}
	mov	r5, r0
	sub	sp, sp, #32
	ldr	r0, .L22
	bl	TRACE
	ldr	r3, .L22+4
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L2
	ldr	r8, .L22+8
	ldr	r3, [r4]
	ldr	r1, [r8]
	ldr	r6, [r4, #4]
	ands	r9, r3, r1
	mov	r2, r3
	and	r7, r6, r1
	str	r6, [r5]
	bne	.L3
	cmp	r7, #0
	bne	.L20
.L4:
	ldr	r7, .L22+12
	ldr	r2, [r7]
	ands	r1, r2, r3
	and	r6, r6, r2
	bne	.L7
	cmp	r6, #0
	ldr	r0, [r5, #4]
	bne	.L21
.L8:
	ldr	r3, .L22+16
	mov	r1, #0
	ldr	r2, [r3]
	bl	InvalidateRect
.L2:
	mov	r0, #0
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	ldr	r1, .L22+20
	ldr	r2, .L22+24
	ldr	r3, .L22+28
	ldr	r0, [r2]
	ldr	r6, [r1]
	ldr	r7, [r5, #4]
	ldr	r1, .L22+32
	ldr	r3, [r3]
	ldr	r2, .L22+36
	ldr	r1, [r1]
	orr	r6, r6, r0
	mov	r0, r7
	ldr	r10, [r2]
	orr	r6, r6, r3
	bl	GetWindowLongPtrW
	mov	ip, #13
	mov	r2, #2
	mov	r3, r6
	stmib	sp, {r2, ip}
	mov	r1, r10
	str	r0, [sp, #24]
	str	ip, [sp, #12]
	str	r2, [sp]
	mov	r0, r9
	mov	r2, r9
	str	r7, [sp, #16]
	str	r9, [sp, #28]
	str	r9, [sp, #20]
	bl	CreateWindowExW
	ldr	r2, [r5, #16]
	ldr	r1, .L22+40
	subs	r2, r2, #0
	movne	r2, #1
	mov	r3, r9
	ldr	r1, [r1]
	str	r0, [r5, #12]
	bl	SendMessageW
	ldm	r4, {r3, r6}
	ldr	r1, [r8]
	mov	r2, r3
	tst	r3, r1
	beq	.L4
	and	r7, r1, r6
.L3:
	cmp	r7, #0
	movne	r3, r2
	bne	.L4
	ldr	r0, [r5, #12]
	bl	DestroyWindow
	ldm	r4, {r3, r6}
	str	r7, [r5, #12]
	b	.L4
.L21:
	mov	r2, #1
	mov	r3, #20
	ldr	lr, .L22+44
	ldr	ip, .L22+20
	ldr	r6, [lr]
	ldr	ip, [ip]
	ldr	lr, .L22+24
	orr	ip, ip, r6
	ldr	r6, [lr]
	ldr	lr, .L22+48
	str	r1, [sp, #28]
	ldr	lr, [lr]
	str	r1, [sp, #16]
	str	r1, [sp, #12]
	ldr	r1, .L22+52
	str	r0, [sp, #4]
	ldr	r1, [r1]
	orr	r0, ip, r6
	str	r1, [sp, #20]
	str	r2, [sp, #8]
	str	r3, [sp]
	mov	r1, #120
	str	lr, [sp, #24]
	bl	CreateUpDownControl
	ldr	r3, [r4]
	ldr	r2, [r7]
	str	r0, [r5, #8]
	tst	r2, r3
	beq	.L18
	ldr	r6, [r4, #4]
	and	r6, r6, r2
.L7:
	cmp	r6, #0
	beq	.L10
.L18:
	ldr	r3, .L22+16
	mov	r1, #0
	ldr	r0, [r5, #4]
	ldr	r2, [r3]
	bl	InvalidateRect
	b	.L2
.L10:
	ldr	r0, [r5, #8]
	bl	DestroyWindow
	ldr	r0, [r5, #4]
	str	r6, [r5, #8]
	b	.L8
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	GWL_STYLE
	.word	DTS_SHOWNONE
	.word	DTS_UPDOWN
	.word	TRUE
	.word	WS_CHILD
	.word	WS_VISIBLE
	.word	BS_AUTOCHECKBOX
	.word	GWLP_HINSTANCE
	.word	WC_BUTTONW
	.word	BM_SETCHECK
	.word	WS_BORDER
	.word	UD_MINVAL
	.word	UD_MAXVAL
	.size	DATETIME_StyleChanged, .-DATETIME_StyleChanged
	.comm	WS_VISIBLE,4,4
	.comm	WS_CHILD,4,4
	.comm	WS_BORDER,4,4
	.comm	WC_BUTTONW,4,4
	.comm	UD_MINVAL,4,4
	.comm	UD_MAXVAL,4,4
	.comm	TRUE,4,4
	.comm	GWL_STYLE,4,4
	.comm	GWLP_HINSTANCE,4,4
	.comm	DTS_UPDOWN,4,4
	.comm	DTS_SHOWNONE,4,4
	.comm	BS_AUTOCHECKBOX,4,4
	.comm	BM_SETCHECK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
