	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_gettimeofday             ## -- Begin function wceex_gettimeofday
	.p2align	4, 0x90
_wceex_gettimeofday:                    ## @wceex_gettimeofday
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	-28(%rbp), %r15
	movq	%r15, %rdi
	callq	_GetSystemTime
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_SystemTimeToFileTime
	movq	_EPOCHFILETIME@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	imulq	$1801439851, %rax, %rax         ## imm = 0x6B5FCA6B
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$54, %rax
	addl	%edx, %eax
	cltq
	movq	%rax, (%rbx)
	movslq	%ecx, %rax
	imulq	$1125899907, %rax, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	imull	$1000000, %ecx, %ecx            ## imm = 0xF4240
	subl	%ecx, %eax
	cltq
	movq	%rax, 8(%rbx)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_6
## %bb.3:
	leaq	-56(%rbp), %rdi
	callq	_GetTimeZoneInformation
	movl	-56(%rbp), %eax
	movl	%eax, (%r14)
	cmpq	$0, -40(%rbp)
	je	LBB0_5
## %bb.4:
	imull	$60, -52(%rbp), %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_5:
	xorl	%eax, %eax
	cmpq	$0, -48(%rbp)
	setne	%al
	movl	%eax, 4(%r14)
LBB0_6:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPOCHFILETIME,8,3              ## @EPOCHFILETIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_gettimeofday             ; -- Begin function wceex_gettimeofday
	.p2align	2
_wceex_gettimeofday:                    ; @wceex_gettimeofday
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	sub	x0, x29, #20
	bl	_GetSystemTime
	sub	x0, x29, #20
	add	x1, sp, #32
	bl	_SystemTimeToFileTime
Lloh0:
	adrp	x8, _EPOCHFILETIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPOCHFILETIME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #50
	add	w10, w10, w11
	mov	w11, #16960
	movk	w11, #15, lsl #16
	msub	w9, w10, w11, w9
	mov	w10, #51819
	movk	w10, #27487, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #54
	add	w8, w8, w10
	sxtw	x8, w8
	sxtw	x9, w9
	stp	x8, x9, [x20]
LBB0_2:
	cbz	x19, LBB0_6
; %bb.3:
	add	x0, sp, #8
	bl	_GetTimeZoneInformation
	ldr	w8, [sp, #8]
	str	w8, [x19]
	ldr	x9, [sp, #24]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	w9, [sp, #12]
	mov	w10, #60
	madd	w8, w9, w10, w8
	str	w8, [x19]
LBB0_5:
	ldr	x8, [sp, #16]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x19, #4]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPOCHFILETIME,8,3              ; @EPOCHFILETIME
.subsections_via_symbols
