	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rping_run_client
_rping_run_client:                      ## @rping_run_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_rping_bind_client
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.1:
	movl	4(%r14), %esi
	movq	%r14, %rdi
	callq	_rping_setup_qp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_17
LBB0_3:
	movq	%r14, %rdi
	callq	_rping_setup_buffers
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_16
LBB0_5:
	movl	12(%r14), %edi
	leaq	8(%r14), %rsi
	leaq	-24(%rbp), %rdx
	callq	_ibv_post_recv
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_15
LBB0_7:
	movq	_cq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_pthread_create
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	callq	_rping_connect_client
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_14
LBB0_11:
	movq	%r14, %rdi
	callq	_rping_test_client
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_13:
	movl	4(%r14), %edi
	callq	_rdma_disconnect
LBB0_14:
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_pthread_join
LBB0_15:
	movq	%r14, %rdi
	callq	_rping_free_buffers
LBB0_16:
	movq	%r14, %rdi
	callq	_rping_free_qp
LBB0_17:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setup_qp failed: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"rping_setup_buffers failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"ibv_post_recv failed: %d\n"

	.comm	_cq_thread,4,2                  ## @cq_thread
L_.str.3:                               ## @.str.3
	.asciz	"pthread_create"

L_.str.4:                               ## @.str.4
	.asciz	"connect error %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"rping client failed: %d\n"

	.no_dead_strip	_rping_run_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rping_run_client
_rping_run_client:                      ; @rping_run_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rping_bind_client
	mov	x20, x0
	cbnz	w0, LBB0_16
; %bb.1:
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_rping_setup_qp
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	b	LBB0_16
LBB0_3:
	mov	x0, x19
	bl	_rping_setup_buffers
	cbz	w0, LBB0_5
; %bb.4:
	mov	x20, x0
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	b	LBB0_15
LBB0_5:
	ldr	w0, [x19, #12]
	add	x1, x19, #8
	add	x2, sp, #8
	bl	_ibv_post_recv
	cbz	w0, LBB0_7
; %bb.6:
	mov	x20, x0
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	b	LBB0_14
LBB0_7:
Lloh15:
	adrp	x8, _cq_thread@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cq_thread@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x3, x19
	bl	_pthread_create
	cbnz	w0, LBB0_17
; %bb.8:
	mov	x0, x19
	bl	_rping_connect_client
	cbz	w0, LBB0_10
; %bb.9:
	mov	x20, x0
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_rping_test_client
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.11:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x20
	bl	_fprintf
LBB0_12:
	ldr	w0, [x19, #4]
	bl	_rdma_disconnect
LBB0_13:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_pthread_join
LBB0_14:
	mov	x0, x19
	bl	_rping_free_buffers
LBB0_15:
	mov	x0, x19
	bl	_rping_free_qp
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_17:
	mov	x20, x0
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	b	LBB0_14
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setup_qp failed: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"rping_setup_buffers failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"ibv_post_recv failed: %d\n"

	.comm	_cq_thread,4,2                  ; @cq_thread
l_.str.3:                               ; @.str.3
	.asciz	"pthread_create"

l_.str.4:                               ; @.str.4
	.asciz	"connect error %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"rping client failed: %d\n"

	.no_dead_strip	_rping_run_client
.subsections_via_symbols
