	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_long_date
_format_long_date:                      ## @format_long_date
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LOCALE_SYSTEM_DEFAULT@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	_LOCALE_SLONGDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-368(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
	leaq	-372(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FileTimeToSystemTime
	movl	(%r13), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_GetDateFormatW
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movl	(%r13), %edi
	leaq	-372(%rbp), %rdx
	leaq	-368(%rbp), %rcx
	xorl	%esi, %esi
	movq	%rax, %r8
	movl	%ebx, %r9d
	callq	_GetDateFormatW
	movq	%r15, %r14
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rax
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ## @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SLONGDATE,4,2           ## @LOCALE_SLONGDATE
	.no_dead_strip	_format_long_date
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_long_date
_format_long_date:                      ; @format_long_date
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #400
	.cfi_def_cfa_offset 400
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #352]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #368]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #384]            ; 16-byte Folded Spill
	add	x29, sp, #384
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, 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	x22, _LOCALE_SYSTEM_DEFAULT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LOCALE_SYSTEM_DEFAULT@GOTPAGEOFF]
	ldr	w20, [x22]
Lloh5:
	adrp	x8, _LOCALE_SLONGDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOCALE_SLONGDATE@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_GetLocaleInfoW
	add	x1, sp, #4
	mov	x0, x19
	bl	_FileTimeToSystemTime
	ldr	w0, [x22]
	add	x2, sp, #4
	add	x3, sp, #8
	mov	w1, #0
	mov	x4, #0
	mov	w5, #0
	bl	_GetDateFormatW
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_GetProcessHeap
	lsl	w2, w20, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x22]
	add	x2, sp, #4
	add	x3, sp, #8
	mov	w1, #0
	mov	x4, x19
	mov	x5, x20
	bl	_GetDateFormatW
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	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_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #384]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #368]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #400
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ; @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SLONGDATE,4,2           ; @LOCALE_SLONGDATE
	.no_dead_strip	_format_long_date
.subsections_via_symbols
