	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function main
LCPI0_0:
	.long	0x49742400                      ## float 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpl	$5, %edi
	jg	LBB0_1
## %bb.41:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %edi
	callq	_exit
LBB0_1:
	movq	8(%r14), %r13
	movq	16(%r14), %rdi
	callq	_atoi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jg	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_3:
	movq	24(%r14), %rdi
	callq	_atoi
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_5:
	movq	32(%r14), %rdi
	callq	_atoi
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_7:
	movq	40(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_IOT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_9:
	movq	40(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_IOT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IOT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ecx, %edx
	cmpl	%ecx, %edx
	jne	LBB0_15
LBB0_14:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_18
LBB0_11:
	movq	40(%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_42
## %bb.12:
	movq	_IOT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IOT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	je	LBB0_14
LBB0_15:
	movq	_IOT_WRITE@GOTPCREL(%rip), %rax
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %edx
	jne	LBB0_16
## %bb.17:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_42:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
                                        ## implicit-def: $ecx
                                        ## kill: killed $ecx
	jmp	LBB0_18
LBB0_16:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
LBB0_18:
	movq	_O_DIRECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_open
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_20
## %bb.19:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_20:
	leaq	-80(%rbp), %rsi
	movl	%r12d, %edi
	callq	_fstat
	testq	%rax, %rax
	jns	LBB0_22
## %bb.21:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_22:
	movl	-76(%rbp), %r14d
	movl	%r14d, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	jne	LBB0_23
## %bb.24:
	movl	%r14d, %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	jne	LBB0_27
## %bb.25:
	movl	%r14d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	leaq	L_.str.10(%rip), %rsi
                                        ## implicit-def: $r15d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_30
LBB0_23:
	movl	-80(%rbp), %edx
	jmp	LBB0_28
LBB0_27:
	movl	%r12d, %edi
	callq	_disk_getsize
	movl	%eax, %edx
LBB0_28:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%edx, %edx
	jg	LBB0_31
## %bb.29:
	movl	%edx, %r15d
	leaq	L_.str.11(%rip), %rsi
LBB0_30:
	movl	$1, %edi
	callq	_errx
	movl	%r15d, %edx
LBB0_31:
	leaq	L_.str.12(%rip), %rdi
	movq	%r13, %rsi
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_printf
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_calloc
	testl	%ebx, %ebx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_32
## %bb.37:
	movq	%rax, %r13
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_calloc
	movq	%rax, (%r13,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_38
## %bb.39:
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	shlq	$2, %r15
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_random
	movl	%eax, %ecx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	%r14d
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, %r13d
	imull	%r14d, %r13d
	leaq	(%r12,%r15), %r14
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_choose_aio
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r15,2), %r9
	movq	%r14, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%eax, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	callq	_set_aio
	addq	$4, %r15
	cmpq	%r15, %rbx
	jne	LBB0_40
	jmp	LBB0_33
LBB0_32:
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	%r15, %r12
LBB0_33:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jle	LBB0_36
## %bb.34:
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	callq	_aio_waitcomplete
	movq	-96(%rbp), %rbx
	subq	%r12, %rbx
	shrq	$2, %rbx
	xorl	%edi, %edi
	cmpl	%ebx, %r15d
	setg	%dil
	callq	_assert
	movl	%ebx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	xorl	%eax, %eax
	callq	_random
	movl	%eax, %ecx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	%r14d
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, %r15d
	imull	%r14d, %r15d
	movslq	%ebx, %rbx
	leaq	(%r12,%rbx,4), %r14
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_choose_aio
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rbx,8), %r9
	movq	%r14, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%eax, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r14d, %r8d
	callq	_set_aio
	decl	%r13d
	jne	LBB0_35
LBB0_36:
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	leaq	-128(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_timersub
	cvtsi2ssq	-104(%rbp), %xmm0
	cvtsi2ssq	-112(%rbp), %xmm1
	divss	LCPI0_0(%rip), %xmm0
	addss	%xmm0, %xmm1
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	leaq	L_.str.13(%rip), %rdi
	movb	$1, %al
	callq	_printf
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-56(%rbp), %xmm0        ## 4-byte Folded Reload
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	divss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	cvtss2sd	%xmm0, %xmm0
	leaq	L_.str.14(%rip), %rdi
	movb	$1, %al
	callq	_printf
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	mulss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	cvtss2sd	%xmm0, %xmm0
	leaq	L_.str.15(%rip), %rdi
	movb	$1, %al
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <file> <io size> <number of runs> <concurrency> <ro|wo|rw>\n"

L_.str.1:                               ## @.str.1
	.asciz	"the I/O size must be >0"

L_.str.2:                               ## @.str.2
	.asciz	"the number of runs must be >0"

L_.str.3:                               ## @.str.3
	.asciz	"AIO concurrency must be >0"

L_.str.4:                               ## @.str.4
	.asciz	"ro"

	.comm	_IOT_READ,4,2                   ## @IOT_READ
L_.str.5:                               ## @.str.5
	.asciz	"rw"

	.comm	_IOT_WRITE,4,2                  ## @IOT_WRITE
L_.str.6:                               ## @.str.6
	.asciz	"wo"

L_.str.7:                               ## @.str.7
	.asciz	"the I/O type needs to be \"ro\", \"rw\", or \"wo\"!\n"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_DIRECT,4,2                   ## @O_DIRECT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.8:                               ## @.str.8
	.asciz	"open failed"

L_.str.9:                               ## @.str.9
	.asciz	"fstat failed"

L_.str.10:                              ## @.str.10
	.asciz	"unknown file type"

L_.str.11:                              ## @.str.11
	.asciz	"path provided too small"

L_.str.12:                              ## @.str.12
	.asciz	"File: %s; File size %jd bytes\n"

L_.str.13:                              ## @.str.13
	.asciz	"Runtime: %.2f seconds, "

L_.str.14:                              ## @.str.14
	.asciz	"Op rate: %.2f ops/sec, "

L_.str.15:                              ## @.str.15
	.asciz	"Avg transfer rate: %.2f bytes/sec\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x22, x1
	cmp	w0, #5
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_exit
LBB0_2:
	ldp	x24, x0, [x22, #8]
	bl	_atoi
	mov	x27, x0
	cmp	w0, #0
	b.gt	LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	ldr	x0, [x22, #24]
	bl	_atoi
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	cmp	w0, #0
	b.gt	LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_6:
	ldr	x0, [x22, #32]
	bl	_atoi
	mov	x20, x0
	cmp	w0, #0
	b.gt	LBB0_8
; %bb.7:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_8:
	ldr	x0, [x22, #40]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_10
; %bb.9:
Lloh10:
	adrp	x8, _IOT_READ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IOT_READ@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	b	LBB0_12
LBB0_10:
	ldr	x0, [x22, #40]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_13
; %bb.11:
Lloh15:
	adrp	x8, _IOT_READ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IOT_READ@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
Lloh18:
	adrp	x8, _IOT_WRITE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IOT_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w8, w8, w23
	cmp	w8, w23
	b.ne	LBB0_15
LBB0_12:
Lloh21:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
	ldr	x0, [x22, #40]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.14:
Lloh25:
	adrp	x8, _IOT_WRITE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IOT_WRITE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _IOT_READ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IOT_READ@GOTPAGEOFF]
Lloh30:
	ldr	w23, [x9]
	cmp	w8, w23
	b.eq	LBB0_12
LBB0_15:
Lloh31:
	adrp	x9, _IOT_WRITE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IOT_WRITE@GOTPAGEOFF]
Lloh33:
	adrp	x10, _O_RDWR@GOTPAGE
Lloh34:
	ldr	x10, [x10, _O_RDWR@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x11, _O_WRONLY@GOTPAGE
Lloh37:
	ldr	x11, [x11, _O_WRONLY@GOTPAGEOFF]
	cmp	w8, w9
	csel	x9, x11, x10, eq
	mov	x23, x8
	b	LBB0_17
LBB0_16:
Lloh38:
	adrp	x1, l_.str.7@PAGE
Lloh39:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
Lloh40:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh41:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
                                        ; implicit-def: $w23
LBB0_17:
	ldr	w8, [x9]
Lloh42:
	adrp	x9, _O_DIRECT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _O_DIRECT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x24
	bl	_open
	mov	x19, x0
	tbz	w0, #31, LBB0_19
; %bb.18:
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_19:
	add	x1, sp, #104
	mov	x0, x19
	bl	_fstat
	tbz	x0, #63, LBB0_21
; %bb.20:
Lloh47:
	adrp	x1, l_.str.9@PAGE
Lloh48:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_21:
	ldr	w25, [sp, #108]
	mov	x0, x25
	bl	_S_ISREG
	str	w19, [sp, #32]                  ; 4-byte Folded Spill
	cbnz	x0, LBB0_25
; %bb.22:
	mov	x0, x25
	bl	_S_ISBLK
	cbnz	x0, LBB0_26
; %bb.23:
	mov	x0, x25
	bl	_S_ISCHR
	cbnz	x0, LBB0_26
; %bb.24:
Lloh49:
	adrp	x1, l_.str.10@PAGE
Lloh50:
	add	x1, x1, l_.str.10@PAGEOFF
                                        ; implicit-def: $w21
	b	LBB0_28
LBB0_25:
	ldr	w21, [sp, #104]
	cmp	w21, #0
	b.le	LBB0_27
	b	LBB0_29
LBB0_26:
	mov	x0, x19
	bl	_disk_getsize
	mov	x21, x0
	cmp	w21, #0
	b.gt	LBB0_29
LBB0_27:
Lloh51:
	adrp	x1, l_.str.11@PAGE
Lloh52:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_28:
	mov	w0, #1
	bl	_errx
LBB0_29:
	stp	x24, x21, [sp]
Lloh53:
	adrp	x0, l_.str.12@PAGE
Lloh54:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	mov	x0, x20
	mov	w1, #4
	bl	_calloc
	mov	x19, x0
	mov	x0, x20
	mov	w1, #8
	bl	_calloc
	mov	x28, x0
	cmp	w20, #0
	str	w20, [sp, #36]                  ; 4-byte Folded Spill
	stp	x21, x19, [sp, #16]             ; 16-byte Folded Spill
	b.le	LBB0_34
; %bb.30:
	mov	w20, w20
	mov	x25, x20
	mov	x26, x28
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	mov	x1, x27
	bl	_calloc
	str	x0, [x26], #8
	subs	x25, x25, #1
	b.ne	LBB0_31
; %bb.32:
	add	x0, sp, #80
	mov	x1, #0
	bl	_gettimeofday
	mov	x24, x27
	mov	x27, x19
	mov	x22, x28
	mov	x26, x28
	sdiv	w25, w21, w24
	ldr	w19, [sp, #32]                  ; 4-byte Folded Reload
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	bl	_random
	sdiv	w8, w0, w25
	msub	w8, w8, w25, w0
	mul	w28, w8, w24
	mov	x0, x23
	bl	_choose_aio
	mov	x1, x0
	ldr	x5, [x26], #8
	mov	x0, x27
	mov	x2, x19
	mov	x3, x28
	mov	x4, x24
	bl	_set_aio
	add	x27, x27, #4
	subs	x20, x20, #1
	b.ne	LBB0_33
	b	LBB0_35
LBB0_34:
	mov	x22, x28
	add	x0, sp, #80
	mov	x1, #0
	bl	_gettimeofday
	ldr	w19, [sp, #32]                  ; 4-byte Folded Reload
	mov	x24, x27
LBB0_35:
	str	w23, [sp, #44]                  ; 4-byte Folded Spill
	ldp	w21, w8, [sp, #36]              ; 8-byte Folded Reload
	cmp	w8, #1
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	b.lt	LBB0_38
; %bb.36:
	ldr	w20, [sp, #40]                  ; 4-byte Folded Reload
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sdiv	w28, w8, w24
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #96
	mov	x1, #0
	bl	_aio_waitcomplete
	ldr	x8, [sp, #96]
	sub	x8, x8, x23
	lsr	x26, x8, #2
	cmp	w21, w26
	cset	w0, gt
	bl	_assert
	mvn	w8, w26
	lsr	w0, w8, #31
	bl	_assert
	bl	_random
	sdiv	w8, w0, w28
	msub	w8, w8, w28, w0
	mul	w25, w8, w24
	add	x27, x23, w26, sxtw #2
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	bl	_choose_aio
	mov	x1, x0
	ldr	x5, [x22, w26, sxtw #3]
	mov	x0, x27
	mov	x2, x19
	mov	x3, x25
	mov	x4, x24
	bl	_set_aio
	subs	w20, w20, #1
	b.ne	LBB0_37
LBB0_38:
	add	x0, sp, #64
	mov	x1, #0
	bl	_gettimeofday
	add	x0, sp, #64
	add	x1, sp, #80
	add	x2, sp, #48
	bl	_timersub
	ldp	x9, x8, [sp, #48]
	scvtf	s0, x8
	mov	w8, #9216
	movk	w8, #18804, lsl #16
	fmov	s1, w8
	fdiv	s0, s0, s1
	scvtf	s1, x9
	fadd	s8, s0, s1
	fcvt	d0, s8
	str	d0, [sp]
Lloh55:
	adrp	x0, l_.str.13@PAGE
Lloh56:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	scvtf	s9, w8
	fdiv	s0, s9, s8
	fcvt	d0, s0
	str	d0, [sp]
Lloh57:
	adrp	x0, l_.str.14@PAGE
Lloh58:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_printf
	scvtf	s0, w24
	fmul	s0, s0, s9
	fdiv	s0, s0, s8
	fcvt	d0, s0
	str	d0, [sp]
Lloh59:
	adrp	x0, l_.str.15@PAGE
Lloh60:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <file> <io size> <number of runs> <concurrency> <ro|wo|rw>\n"

l_.str.1:                               ; @.str.1
	.asciz	"the I/O size must be >0"

l_.str.2:                               ; @.str.2
	.asciz	"the number of runs must be >0"

l_.str.3:                               ; @.str.3
	.asciz	"AIO concurrency must be >0"

l_.str.4:                               ; @.str.4
	.asciz	"ro"

	.comm	_IOT_READ,4,2                   ; @IOT_READ
l_.str.5:                               ; @.str.5
	.asciz	"rw"

	.comm	_IOT_WRITE,4,2                  ; @IOT_WRITE
l_.str.6:                               ; @.str.6
	.asciz	"wo"

l_.str.7:                               ; @.str.7
	.asciz	"the I/O type needs to be \"ro\", \"rw\", or \"wo\"!\n"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_DIRECT,4,2                   ; @O_DIRECT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.8:                               ; @.str.8
	.asciz	"open failed"

l_.str.9:                               ; @.str.9
	.asciz	"fstat failed"

l_.str.10:                              ; @.str.10
	.asciz	"unknown file type"

l_.str.11:                              ; @.str.11
	.asciz	"path provided too small"

l_.str.12:                              ; @.str.12
	.asciz	"File: %s; File size %jd bytes\n"

l_.str.13:                              ; @.str.13
	.asciz	"Runtime: %.2f seconds, "

l_.str.14:                              ; @.str.14
	.asciz	"Op rate: %.2f ops/sec, "

l_.str.15:                              ; @.str.15
	.asciz	"Avg transfer rate: %.2f bytes/sec\n"

.subsections_via_symbols
