	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetLongDateFormat
_SetLongDateFormat:                     ## @SetLongDateFormat
	.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	%rsi, %r12
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	_IDC_LONGDATEFMT_COMBO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM_GETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAX_SAMPLES_STR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_SendDlgItemMessageW
	movq	%r12, %rdi
	callq	_wcslen
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	movl	(%r12,%rbx,4), %edi
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
	cmpl	$39, %edi
	cmovnel	%eax, %r13d
	callq	_iswalnum
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_isDateCompAl
	orl	%r13d, %eax
	jne	LBB0_4
	jmp	LBB0_8
LBB0_5:
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_9
LBB0_8:
	movq	_IDS_ERROR_SYMBOL_FORMAT_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PrintErrorMsgBox
LBB0_9:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_IDC_LONGDATEFMT_COMBO,4,2      ## @IDC_LONGDATEFMT_COMBO
	.comm	_WM_GETTEXT,4,2                 ## @WM_GETTEXT
	.comm	_MAX_SAMPLES_STR_SIZE,8,3       ## @MAX_SAMPLES_STR_SIZE
	.comm	_IDS_ERROR_SYMBOL_FORMAT_LONG,4,2 ## @IDS_ERROR_SYMBOL_FORMAT_LONG
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SetLongDateFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetLongDateFormat
_SetLongDateFormat:                     ; @SetLongDateFormat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _IDC_LONGDATEFMT_COMBO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDC_LONGDATEFMT_COMBO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _WM_GETTEXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WM_GETTEXT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _MAX_SAMPLES_STR_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_SAMPLES_STR_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_SendDlgItemMessageW
	mov	x0, x19
	bl	_wcslen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x22, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #4
	subs	x22, x22, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	cmp	w21, #0
	cset	w8, eq
	cmp	w0, #39
	csel	w21, w8, w21, eq
	bl	_iswalnum
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_isDateCompAl
	orr	w8, w0, w21
	cbnz	w8, LBB0_2
	b	LBB0_6
LBB0_5:
	cmp	w21, #0
	ccmp	x20, #0, #4, eq
	b.ne	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _IDS_ERROR_SYMBOL_FORMAT_LONG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDS_ERROR_SYMBOL_FORMAT_LONG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_PrintErrorMsgBox
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_IDC_LONGDATEFMT_COMBO,4,2      ; @IDC_LONGDATEFMT_COMBO
	.comm	_WM_GETTEXT,4,2                 ; @WM_GETTEXT
	.comm	_MAX_SAMPLES_STR_SIZE,8,3       ; @MAX_SAMPLES_STR_SIZE
	.comm	_IDS_ERROR_SYMBOL_FORMAT_LONG,4,2 ; @IDS_ERROR_SYMBOL_FORMAT_LONG
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SetLongDateFormat
.subsections_via_symbols
