	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettimeofday                   ## -- Begin function gettimeofday
	.p2align	4, 0x90
_gettimeofday:                          ## @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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_SYS_get_system_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-12(%rbp), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_syscall1
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movslq	-12(%rbp), %rcx
	imulq	$1125899907, %rcx, %rdx         ## imm = 0x431BDE83
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$50, %rdx
	addl	%esi, %edx
	movl	%edx, (%rbx)
	imull	$1000000, %edx, %edx            ## imm = 0xF4240
	subl	%edx, %ecx
	movl	%ecx, 4(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_get_system_time,4,2        ## @SYS_get_system_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettimeofday                   ; -- Begin function gettimeofday
	.p2align	2
_gettimeofday:                          ; @gettimeofday
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SYS_get_system_time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYS_get_system_time@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_syscall1
	cbz	x19, LBB0_3
; %bb.1:
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w10
	mov	w10, #16960
	movk	w10, #15, lsl #16
	msub	w8, w9, w10, w8
	stp	w9, w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_get_system_time,4,2        ; @SYS_get_system_time
.subsections_via_symbols
