	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iwarp_cp_pkt
_qed_iwarp_cp_pkt:                      ## @qed_iwarp_cp_pkt
	.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	%r8, %r15
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	(%rsi), %r8
	leaq	(%r8,%r15), %rax
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_2
## %bb.1:
	movq	8(%rbx), %r9
	leaq	L_.str(%rip), %rsi
	movq	%r8, %rcx
	movq	%r15, %r8
	callq	_DP_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	%rcx, %r12
	movq	(%rdi), %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rcx
	movslq	(%r13), %r9
	shlq	$2, %r9
	addq	8(%r12), %r9
	movq	%r15, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DP_VERBOSE
	movq	(%rbx), %rdx
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%rbx), %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,4), %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movslq	(%r13), %rsi
	shlq	$2, %rsi
	addq	8(%r12), %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	32(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_iwarp_recycle_pkt
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	8(%r12), %rdi
	movq	(%rbx), %rdx
	addq	%r15, %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	%r12, 32(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 24(%rbx)
	movq	8(%r12), %rax
	movq	%rax, 16(%rbx)
	movq	(%rbx), %r8
	addq	%r15, %r8
	movq	%r8, (%rbx)
	movq	8(%rbx), %rax
	subq	%r15, %rax
	movq	%rax, 8(%rbx)
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r12), %rcx
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %r9
	callq	_DP_VERBOSE
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPA ALIGN: Unexpected: buffer is not large enough for split fpdu buff_size = %d mpa_frag_len = %d, tcp_payload_size = %d, incomplete_bytes = %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
L_.str.1:                               ## @.str.1
	.asciz	"MPA ALIGN Copying fpdu: [%p, %d] [%p, %d]\n"

L_.str.2:                               ## @.str.2
	.asciz	"MPA ALIGN: split fpdu buff_size = %d mpa_frag_len = %d, tcp_payload_size = %d, incomplete_bytes = %d\n"

	.no_dead_strip	_qed_iwarp_cp_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iwarp_cp_pkt
_qed_iwarp_cp_pkt:                      ; @qed_iwarp_cp_pkt
	.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	x19, x4
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x4, [x1]
	ldr	x2, [x3]
	add	x8, x4, x19
	cmp	x8, x2
	b.le	LBB0_2
; %bb.1:
	ldr	x5, [x21, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x4
	mov	x4, x19
	bl	_DP_ERR
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x22, x3
	ldr	x8, [x20]
Lloh5:
	adrp	x25, _QED_MSG_RDMA@GOTPAGE
Lloh6:
	ldr	x25, [x25, _QED_MSG_RDMA@GOTPAGEOFF]
	ldr	x23, [x8]
	ldr	w1, [x25]
	ldr	x3, [x21, #16]
	ldr	x8, [x22, #8]
	ldrsw	x9, [x24]
	add	x5, x8, x9, lsl #2
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x6, x19
	bl	_DP_VERBOSE
	ldr	x1, [x21, #16]
	ldr	x2, [x21]
	mov	x0, x23
	bl	_memcpy
	ldr	x8, [x21]
	add	x0, x23, x8, lsl #2
	ldr	x8, [x22, #8]
	ldrsw	x9, [x24]
	add	x1, x8, x9, lsl #2
	mov	x2, x19
	bl	_memcpy
	ldr	x2, [x21, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_qed_iwarp_recycle_pkt
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x22, #8]
	ldr	x8, [x21]
	add	x2, x8, x19
	mov	x1, x23
	bl	_memcpy
	str	x22, [x21, #32]
	ldr	w8, [x22, #16]
	str	w8, [x21, #24]
	ldp	x3, x10, [x22]
	ldp	x8, x9, [x21]
	add	x4, x8, x19
	sub	x6, x9, x19
	str	x4, [x21]
	stp	x6, x10, [x21, #8]
	ldr	w1, [x25]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	bl	_DP_VERBOSE
	mov	w0, #0
LBB0_4:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPA ALIGN: Unexpected: buffer is not large enough for split fpdu buff_size = %d mpa_frag_len = %d, tcp_payload_size = %d, incomplete_bytes = %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
l_.str.1:                               ; @.str.1
	.asciz	"MPA ALIGN Copying fpdu: [%p, %d] [%p, %d]\n"

l_.str.2:                               ; @.str.2
	.asciz	"MPA ALIGN: split fpdu buff_size = %d mpa_frag_len = %d, tcp_payload_size = %d, incomplete_bytes = %d\n"

	.no_dead_strip	_qed_iwarp_cp_pkt
.subsections_via_symbols
