	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_gettimeofday            ## -- Begin function evutil_gettimeofday
	.p2align	4, 0x90
_evutil_gettimeofday:                   ## @evutil_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	leaq	-24(%rbp), %rdi
	callq	_GetSystemTimeAsFileTime
	movl	-24(%rbp), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_EVUTIL_UNLIKELY
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	$717324288, %eax                ## imm = 0x2AC18000
	addl	-24(%rbp), %eax
	movslq	%eax, %rcx
	movabsq	$-2972493582642298179, %rdx     ## imm = 0xD6BF94D5E57A42BD
	movq	%rcx, %rax
	mulq	%rdx
	shrq	$23, %rdx
	movq	%rdx, (%r14)
	movabsq	$-3689348814741910323, %rdx     ## imm = 0xCCCCCCCCCCCCCCCD
	movq	%rcx, %rax
	mulq	%rdx
	movq	%rdx, %rcx
	shrq	$3, %rcx
	movabsq	$4835703278458516699, %rdx      ## imm = 0x431BDE82D7B634DB
	movq	%rcx, %rax
	mulq	%rdx
	shrq	$18, %rdx
	imulq	$1000000, %rdx, %rax            ## imm = 0xF4240
	subq	%rax, %rcx
	movq	%rcx, 8(%r14)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPOCH_BIAS,4,2                 ## @EPOCH_BIAS
	.comm	_UNITS_PER_SEC,4,2              ## @UNITS_PER_SEC
	.comm	_UNITS_PER_USEC,4,2             ## @UNITS_PER_USEC
	.comm	_USEC_PER_SEC,4,2               ## @USEC_PER_SEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_gettimeofday            ; -- Begin function evutil_gettimeofday
	.p2align	2
_evutil_gettimeofday:                   ; @evutil_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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	bl	_GetSystemTimeAsFileTime
	ldr	w8, [sp, #8]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_EVUTIL_UNLIKELY
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_4
LBB0_3:
	ldr	w8, [sp, #8]
	mov	w9, #32768
	movk	w9, #10945, lsl #16
	add	w8, w8, w9
	sxtw	x8, w8
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	umulh	x9, x8, x9
	lsr	x9, x9, #3
	mov	x10, #13531
	movk	x10, #55222, lsl #16
	movk	x10, #56962, lsl #32
	movk	x10, #17179, lsl #48
	umulh	x10, x9, x10
	lsr	x10, x10, #18
	mov	w11, #16960
	movk	w11, #15, lsl #16
	msub	x9, x10, x11, x9
	mov	x10, #17085
	movk	x10, #58746, lsl #16
	movk	x10, #38101, lsl #32
	movk	x10, #54975, lsl #48
	umulh	x8, x8, x10
	lsr	x8, x8, #23
	stp	x8, x9, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_EPOCH_BIAS,4,2                 ; @EPOCH_BIAS
	.comm	_UNITS_PER_SEC,4,2              ; @UNITS_PER_SEC
	.comm	_UNITS_PER_USEC,4,2             ; @UNITS_PER_USEC
	.comm	_USEC_PER_SEC,4,2               ; @USEC_PER_SEC
.subsections_via_symbols
