	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iwarp_mpa_classify
_qed_iwarp_mpa_classify:                ## @qed_iwarp_mpa_classify
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %r8d
	movq	_QED_IWARP_MPA_PKT_UNALIGNED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movl	(%rcx), %r8d
	cmpl	$1, %r15d
	jne	LBB0_5
## %bb.3:
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r8d
	movl	%r8d, (%rbx)
	jmp	LBB0_4
LBB0_5:
	movl	%r8d, %edi
	callq	_ntohs
	movl	%eax, %edi
	callq	_QED_IWARP_FPDU_LEN_WITH_PAD
	movl	%eax, %r8d
	movl	%eax, (%rbx)
	cmpl	%r15d, %eax
	jle	LBB0_6
LBB0_4:
	movq	_QED_IWARP_MPA_PKT_PARTIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_QED_IWARP_MPA_PKT_PACKED@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pkt_type_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %r9d
	callq	_DP_VERBOSE
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_IWARP_MPA_PKT_UNALIGNED,4,2 ## @QED_IWARP_MPA_PKT_UNALIGNED
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.comm	_QED_IWARP_MPA_PKT_PARTIAL,4,2  ## @QED_IWARP_MPA_PKT_PARTIAL
	.comm	_QED_IWARP_MPA_PKT_PACKED,4,2   ## @QED_IWARP_MPA_PKT_PACKED
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%x\n"

	.comm	_pkt_type_str,8,3               ## @pkt_type_str
	.no_dead_strip	_qed_iwarp_mpa_classify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iwarp_mpa_classify
_qed_iwarp_mpa_classify:                ; @qed_iwarp_mpa_classify
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w4, [x21]
Lloh0:
	adrp	x8, _QED_IWARP_MPA_PKT_UNALIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_IWARP_MPA_PKT_UNALIGNED@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	w0, [x3]
	cmp	w19, #1
	b.ne	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _BITS_PER_BYTE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w4, w0, w8
	str	w4, [x21]
Lloh5:
	adrp	x8, _QED_IWARP_MPA_PKT_PARTIAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_IWARP_MPA_PKT_PARTIAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	bl	_ntohs
	bl	_QED_IWARP_FPDU_LEN_WITH_PAD
	mov	x4, x0
	str	w0, [x21]
Lloh7:
	adrp	x8, _QED_IWARP_MPA_PKT_PACKED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QED_IWARP_MPA_PKT_PACKED@GOTPAGEOFF]
Lloh9:
	adrp	x9, _QED_IWARP_MPA_PKT_PARTIAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QED_IWARP_MPA_PKT_PARTIAL@GOTPAGEOFF]
	cmp	w0, w19
	csel	x8, x9, x8, gt
LBB0_5:
	ldr	w21, [x8]
Lloh11:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _pkt_type_str@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pkt_type_str@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w3, [x8, x21, lsl #2]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	bl	_DP_VERBOSE
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_IWARP_MPA_PKT_UNALIGNED,4,2 ; @QED_IWARP_MPA_PKT_UNALIGNED
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.comm	_QED_IWARP_MPA_PKT_PARTIAL,4,2  ; @QED_IWARP_MPA_PKT_PARTIAL
	.comm	_QED_IWARP_MPA_PKT_PACKED,4,2   ; @QED_IWARP_MPA_PKT_PACKED
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%x\n"

	.comm	_pkt_type_str,8,3               ; @pkt_type_str
	.no_dead_strip	_qed_iwarp_mpa_classify
.subsections_via_symbols
