	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function secs_elapsed
LCPI0_0:
	.quad	0x3e112e0be826d695              ## double 1.0000000000000001E-9
	.quad	0x3e112e0be826d695              ## double 1.0000000000000001E-9
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_secs_elapsed
	.p2align	4, 0x90
_secs_elapsed:                          ## @secs_elapsed
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_clock_gettime
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	(%rbx), %edi
	leaq	-16(%rbp), %rsi
	callq	_clock_getres
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movq	_st@GOTPCREL(%rip), %rax
	movl	-24(%rbp), %ecx
	subl	(%rax), %ecx
	movl	-20(%rbp), %edx
	subl	4(%rax), %edx
	movd	%ecx, %xmm0
	pinsrd	$1, -16(%rbp), %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movd	%edx, %xmm1
	pinsrd	$1, -12(%rbp), %xmm1
	cvtdq2pd	%xmm1, %xmm1
	mulpd	LCPI0_0(%rip), %xmm1
	addpd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	maxsd	%xmm1, %xmm0
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock_gettime"

L_.str.1:                               ## @.str.1
	.asciz	"clock_getres"

	.comm	_st,8,2                         ## @st
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_secs_elapsed                   ; -- Begin function secs_elapsed
	.p2align	2
_secs_elapsed:                          ; @secs_elapsed
	.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
Lloh0:
	adrp	x19, _CLOCK_MONOTONIC@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CLOCK_MONOTONIC@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_clock_gettime
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w0, [x19]
	mov	x1, sp
	bl	_clock_getres
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
Lloh6:
	adrp	x8, _st@GOTPAGE
Lloh7:
	ldr	x8, [x8, _st@GOTPAGEOFF]
	ldp	w9, w10, [sp, #8]
	ldp	w11, w8, [x8]
	sub	w9, w9, w11
	scvtf	d0, w9
	sub	w8, w10, w8
	scvtf	d1, w8
	mov	x8, #54933
	movk	x8, #59430, lsl #16
	movk	x8, #11787, lsl #32
	movk	x8, #15889, lsl #48
	fmov	d2, x8
	fmadd	d0, d1, d2, d0
	ldp	s1, s3, [sp]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	sshll.2d	v3, v3, #0
	scvtf	d3, d3
	fmadd	d1, d3, d2, d1
	fcmp	d0, d1
	fcsel	d0, d1, d0, mi
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock_gettime"

l_.str.1:                               ; @.str.1
	.asciz	"clock_getres"

	.comm	_st,8,2                         ; @st
.subsections_via_symbols
