	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function run
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_RDMA_PS_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	_server@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_rdma_getaddrinfo
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_33
LBB0_2:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movabsq	$68719476737, %rax              ## imm = 0x1000000001
	movq	%rax, -80(%rbp)
	movq	_id@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -72(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movaps	%xmm0, -96(%rbp)
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_rdma_create_ep
	movl	%eax, %ebx
	cmpl	$16, -76(%rbp)
	jl	LBB0_4
## %bb.3:
	movq	_IBV_SEND_INLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_send_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%ebx, %ebx
	je	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	jmp	LBB0_32
LBB0_4:
	leaq	L_str(%rip), %rdi
	callq	_puts
	testl	%ebx, %ebx
	jne	LBB0_6
LBB0_7:
	movl	(%r14), %edi
	movq	_recv_msg@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$16, %edx
	callq	_rdma_reg_msgs
	movq	_mr@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	_send_flags@GOTPCREL(%rip), %r13
	movq	_IBV_SEND_INLINE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%ecx, (%r13)
	jne	LBB0_12
## %bb.10:
	movl	(%r14), %edi
	movq	_send_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edx
	callq	_rdma_reg_msgs
	movq	_send_mr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_34
## %bb.11:
	movl	(%r15), %eax
LBB0_12:
	movl	(%r14), %edi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	movl	$16, %ecx
	movl	%eax, %r8d
	callq	_rdma_post_recv
	testl	%eax, %eax
	jne	LBB0_13
## %bb.14:
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_rdma_connect
	testl	%eax, %eax
	jne	LBB0_15
## %bb.16:
	movl	(%r14), %edi
	movq	_send_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_send_mr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%r13), %r9d
	xorl	%esi, %esi
	movl	$16, %ecx
	callq	_rdma_post_send
	testl	%eax, %eax
	jne	LBB0_17
## %bb.18:
	movq	%r12, %r13
	movq	%r15, %r12
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_rdma_get_send_comp
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	js	LBB0_21
## %bb.22:
	leaq	-48(%rbp), %rbx
	movq	%r12, %r15
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_rdma_get_recv_comp
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	movq	%r13, %r12
	movq	_send_flags@GOTPCREL(%rip), %r13
	js	LBB0_25
LBB0_27:
	movl	(%r14), %edi
	callq	_rdma_disconnect
LBB0_28:
	movl	(%r12), %eax
	testl	%eax, (%r13)
	jne	LBB0_30
## %bb.29:
	movq	_send_mr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdma_dereg_mr
LBB0_30:
	movl	(%r15), %edi
	callq	_rdma_dereg_mr
LBB0_31:
	movl	(%r14), %edi
	callq	_rdma_destroy_ep
LBB0_32:
	movq	-56(%rbp), %rdi
	callq	_rdma_freeaddrinfo
LBB0_33:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	movl	$-1, %ebx
	jmp	LBB0_31
LBB0_13:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_perror
	jmp	LBB0_28
LBB0_15:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_perror
	jmp	LBB0_28
LBB0_17:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_26
LBB0_21:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rdi
	movq	%r12, %r15
	movq	%r13, %r12
	movq	_send_flags@GOTPCREL(%rip), %r13
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %ebx
LBB0_26:
	callq	_perror
	jmp	LBB0_27
LBB0_34:
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	movl	$-1, %ebx
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_PS_TCP,4,2                ## @RDMA_PS_TCP
	.comm	_server,4,2                     ## @server
	.comm	_port,4,2                       ## @port
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rdma_getaddrinfo: %s\n"

	.comm	_id,4,2                         ## @id
	.comm	_IBV_SEND_INLINE,4,2            ## @IBV_SEND_INLINE
	.comm	_send_flags,4,2                 ## @send_flags
L_.str.2:                               ## @.str.2
	.asciz	"rdma_create_ep"

	.comm	_recv_msg,4,2                   ## @recv_msg
	.comm	_mr,4,2                         ## @mr
L_.str.3:                               ## @.str.3
	.asciz	"rdma_reg_msgs for recv_msg"

	.comm	_send_msg,4,2                   ## @send_msg
	.comm	_send_mr,4,2                    ## @send_mr
L_.str.4:                               ## @.str.4
	.asciz	"rdma_reg_msgs for send_msg"

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

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

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

L_.str.8:                               ## @.str.8
	.asciz	"rdma_get_send_comp"

L_.str.9:                               ## @.str.9
	.asciz	"rdma_get_recv_comp"

L_str:                                  ## @str
	.asciz	"rdma_client: device doesn't support IBV_SEND_INLINE, using sge sends"

	.no_dead_strip	_run
.subsections_via_symbols

	.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
lCPI0_0:
	.long	1                               ; 0x1
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_run:                                   ; @run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _RDMA_PS_TCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_PS_TCP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #92]
Lloh3:
	adrp	x8, _server@GOTPAGE
Lloh4:
	ldr	x8, [x8, _server@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _port@GOTPAGE
Lloh7:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #64
	add	x3, sp, #56
	bl	_rdma_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_gai_strerror
	str	x0, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_24
LBB0_2:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh13:
	adrp	x19, _id@GOTPAGE
Lloh14:
	ldr	x19, [x19, _id@GOTPAGEOFF]
	str	d0, [sp, #32]
	ldr	w8, [x19]
	str	w8, [sp, #40]
	movi.4s	v0, #1
	str	q0, [sp, #16]
	ldr	x1, [sp, #56]
	add	x3, sp, #16
	mov	x0, x19
	mov	x2, #0
	bl	_rdma_create_ep
	mov	x20, x0
	ldr	w8, [sp, #36]
Lloh15:
	adrp	x21, _IBV_SEND_INLINE@GOTPAGE
Lloh16:
	ldr	x21, [x21, _IBV_SEND_INLINE@GOTPAGEOFF]
Lloh17:
	adrp	x22, _send_flags@GOTPAGE
Lloh18:
	ldr	x22, [x22, _send_flags@GOTPAGEOFF]
	cmp	w8, #16
	b.lt	LBB0_5
; %bb.3:
	ldr	w8, [x21]
	str	w8, [x22]
	cbz	w20, LBB0_6
LBB0_4:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	b	LBB0_23
LBB0_5:
Lloh21:
	adrp	x0, l_str@PAGE
Lloh22:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	cbnz	w20, LBB0_4
LBB0_6:
	ldr	w0, [x19]
Lloh23:
	adrp	x20, _recv_msg@GOTPAGE
Lloh24:
	ldr	x20, [x20, _recv_msg@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #16
	bl	_rdma_reg_msgs
Lloh25:
	adrp	x23, _mr@GOTPAGE
Lloh26:
	ldr	x23, [x23, _mr@GOTPAGEOFF]
	str	w0, [x23]
	cbz	w0, LBB0_25
; %bb.7:
	mov	x4, x0
	ldr	w8, [x22]
	ldr	w9, [x21]
Lloh27:
	adrp	x25, _send_msg@GOTPAGE
Lloh28:
	ldr	x25, [x25, _send_msg@GOTPAGEOFF]
Lloh29:
	adrp	x24, _send_mr@GOTPAGE
Lloh30:
	ldr	x24, [x24, _send_mr@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.8:
	ldr	w0, [x19]
	ldr	w1, [x25]
	mov	w2, #16
	bl	_rdma_reg_msgs
	str	w0, [x24]
	cbz	w0, LBB0_32
; %bb.9:
	ldr	w4, [x23]
LBB0_10:
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	x1, #0
	mov	w3, #16
	bl	_rdma_post_recv
	cbnz	w0, LBB0_26
; %bb.11:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_rdma_connect
	cbnz	w0, LBB0_27
; %bb.12:
	ldr	w0, [x19]
	ldr	w2, [x25]
	ldr	w4, [x24]
	ldr	w5, [x22]
	mov	x1, #0
	mov	w3, #16
	bl	_rdma_post_send
	cbnz	w0, LBB0_28
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_rdma_get_send_comp
	cbz	w0, LBB0_13
; %bb.14:
	mov	x20, x0
	tbnz	w0, #31, LBB0_29
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_rdma_get_recv_comp
	cbz	w0, LBB0_15
; %bb.16:
	mov	x20, x0
	tbnz	w0, #31, LBB0_30
; %bb.17:
	mov	w20, #0
LBB0_18:
	ldr	w0, [x19]
	bl	_rdma_disconnect
LBB0_19:
	ldr	w8, [x22]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.20:
	ldr	w0, [x24]
	bl	_rdma_dereg_mr
LBB0_21:
	ldr	w0, [x23]
	bl	_rdma_dereg_mr
LBB0_22:
	ldr	w0, [x19]
	bl	_rdma_destroy_ep
LBB0_23:
	ldr	x0, [sp, #56]
	bl	_rdma_freeaddrinfo
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_25:
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	mov	w20, #-1
	b	LBB0_22
LBB0_26:
	mov	x20, x0
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_perror
	b	LBB0_19
LBB0_27:
	mov	x20, x0
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_perror
	b	LBB0_19
LBB0_28:
	mov	x20, x0
Lloh37:
	adrp	x0, l_.str.7@PAGE
Lloh38:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_31
LBB0_29:
Lloh39:
	adrp	x0, l_.str.8@PAGE
Lloh40:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_31
LBB0_30:
Lloh41:
	adrp	x0, l_.str.9@PAGE
Lloh42:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_31:
	bl	_perror
	b	LBB0_18
LBB0_32:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	mov	w20, #-1
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_PS_TCP,4,2                ; @RDMA_PS_TCP
	.comm	_server,4,2                     ; @server
	.comm	_port,4,2                       ; @port
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rdma_getaddrinfo: %s\n"

	.comm	_id,4,2                         ; @id
	.comm	_IBV_SEND_INLINE,4,2            ; @IBV_SEND_INLINE
	.comm	_send_flags,4,2                 ; @send_flags
l_.str.2:                               ; @.str.2
	.asciz	"rdma_create_ep"

	.comm	_recv_msg,4,2                   ; @recv_msg
	.comm	_mr,4,2                         ; @mr
l_.str.3:                               ; @.str.3
	.asciz	"rdma_reg_msgs for recv_msg"

	.comm	_send_msg,4,2                   ; @send_msg
	.comm	_send_mr,4,2                    ; @send_mr
l_.str.4:                               ; @.str.4
	.asciz	"rdma_reg_msgs for send_msg"

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

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

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

l_.str.8:                               ; @.str.8
	.asciz	"rdma_get_send_comp"

l_.str.9:                               ; @.str.9
	.asciz	"rdma_get_recv_comp"

l_str:                                  ; @str
	.asciz	"rdma_client: device doesn't support IBV_SEND_INLINE, using sge sends"

	.no_dead_strip	_run
.subsections_via_symbols
