	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_puda_send                ## -- Begin function i40iw_puda_send
	.p2align	4, 0x90
_i40iw_puda_send:                       ## @i40iw_puda_send
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %r13d
	movq	32(%rsi), %r14
	leaq	-64(%rbp), %rsi
	callq	_i40iw_puda_get_next_send_wqe
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	testq	%r14, %r14
	sete	%dl
	setne	%cl
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rcx), %r14d
	incl	%r14d
	leal	(%rdx,%rdx,4), %r15d
	addl	$5, %r15d
	sarl	$2, %r13d
	movq	24(%r12), %rsi
	movq	8(%rbx), %rcx
	movq	-64(%rbp), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %edi
	sarl	%edi
	movq	_I40IW_UDA_QPSQ_MACLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	movl	%eax, %ebx
	movq	_I40IW_UDA_QPSQ_IPLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_LS_64
	orl	%eax, %ebx
	movq	_I40IW_UDA_QPSQ_L4T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_LS_64
	movl	%eax, %r15d
	movq	_I40IW_UDA_QPSQ_IIPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_LS_64
	orl	%eax, %r15d
	orl	%ebx, %r15d
	movq	_I40IW_UDA_QPSQ_L4LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_LS_64
	orl	%eax, %r15d
	movq	_I40IW_OP_TYPE_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I40IW_UDA_QPSQ_OPCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	movl	%eax, %ebx
	movq	_I40IW_UDA_QPSQ_SIGCOMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_LS_64
	orl	%eax, %ebx
	movl	8(%r12), %edi
	movq	_I40IW_UDA_QPSQ_DOLOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_I40IW_UDA_QPSQ_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	orl	%eax, %r14d
	orl	%ebx, %r14d
	movl	12(%r12), %edx
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_64bit_val
	movl	16(%r12), %edi
	movq	_I40IWQPSQ_FRAG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	%eax, %edx
	callq	_set_64bit_val
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	%r15d, %edx
	callq	_set_64bit_val
	movq	%rbx, %rdi
	movq	%rbx, %r15
	movl	%r14d, %esi
	callq	_i40iw_insert_wqe_hdr
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %edi
	movq	_I40IW_DEBUG_PUDA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rcx
	movl	$32, %r8d
	callq	_i40iw_debug_buf
	movq	%rbx, %rdi
	callq	_i40iw_qp_post_wr
	jmp	LBB0_3
LBB0_1:
	movq	_I40IW_ERR_QP_TOOMANY_WRS_POSTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_3:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_ERR_QP_TOOMANY_WRS_POSTED,4,2 ## @I40IW_ERR_QP_TOOMANY_WRS_POSTED
	.comm	_I40IW_UDA_QPSQ_MACLEN,4,2      ## @I40IW_UDA_QPSQ_MACLEN
	.comm	_I40IW_UDA_QPSQ_IPLEN,4,2       ## @I40IW_UDA_QPSQ_IPLEN
	.comm	_I40IW_UDA_QPSQ_L4T,4,2         ## @I40IW_UDA_QPSQ_L4T
	.comm	_I40IW_UDA_QPSQ_IIPT,4,2        ## @I40IW_UDA_QPSQ_IIPT
	.comm	_I40IW_UDA_QPSQ_L4LEN,4,2       ## @I40IW_UDA_QPSQ_L4LEN
	.comm	_I40IW_OP_TYPE_SEND,4,2         ## @I40IW_OP_TYPE_SEND
	.comm	_I40IW_UDA_QPSQ_OPCODE,4,2      ## @I40IW_UDA_QPSQ_OPCODE
	.comm	_I40IW_UDA_QPSQ_SIGCOMPL,4,2    ## @I40IW_UDA_QPSQ_SIGCOMPL
	.comm	_I40IW_UDA_QPSQ_DOLOOPBACK,4,2  ## @I40IW_UDA_QPSQ_DOLOOPBACK
	.comm	_I40IW_UDA_QPSQ_VALID,4,2       ## @I40IW_UDA_QPSQ_VALID
	.comm	_I40IWQPSQ_FRAG_LEN,4,2         ## @I40IWQPSQ_FRAG_LEN
	.comm	_I40IW_DEBUG_PUDA,4,2           ## @I40IW_DEBUG_PUDA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PUDA SEND WQE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_puda_send                ; -- Begin function i40iw_puda_send
	.p2align	2
_i40iw_puda_send:                       ; @i40iw_puda_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w24, [x1]
	ldr	x22, [x1, #32]
	add	x1, sp, #8
	bl	_i40iw_puda_get_next_send_wqe
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	cmp	x22, #0
	mov	w8, #3
	csinc	w22, w8, wzr, ne
	mov	w8, #5
	mov	w9, #10
	csel	w23, w9, w8, eq
	ldr	x8, [x21, #24]
	ldr	x9, [x19, #8]
	ldr	x10, [sp, #8]
	str	x8, [x9, x10, lsl #3]
	asr	w24, w24, #2
	ldr	w8, [x21, #4]
	asr	w0, w8, #1
Lloh0:
	adrp	x8, _I40IW_UDA_QPSQ_MACLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_MACLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LS_64
	mov	x25, x0
Lloh3:
	adrp	x8, _I40IW_UDA_QPSQ_IPLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_IPLEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_LS_64
	orr	w23, w0, w25
Lloh6:
	adrp	x8, _I40IW_UDA_QPSQ_L4T@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_L4T@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_LS_64
	orr	w23, w23, w0
Lloh9:
	adrp	x8, _I40IW_UDA_QPSQ_IIPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_IIPT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LS_64
	orr	w22, w23, w0
Lloh12:
	adrp	x8, _I40IW_UDA_QPSQ_L4LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_L4LEN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_LS_64
	orr	w22, w22, w0
Lloh15:
	adrp	x8, _I40IW_OP_TYPE_SEND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40IW_OP_TYPE_SEND@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _I40IW_UDA_QPSQ_OPCODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_OPCODE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_LS_64
	mov	x23, x0
Lloh21:
	adrp	x8, _I40IW_UDA_QPSQ_SIGCOMPL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_SIGCOMPL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_LS_64
	orr	w23, w0, w23
	ldr	w0, [x21, #8]
Lloh24:
	adrp	x8, _I40IW_UDA_QPSQ_DOLOOPBACK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_DOLOOPBACK@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_LS_64
	orr	w23, w23, w0
	ldr	w0, [x19]
Lloh27:
	adrp	x8, _I40IW_UDA_QPSQ_VALID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I40IW_UDA_QPSQ_VALID@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_LS_64
	orr	w23, w23, w0
	ldr	w2, [x21, #12]
	mov	x0, x20
	mov	w1, #0
	bl	_set_64bit_val
	ldr	w0, [x21, #16]
Lloh30:
	adrp	x8, _I40IWQPSQ_FRAG_LEN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I40IWQPSQ_FRAG_LEN@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_LS_64
	mov	x2, x0
	mov	x0, x20
	mov	w1, #8
	bl	_set_64bit_val
	mov	x0, x20
	mov	w1, #16
	mov	x2, x22
	bl	_set_64bit_val
	mov	x0, x20
	mov	x1, x23
	bl	_i40iw_insert_wqe_hdr
	ldr	w0, [x19, #16]
Lloh33:
	adrp	x8, _I40IW_DEBUG_PUDA@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I40IW_DEBUG_PUDA@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str@PAGE
Lloh37:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	mov	w4, #32
	bl	_i40iw_debug_buf
	mov	x0, x19
	bl	_i40iw_qp_post_wr
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh38:
	adrp	x8, _I40IW_ERR_QP_TOOMANY_WRS_POSTED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _I40IW_ERR_QP_TOOMANY_WRS_POSTED@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
LBB0_3:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_ERR_QP_TOOMANY_WRS_POSTED,4,2 ; @I40IW_ERR_QP_TOOMANY_WRS_POSTED
	.comm	_I40IW_UDA_QPSQ_MACLEN,4,2      ; @I40IW_UDA_QPSQ_MACLEN
	.comm	_I40IW_UDA_QPSQ_IPLEN,4,2       ; @I40IW_UDA_QPSQ_IPLEN
	.comm	_I40IW_UDA_QPSQ_L4T,4,2         ; @I40IW_UDA_QPSQ_L4T
	.comm	_I40IW_UDA_QPSQ_IIPT,4,2        ; @I40IW_UDA_QPSQ_IIPT
	.comm	_I40IW_UDA_QPSQ_L4LEN,4,2       ; @I40IW_UDA_QPSQ_L4LEN
	.comm	_I40IW_OP_TYPE_SEND,4,2         ; @I40IW_OP_TYPE_SEND
	.comm	_I40IW_UDA_QPSQ_OPCODE,4,2      ; @I40IW_UDA_QPSQ_OPCODE
	.comm	_I40IW_UDA_QPSQ_SIGCOMPL,4,2    ; @I40IW_UDA_QPSQ_SIGCOMPL
	.comm	_I40IW_UDA_QPSQ_DOLOOPBACK,4,2  ; @I40IW_UDA_QPSQ_DOLOOPBACK
	.comm	_I40IW_UDA_QPSQ_VALID,4,2       ; @I40IW_UDA_QPSQ_VALID
	.comm	_I40IWQPSQ_FRAG_LEN,4,2         ; @I40IWQPSQ_FRAG_LEN
	.comm	_I40IW_DEBUG_PUDA,4,2           ; @I40IW_DEBUG_PUDA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PUDA SEND WQE"

.subsections_via_symbols
