	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_post_receive_srq
_ipoib_cm_post_receive_srq:             ## @ipoib_cm_post_receive_srq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_ipoib_priv
	movq	_IPOIB_OP_CM@GOTPCREL(%rip), %rcx
	movslq	%ebx, %r14
	orl	(%rcx), %ebx
	movq	%rax, %r15
	movq	_IPOIB_OP_RECV@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	leaq	16(%r15), %rsi
	movl	%ebx, 16(%r15)
	movl	(%r15), %r8d
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.1:
	movq	%r14, %rax
	shlq	$4, %rax
	movq	8(%r15), %rdx
	movq	24(%r15), %rcx
	movq	8(%rdx,%rax), %rdx
	xorl	%edi, %edi
	cmpl	$8, %r8d
	jb	LBB0_11
## %bb.2:
	movq	%rcx, %rax
	subq	%rdx, %rax
	cmpq	$32, %rax
	jb	LBB0_11
## %bb.3:
	movl	%r8d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %rbx
	shrq	$3, %rbx
	incq	%rbx
	movl	%ebx, %r9d
	andl	$3, %r9d
	cmpq	$24, %rax
	jae	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rax,4), %xmm0
	movups	16(%rdx,%rax,4), %xmm1
	movups	%xmm0, (%rcx,%rax,4)
	movups	%xmm1, 16(%rcx,%rax,4)
	movups	32(%rdx,%rax,4), %xmm0
	movups	48(%rdx,%rax,4), %xmm1
	movups	%xmm0, 32(%rcx,%rax,4)
	movups	%xmm1, 48(%rcx,%rax,4)
	movups	64(%rdx,%rax,4), %xmm0
	movups	80(%rdx,%rax,4), %xmm1
	movups	%xmm0, 64(%rcx,%rax,4)
	movups	%xmm1, 80(%rcx,%rax,4)
	movups	96(%rdx,%rax,4), %xmm0
	movups	112(%rdx,%rax,4), %xmm1
	movups	%xmm0, 96(%rcx,%rax,4)
	movups	%xmm1, 112(%rcx,%rax,4)
	addq	$32, %rax
	addq	$-4, %rbx
	jne	LBB0_6
LBB0_7:
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%rcx,%rax,4), %r10
	addq	$16, %r10
	leaq	(%rdx,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%r10,%rbx)
	movups	%xmm1, (%r10,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_9
LBB0_10:
	cmpq	%r8, %rdi
	je	LBB0_15
LBB0_11:
	movq	%rdi, %r9
	notq	%r9
	addq	%r8, %r9
	movq	%r8, %rbx
	andq	$3, %rbx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,4), %eax
	movl	%eax, (%rcx,%rdi,4)
	incq	%rdi
	decq	%rbx
	jne	LBB0_12
LBB0_13:
	cmpq	$3, %r9
	jb	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,4), %eax
	movl	%eax, (%rcx,%rdi,4)
	movl	4(%rdx,%rdi,4), %eax
	movl	%eax, 4(%rcx,%rdi,4)
	movl	8(%rdx,%rdi,4), %eax
	movl	%eax, 8(%rcx,%rdi,4)
	movl	12(%rdx,%rdi,4), %eax
	movl	%eax, 12(%rcx,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_14
LBB0_15:
	movl	20(%r15), %edi
	xorl	%edx, %edx
	callq	_ib_post_srq_recv
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_ipoib_warn
	movl	(%r15), %esi
	decl	%esi
	movq	8(%r15), %rax
	shlq	$4, %r14
	movq	8(%rax,%r14), %rdx
	movq	%r15, %rdi
	callq	_ipoib_cm_dma_unmap_rx
	movq	8(%r15), %rax
	movq	(%rax,%r14), %rdi
	callq	_dev_kfree_skb_any
	movq	8(%r15), %rax
	movq	$0, (%rax,%r14)
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_OP_CM,4,2                ## @IPOIB_OP_CM
	.comm	_IPOIB_OP_RECV,4,2              ## @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"post srq failed for buf %d (%d)\n"

	.no_dead_strip	_ipoib_cm_post_receive_srq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_post_receive_srq
_ipoib_cm_post_receive_srq:             ; @ipoib_cm_post_receive_srq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	bl	_ipoib_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _IPOIB_OP_CM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_OP_CM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh3:
	adrp	x9, _IPOIB_OP_RECV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPOIB_OP_RECV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x1, x0
	str	w8, [x1, #16]!
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19, #8]
	add	x10, x10, w20, sxtw #4
	ldr	x11, [x10, #8]
	ldr	x10, [x19, #24]
	cmp	w8, #16
	b.lo	LBB0_6
; %bb.2:
	sub	x12, x10, x11
	cmp	x12, #64
	b.lo	LBB0_6
; %bb.3:
	and	x9, x8, #0xfffffff0
	add	x12, x10, #32
	add	x13, x11, #32
	mov	x14, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	lsl	x12, x9, #2
	add	x11, x11, x12
	add	x10, x10, x12
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	w0, [x19, #20]
	mov	x2, #0
	bl	_ib_post_srq_recv
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_ipoib_warn
	ldr	w8, [x19]
	sub	w1, w8, #1
	ldr	x8, [x19, #8]
	sbfiz	x20, x20, #4, #32
	add	x8, x8, x20
	ldr	x2, [x8, #8]
	mov	x0, x19
	bl	_ipoib_cm_dma_unmap_rx
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20]
	bl	_dev_kfree_skb_any
	ldr	x8, [x19, #8]
	str	xzr, [x8, x20]
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_OP_CM,4,2                ; @IPOIB_OP_CM
	.comm	_IPOIB_OP_RECV,4,2              ; @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"post srq failed for buf %d (%d)\n"

	.no_dead_strip	_ipoib_cm_post_receive_srq
.subsections_via_symbols
