	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_rw_ctx_wrs                ## -- Begin function rdma_rw_ctx_wrs
	.p2align	4, 0x90
_rdma_rw_ctx_wrs:                       ## @rdma_rw_ctx_wrs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.1:
	movq	%rdi, %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	4(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_IB_WR_RDMA_READ_WITH_INV@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %rdi
	movl	24(%rdi,%rbx), %eax
	addq	%rbx, %rdi
	xorl	%esi, %esi
	cmpl	(%r13), %eax
	setne	%sil
	callq	_rdma_rw_update_lkey
	incq	%r14
	movslq	4(%r12), %rcx
	addq	$96, %rbx
	cmpq	%rcx, %r14
	jl	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	movq	48(%r12), %rdx
	leaq	64(%rdx), %rax
	cmpq	$0, 80(%rdx)
	leaq	32(%rdx), %rsi
	cmoveq	%rsi, %rax
	decl	%ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %r12
	shlq	$5, %r12
	addq	%rdx, %r12
	testq	%r15, %r15
	jne	LBB0_11
	jmp	LBB0_12
LBB0_9:
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $rax
                                        ## implicit-def: $r12
	testq	%r15, %r15
	jne	LBB0_11
	jmp	LBB0_12
LBB0_8:
	addq	$8, %r12
	movq	%r12, %rax
	testq	%r15, %r15
	je	LBB0_12
LBB0_11:
	movq	%r15, 16(%r12)
	jmp	LBB0_13
LBB0_7:
	movq	40(%r12), %rax
	movslq	4(%r12), %rcx
	shlq	$5, %rcx
	leaq	(%rcx,%rax), %r12
	addq	$-32, %r12
	testq	%r15, %r15
	jne	LBB0_11
LBB0_12:
	movq	%rbx, 8(%r12)
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r12)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_IB_WR_RDMA_READ_WITH_INV,4,2   ## @IB_WR_RDMA_READ_WITH_INV
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_rw_ctx_wrs                ; -- Begin function rdma_rw_ctx_wrs
	.p2align	2
_rdma_rw_ctx_wrs:                       ; @rdma_rw_ctx_wrs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x20, x3
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _IB_WR_RDMA_READ_WITH_INV@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IB_WR_RDMA_READ_WITH_INV@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #48]
	add	x0, x8, x22
	ldr	w8, [x0, #24]
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w1, ne
	bl	_rdma_rw_update_lkey
	add	x23, x23, #1
	ldrsw	x8, [x21, #4]
	add	x22, x22, #96
	cmp	x23, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x9, [x21, #48]
	add	x10, x9, #64
	ldr	x11, [x9, #80]
	add	x12, x9, #32
	cmp	x11, #0
	csel	x0, x12, x10, eq
	mov	w10, #96
	smaddl	x8, w8, w10, x9
	sub	x8, x8, #96
	cbnz	x19, LBB0_8
	b	LBB0_10
LBB0_6:
	bl	_BUG
                                        ; implicit-def: $x0
                                        ; implicit-def: $x8
	cbnz	x19, LBB0_8
	b	LBB0_10
LBB0_7:
	add	x0, x21, #8
	mov	x8, x0
	cbz	x19, LBB0_10
LBB0_8:
	str	x19, [x8, #16]
	b	LBB0_11
LBB0_9:
	ldr	x0, [x21, #40]
	ldrsw	x8, [x21, #4]
	add	x8, x0, x8, lsl #5
	sub	x8, x8, #32
	cbnz	x19, LBB0_8
LBB0_10:
	str	x20, [x8, #8]
Lloh4:
	adrp	x9, _IB_SEND_SIGNALED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IB_SEND_SIGNALED@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_IB_WR_RDMA_READ_WITH_INV,4,2   ; @IB_WR_RDMA_READ_WITH_INV
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
.subsections_via_symbols
