	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filetime_to_str
_filetime_to_str:                       ## @filetime_to_str
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_LOCALE_SYSTEM_DEFAULT@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	_LOCALE_SSHORTDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-208(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoA
	leaq	-212(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_FileTimeToSystemTime
	movl	(%r13), %ebx
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_GetDateFormatA
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_wine_dbg_sprintf
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ## @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SSHORTDATE,4,2          ## @LOCALE_SSHORTDATE
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	_filetime_to_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filetime_to_str
_filetime_to_str:                       ; @filetime_to_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _LOCALE_SYSTEM_DEFAULT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LOCALE_SYSTEM_DEFAULT@GOTPAGEOFF]
	ldr	w20, [x22]
Lloh5:
	adrp	x8, _LOCALE_SSHORTDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOCALE_SSHORTDATE@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	_GetLocaleInfoA
	add	x1, sp, #4
	mov	x0, x19
	bl	_FileTimeToSystemTime
	ldr	w19, [x22]
	add	x0, sp, #88
	bl	_ARRAY_SIZE
	mov	x5, x0
	add	x2, sp, #4
	add	x3, sp, #8
	add	x4, sp, #88
	mov	x0, x19
	mov	w1, #0
	bl	_GetDateFormatA
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #88
	bl	_wine_dbg_sprintf
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ; @LOCALE_SYSTEM_DEFAULT
	.comm	_LOCALE_SSHORTDATE,4,2          ; @LOCALE_SSHORTDATE
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	_filetime_to_str
.subsections_via_symbols
