	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_date_string_to_control
_add_date_string_to_control:            ## @add_date_string_to_control
	.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	$664, %rsp                      ## imm = 0x298
	.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, -692(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LOCALE_SYSTEM_DEFAULT@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	movq	_LOCALE_SSHORTDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-368(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
	leaq	-696(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_FileTimeToSystemTime
	movl	(%r14), %ebx
	leaq	-688(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_GetDateFormatW
	movq	%r12, %rdi
	callq	_lstrlenW
	movl	-692(%rbp), %edi                ## 4-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_add_unformatted_text_to_control
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$664, %rsp                      ## imm = 0x298
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ## @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SSHORTDATE,4,2          ## @LOCALE_SSHORTDATE
	.no_dead_strip	_add_date_string_to_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_date_string_to_control
_add_date_string_to_control:            ; @add_date_string_to_control
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #656
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _LOCALE_SYSTEM_DEFAULT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _LOCALE_SYSTEM_DEFAULT@GOTPAGEOFF]
	ldr	w21, [x23]
Lloh5:
	adrp	x8, _LOCALE_SSHORTDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOCALE_SSHORTDATE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	add	x0, sp, #328
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #328
	mov	x0, x21
	mov	x1, x22
	bl	_GetLocaleInfoW
	add	x1, sp, #4
	mov	x0, x19
	bl	_FileTimeToSystemTime
	ldr	w19, [x23]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x5, x0
	add	x2, sp, #4
	add	x3, sp, #328
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_GetDateFormatW
	add	x0, sp, #8
	bl	_lstrlenW
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_add_unformatted_text_to_control
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #656
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ; @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SSHORTDATE,4,2          ; @LOCALE_SSHORTDATE
	.no_dead_strip	_add_date_string_to_control
.subsections_via_symbols
