	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_ib_post_receive
_ipoib_ib_post_receive:                 ## @ipoib_ib_post_receive
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movslq	%esi, %r12
	shlq	$4, %r12
	movq	(%rax,%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	8(%rax,%r12), %rdx
	movq	24(%rbx), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rax,4), %edi
	movl	%edi, 4(%rsi,%rax,8)
	movl	(%rcx), %edi
	movl	%edi, (%rsi,%rax,8)
	incq	%rax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	leaq	8(%rbx), %rsi
	movl	%eax, 8(%rbx)
	movq	_IPOIB_OP_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r14d, %eax
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	leaq	-40(%rbp), %rdx
	callq	_ib_post_recv
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_ipoib_warn
	movq	(%rbx), %rsi
	addq	%r12, %rsi
	movq	%rbx, %rdi
	callq	_ipoib_dma_unmap_rx
	movq	(%rbx), %rax
	movq	(%rax,%r12), %rdi
	callq	_m_freem
	movq	(%rbx), %rax
	movq	$0, (%rax,%r12)
LBB0_6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_OP_RECV,4,2              ## @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"receive failed for buf %d (%d)\n"

	.no_dead_strip	_ipoib_ib_post_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_ib_post_receive
_ipoib_ib_post_receive:                 ; @ipoib_ib_post_receive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x10, [x0]
	sxtw	x22, w20
	sbfiz	x8, x20, #4, #32
	ldr	x9, [x10, x8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x8, #0
	add	x10, x10, x22, lsl #4
	ldr	x10, [x10, #8]
	ldr	x11, [x19, #24]
	add	x11, x11, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x8, lsl #2]
	str	w12, [x11]
	ldr	w12, [x9]
	stur	w12, [x11, #-4]
	add	x8, x8, #1
	ldr	x9, [x9, #8]
	add	x11, x11, #8
	cbnz	x9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	mov	x1, x19
	str	w8, [x1, #8]!
Lloh0:
	adrp	x8, _IPOIB_OP_RECV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_OP_RECV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w20
	str	w8, [x1, #4]
	ldr	w0, [x1, #8]
	add	x2, sp, #8
	bl	_ib_post_recv
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_ipoib_warn
	ldr	x8, [x19]
	lsl	x20, x22, #4
	add	x1, x8, x20
	mov	x0, x19
	bl	_ipoib_dma_unmap_rx
	ldr	x8, [x19]
	ldr	x0, [x8, x20]
	bl	_m_freem
	ldr	x8, [x19]
	str	xzr, [x8, x20]
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_OP_RECV,4,2              ; @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"receive failed for buf %d (%d)\n"

	.no_dead_strip	_ipoib_ib_post_receive
.subsections_via_symbols
