	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_os_get_time               ## -- Begin function diva_os_get_time
	.p2align	4, 0x90
_diva_os_get_time:                      ## @diva_os_get_time
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	callq	_do_gettimeofday
	movq	-32(%rbp), %rdx
	movq	_start_time@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	cmpq	%rsi, %rdx
	jle	LBB0_2
## %bb.1:
	movq	-24(%rbp), %rdi
	leaq	1000000(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	%rdi, 8(%r8)
	setg	%al
	cmovleq	%rdi, %rcx
	subq	%rax, %rdx
	subq	%rsi, %rdx
	movq	%rdx, (%rbx)
	subq	8(%r8), %rcx
	jmp	LBB0_5
LBB0_2:
	jne	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
	movq	-24(%rbp), %rax
	xorl	%ecx, %ecx
	subq	8(%r8), %rax
	cmovgq	%rax, %rcx
	jmp	LBB0_5
LBB0_4:
	movq	%rdx, (%rbx)
	movq	-24(%rbp), %rcx
LBB0_5:
	movq	%rcx, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_start_time,16,3                ## @start_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_os_get_time               ; -- Begin function diva_os_get_time
	.p2align	2
_diva_os_get_time:                      ; @diva_os_get_time
	.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, x1
	mov	x20, x0
	mov	x0, sp
	bl	_do_gettimeofday
	ldr	x9, [sp]
Lloh0:
	adrp	x8, _start_time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _start_time@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, x10
	b.le	LBB0_2
; %bb.1:
	ldr	x11, [x8, #8]
	ldr	x12, [sp, #8]
	add	x13, x12, #244, lsl #12         ; =999424
	add	x13, x13, #576
	cmp	x11, x12
	csel	x11, x13, x12, gt
	cset	w12, gt
	sub	x9, x9, x12
	sub	x9, x9, x10
	str	x9, [x20]
	ldr	x8, [x8, #8]
	sub	x8, x11, x8
	b	LBB0_5
LBB0_2:
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x20]
	ldr	x8, [x8, #8]
	ldr	x9, [sp, #8]
	subs	x8, x9, x8
	csel	x8, x8, xzr, gt
	b	LBB0_5
LBB0_4:
	str	x9, [x20]
	ldr	x8, [sp, #8]
LBB0_5:
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_start_time,16,3                ; @start_time
.subsections_via_symbols
