	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function run_benchmark
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_run_benchmark
	.p2align	4, 0x90
_run_benchmark:                         ## @run_benchmark
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rsi
	movl	16(%rbp), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_HUGE_VAL@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm3                   ## xmm3 = mem[0],zero
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	xorpd	%xmm4, %xmm4
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	xorpd	%xmm1, %xmm1
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	subsd	-88(%rbp), %xmm0                ## 8-byte Folded Reload
	movapd	%xmm0, %xmm2
	minsd	-48(%rbp), %xmm2                ## 8-byte Folded Reload
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	maxsd	-96(%rbp), %xmm0                ## 8-byte Folded Reload
	movapd	%xmm2, %xmm3
	movapd	%xmm0, %xmm4
	decl	%r15d
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm4, -96(%rbp)                ## 8-byte Spill
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	*%r13
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_gettimedouble
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	*%r14
	xorl	%eax, %eax
	callq	_gettimedouble
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	callq	*%r12
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_7
LBB0_8:
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_1:
	xorpd	%xmm0, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	xorpd	%xmm0, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
LBB0_9:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-72(%rbp), %xmm1        ## 4-byte Folded Reload
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	divsd	%xmm1, %xmm0
	callq	_print_number
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_print_number
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_print_number
	leaq	L_str(%rip), %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HUGE_VAL,8,3                   ## @HUGE_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: min "

L_.str.1:                               ## @.str.1
	.asciz	"us / avg "

L_.str.2:                               ## @.str.2
	.asciz	"us / max "

L_str:                                  ## @str
	.asciz	"us"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_benchmark                  ; -- Begin function run_benchmark
	.p2align	2
_run_benchmark:                         ; @run_benchmark
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	mov	x20, x6
	mov	x19, x5
	mov	x21, x0
Lloh0:
	adrp	x8, _HUGE_VAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HUGE_VAL@GOTPAGEOFF]
Lloh2:
	ldr	d11, [x8]
	cmp	w5, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	movi	d12, #0000000000000000
	mov	x26, x19
	movi	d10, #0000000000000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	fsub	d0, d9, d8
	fcmp	d0, d11
	fcsel	d11, d0, d11, mi
	fcmp	d0, d12
	fcsel	d12, d0, d12, gt
	fadd	d10, d10, d0
	subs	w26, w26, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x24, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	blr	x24
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_gettimedouble
	fmov	d8, d0
	mov	x0, x22
	blr	x25
	bl	_gettimedouble
	fmov	d9, d0
	cbz	x23, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	blr	x23
	b	LBB0_2
LBB0_7:
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d0, x8
	fmul	d8, d12, d0
	b	LBB0_9
LBB0_8:
	movi	d10, #0000000000000000
	movi	d8, #0000000000000000
LBB0_9:
	str	x21, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d9, x8
	fmul	d0, d11, d9
	scvtf	d11, w20
	fdiv	d0, d0, d11
	bl	_print_number
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	scvtf	d0, w19
	fdiv	d0, d10, d0
	fmul	d0, d0, d9
	fdiv	d0, d0, d11
	bl	_print_number
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	fdiv	d0, d8, d11
	bl	_print_number
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_puts
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HUGE_VAL,8,3                   ; @HUGE_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: min "

l_.str.1:                               ; @.str.1
	.asciz	"us / avg "

l_.str.2:                               ; @.str.2
	.asciz	"us / max "

l_str:                                  ; @str
	.asciz	"us"

.subsections_via_symbols
