	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxe_post_send_kernel
_rxe_post_send_kernel:                  ## @rxe_post_send_kernel
	.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	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.1:
	movq	%rsi, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_WR_INLINE_MASK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movl	24(%r13), %edi
	movq	%r15, %rsi
	callq	_wr_opcode_mask
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_SEND_INLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	setne	%al
	movl	(%r14), %ecx
	andl	%r12d, %ecx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdx
	cmpl	$4, %eax
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	andl	$-4, %esi
	leaq	-4(%rsi), %rcx
	movq	%rcx, %rbx
	shrq	$2, %rbx
	incq	%rbx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rcx
	andq	$-2, %rcx
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rdx,%rdi,8), %xmm2
	movdqu	16(%rdx,%rdi,8), %xmm3
	movdqu	32(%rdx,%rdi,8), %xmm4
	movdqu	48(%rdx,%rdi,8), %xmm5
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm0, %xmm2
	pshufd	$232, %xmm3, %xmm3              ## xmm3 = xmm3[0,2,2,3]
	paddd	%xmm1, %xmm3
	pshufd	$232, %xmm4, %xmm0              ## xmm0 = xmm4[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm5, %xmm1              ## xmm1 = xmm5[0,2,2,3]
	paddd	%xmm3, %xmm1
	addq	$8, %rdi
	addq	$-2, %rcx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %bl
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%rdx,%rdi,8), %xmm2
	movdqu	16(%rdx,%rdi,8), %xmm3
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ecx
	cmpq	%rax, %rsi
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	(%rdx,%rsi,8), %ecx
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_post_one_send
	testl	%eax, %eax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_2
	jmp	LBB0_21
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %bl
	jne	LBB0_15
	jmp	LBB0_16
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_19:
	movl	%eax, %ebx
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
LBB0_22:
	leaq	16(%r15), %rdi
	movl	$1, %esi
	callq	_rxe_run_task
	movq	8(%r15), %rax
	movq	_QP_STATE_ERROR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rxe_run_task
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_SEND_INLINE,4,2             ## @IB_SEND_INLINE
	.comm	_WR_INLINE_MASK,4,2             ## @WR_INLINE_MASK
	.comm	_QP_STATE_ERROR,8,3             ## @QP_STATE_ERROR
	.no_dead_strip	_rxe_post_send_kernel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxe_post_send_kernel
_rxe_post_send_kernel:                  ; @rxe_post_send_kernel
	.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, x0
	cbz	x1, LBB0_15
; %bb.1:
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _IB_SEND_INLINE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IB_SEND_INLINE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _WR_INLINE_MASK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _WR_INLINE_MASK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w0, [x21, #24]
	mov	x1, x19
	bl	_wr_opcode_mask
	mov	x22, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w8, ne
	ldr	w9, [x24]
	tst	w9, w22
	cset	w9, eq
	and	w0, w8, w9
	bl	_unlikely
	cbnz	x0, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21, #16]
	cmp	w8, #8
	b.hs	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, #0
	mov	w3, #0
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w3, #0
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	subs	x12, x12, #8
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w3, s0
	cmp	x10, x8
	b.eq	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_12:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9], #8
	add	w3, w3, w10
	subs	x8, x8, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_post_one_send
	cbnz	w0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_2
LBB0_15:
	mov	w22, #0
	b	LBB0_19
LBB0_16:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_18
LBB0_17:
	mov	x22, x0
LBB0_18:
	str	x21, [x20]
LBB0_19:
	add	x0, x19, #16
	mov	w1, #1
	bl	_rxe_run_task
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _QP_STATE_ERROR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _QP_STATE_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x19
	mov	w1, #1
	bl	_rxe_run_task
LBB0_21:
	mov	x0, x22
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_SEND_INLINE,4,2             ; @IB_SEND_INLINE
	.comm	_WR_INLINE_MASK,4,2             ; @WR_INLINE_MASK
	.comm	_QP_STATE_ERROR,8,3             ; @QP_STATE_ERROR
	.no_dead_strip	_rxe_post_send_kernel
.subsections_via_symbols
