	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rping_cq_event_handler
_rping_cq_event_handler:                ## @rping_cq_event_handler
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r15
	xorl	%eax, %eax
	leaq	-64(%rbp), %r12
	leaq	LJTI0_0(%rip), %r13
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.1(%rip), %rdi
	callq	_DEBUG_LOG
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	20(%rbx), %edi
	movl	$1, %esi
	movq	%r12, %rdx
	callq	_ibv_poll_cq
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	-56(%rbp), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=2
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.4(%rip), %rdi
	callq	_DEBUG_LOG
	cmpl	$0, 16(%rbx)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_server_recv
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.2(%rip), %rdi
	callq	_DEBUG_LOG
	movq	_RDMA_WRITE_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.3(%rip), %rdi
	callq	_DEBUG_LOG
	movq	_RDMA_READ_COMPLETE@GOTPCREL(%rip), %rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_14
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_client_recv
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	12(%rbx), %edi
	movq	%r15, %rsi
	leaq	-72(%rbp), %rdx
	callq	_ibv_post_recv
	testl	%eax, %eax
	jne	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	callq	_sem_post
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %eax
	movq	_IBV_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_1
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
	jmp	LBB0_24
LBB0_3:
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.26:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_27
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_5:
	movl	%r14d, %edx
	callq	_fprintf
LBB0_25:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_sem_post
	movl	%r14d, %eax
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.7(%rip), %rdi
	callq	_DEBUG_LOG
LBB0_24:
	movl	$-1, %r14d
	jmp	LBB0_25
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_5
LBB0_22:
	movl	%eax, %r14d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_IBV_WC_WR_FLUSH_ERR,8,3        ## @IBV_WC_WR_FLUSH_ERR
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cq completion failed status %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"send completion\n"

L_.str.2:                               ## @.str.2
	.asciz	"rdma write completion\n"

	.comm	_RDMA_WRITE_COMPLETE,4,2        ## @RDMA_WRITE_COMPLETE
L_.str.3:                               ## @.str.3
	.asciz	"rdma read completion\n"

	.comm	_RDMA_READ_COMPLETE,4,2         ## @RDMA_READ_COMPLETE
L_.str.4:                               ## @.str.4
	.asciz	"recv completion\n"

L_.str.5:                               ## @.str.5
	.asciz	"recv wc error: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"post recv error: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"unknown!!!!! completion\n"

L_.str.8:                               ## @.str.8
	.asciz	"poll error %d\n"

	.comm	_ERROR,4,2                      ## @ERROR
	.no_dead_strip	_rping_cq_event_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rping_cq_event_handler
_rping_cq_event_handler:                ; @rping_cq_event_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	w20, #0
	add	x21, x0, #8
Lloh0:
	adrp	x27, lJTI0_0@PAGE
Lloh1:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x23, l_.str.4@PAGE
Lloh3:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh6:
	adrp	x28, _RDMA_WRITE_COMPLETE@GOTPAGE
Lloh7:
	ldr	x28, [x28, _RDMA_WRITE_COMPLETE@GOTPAGEOFF]
Lloh8:
	adrp	x22, _RDMA_READ_COMPLETE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RDMA_READ_COMPLETE@GOTPAGEOFF]
Lloh10:
	adrp	x25, l_.str.3@PAGE
Lloh11:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DEBUG_LOG
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #20]
	add	x2, sp, #16
	mov	w1, #1
	bl	_ibv_poll_cq
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [sp, #16]
	cbnz	x2, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #24]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_DEBUG_LOG
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	bl	_server_recv
	mov	x26, x0
	cbz	w0, LBB0_12
	b	LBB0_23
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_DEBUG_LOG
	ldr	w8, [x28]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_DEBUG_LOG
	ldr	w8, [x22]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	bl	_client_recv
	mov	x26, x0
	cbnz	w0, LBB0_23
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #12]
	add	x2, sp, #8
	mov	x1, x21
	bl	_ibv_post_recv
	cbnz	w0, LBB0_24
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_sem_post
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh14:
	adrp	x8, _IBV_WC_WR_FLUSH_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IBV_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	w20, #1
	cmp	x2, x8
	b.eq	LBB0_2
; %bb.15:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_fprintf
	b	LBB0_22
LBB0_16:
	mov	x26, x0
	cbz	w0, LBB0_20
; %bb.17:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_18:
	mov	x2, x26
	bl	_fprintf
LBB0_19:
Lloh27:
	adrp	x8, _ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_sem_post
	mov	x20, x26
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DEBUG_LOG
LBB0_22:
	mov	w26, #-1
	b	LBB0_19
LBB0_23:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_24:
	mov	x26, x0
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.6@PAGE
Lloh41:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
                                        ; -- End function
	.comm	_IBV_WC_WR_FLUSH_ERR,8,3        ; @IBV_WC_WR_FLUSH_ERR
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cq completion failed status %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"send completion\n"

l_.str.2:                               ; @.str.2
	.asciz	"rdma write completion\n"

	.comm	_RDMA_WRITE_COMPLETE,4,2        ; @RDMA_WRITE_COMPLETE
l_.str.3:                               ; @.str.3
	.asciz	"rdma read completion\n"

	.comm	_RDMA_READ_COMPLETE,4,2         ; @RDMA_READ_COMPLETE
l_.str.4:                               ; @.str.4
	.asciz	"recv completion\n"

l_.str.5:                               ; @.str.5
	.asciz	"recv wc error: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"post recv error: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"unknown!!!!! completion\n"

l_.str.8:                               ; @.str.8
	.asciz	"poll error %d\n"

	.comm	_ERROR,4,2                      ; @ERROR
	.no_dead_strip	_rping_cq_event_handler
.subsections_via_symbols
