	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_print
_timer_print:                           ## @timer_print
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	$4, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	movq	_TEVSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpl	$2, %r8d
	jl	LBB0_1
## %bb.2:
	movq	_tevbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movl	-44(%rbp), %r10d
	movl	(%r11), %r12d
	leaq	-1(%r8), %r9
	cmpl	$2, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	movl	$1, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_4:
	movq	%r9, %r15
	andq	$-2, %r15
	negq	%r15
	xorl	%ecx, %ecx
	movl	$1, %esi
	movl	%r12d, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rsi,4), %r13d
	movl	4(%r11,%rsi,4), %r12d
	movl	%r13d, %edx
	subl	%eax, %edx
	imull	$1000000, %edx, %eax            ## imm = 0xF4240
	cltd
	idivl	%r10d
	movl	%eax, %ebx
	addl	%eax, %ecx
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	cmpl	%eax, %edi
	cmovgl	%edi, %ebx
	movl	%r12d, %eax
	subl	%r13d, %eax
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	cltd
	idivl	%r10d
	addl	%eax, %ecx
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	cmpl	%eax, %ebx
	cmovlel	%eax, %ebx
	leaq	(%r15,%rsi), %rdx
	addq	$2, %rdx
	addq	$2, %rsi
	movl	%r12d, %eax
	movl	%ebx, %edi
	cmpq	$1, %rdx
	jne	LBB0_5
LBB0_6:
	testb	$1, %r9b
	je	LBB0_8
## %bb.7:
	movl	(%r11,%rsi,4), %eax
	subl	%r12d, %eax
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	cltd
	idivl	%r10d
	addl	%eax, %ecx
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	cmpl	%eax, %ebx
	cmovgl	%ebx, %eax
	movl	%eax, %ebx
LBB0_8:
	decl	%r8d
	movl	%ecx, %eax
	cltd
	idivl	%r8d
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_printf
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"machdep.tsc_freq"

	.comm	_TEVSZ,4,2                      ## @TEVSZ
	.comm	_tevbuf,8,3                     ## @tevbuf
L_.str.1:                               ## @.str.1
	.asciz	"timers done: usecs, min %ld, max %ld, mean %ld\n"

	.no_dead_strip	_timer_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_print
_timer_print:                           ; @timer_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	w8, #4
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #12
	mov	x2, sp
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
Lloh5:
	adrp	x8, _TEVSZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TEVSZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
Lloh8:
	adrp	x10, _tevbuf@GOTPAGE
Lloh9:
	ldr	x10, [x10, _tevbuf@GOTPAGEOFF]
	mov	w9, #16960
	movk	w9, #15, lsl #16
Lloh10:
	ldr	x12, [x10]
	ldr	w10, [sp, #12]
	ldr	w11, [x12]
	sub	x14, x8, #1
	cmp	x14, #4
	b.hs	LBB0_4
; %bb.2:
	mov	w16, #0
	mov	w2, #0
	mov	w13, #1
	b	LBB0_7
LBB0_3:
	mov	w2, #0
	mov	w16, #0
	b	LBB0_9
LBB0_4:
	mov	w0, #0
	mov	w1, #0
	mov	w17, #0
	mov	w16, #0
	mov	w4, #0
	mov	w5, #0
	mov	w3, #0
	mov	w2, #0
	and	x15, x14, #0xfffffffffffffffc
	orr	x13, x15, #0x1
	add	x6, x12, #16
	mov	x22, x15
	mov	x21, x19
	mov	x20, x19
	mov	x7, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w23, w24, [x6, #-12]
	sub	w26, w23, w11
	ldp	w25, w11, [x6, #-4]
	sub	w23, w24, w23
	sub	w24, w25, w24
	sub	w25, w11, w25
	mul	w26, w26, w9
	mul	w23, w23, w9
	mul	w24, w24, w9
	mul	w25, w25, w9
	sdiv	w26, w26, w10
	sdiv	w23, w23, w10
	sdiv	w24, w24, w10
	sdiv	w25, w25, w10
	add	w0, w26, w0
	add	w1, w23, w1
	add	w17, w24, w17
	add	w16, w25, w16
	cmp	w19, w26
	csel	w19, w19, w26, lt
	cmp	w21, w23
	csel	w21, w21, w23, lt
	cmp	w20, w24
	csel	w20, w20, w24, lt
	cmp	w7, w25
	csel	w7, w7, w25, lt
	cmp	w4, w26
	csel	w4, w4, w26, gt
	cmp	w5, w23
	csel	w5, w5, w23, gt
	cmp	w3, w24
	csel	w3, w3, w24, gt
	cmp	w2, w25
	csel	w2, w2, w25, gt
	add	x6, x6, #16
	subs	x22, x22, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	w4, w5
	csel	w4, w4, w5, gt
	cmp	w4, w3
	csel	w3, w4, w3, gt
	cmp	w3, w2
	csel	w2, w3, w2, gt
	cmp	w19, w21
	csel	w3, w19, w21, lt
	cmp	w3, w20
	csel	w3, w3, w20, lt
	cmp	w3, w7
	csel	w19, w3, w7, lt
	add	w0, w1, w0
	add	w17, w17, w0
	add	w16, w16, w17
	cmp	x14, x15
	b.eq	LBB0_9
LBB0_7:
	add	x12, x12, x13, lsl #2
	sub	x13, x8, x13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x12], #4
	sub	w11, w14, w11
	mul	w11, w11, w9
	sdiv	w11, w11, w10
	add	w16, w11, w16
	cmp	w19, w11
	csel	w19, w19, w11, lt
	cmp	w2, w11
	csel	w2, w2, w11, gt
	mov	x11, x14
	subs	x13, x13, #1
	b.ne	LBB0_8
LBB0_9:
	sub	w8, w8, #1
	sdiv	w3, w16, w8
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"machdep.tsc_freq"

	.comm	_TEVSZ,4,2                      ; @TEVSZ
	.comm	_tevbuf,8,3                     ; @tevbuf
l_.str.1:                               ; @.str.1
	.asciz	"timers done: usecs, min %ld, max %ld, mean %ld\n"

	.no_dead_strip	_timer_print
.subsections_via_symbols
