	.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	_is_sender@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_src_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_test@GOTPCREL(%rip), %rsi
	addq	$28, %rsi
	callq	_get_addr
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_31
LBB0_2:
	movq	_dst_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_test@GOTPCREL(%rip), %r12
	leaq	24(%r12), %rsi
	callq	_get_dst_addr
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_3
LBB0_31:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_connections@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_15
## %bb.4:
	xorl	%ebx, %ebx
	movq	_unmapped_addr@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_src_addr@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx), %edi
	movl	20(%r12), %esi
	callq	_rdma_bind_addr
	testl	%eax, %eax
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%r13)
	movq	8(%r12), %rdi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rdi
	callq	_addr_handler
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rdi,%rbx), %edi
	movl	(%r12), %edx
	movl	20(%r12), %esi
	movl	$2000, %ecx                     ## imm = 0x7D0
	callq	_rdma_resolve_addr
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movq	_connections@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_6
LBB0_15:
	xorl	%eax, %eax
	callq	_connect_events
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.16:
	movq	_cma_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%r12), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	movl	$3, %edi
	callq	_sleep
	movq	_message_count@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.17:
	movq	_is_sender@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.18:
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	movq	_connections@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_24
## %bb.19:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%r14, %rdi
	xorl	%esi, %esi
	callq	_post_sends
	testl	%eax, %eax
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movq	_connections@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_21
	jmp	LBB0_24
LBB0_23:
	leaq	L_str.10(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_poll_cqs
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_26
LBB0_24:
	leaq	L_str.11(%rip), %rdi
	callq	_puts
LBB0_25:
	xorl	%r15d, %r15d
LBB0_26:
	movq	_connections@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_31
## %bb.27:
	xorl	%ebx, %ebx
	leaq	L_.str.9(%rip), %r14
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	incq	%rbx
	movq	_connections@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_31
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r12), %esi
	callq	_rdma_leave_multicast
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_perror
	movl	%r13d, %r15d
	jmp	LBB0_30
LBB0_22:
	movl	%eax, %r15d
	jmp	LBB0_26
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rdi
LBB0_9:
	callq	_perror
	xorl	%eax, %eax
	callq	_connect_error
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mckey: starting %s\n"

	.comm	_is_sender,8,3                  ## @is_sender
L_.str.1:                               ## @.str.1
	.asciz	"client"

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

	.comm	_src_addr,8,3                   ## @src_addr
	.comm	_test,32,3                      ## @test
	.comm	_dst_addr,4,2                   ## @dst_addr
	.comm	_connections,4,2                ## @connections
L_.str.4:                               ## @.str.4
	.asciz	"mckey: addr bind failure"

	.comm	_unmapped_addr,8,3              ## @unmapped_addr
L_.str.5:                               ## @.str.5
	.asciz	"mckey: resolve addr failure"

	.comm	_cma_thread,4,2                 ## @cma_thread
	.comm	_message_count,8,3              ## @message_count
L_.str.9:                               ## @.str.9
	.asciz	"mckey: failure leaving"

L_str:                                  ## @str
	.asciz	"mckey: joining"

L_str.10:                               ## @str.10
	.asciz	"receiving data transfers"

L_str.11:                               ## @str.11
	.asciz	"data transfers complete"

L_str.12:                               ## @str.12
	.asciz	"initiating data transfers"

	.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x21, _is_sender@GOTPAGE
Lloh1:
	ldr	x21, [x21, _is_sender@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh8:
	adrp	x24, _src_addr@GOTPAGE
Lloh9:
	ldr	x24, [x24, _src_addr@GOTPAGEOFF]
	ldr	x0, [x24]
Lloh10:
	adrp	x22, _test@GOTPAGE
Lloh11:
	ldr	x22, [x22, _test@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, x22, #28
	bl	_get_addr
	mov	x19, x0
	cbnz	w0, LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _dst_addr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dst_addr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, x22, #24
	bl	_get_dst_addr
	mov	x19, x0
	cbz	w0, LBB0_4
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh17:
	adrp	x23, _connections@GOTPAGE
Lloh18:
	ldr	x23, [x23, _connections@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x25, #0
	mov	x26, #0
Lloh19:
	adrp	x28, _unmapped_addr@GOTPAGE
Lloh20:
	ldr	x28, [x28, _unmapped_addr@GOTPAGEOFF]
Lloh21:
	adrp	x27, l_.str.5@PAGE
Lloh22:
	add	x27, x27, l_.str.5@PAGEOFF
Lloh23:
	adrp	x20, l_.str.4@PAGE
Lloh24:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x25]
	ldr	w1, [x22, #20]
	bl	_rdma_bind_addr
	cbnz	w0, LBB0_29
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x28]
	ldr	x8, [x22, #8]
	cbz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x8, x25
	bl	_addr_handler
	mov	x19, x0
	cbz	w0, LBB0_11
	b	LBB0_28
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x8, x25]
	ldr	w1, [x22, #20]
	ldr	w2, [x22]
	mov	w3, #2000
	bl	_rdma_resolve_addr
	mov	x19, x0
	cbnz	w0, LBB0_28
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x23]
	add	x25, x25, #4
	cmp	x26, x8
	b.lt	LBB0_6
LBB0_12:
	bl	_connect_events
	mov	x19, x0
	cbnz	w0, LBB0_22
; %bb.13:
Lloh25:
	adrp	x8, _cma_thread@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cma_thread@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	add	x0, x22, #16
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	mov	w0, #3
	bl	_sleep
Lloh28:
	adrp	x8, _message_count@GOTPAGE
Lloh29:
	ldr	x8, [x8, _message_count@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.14:
	ldr	x8, [x21]
	cbz	x8, LBB0_19
; %bb.15:
Lloh31:
	adrp	x0, l_str.12@PAGE
Lloh32:
	add	x0, x0, l_str.12@PAGEOFF
	bl	_puts
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.16:
	mov	x20, #0
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x20
	mov	w1, #0
	bl	_post_sends
	cbnz	w0, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_17
	b	LBB0_20
LBB0_19:
Lloh33:
	adrp	x0, l_str.10@PAGE
Lloh34:
	add	x0, x0, l_str.10@PAGEOFF
	bl	_puts
	bl	_poll_cqs
	mov	x19, x0
	cbnz	w0, LBB0_22
LBB0_20:
Lloh35:
	adrp	x0, l_str.11@PAGE
Lloh36:
	add	x0, x0, l_str.11@PAGEOFF
	bl	_puts
LBB0_21:
	mov	w19, #0
LBB0_22:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.23:
	mov	x24, #0
Lloh37:
	adrp	x20, l_.str.9@PAGE
Lloh38:
	add	x20, x20, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.ge	LBB0_3
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x24, lsl #2]
	ldr	w1, [x22]
	bl	_rdma_leave_multicast
	cbz	w0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_perror
	mov	x19, x21
	b	LBB0_24
LBB0_27:
	mov	x19, x0
	b	LBB0_22
LBB0_28:
	mov	x20, x27
	b	LBB0_30
LBB0_29:
	mov	x19, x0
LBB0_30:
	mov	x0, x20
	bl	_perror
	bl	_connect_error
	b	LBB0_3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mckey: starting %s\n"

	.comm	_is_sender,8,3                  ; @is_sender
l_.str.1:                               ; @.str.1
	.asciz	"client"

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

	.comm	_src_addr,8,3                   ; @src_addr
	.comm	_test,32,3                      ; @test
	.comm	_dst_addr,4,2                   ; @dst_addr
	.comm	_connections,4,2                ; @connections
l_.str.4:                               ; @.str.4
	.asciz	"mckey: addr bind failure"

	.comm	_unmapped_addr,8,3              ; @unmapped_addr
l_.str.5:                               ; @.str.5
	.asciz	"mckey: resolve addr failure"

	.comm	_cma_thread,4,2                 ; @cma_thread
	.comm	_message_count,8,3              ; @message_count
l_.str.9:                               ; @.str.9
	.asciz	"mckey: failure leaving"

l_str:                                  ; @str
	.asciz	"mckey: joining"

l_str.10:                               ; @str.10
	.asciz	"receiving data transfers"

l_str.11:                               ; @str.11
	.asciz	"data transfers complete"

l_str.12:                               ; @str.12
	.asciz	"initiating data transfers"

	.no_dead_strip	_run
.subsections_via_symbols
