	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stamp_send_wqe
_stamp_send_wqe:                        ## @stamp_send_wqe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	cmpl	$2, (%rdi)
	jl	LBB0_4
## %bb.1:
	movb	4(%r13), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	%edx, %edi
	callq	_roundup
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%r14d, %r14d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	4(%r13), %ecx
	movl	%r14d, %ebx
	shrl	%cl, %ebx
	addl	%r15d, %ebx
	movl	8(%r13), %eax
	andl	%ebx, %eax
	cmpl	$1, %eax
	movl	$0, %edi
	sbbl	%edi, %edi
	orl	$2147483647, %edi               ## imm = 0x7FFFFFFF
	callq	_cpu_to_be32
	movl	%eax, %r12d
	movl	8(%r13), %esi
	decl	%esi
	andl	%ebx, %esi
	movq	%r13, %rdi
	callq	_get_send_wqe
	movzbl	4(%r13), %ecx
	movl	$-1, %edx
	shll	%cl, %edx
	notl	%edx
	andl	%r14d, %edx
	movl	%r12d, (%rax,%rdx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	$64, %r14d
	cmpl	%eax, %r14d
	jl	LBB0_3
	jmp	LBB0_7
LBB0_4:
	movl	8(%r13), %esi
	decl	%esi
	andl	%r15d, %esi
	movq	%r13, %rdi
	callq	_get_send_wqe
	movl	(%rax), %r15d
	andl	$63, %r15d
	shlq	$4, %r15
	cmpl	$65, %r15d
	jb	LBB0_7
## %bb.5:
	movq	%rax, %r14
	movl	$64, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, %edi
	callq	_cpu_to_be32
	movl	%eax, (%r14,%rbx)
	addq	$64, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stamp_send_wqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stamp_send_wqe
_stamp_send_wqe:                        ; @stamp_send_wqe
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	mov	w9, #1
	lsl	w1, w9, w8
	mov	x0, x2
	bl	_roundup
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x0
	mov	w23, #0
	mov	w24, #2147483647
	mov	w25, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x19, #4]
	lsr	w8, w23, w8
	add	w26, w8, w20
	tst	w26, w9
	csinv	w0, w24, wzr, ne
	bl	_cpu_to_be32
	mov	x22, x0
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	and	w1, w8, w26
	mov	x0, x19
	bl	_get_send_wqe
	ldr	w8, [x19, #4]
	lsl	w8, w25, w8
	mvn	w8, w8
	and	x8, x23, x8
	add	w23, w23, #64
	str	w22, [x0, x8]
	cmp	w23, w21
	b.lt	LBB0_3
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	and	w1, w8, w20
	mov	x0, x19
	bl	_get_send_wqe
	ldr	w8, [x0]
	lsl	w8, w8, #4
	and	x20, x8, #0x3f0
	cmp	w20, #65
	b.lo	LBB0_7
; %bb.5:
	mov	x19, x0
	mov	w21, #64
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #-1
	bl	_cpu_to_be32
	str	w0, [x19, x21]
	add	x21, x21, #64
	cmp	x21, x20
	b.lo	LBB0_6
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stamp_send_wqe
.subsections_via_symbols
