	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_qp_prepare_tx
_siw_qp_prepare_tx:                     ## @siw_qp_prepare_tx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	248(%rdi), %r14
	movq	%r14, %rdi
	callq	_tx_type
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_15
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	leaq	72(%r12), %rdi
	movq	_iwarp_pktinfo@GOTPCREL(%rip), %rax
	movq	_RDMAP_RDMA_READ_REQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	$0, 232(%r12)
	movq	_RDMAP_UNTAGGED_QN_RDMA_READ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_htonl
	movq	%rax, 224(%r12)
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	incq	%rdi
	movq	%rdi, (%rax,%rcx,8)
	callq	_htonl
	movq	%rax, 216(%r12)
	movl	$0, 208(%r12)
	movq	280(%r12), %rax
	movq	(%rax), %rdi
	callq	_htonl
	movq	%rax, 200(%r12)
	movq	280(%r12), %rax
	movl	16(%rax), %edi
	callq	_cpu_to_be64
	movq	%rax, 192(%r12)
	movq	264(%r12), %rdi
	callq	_htonl
	movq	%rax, 184(%r12)
	movl	272(%r12), %edi
	callq	_cpu_to_be64
	movq	%rax, 176(%r12)
	movq	280(%r12), %rax
	movq	8(%rax), %rdi
	callq	_htonl
	movq	%rax, 168(%r12)
	movl	$4, 8(%r12)
	leaq	160(%r12), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_15:
	movq	%r12, %rdi
	callq	_tx_qp
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_tx_type
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_siw_dbg_qp
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_12:
	leaq	72(%r12), %rdi
	movq	_iwarp_pktinfo@GOTPCREL(%rip), %rax
	movq	_RDMAP_RDMA_WRITE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	264(%r12), %rdi
	callq	_htonl
	movq	%rax, 112(%r12)
	movl	272(%r12), %edi
	callq	_cpu_to_be64
	movq	%rax, 104(%r12)
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_tx_flags
	movq	_SIW_WQE_SOLICITED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	72(%r12), %rdi
	movq	_iwarp_pktinfo@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:
	movq	_RDMAP_SEND_INVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	%r14, %rdi
	callq	_tx_flags
	movq	_SIW_WQE_SOLICITED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	72(%r12), %rdi
	movq	_iwarp_pktinfo@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	_RDMAP_SEND@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_14:
	leaq	72(%r12), %rdi
	movq	_iwarp_pktinfo@GOTPCREL(%rip), %rax
	movq	_RDMAP_RDMA_READ_RESP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	264(%r12), %rdi
	callq	_cpu_to_be32
	movq	%rax, 96(%r12)
	movl	272(%r12), %edi
	callq	_cpu_to_be64
	movq	%rax, 88(%r12)
LBB0_13:
	movl	$4, 8(%r12)
	leaq	80(%r12), %r15
	jmp	LBB0_7
LBB0_9:
	movq	_RDMAP_SEND_SE_INVAL@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%rcx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_RDMAP_UNTAGGED_QN_SEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 136(%r12)
	movq	(%r12), %rcx
	movq	(%rcx,%rax,8), %rdi
	incq	%rdi
	movq	%rdi, (%rcx,%rax,8)
	callq	_htonl
	movq	%rax, 152(%r12)
	movl	$0, 144(%r12)
	movq	264(%r12), %rdi
	callq	_cpu_to_be32
	movq	%rax, 128(%r12)
	jmp	LBB0_6
LBB0_3:
	movq	_RDMAP_SEND_SE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%rcx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_RDMAP_UNTAGGED_QN_SEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 136(%r12)
	movq	(%r12), %rcx
	movq	(%rcx,%rax,8), %rdi
	incq	%rdi
	movq	%rdi, (%rcx,%rax,8)
	callq	_htonl
	movq	%rax, 152(%r12)
	movl	$0, 144(%r12)
	movq	$0, 128(%r12)
LBB0_6:
	movl	$4, 8(%r12)
	leaq	120(%r12), %r15
LBB0_7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_siw_try_1seg
	movl	%eax, %ebx
LBB0_17:
	movl	%ebx, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_36
## %bb.18:
	movq	$0, 240(%r12)
	movq	_MAX_HDR_INLINE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_19
## %bb.29:
	movq	_MPA_CRC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, 8(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movq	$0, 40(%r12)
	cmpq	$0, 16(%r12)
	je	LBB0_33
## %bb.30:
	movq	256(%r12), %rax
	movq	_SENDPAGE_THRESH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_33
## %bb.31:
	movq	%r14, %rdi
	callq	_tx_flags
	movq	_SIW_WQE_SIGNALLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
LBB0_33:
	xorl	%eax, %eax
LBB0_34:
	movl	%eax, 12(%r12)
	movq	_PKT_FRAGMENTED@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_19:
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.20:
	movl	%ebx, 248(%r12)
	movl	8(%r12), %edi
	addl	%ebx, %edi
	movq	_MPA_HDR_SIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	callq	_htons
	movl	%eax, 76(%r12)
	movl	%ebx, %eax
	negl	%eax
	andl	$3, %eax
	addl	%ebx, %eax
	cltq
	addq	%rax, %r15
	addl	%eax, 8(%r12)
	movq	_DDP_FLAG_TAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 72(%r12)
	je	LBB0_21
## %bb.22:
	movl	272(%r12), %edi
	callq	_cpu_to_be64
	movq	%rax, 56(%r12)
	jmp	LBB0_23
LBB0_21:
	movq	$0, 64(%r12)
LBB0_23:
	movq	$0, (%r15)
	movq	48(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.24:
	callq	_crypto_shash_init
	movq	48(%r12), %rdi
	leaq	56(%r12), %rsi
	movl	8(%r12), %edx
	callq	_crypto_shash_update
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_26:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_36
LBB0_27:
	movq	48(%r12), %rdi
	movq	%r15, %rsi
	callq	_crypto_shash_final
LBB0_28:
	movq	_MPA_CRC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, 8(%r12)
	movq	_PKT_COMPLETE@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %ebx
LBB0_36:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	$1, %eax
	jmp	LBB0_34
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_iwarp_pktinfo,8,3              ## @iwarp_pktinfo
	.comm	_RDMAP_RDMA_READ_REQ,8,3        ## @RDMAP_RDMA_READ_REQ
	.comm	_RDMAP_UNTAGGED_QN_RDMA_READ,8,3 ## @RDMAP_UNTAGGED_QN_RDMA_READ
	.comm	_SIW_WQE_SOLICITED,4,2          ## @SIW_WQE_SOLICITED
	.comm	_RDMAP_SEND_SE,8,3              ## @RDMAP_SEND_SE
	.comm	_RDMAP_SEND,8,3                 ## @RDMAP_SEND
	.comm	_RDMAP_UNTAGGED_QN_SEND,8,3     ## @RDMAP_UNTAGGED_QN_SEND
	.comm	_RDMAP_SEND_SE_INVAL,8,3        ## @RDMAP_SEND_SE_INVAL
	.comm	_RDMAP_SEND_INVAL,8,3           ## @RDMAP_SEND_INVAL
	.comm	_RDMAP_RDMA_WRITE,8,3           ## @RDMAP_RDMA_WRITE
	.comm	_RDMAP_RDMA_READ_RESP,8,3       ## @RDMAP_RDMA_READ_RESP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stale wqe type %d\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MAX_HDR_INLINE,4,2             ## @MAX_HDR_INLINE
	.comm	_MPA_HDR_SIZE,4,2               ## @MPA_HDR_SIZE
	.comm	_DDP_FLAG_TAGGED,4,2            ## @DDP_FLAG_TAGGED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MPA_CRC_SIZE,4,2               ## @MPA_CRC_SIZE
	.comm	_PKT_COMPLETE,4,2               ## @PKT_COMPLETE
	.comm	_SENDPAGE_THRESH,8,3            ## @SENDPAGE_THRESH
	.comm	_SIW_WQE_SIGNALLED,4,2          ## @SIW_WQE_SIGNALLED
	.comm	_PKT_FRAGMENTED,4,2             ## @PKT_FRAGMENTED
	.no_dead_strip	_siw_qp_prepare_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_qp_prepare_tx
_siw_qp_prepare_tx:                     ; @siw_qp_prepare_tx
	.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, x0
	add	x20, x0, #248
	mov	x0, x20
	bl	_tx_type
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _iwarp_pktinfo@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iwarp_pktinfo@GOTPAGEOFF]
	add	x0, x19, #72
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _RDMAP_RDMA_READ_REQ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RDMAP_RDMA_READ_REQ@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w21, #4
	mov	w2, #4
	bl	_memcpy
	str	wzr, [x19, #232]
Lloh8:
	adrp	x22, _RDMAP_UNTAGGED_QN_RDMA_READ@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RDMAP_UNTAGGED_QN_RDMA_READ@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_htonl
	str	x0, [x19, #224]
	ldr	x8, [x19]
	ldr	x9, [x22]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	add	x0, x10, #1
	str	x0, [x8, x9]
	bl	_htonl
	str	x0, [x19, #216]
	str	wzr, [x19, #208]
	ldr	x8, [x19, #280]
	ldr	x0, [x8]
	bl	_htonl
	str	x0, [x19, #200]
	ldr	x8, [x19, #280]
	ldr	w0, [x8, #16]
	bl	_cpu_to_be64
	str	x0, [x19, #192]
	ldr	x0, [x19, #264]
	bl	_htonl
	str	x0, [x19, #184]
	ldr	w0, [x19, #272]
	bl	_cpu_to_be64
	str	x0, [x19, #176]
	ldr	x8, [x19, #280]
	ldr	x0, [x8, #8]
	bl	_htonl
	mov	w22, #0
	str	x0, [x19, #168]
	str	w21, [x19, #8]
	add	x21, x19, #160
	b	LBB0_11
LBB0_3:
	mov	x0, x19
	bl	_tx_qp
	mov	x19, x0
	mov	x0, x20
	bl	_tx_type
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_siw_dbg_qp
Lloh12:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_25
LBB0_4:
Lloh14:
	adrp	x8, _iwarp_pktinfo@GOTPAGE
Lloh15:
	ldr	x8, [x8, _iwarp_pktinfo@GOTPAGEOFF]
	add	x0, x19, #72
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _RDMAP_RDMA_WRITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RDMAP_RDMA_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w21, #4
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x19, #264]
	bl	_htonl
	str	x0, [x19, #112]
	ldr	w0, [x19, #272]
	bl	_cpu_to_be64
	str	x0, [x19, #104]
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_tx_flags
Lloh20:
	adrp	x8, _SIW_WQE_SOLICITED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIW_WQE_SOLICITED@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x8]
	add	x8, x19, #72
Lloh23:
	adrp	x10, _iwarp_pktinfo@GOTPAGE
Lloh24:
	ldr	x10, [x10, _iwarp_pktinfo@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
Lloh26:
	adrp	x11, _RDMAP_SEND_INVAL@GOTPAGE
Lloh27:
	ldr	x11, [x11, _RDMAP_SEND_INVAL@GOTPAGEOFF]
Lloh28:
	adrp	x12, _RDMAP_SEND_SE_INVAL@GOTPAGE
Lloh29:
	ldr	x12, [x12, _RDMAP_SEND_SE_INVAL@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x11, x12, eq
	ldr	x9, [x9]
	add	x1, x10, x9, lsl #2
	mov	w21, #4
	mov	x0, x8
	mov	w2, #4
	bl	_memcpy
Lloh30:
	adrp	x8, _RDMAP_UNTAGGED_QN_SEND@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RDMAP_UNTAGGED_QN_SEND@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x19, #136]
	ldr	x9, [x19]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
	add	x0, x10, #1
	str	x0, [x9, x8]
	bl	_htonl
	str	x0, [x19, #152]
	str	wzr, [x19, #144]
	ldr	x0, [x19, #264]
	bl	_cpu_to_be32
	str	x0, [x19, #128]
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_tx_flags
Lloh33:
	adrp	x8, _SIW_WQE_SOLICITED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SIW_WQE_SOLICITED@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x8]
	add	x8, x19, #72
Lloh36:
	adrp	x10, _iwarp_pktinfo@GOTPAGE
Lloh37:
	ldr	x10, [x10, _iwarp_pktinfo@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
Lloh39:
	adrp	x11, _RDMAP_SEND@GOTPAGE
Lloh40:
	ldr	x11, [x11, _RDMAP_SEND@GOTPAGEOFF]
Lloh41:
	adrp	x12, _RDMAP_SEND_SE@GOTPAGE
Lloh42:
	ldr	x12, [x12, _RDMAP_SEND_SE@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x11, x12, eq
	ldr	x9, [x9]
	add	x1, x10, x9, lsl #2
	mov	w21, #4
	mov	x0, x8
	mov	w2, #4
	bl	_memcpy
Lloh43:
	adrp	x8, _RDMAP_UNTAGGED_QN_SEND@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RDMAP_UNTAGGED_QN_SEND@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x19, #136]
	ldr	x9, [x19]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
	add	x0, x10, #1
	str	x0, [x9, x8]
	bl	_htonl
	str	x0, [x19, #152]
	str	wzr, [x19, #144]
	str	xzr, [x19, #128]
LBB0_7:
	str	w21, [x19, #8]
	add	x21, x19, #120
	b	LBB0_10
LBB0_8:
Lloh46:
	adrp	x8, _iwarp_pktinfo@GOTPAGE
Lloh47:
	ldr	x8, [x8, _iwarp_pktinfo@GOTPAGEOFF]
	add	x0, x19, #72
Lloh48:
	ldr	x8, [x8]
Lloh49:
	adrp	x9, _RDMAP_RDMA_READ_RESP@GOTPAGE
Lloh50:
	ldr	x9, [x9, _RDMAP_RDMA_READ_RESP@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w21, #4
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x19, #264]
	bl	_cpu_to_be32
	str	x0, [x19, #96]
	ldr	w0, [x19, #272]
	bl	_cpu_to_be64
	str	x0, [x19, #88]
LBB0_9:
	str	w21, [x19, #8]
	add	x21, x19, #80
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_siw_try_1seg
	mov	x22, x0
LBB0_11:
	lsr	w0, w22, #31
	bl	_unlikely
	cbnz	x0, LBB0_29
; %bb.12:
	str	xzr, [x19, #240]
Lloh52:
	adrp	x8, _MAX_HDR_INLINE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MAX_HDR_INLINE@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cmp	w22, w8
	b.le	LBB0_18
; %bb.13:
Lloh55:
	adrp	x8, _MPA_CRC_SIZE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MPA_CRC_SIZE@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x19, #256]
Lloh58:
	adrp	x9, _SENDPAGE_THRESH@GOTPAGE
Lloh59:
	ldr	x9, [x9, _SENDPAGE_THRESH@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_tx_flags
Lloh61:
	adrp	x8, _SIW_WQE_SIGNALLED@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SIW_WQE_SIGNALLED@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_30
LBB0_16:
	mov	w8, #0
LBB0_17:
	str	w8, [x19, #12]
Lloh64:
	adrp	x8, _PKT_FRAGMENTED@GOTPAGE
Lloh65:
	ldr	x8, [x8, _PKT_FRAGMENTED@GOTPAGEOFF]
	b	LBB0_28
LBB0_18:
	cbz	w22, LBB0_22
; %bb.19:
	str	w22, [x19, #248]
	ldr	w8, [x19, #8]
Lloh66:
	adrp	x9, _MPA_HDR_SIZE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _MPA_HDR_SIZE@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	add	w8, w8, w22
	sub	w0, w8, w9
	bl	_htons
	str	w0, [x19, #76]
	neg	w8, w22
	and	w8, w8, #0x3
	ldr	w9, [x19, #8]
	add	w8, w8, w22
	add	w9, w9, w8
	add	x21, x21, w8, sxtw
	str	w9, [x19, #8]
	ldr	w8, [x19, #72]
Lloh69:
	adrp	x9, _DDP_FLAG_TAGGED@GOTPAGE
Lloh70:
	ldr	x9, [x9, _DDP_FLAG_TAGGED@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
	ldr	w0, [x19, #272]
	bl	_cpu_to_be64
	str	x0, [x19, #56]
	b	LBB0_22
LBB0_21:
	str	xzr, [x19, #64]
LBB0_22:
	str	xzr, [x21]
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_27
; %bb.23:
	bl	_crypto_shash_init
	ldr	x0, [x19, #48]
	add	x1, x19, #56
	ldr	w2, [x19, #8]
	bl	_crypto_shash_update
	cbz	x0, LBB0_26
; %bb.24:
Lloh72:
	adrp	x8, _EINVAL@GOTPAGE
Lloh73:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_29
LBB0_26:
	ldr	x0, [x19, #48]
	mov	x1, x21
	bl	_crypto_shash_final
LBB0_27:
Lloh74:
	adrp	x8, _MPA_CRC_SIZE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _MPA_CRC_SIZE@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
Lloh77:
	adrp	x8, _PKT_COMPLETE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PKT_COMPLETE@GOTPAGEOFF]
LBB0_28:
	ldr	w22, [x8]
LBB0_29:
	mov	x0, x22
	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
LBB0_30:
	mov	w8, #1
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_iwarp_pktinfo,8,3              ; @iwarp_pktinfo
	.comm	_RDMAP_RDMA_READ_REQ,8,3        ; @RDMAP_RDMA_READ_REQ
	.comm	_RDMAP_UNTAGGED_QN_RDMA_READ,8,3 ; @RDMAP_UNTAGGED_QN_RDMA_READ
	.comm	_SIW_WQE_SOLICITED,4,2          ; @SIW_WQE_SOLICITED
	.comm	_RDMAP_SEND_SE,8,3              ; @RDMAP_SEND_SE
	.comm	_RDMAP_SEND,8,3                 ; @RDMAP_SEND
	.comm	_RDMAP_UNTAGGED_QN_SEND,8,3     ; @RDMAP_UNTAGGED_QN_SEND
	.comm	_RDMAP_SEND_SE_INVAL,8,3        ; @RDMAP_SEND_SE_INVAL
	.comm	_RDMAP_SEND_INVAL,8,3           ; @RDMAP_SEND_INVAL
	.comm	_RDMAP_RDMA_WRITE,8,3           ; @RDMAP_RDMA_WRITE
	.comm	_RDMAP_RDMA_READ_RESP,8,3       ; @RDMAP_RDMA_READ_RESP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stale wqe type %d\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MAX_HDR_INLINE,4,2             ; @MAX_HDR_INLINE
	.comm	_MPA_HDR_SIZE,4,2               ; @MPA_HDR_SIZE
	.comm	_DDP_FLAG_TAGGED,4,2            ; @DDP_FLAG_TAGGED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MPA_CRC_SIZE,4,2               ; @MPA_CRC_SIZE
	.comm	_PKT_COMPLETE,4,2               ; @PKT_COMPLETE
	.comm	_SENDPAGE_THRESH,8,3            ; @SENDPAGE_THRESH
	.comm	_SIW_WQE_SIGNALLED,4,2          ; @SIW_WQE_SIGNALLED
	.comm	_PKT_FRAGMENTED,4,2             ; @PKT_FRAGMENTED
	.no_dead_strip	_siw_qp_prepare_tx
.subsections_via_symbols
