	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetShortDateFormat
_SetShortDateFormat:                    ## @SetShortDateFormat
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SAMPLES_STR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_IDC_SHRTDATEFMT_COMBO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM_GETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_SendDlgItemMessageW
	movq	_IDC_SHRTDATESEP_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	%ebx, %edi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r8d
	callq	_SendDlgItemMessageW
	movq	%r12, %rdi
	callq	_wcslen
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %eax
	movl	(%r12,%rbx,4), %edi
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
	cmpl	$39, %edi
	cmovnel	%eax, %r14d
	callq	_iswalnum
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_isDateCompAl
	orl	%r14d, %eax
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.7:
	testq	%r15, %r15
	je	LBB0_4
## %bb.8:
	movq	%r12, %rdi
	callq	_FindDateSep
	movq	_TRUE@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_wcscpy
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_ReplaceSubStr
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_wcscpy
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_11:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	jmp	LBB0_12
LBB0_4:
	movq	_IDS_ERROR_SYMBOL_FORMAT_SHORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PrintErrorMsgBox
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_12:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SAMPLES_STR_SIZE,4,2       ## @MAX_SAMPLES_STR_SIZE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_IDC_SHRTDATEFMT_COMBO,4,2      ## @IDC_SHRTDATEFMT_COMBO
	.comm	_WM_GETTEXT,4,2                 ## @WM_GETTEXT
	.comm	_IDC_SHRTDATESEP_COMBO,4,2      ## @IDC_SHRTDATESEP_COMBO
	.comm	_IDS_ERROR_SYMBOL_FORMAT_SHORT,4,2 ## @IDS_ERROR_SYMBOL_FORMAT_SHORT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SetShortDateFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetShortDateFormat
_SetShortDateFormat:                    ; @SetShortDateFormat
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _MAX_SAMPLES_STR_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_SAMPLES_STR_SIZE@GOTPAGEOFF]
	ldr	w3, [x24]
	lsl	x8, x3, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _IDC_SHRTDATEFMT_COMBO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDC_SHRTDATEFMT_COMBO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x25, _WM_GETTEXT@GOTPAGE
Lloh16:
	ldr	x25, [x25, _WM_GETTEXT@GOTPAGEOFF]
	ldr	w2, [x25]
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x19
	bl	_SendDlgItemMessageW
Lloh17:
	adrp	x8, _IDC_SHRTDATESEP_COMBO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDC_SHRTDATESEP_COMBO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x25]
	ldr	w3, [x24]
	mov	x0, x22
	mov	x4, x20
	bl	_SendDlgItemMessageW
	mov	x0, x19
	bl	_wcslen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x22, x24
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, x24, lsl #2]
	cmp	w23, #0
	cset	w8, eq
	cmp	w0, #39
	csel	w23, w8, w23, eq
	bl	_iswalnum
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, x24, lsl #2]
	bl	_isDateCompAl
	orr	w8, w0, w23
	cbnz	w8, LBB0_2
	b	LBB0_6
LBB0_5:
	cmp	w23, #0
	ccmp	x22, #0, #4, eq
	b.ne	LBB0_9
LBB0_6:
Lloh20:
	adrp	x8, _IDS_ERROR_SYMBOL_FORMAT_SHORT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IDS_ERROR_SYMBOL_FORMAT_SHORT@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_PrintErrorMsgBox
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.8:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	bl	_FindDateSep
	cbz	x0, LBB0_13
; %bb.10:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_wcscpy
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ReplaceSubStr
	cbz	x0, LBB0_12
; %bb.11:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_wcscpy
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_13:
Lloh28:
	adrp	x8, _TRUE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SAMPLES_STR_SIZE,4,2       ; @MAX_SAMPLES_STR_SIZE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_IDC_SHRTDATEFMT_COMBO,4,2      ; @IDC_SHRTDATEFMT_COMBO
	.comm	_WM_GETTEXT,4,2                 ; @WM_GETTEXT
	.comm	_IDC_SHRTDATESEP_COMBO,4,2      ; @IDC_SHRTDATESEP_COMBO
	.comm	_IDS_ERROR_SYMBOL_FORMAT_SHORT,4,2 ; @IDS_ERROR_SYMBOL_FORMAT_SHORT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SetShortDateFormat
.subsections_via_symbols
