	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rping_cma_event_handler
_rping_cma_event_handler:               ## @rping_cma_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	(%rsi), %edi
	callq	_rdma_event_str
	cmpq	%rbx, 32(%r14)
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rdx, %rcx
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_DEBUG_LOG
	movl	(%r12), %edi
	leal	-128(%rdi), %eax
	cmpl	$10, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_rdma_event_str
	movl	4(%r12), %ecx
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_13:
	movq	%r14, %rdi
	callq	_sem_post
	movl	$-1, %r15d
	jmp	LBB0_15
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_rdma_event_str
	leaq	L_.str.11(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_15
LBB0_4:
	movq	_ROUTE_RESOLVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_sem_post
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_6:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DEBUG_LOG
	cmpl	$0, 16(%r14)
	jne	LBB0_9
## %bb.7:
	movq	_CONNECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$0, 16(%r14)
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_fprintf
	movq	_DISCONNECTED@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_9
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_13
LBB0_5:
	movq	_CONNECT_REQUEST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%rbx, 24(%r14)
	leaq	L_.str.4(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DEBUG_LOG
LBB0_9:
	movq	%r14, %rdi
	callq	_sem_post
	jmp	LBB0_15
LBB0_2:
	movq	_ADDR_RESOLVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%rbx, %rdi
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_rdma_resolve_route
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_3
LBB0_15:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %ebx
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	movq	%r14, %rdi
	callq	_sem_post
	movl	%ebx, %r15d
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cma_event type %s cma_id %p (%s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"parent"

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

	.comm	_ADDR_RESOLVED,8,3              ## @ADDR_RESOLVED
	.comm	_ERROR,8,3                      ## @ERROR
L_.str.3:                               ## @.str.3
	.asciz	"rdma_resolve_route"

	.comm	_ROUTE_RESOLVED,8,3             ## @ROUTE_RESOLVED
	.comm	_CONNECT_REQUEST,8,3            ## @CONNECT_REQUEST
L_.str.4:                               ## @.str.4
	.asciz	"child cma %p\n"

L_.str.5:                               ## @.str.5
	.asciz	"ESTABLISHED\n"

	.comm	_CONNECTED,8,3                  ## @CONNECTED
	.comm	_stderr,4,2                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"cma event %s, error %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s DISCONNECT EVENT...\n"

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

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

	.comm	_DISCONNECTED,8,3               ## @DISCONNECTED
L_.str.10:                              ## @.str.10
	.asciz	"cma detected device removal!!!!\n"

L_.str.11:                              ## @.str.11
	.asciz	"unhandled event: %s, ignoring\n"

	.no_dead_strip	_rping_cma_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_cma_event_handler
_rping_cma_event_handler:               ; @rping_cma_event_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w0, [x1]
	bl	_rdma_event_str
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, l_.str.2@PAGE
Lloh1:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, x20
	csel	x8, x10, x9, eq
	stp	x20, x8, [sp, #8]
	str	x0, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG_LOG
	ldr	w0, [x21]
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_4
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	bl	_rdma_event_str
	ldr	w8, [x21, #4]
	stp	x0, x8, [sp]
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_3:
	mov	x0, x19
	bl	_sem_post
	mov	w20, #-1
	b	LBB0_14
LBB0_4:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	bl	_rdma_event_str
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.11@PAGE
Lloh17:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	b	LBB0_13
LBB0_5:
Lloh18:
	adrp	x8, _ROUTE_RESOLVED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ROUTE_RESOLVED@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DEBUG_LOG
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_12
; %bb.7:
Lloh22:
	adrp	x8, _CONNECTED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CONNECTED@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w8, [x19, #16]
Lloh27:
	adrp	x9, l_.str.8@PAGE
Lloh28:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh29:
	adrp	x10, l_.str.9@PAGE
Lloh30:
	add	x10, x10, l_.str.9@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
Lloh33:
	adrp	x8, _DISCONNECTED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DISCONNECTED@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_12
LBB0_10:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.10@PAGE
Lloh39:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fprintf
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_3
LBB0_11:
Lloh43:
	adrp	x8, _CONNECT_REQUEST@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CONNECT_REQUEST@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	str	x20, [x19, #24]
	str	x20, [sp]
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DEBUG_LOG
LBB0_12:
	mov	x0, x19
	bl	_sem_post
LBB0_13:
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
Lloh48:
	adrp	x8, _ADDR_RESOLVED@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ADDR_RESOLVED@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x20
	mov	w1, #2000
	bl	_rdma_resolve_route
	mov	x20, x0
	cbz	w0, LBB0_14
; %bb.16:
Lloh51:
	adrp	x8, _ERROR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	mov	x0, x19
	bl	_sem_post
	b	LBB0_14
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cma_event type %s cma_id %p (%s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"parent"

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

	.comm	_ADDR_RESOLVED,8,3              ; @ADDR_RESOLVED
	.comm	_ERROR,8,3                      ; @ERROR
l_.str.3:                               ; @.str.3
	.asciz	"rdma_resolve_route"

	.comm	_ROUTE_RESOLVED,8,3             ; @ROUTE_RESOLVED
	.comm	_CONNECT_REQUEST,8,3            ; @CONNECT_REQUEST
l_.str.4:                               ; @.str.4
	.asciz	"child cma %p\n"

l_.str.5:                               ; @.str.5
	.asciz	"ESTABLISHED\n"

	.comm	_CONNECTED,8,3                  ; @CONNECTED
	.comm	_stderr,4,2                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"cma event %s, error %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s DISCONNECT EVENT...\n"

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

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

	.comm	_DISCONNECTED,8,3               ; @DISCONNECTED
l_.str.10:                              ; @.str.10
	.asciz	"cma detected device removal!!!!\n"

l_.str.11:                              ; @.str.11
	.asciz	"unhandled event: %s, ignoring\n"

	.no_dead_strip	_rping_cma_event_handler
.subsections_via_symbols
