	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function post_recvs
_post_recvs:                            ## @post_recvs
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_message_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	$0, -72(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movl	$1, -96(%rbp)
	movq	%rdi, -88(%rbp)
	movq	_message_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$4, %rcx
	movq	%rcx, -48(%rbp)
	movq	16(%rdi), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	8(%rdi), %rcx
	movq	%rcx, -64(%rbp)
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%r13d, %r13d
	leaq	-96(%rbp), %r15
	leaq	-104(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ibv_post_recv
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	movq	_message_count@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jl	LBB0_3
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
LBB0_7:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_message_count,4,2              ## @message_count
	.comm	_message_size,8,3               ## @message_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to post receives: %d\n"

	.no_dead_strip	_post_recvs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function post_recvs
_post_recvs:                            ; @post_recvs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x21, _message_count@GOTPAGE
Lloh1:
	ldr	x21, [x21, _message_count@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x9, sp
	mov	w10, #1
	str	w10, [sp, #32]
	stp	x9, xzr, [sp, #48]
	str	x0, [sp, #40]
Lloh2:
	adrp	x9, _message_size@GOTPAGE
Lloh3:
	ldr	x9, [x9, _message_size@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x9, x9, #4
	str	x9, [sp, #16]
	ldp	x10, x9, [x0, #8]
	ldr	w9, [x9]
	str	w9, [sp, #8]
	str	x10, [sp]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_ibv_post_recv
	cbnz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_3
LBB0_5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_message_count,4,2              ; @message_count
	.comm	_message_size,8,3               ; @message_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to post receives: %d\n"

	.no_dead_strip	_post_recvs
.subsections_via_symbols
