	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run
_run:                                   ## @run
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_custom@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_transfer_size@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_test_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TEST_CNT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-8, %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_malloc
	movq	_buf@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	testl	%eax, %eax
	je	LBB0_24
## %bb.4:
	movq	_dst_addr@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_8
LBB0_5:
	subq	$8, %rsp
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rbx
	leaq	L_.str.7(%rip), %r10
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	leaq	L_.str.6(%rip), %r9
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_printf
	addq	$32, %rsp
	cmpl	$0, (%r12)
	je	LBB0_9
## %bb.6:
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.7:
	xorl	%eax, %eax
	callq	_client_connect
	jmp	LBB0_12
LBB0_8:
	xorl	%eax, %eax
	callq	_server_listen
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
	jmp	LBB0_5
LBB0_9:
	movq	_opt_latency@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_optimization@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, (%r15)
	je	LBB0_15
## %bb.10:
	xorl	%eax, %eax
	callq	_client_connect
	jmp	LBB0_16
LBB0_11:
	xorl	%eax, %eax
	callq	_server_connect
LBB0_12:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
## %bb.13:
	xorl	%eax, %eax
	callq	_run_test
	movl	%eax, %ebx
LBB0_14:
	movq	_rs@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_SHUT_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rshutdown
	movl	(%r14), %edi
	callq	_rclose
	jmp	LBB0_27
LBB0_15:
	xorl	%eax, %eax
	callq	_server_connect
LBB0_16:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
## %bb.17:
	movq	_TEST_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.18:
	movl	$8, %ebx
	movq	_test_size@GOTPCREL(%rip), %r13
	movq	_size_option@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_22
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	-8(%rcx,%rbx), %rdx
	cmpq	(%r14), %rdx
	jg	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%rcx,%rbx), %edi
	callq	_init_latency_test
	xorl	%eax, %eax
	callq	_run_test
	movq	_TEST_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_22:
	movq	_rs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SHUT_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rshutdown
	movl	(%rbx), %edi
	callq	_rclose
	movq	_opt_bandwidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_optimization@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, (%r15)
	je	LBB0_25
## %bb.23:
	xorl	%eax, %eax
	callq	_client_connect
	jmp	LBB0_26
LBB0_24:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$-1, %ebx
	jmp	LBB0_28
LBB0_25:
	xorl	%eax, %eax
	callq	_server_connect
LBB0_26:
	movl	%eax, %ebx
	movq	_buf@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_29
LBB0_27:
	movl	(%r13), %edi
	callq	_free
LBB0_28:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	_TEST_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_35
## %bb.30:
	movl	$8, %r12d
	movq	_test_size@GOTPCREL(%rip), %r14
	movq	_size_option@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_35
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	-8(%rcx,%r12), %rdx
	cmpq	(%r15), %rdx
	jg	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	(%rcx,%r12), %edi
	callq	_init_bandwidth_test
	xorl	%eax, %eax
	callq	_run_test
	movq	_TEST_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_31
LBB0_35:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_custom,4,2                     ## @custom
	.comm	_test_size,8,3                  ## @test_size
	.comm	_TEST_CNT,4,2                   ## @TEST_CNT
	.comm	_transfer_size,4,2              ## @transfer_size
	.comm	_buf,4,2                        ## @buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

	.comm	_dst_addr,8,3                   ## @dst_addr
L_.str.1:                               ## @.str.1
	.asciz	"%-10s%-8s%-8s%-8s%-8s%8s %10s%13s\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"bytes"

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

L_.str.5:                               ## @.str.5
	.asciz	"iters"

L_.str.6:                               ## @.str.6
	.asciz	"total"

L_.str.7:                               ## @.str.7
	.asciz	"time"

L_.str.8:                               ## @.str.8
	.asciz	"Gb/sec"

L_.str.9:                               ## @.str.9
	.asciz	"usec/xfer"

	.comm	_opt_latency,4,2                ## @opt_latency
	.comm	_optimization,4,2               ## @optimization
	.comm	_size_option,8,3                ## @size_option
	.comm	_rs,4,2                         ## @rs
	.comm	_SHUT_RDWR,4,2                  ## @SHUT_RDWR
	.comm	_opt_bandwidth,4,2              ## @opt_bandwidth
	.no_dead_strip	_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run
_run:                                   ; @run
	.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	x24, _custom@GOTPAGE
Lloh1:
	ldr	x24, [x24, _custom@GOTPAGEOFF]
Lloh2:
	adrp	x21, _test_size@GOTPAGE
Lloh3:
	ldr	x21, [x21, _test_size@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	x9, [x21]
Lloh4:
	adrp	x22, _TEST_CNT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _TEST_CNT@GOTPAGEOFF]
	ldrsw	x10, [x22]
	add	x9, x9, x10, lsl #4
	sub	x9, x9, #8
Lloh6:
	adrp	x10, _transfer_size@GOTPAGE
Lloh7:
	ldr	x10, [x10, _transfer_size@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_malloc
Lloh8:
	adrp	x20, _buf@GOTPAGE
Lloh9:
	ldr	x20, [x20, _buf@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_21
; %bb.1:
Lloh10:
	adrp	x23, _dst_addr@GOTPAGE
Lloh11:
	ldr	x23, [x23, _dst_addr@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_5
LBB0_2:
Lloh12:
	adrp	x8, l_.str.9@PAGE
Lloh13:
	add	x8, x8, l_.str.9@PAGEOFF
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh20:
	adrp	x3, l_.str.4@PAGE
Lloh21:
	add	x3, x3, l_.str.4@PAGEOFF
Lloh22:
	adrp	x4, l_.str.5@PAGE
Lloh23:
	add	x4, x4, l_.str.5@PAGEOFF
Lloh24:
	adrp	x5, l_.str.6@PAGE
Lloh25:
	add	x5, x5, l_.str.6@PAGEOFF
Lloh26:
	adrp	x6, l_.str.7@PAGE
Lloh27:
	add	x6, x6, l_.str.7@PAGEOFF
Lloh28:
	adrp	x7, l_.str.8@PAGE
Lloh29:
	add	x7, x7, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w8, [x24]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.4:
	bl	_client_connect
	mov	x19, x0
	cbnz	w0, LBB0_19
	b	LBB0_9
LBB0_5:
	bl	_server_listen
	mov	x19, x0
	cbnz	w0, LBB0_19
	b	LBB0_2
LBB0_6:
Lloh30:
	adrp	x8, _opt_latency@GOTPAGE
Lloh31:
	ldr	x8, [x8, _opt_latency@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x24, _optimization@GOTPAGE
Lloh34:
	ldr	x24, [x24, _optimization@GOTPAGEOFF]
	str	w8, [x24]
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.7:
	bl	_client_connect
	mov	x19, x0
	cbnz	w0, LBB0_19
	b	LBB0_12
LBB0_8:
	bl	_server_connect
	mov	x19, x0
	cbnz	w0, LBB0_19
LBB0_9:
	bl	_run_test
	mov	x19, x0
LBB0_10:
Lloh35:
	adrp	x21, _rs@GOTPAGE
Lloh36:
	ldr	x21, [x21, _rs@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh37:
	adrp	x8, _SHUT_RDWR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_rshutdown
	ldr	w0, [x21]
	bl	_rclose
	b	LBB0_19
LBB0_11:
	bl	_server_connect
	mov	x19, x0
	cbnz	w0, LBB0_19
LBB0_12:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.13:
	mov	x19, #0
	mov	x25, #0
Lloh40:
	adrp	x26, _size_option@GOTPAGE
Lloh41:
	ldr	x26, [x26, _size_option@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x25, x25, #1
	add	x19, x19, #16
	cmp	x25, w8, sxtw
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x10, [x9, x19]
	ldr	x11, [x26]
	cmp	x10, x11
	b.gt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x8, x9, x19
	ldr	w0, [x8, #8]
	bl	_init_latency_test
	bl	_run_test
	ldr	w8, [x22]
	b	LBB0_14
LBB0_17:
Lloh42:
	adrp	x19, _rs@GOTPAGE
Lloh43:
	ldr	x19, [x19, _rs@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh44:
	adrp	x8, _SHUT_RDWR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_rshutdown
	ldr	w0, [x19]
	bl	_rclose
Lloh47:
	adrp	x8, _opt_bandwidth@GOTPAGE
Lloh48:
	ldr	x8, [x8, _opt_bandwidth@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x24]
	ldr	x8, [x23]
	cbz	x8, LBB0_22
; %bb.18:
	bl	_client_connect
	mov	x19, x0
	cbz	w0, LBB0_23
LBB0_19:
	ldr	w0, [x20]
	bl	_free
LBB0_20:
	mov	x0, x19
	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
LBB0_21:
Lloh50:
	adrp	x0, l_.str@PAGE
Lloh51:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w19, #-1
	b	LBB0_20
LBB0_22:
	bl	_server_connect
	mov	x19, x0
	cbnz	w0, LBB0_19
LBB0_23:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.24:
	mov	x19, #0
	mov	x23, #0
Lloh52:
	adrp	x24, _size_option@GOTPAGE
Lloh53:
	ldr	x24, [x24, _size_option@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x23, x23, #1
	add	x19, x19, #16
	cmp	x23, w8, sxtw
	b.ge	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x10, [x9, x19]
	ldr	x11, [x24]
	cmp	x10, x11
	b.gt	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x8, x9, x19
	ldr	w0, [x8, #8]
	bl	_init_bandwidth_test
	bl	_run_test
	ldr	w8, [x22]
	b	LBB0_25
LBB0_28:
	mov	w19, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_custom,4,2                     ; @custom
	.comm	_test_size,8,3                  ; @test_size
	.comm	_TEST_CNT,4,2                   ; @TEST_CNT
	.comm	_transfer_size,4,2              ; @transfer_size
	.comm	_buf,4,2                        ; @buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

	.comm	_dst_addr,8,3                   ; @dst_addr
l_.str.1:                               ; @.str.1
	.asciz	"%-10s%-8s%-8s%-8s%-8s%8s %10s%13s\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"bytes"

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

l_.str.5:                               ; @.str.5
	.asciz	"iters"

l_.str.6:                               ; @.str.6
	.asciz	"total"

l_.str.7:                               ; @.str.7
	.asciz	"time"

l_.str.8:                               ; @.str.8
	.asciz	"Gb/sec"

l_.str.9:                               ; @.str.9
	.asciz	"usec/xfer"

	.comm	_opt_latency,4,2                ; @opt_latency
	.comm	_optimization,4,2               ; @optimization
	.comm	_size_option,8,3                ; @size_option
	.comm	_rs,4,2                         ; @rs
	.comm	_SHUT_RDWR,4,2                  ; @SHUT_RDWR
	.comm	_opt_bandwidth,4,2              ; @opt_bandwidth
	.no_dead_strip	_run
.subsections_via_symbols
