	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_SetFormatW
_DATETIME_SetFormatW:                   ## @DATETIME_SetFormatW
	.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
	subq	$336, %rsp                      ## imm = 0x150
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.1:
	movl	(%r14), %ecx
	movq	_DTS_LONGDATEFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_DTS_TIMEFORMAT@GOTPCREL(%rip), %rdx
	notl	%ecx
	andl	(%rdx), %ecx
	jne	LBB0_2
## %bb.3:
	movq	_LOCALE_STIMEFORMAT@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movq	_LOCALE_SSHORTDATE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movq	_LOCALE_SLONGDATE@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %r15d
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-368(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_GetLocaleInfoW
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_DATETIME_UseFormat
	movl	4(%r14), %edi
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$336, %rsp                      ## imm = 0x150
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DTS_LONGDATEFORMAT,4,2         ## @DTS_LONGDATEFORMAT
	.comm	_LOCALE_SLONGDATE,4,2           ## @LOCALE_SLONGDATE
	.comm	_DTS_TIMEFORMAT,4,2             ## @DTS_TIMEFORMAT
	.comm	_LOCALE_STIMEFORMAT,4,2         ## @LOCALE_STIMEFORMAT
	.comm	_LOCALE_SSHORTDATE,4,2          ## @LOCALE_SSHORTDATE
	.comm	_LOCALE_USER_DEFAULT,4,2        ## @LOCALE_USER_DEFAULT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_DATETIME_SetFormatW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_SetFormatW
_DATETIME_SetFormatW:                   ; @DATETIME_SetFormatW
	.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	x20, x1
	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]
	cbnz	x1, LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _DTS_LONGDATEFORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DTS_LONGDATEFORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _DTS_TIMEFORMAT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DTS_TIMEFORMAT@GOTPAGEOFF]
Lloh8:
	adrp	x11, _LOCALE_STIMEFORMAT@GOTPAGE
Lloh9:
	ldr	x11, [x11, _LOCALE_STIMEFORMAT@GOTPAGEOFF]
Lloh10:
	adrp	x12, _LOCALE_SSHORTDATE@GOTPAGE
Lloh11:
	ldr	x12, [x12, _LOCALE_SSHORTDATE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	bics	wzr, w10, w8
	csel	x10, x11, x12, eq
Lloh13:
	adrp	x11, _LOCALE_SLONGDATE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _LOCALE_SLONGDATE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _LOCALE_USER_DEFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOCALE_USER_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_GetLocaleInfoW
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_DATETIME_UseFormat
	ldr	w0, [x19, #4]
Lloh18:
	adrp	x19, _TRUE@GOTPAGE
Lloh19:
	ldr	x19, [x19, _TRUE@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x1, #0
	bl	_InvalidateRect
	ldr	w0, [x19]
	ldur	x8, [x29, #-56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DTS_LONGDATEFORMAT,4,2         ; @DTS_LONGDATEFORMAT
	.comm	_LOCALE_SLONGDATE,4,2           ; @LOCALE_SLONGDATE
	.comm	_DTS_TIMEFORMAT,4,2             ; @DTS_TIMEFORMAT
	.comm	_LOCALE_STIMEFORMAT,4,2         ; @LOCALE_STIMEFORMAT
	.comm	_LOCALE_SSHORTDATE,4,2          ; @LOCALE_SSHORTDATE
	.comm	_LOCALE_USER_DEFAULT,4,2        ; @LOCALE_USER_DEFAULT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_DATETIME_SetFormatW
.subsections_via_symbols
