	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_rdma_recv
_build_rdma_recv:                       ## @build_rdma_recv
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_T3_MAX_SGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	16(%r12), %edi
	movq	(%r15), %rdx
	movq	16(%r15), %rsi
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_iwch_sgl2pbl_map
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	(%r13), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	4(%r13), %eax
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%r13), %eax
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	12(%r13), %eax
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	(%r15), %rdi
	callq	_cpu_to_be32
	movq	%rax, 24(%rbx)
	cmpq	$0, (%r15)
	je	LBB0_2
## %bb.10:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r12), %rdi
	callq	_cpu_to_be32
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx,%r12)
	movq	16(%r15), %rax
	movq	8(%rax,%r12), %rdi
	callq	_cpu_to_be32
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx,%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r14,4), %ecx
	addb	$12, %cl
	movq	$-1, %rdi
	shlq	%cl, %rdi
	movq	16(%r15), %rax
	notq	%rdi
	andq	16(%rax,%r12), %rdi
	callq	_cpu_to_be64
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx,%r12)
	movq	(%r13,%r14,8), %rdi
	callq	_cpu_to_be32
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx,%r14,8)
	incq	%r14
	addq	$24, %r12
	cmpq	%r14, (%r15)
	ja	LBB0_11
## %bb.3:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_2:
	xorl	%r14d, %r14d
LBB0_4:
	movq	_T3_MAX_SGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jge	LBB0_7
## %bb.5:
	movl	%r14d, %ecx
	leaq	(,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	movq	$0, 16(%rsi,%rdx)
	movq	16(%rbx), %rsi
	movq	$0, 8(%rsi,%rdx)
	movq	16(%rbx), %rsi
	movq	$0, (%rsi,%rdx)
	movq	8(%rbx), %rsi
	movq	$0, (%rsi,%rcx,8)
	incq	%rcx
	addq	$24, %rdx
	cmpl	%ecx, %eax
	jg	LBB0_6
LBB0_7:
	movl	8(%r15), %r14d
	movq	8(%r12), %rbx
	movl	(%r12), %esi
	movl	4(%r12), %edi
	callq	_Q_PTR2IDX
	movl	%r14d, 4(%rbx,%rax,8)
	movq	8(%r12), %rbx
	movl	(%r12), %esi
	movl	4(%r12), %edi
	callq	_Q_PTR2IDX
	movl	$0, (%rbx,%rax,8)
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_T3_MAX_SGE,4,2                 ## @T3_MAX_SGE
	.no_dead_strip	_build_rdma_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_rdma_recv
_build_rdma_recv:                       ; @build_rdma_recv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _T3_MAX_SGE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _T3_MAX_SGE@GOTPAGEOFF]
	ldr	w12, [x24]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w0, [x0, #16]
	ldr	x1, [x2, #16]
	ldr	x2, [x2]
	mov	x3, x22
	mov	x4, x23
	bl	_iwch_sgl2pbl_map
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w8, [x23]
	ldr	x9, [x21]
	str	w8, [x9]
	ldr	w8, [x23, #4]
	ldr	x9, [x21]
	str	w8, [x9, #4]
	ldr	w8, [x23, #8]
	ldr	x9, [x21]
	str	w8, [x9, #8]
	ldr	w8, [x23, #12]
	ldr	x9, [x21]
	str	w8, [x9, #12]
	ldr	x0, [x20]
	bl	_cpu_to_be32
	str	x0, [x21, #24]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x26, #0
	mov	x25, #0
	mov	x27, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x26]
	bl	_cpu_to_be32
	ldr	x8, [x21, #16]
	add	x8, x8, x26
	str	x0, [x8, #16]
	ldr	x8, [x20, #16]
	add	x8, x8, x26
	ldr	x0, [x8, #8]
	bl	_cpu_to_be32
	ldr	x8, [x21, #16]
	add	x8, x8, x26
	str	x0, [x8, #8]
	ldr	x8, [x20, #16]
	add	x8, x8, x26
	ldr	x8, [x8, #16]
	ldr	w9, [x23, x25, lsl #2]
	add	w9, w9, #12
	lsl	x9, x27, x9
	bic	x0, x8, x9
	bl	_cpu_to_be64
	ldr	x8, [x21, #16]
	str	x0, [x8, x26]
	lsl	x28, x25, #3
	ldr	x0, [x22, x28]
	bl	_cpu_to_be32
	ldr	x8, [x21, #8]
	str	x0, [x8, x28]
	add	x25, x25, #1
	ldr	x8, [x20]
	add	x26, x26, #24
	cmp	x8, x25
	b.hi	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w25, #0
LBB0_5:
	ldr	w8, [x24]
	cmp	w25, w8
	b.ge	LBB0_8
; %bb.6:
	mov	w10, w25
	lsl	x9, x10, #3
	add	x10, x10, w25, uxtw #1
	lsl	x10, x10, #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #16]
	add	x11, x11, x10
	str	xzr, [x11, #16]
	ldr	x11, [x21, #16]
	add	x11, x11, x10
	str	xzr, [x11, #8]
	ldr	x11, [x21, #16]
	str	xzr, [x11, x10]
	ldr	x11, [x21, #8]
	str	xzr, [x11, x9]
	add	x9, x9, #8
	add	x10, x10, #24
	add	w25, w25, #1
	cmp	w8, w25
	b.gt	LBB0_7
LBB0_8:
	ldr	w20, [x20, #8]
	ldr	x21, [x19, #8]
	ldp	w1, w0, [x19]
	bl	_Q_PTR2IDX
	add	x8, x21, x0, lsl #3
	str	w20, [x8, #4]
	ldr	x20, [x19, #8]
	ldp	w1, w0, [x19]
	bl	_Q_PTR2IDX
	mov	x8, x0
	mov	w0, #0
	lsl	x8, x8, #3
	str	wzr, [x20, x8]
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_T3_MAX_SGE,4,2                 ; @T3_MAX_SGE
	.no_dead_strip	_build_rdma_recv
.subsections_via_symbols
