	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FindDateSep                    ## -- Begin function FindDateSep
	.p2align	4, 0x90
_FindDateSep:                           ## @FindDateSep
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_MAX_SAMPLES_STR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$2, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_STD_DATE_SEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wcscpy
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_11
## %bb.3:
	leaq	4(%r15), %r12
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isDateCompAl
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%r12), %edi
	cmpl	$39, %edi
	jne	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_wcslen
	cmpq	%rax, %rbx
	jae	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %edi
	addq	$4, %r12
	incq	%rbx
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_6:
	callq	_isDateCompAl
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r12), %eax
	cmpl	$39, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movl	(%r12), %edi
	callq	_isDateCompAl
	addq	$4, %r12
	testl	%eax, %eax
	je	LBB0_8
LBB0_10:
	movl	$0, (%r14,%rbx,4)
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SAMPLES_STR_SIZE,4,2       ## @MAX_SAMPLES_STR_SIZE
	.comm	_STD_DATE_SEP,4,2               ## @STD_DATE_SEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FindDateSep                    ; -- Begin function FindDateSep
	.p2align	2
_FindDateSep:                           ; @FindDateSep
	.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	x20, x0
	bl	_GetProcessHeap
Lloh0:
	adrp	x8, _MAX_SAMPLES_STR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_SAMPLES_STR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _STD_DATE_SEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STD_DATE_SEP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wcscpy
	ldr	w0, [x20]
	cbz	w0, LBB0_13
; %bb.2:
	add	x21, x20, #4
	mov	w22, #1
	bl	_isDateCompAl
	cbnz	w0, LBB0_4
LBB0_3:
	ldur	w0, [x21, #-4]
	cmp	w0, #39
	b.ne	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_wcslen
	cmp	x22, x0
	b.hs	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21], #4
	add	x22, x22, #1
	bl	_isDateCompAl
	cbnz	w0, LBB0_4
	b	LBB0_3
LBB0_6:
	bl	_isDateCompAl
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, #0
	b	LBB0_12
LBB0_8:
	mov	x8, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x21, #-4]
	cmp	w9, #39
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x8, #1
	str	w9, [x19, x8, lsl #2]
	ldr	w0, [x21], #4
	bl	_isDateCompAl
	mov	x8, x20
	cbz	w0, LBB0_9
	b	LBB0_12
LBB0_11:
	mov	x20, x8
LBB0_12:
	str	wzr, [x19, x20, lsl #2]
LBB0_13:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SAMPLES_STR_SIZE,4,2       ; @MAX_SAMPLES_STR_SIZE
	.comm	_STD_DATE_SEP,4,2               ; @STD_DATE_SEP
.subsections_via_symbols
