	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_perftest
_print_perftest:                        ## @print_perftest
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	24(%r15), %rcx
	cmpq	$4, %rsi
	jae	LBB0_5
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_5:
	movq	%rsi, %rdx
	andq	$-4, %rdx
	leaq	-4(%rdx), %rax
	movq	%rax, %rbx
	shrq	$2, %rbx
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rax
	andq	$-2, %rax
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	movdqu	32(%rcx,%rdi,8), %xmm4
	movdqu	48(%rcx,%rdi,8), %xmm5
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm0, %xmm2
	pshufd	$232, %xmm3, %xmm3              ## xmm3 = xmm3[0,2,2,3]
	paddd	%xmm1, %xmm3
	pshufd	$232, %xmm4, %xmm0              ## xmm0 = xmm4[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm5, %xmm1              ## xmm1 = xmm5[0,2,2,3]
	paddd	%xmm3, %xmm1
	addq	$8, %rdi
	addq	$-2, %rax
	jne	LBB0_8
## %bb.9:
	testb	$1, %bl
	je	LBB0_11
LBB0_10:
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
LBB0_11:
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	jmp	LBB0_12
LBB0_6:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %bl
	jne	LBB0_10
	jmp	LBB0_11
LBB0_4:
	addl	(%rcx,%rdx,8), %eax
	incq	%rdx
LBB0_12:
	cmpq	%rdx, %rsi
	jne	LBB0_4
LBB0_13:
	movl	8(%r15), %r8d
	movl	12(%r15), %ebx
	cltd
	idivl	%r8d
	movl	%ebx, %ecx
	imull	%eax, %ecx
	leal	1048575(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$20, %edx
	movq	16(%r15), %rcx
	movq	_NVME_OPC_READ@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rdi, %rcx
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_printf
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.14:
	cmpq	$0, (%r15)
	je	LBB0_17
## %bb.15:
	leaq	L_.str.3(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,8), %eax
	cltd
	idivl	8(%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	cmpq	(%r15), %rbx
	jb	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Threads: %2d Size: %6d %5s Time: %3d IO/s: %7ju MB/s: %4ju\n"

	.comm	_NVME_OPC_READ,8,3              ## @NVME_OPC_READ
L_.str.1:                               ## @.str.1
	.asciz	"READ"

L_.str.2:                               ## @.str.2
	.asciz	"WRITE"

L_.str.3:                               ## @.str.3
	.asciz	"\t%3d: %8ju IO/s\n"

	.no_dead_strip	_print_perftest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_perftest
_print_perftest:                        ; @print_perftest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	cmp	x1, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x9, #0
	mov	w10, #0
	b	LBB0_7
LBB0_3:
	mov	w10, #0
	b	LBB0_9
LBB0_4:
	and	x9, x1, #0xfffffffffffffff8
	movi.2d	v0, #0000000000000000
	add	x10, x8, #32
	mov	x11, x9
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10], #64
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	subs	x11, x11, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w10, s0
	cmp	x1, x9
	b.eq	LBB0_9
LBB0_7:
	sub	x11, x1, x9
	add	x8, x8, x9, lsl #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8], #8
	add	w10, w10, w9
	subs	x11, x11, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	w8, w2, [x19, #8]
	sdiv	w9, w10, w8
	mul	w10, w2, w9
	mov	w11, #1048575
	add	w11, w10, w11
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #20
	ldr	x11, [x19, #16]
Lloh0:
	adrp	x12, _NVME_OPC_READ@GOTPAGE
Lloh1:
	ldr	x12, [x12, _NVME_OPC_READ@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
Lloh3:
	adrp	x13, l_.str.2@PAGE
Lloh4:
	add	x13, x13, l_.str.2@PAGEOFF
Lloh5:
	adrp	x14, l_.str.1@PAGE
Lloh6:
	add	x14, x14, l_.str.1@PAGEOFF
	cmp	x11, x12
	csel	x11, x14, x13, eq
	stp	x11, x8, [sp]
	stp	x9, x10, [sp, #16]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	cbz	w20, LBB0_13
; %bb.10:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.11:
	mov	x20, #0
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	ldr	w9, [x19, #8]
	sdiv	w2, w8, w9
	mov	x0, x21
	mov	x1, x20
	bl	_printf
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.lo	LBB0_12
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Threads: %2d Size: %6d %5s Time: %3d IO/s: %7ju MB/s: %4ju\n"

	.comm	_NVME_OPC_READ,8,3              ; @NVME_OPC_READ
l_.str.1:                               ; @.str.1
	.asciz	"READ"

l_.str.2:                               ; @.str.2
	.asciz	"WRITE"

l_.str.3:                               ; @.str.3
	.asciz	"\t%3d: %8ju IO/s\n"

	.no_dead_strip	_print_perftest
.subsections_via_symbols
