	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rping_test_client
_rping_test_client:                     ## @rping_test_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edx, %edx
	cmpl	$0, (%rdi)
	movl	$0, %r13d
	js	LBB0_23
## %bb.1:
	leaq	52(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	48(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$65, %r15d
	xorl	%r12d, %r12d
	movl	$65, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_RDMA_READ_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movq	_RPING_MSG_FMT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movl	16(%rbx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cltq
	movl	%r14d, %edx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rcx
	movb	%dl, (%rcx,%rax)
	incb	%dl
	cmpb	$123, %dl
	movzbl	%dl, %edx
	cmovael	%r15d, %edx
	incq	%rax
	movslq	16(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$122, %r14d
	leal	1(%r14), %eax
	movl	%eax, %r14d
	cmovgel	%r15d, %r14d
	movq	8(%rbx), %rax
	movslq	%ecx, %rcx
	movb	$0, -1(%rcx,%rax)
	movq	8(%rbx), %rsi
	movl	64(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rping_format_send
	movl	56(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-64(%rbp), %rdx
	callq	_ibv_post_send
	testl	%eax, %eax
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_sem_wait
	movl	4(%rbx), %edx
	movq	_RDMA_WRITE_ADV@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rsi
	movl	60(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rping_format_send
	movl	56(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-64(%rbp), %rdx
	callq	_ibv_post_send
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_sem_wait
	movl	4(%rbx), %edx
	movq	_RDMA_WRITE_COMPLETE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 40(%rbx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	movq	24(%rbx), %rsi
	movl	16(%rbx), %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r12d
	jl	LBB0_2
## %bb.15:
	xorl	%r13d, %r13d
	jmp	LBB0_22
LBB0_16:
	movl	%eax, %r13d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_22
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_19
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_19:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_21
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_21:
	movl	$-1, %r13d
LBB0_22:
	xorl	%edx, %edx
LBB0_23:
	movl	4(%rbx), %eax
	movq	_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	cmovel	%edx, %r13d
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_READ_ADV,4,2              ## @RDMA_READ_ADV
	.comm	_RPING_MSG_FMT,8,3              ## @RPING_MSG_FMT
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"post send error %d\n"

	.comm	_RDMA_WRITE_ADV,4,2             ## @RDMA_WRITE_ADV
L_.str.1:                               ## @.str.1
	.asciz	"wait for RDMA_WRITE_ADV state %d\n"

	.comm	_RDMA_WRITE_COMPLETE,4,2        ## @RDMA_WRITE_COMPLETE
L_.str.2:                               ## @.str.2
	.asciz	"wait for RDMA_WRITE_COMPLETE state %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"data mismatch!\n"

L_.str.4:                               ## @.str.4
	.asciz	"ping data: %s\n"

	.comm	_DISCONNECTED,4,2               ## @DISCONNECTED
	.no_dead_strip	_rping_test_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rping_test_client
_rping_test_client:                     ; @rping_test_client
	.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
	mov	x19, x0
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_15
; %bb.1:
	mov	w20, #0
	add	x21, x19, #52
	add	x22, x19, #48
Lloh0:
	adrp	x25, _RDMA_READ_ADV@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RDMA_READ_ADV@GOTPAGEOFF]
Lloh2:
	adrp	x26, _RPING_MSG_FMT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _RPING_MSG_FMT@GOTPAGEOFF]
Lloh4:
	adrp	x27, _RDMA_WRITE_ADV@GOTPAGE
Lloh5:
	ldr	x27, [x27, _RDMA_WRITE_ADV@GOTPAGEOFF]
	mov	w28, #65
	mov	w23, #65
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w8, [x25]
	str	w8, [x19, #4]
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	ldr	x2, [x26]
	mov	x3, x20
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w9, [x19, #16]
	cmp	w0, w9
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x8, w0
	mov	x10, x23
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #8]
	strb	w10, [x9, x8]
	add	w9, w10, #1
	and	w9, w9, #0xff
	cmp	w9, #122
	csinc	w10, w28, w10, hi
	add	x8, x8, #1
	ldrsw	x9, [x19, #16]
	cmp	x8, x9
	b.lt	LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #121
	csinc	w23, w28, w23, gt
	ldr	x8, [x19, #8]
	add	x8, x8, w9, sxtw
	sturb	wzr, [x8, #-1]
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #64]
	mov	x0, x19
	bl	_rping_format_send
	ldr	w0, [x19, #56]
	add	x2, sp, #8
	mov	x1, x21
	bl	_ibv_post_send
	cbnz	w0, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_sem_wait
	ldr	w8, [x19, #4]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19, #24]
	ldr	w2, [x19, #60]
	mov	x0, x19
	bl	_rping_format_send
	ldr	w0, [x19, #56]
	add	x2, sp, #8
	mov	x1, x21
	bl	_ibv_post_send
	cbnz	w0, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_sem_wait
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, _RDMA_WRITE_COMPLETE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDMA_WRITE_COMPLETE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #8]
	ldr	x1, [x19, #24]
	ldr	w2, [x19, #16]
	bl	_memcmp
	cbnz	x0, LBB0_20
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19, #24]
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_15:
	mov	w24, #0
	b	LBB0_22
LBB0_16:
	mov	x24, x0
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	b	LBB0_22
LBB0_17:
Lloh16:
	adrp	x9, _stderr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_18:
	mov	x24, x0
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_22
LBB0_19:
Lloh26:
	adrp	x9, _stderr@GOTPAGE
Lloh27:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_20:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_21:
	bl	_fprintf
	mov	w24, #-1
LBB0_22:
	ldr	w8, [x19, #4]
Lloh36:
	adrp	x9, _DISCONNECTED@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DISCONNECTED@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w0, wzr, w24, eq
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_READ_ADV,4,2              ; @RDMA_READ_ADV
	.comm	_RPING_MSG_FMT,8,3              ; @RPING_MSG_FMT
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"post send error %d\n"

	.comm	_RDMA_WRITE_ADV,4,2             ; @RDMA_WRITE_ADV
l_.str.1:                               ; @.str.1
	.asciz	"wait for RDMA_WRITE_ADV state %d\n"

	.comm	_RDMA_WRITE_COMPLETE,4,2        ; @RDMA_WRITE_COMPLETE
l_.str.2:                               ; @.str.2
	.asciz	"wait for RDMA_WRITE_COMPLETE state %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"data mismatch!\n"

l_.str.4:                               ; @.str.4
	.asciz	"ping data: %s\n"

	.comm	_DISCONNECTED,4,2               ; @DISCONNECTED
	.no_dead_strip	_rping_test_client
.subsections_via_symbols
