	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_ib_post_receives
_ipoib_ib_post_receives:                ## @ipoib_ib_post_receives
	.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
	callq	_ipoib_priv
	movq	_ipoib_recvq_size@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_8
## %bb.1:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ipoib_alloc_rx_skb
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ipoib_ib_post_receive
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %r12
	movq	_EIO@GOTPCREL(%rip), %r15
LBB0_4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_ipoib_warn
	xorl	%eax, %eax
	subl	(%r15), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipoib_recvq_size,4,2           ## @ipoib_recvq_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate receive buffer %d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"ipoib_ib_post_receive failed for buf %d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ipoib_ib_post_receives
.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_receives
_ipoib_ib_post_receives:                ; @ipoib_ib_post_receives
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	bl	_ipoib_priv
Lloh0:
	adrp	x24, _ipoib_recvq_size@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ipoib_recvq_size@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w20, #0
Lloh2:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _EIO@GOTPAGE
Lloh7:
	ldr	x25, [x25, _EIO@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str.1@PAGE
Lloh9:
	add	x26, x26, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_ipoib_alloc_rx_skb
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_ipoib_ib_post_receive
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	ldr	w8, [x24]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	mov	x22, x26
	mov	x23, x25
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_ipoib_warn
	ldr	w8, [x23]
	neg	w0, w8
LBB0_8:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ipoib_recvq_size,4,2           ; @ipoib_recvq_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate receive buffer %d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"ipoib_ib_post_receive failed for buf %d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ipoib_ib_post_receives
.subsections_via_symbols
