	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnanotime                    ## -- Begin function getnanotime
	.p2align	4, 0x90
_getnanotime:                           ## @getnanotime
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	_getnanotime.offset(%rip), %ebx
	xorl	%eax, %eax
	cmpl	$2, %ebx
	jl	LBB0_2
## %bb.1:
	callq	_highres_nanos
	movl	%eax, %r14d
	addl	%ebx, %r14d
	jmp	LBB0_4
LBB0_2:
	callq	_gettimeofday_nanos
	movl	%eax, %r14d
	cmpl	$1, %ebx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_highres_nanos
	movl	%r14d, %ecx
	subl	%eax, %ecx
	testl	%eax, %eax
	movl	$1, %eax
	cmovnel	%ecx, %eax
	movl	%eax, _getnanotime.offset(%rip)
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getnanotime.offset,4,2 ## @getnanotime.offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnanotime                    ; -- Begin function getnanotime
	.p2align	2
_getnanotime:                           ; @getnanotime
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	adrp	x20, _getnanotime.offset@PAGE
	ldr	w21, [x20, _getnanotime.offset@PAGEOFF]
	cmp	w21, #2
	b.lt	LBB0_2
; %bb.1:
	bl	_highres_nanos
	add	w19, w0, w21
	b	LBB0_4
LBB0_2:
	bl	_gettimeofday_nanos
	mov	x19, x0
	cmp	w21, #1
	b.eq	LBB0_4
; %bb.3:
	bl	_highres_nanos
	sub	w8, w19, w0
	cmp	w0, #0
	csinc	w8, w8, wzr, ne
	str	w8, [x20, _getnanotime.offset@PAGEOFF]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getnanotime.offset,4,2 ; @getnanotime.offset
.subsections_via_symbols
