	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_iw_xmit_populate_wr
_rds_iw_xmit_populate_wr:               ## @rds_iw_xmit_populate_wr
	.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	%r9d, %r13d
	movl	%r8d, %r15d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, %r12d
	movq	%rsi, %rax
	subq	8(%rdi), %rax
	sarq	$4, %rax
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rcx
	xorl	%edi, %edi
	cmpq	%r12, %rcx
	setne	%dil
	callq	_WARN_ON
	movl	%r13d, 8(%rbx)
	movq	_IB_WR_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$2, 12(%rbx)
	movq	$0, 16(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_rds_iw_data_sge
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movl	%r15d, 8(%r13)
	movq	%r14, %rdi
	callq	_rds_iw_local_dma_lkey
	movq	%rax, 16(%r13)
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_rds_iw_header_sge
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_2:
	movl	$1, 12(%rbx)
	movq	(%rbx), %rbx
LBB0_3:
	movl	(%r14), %eax
	leaq	(%rax,%r12,4), %rax
	movq	%rax, (%rbx)
	movl	$4, 8(%rbx)
	movq	%r14, %rdi
	callq	_rds_iw_local_dma_lkey
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WR_SEND,4,2                 ## @IB_WR_SEND
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_rds_iw_xmit_populate_wr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_iw_xmit_populate_wr
_rds_iw_xmit_populate_wr:               ; @rds_iw_xmit_populate_wr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x1
	mov	x19, x0
	mov	w24, w2
	ldr	x8, [x0, #8]
	sub	x8, x1, x8
	asr	x8, x8, #4
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	mul	x8, x8, x9
	cmp	x8, x24
	cset	w0, ne
	bl	_WARN_ON
Lloh0:
	adrp	x8, _IB_WR_SEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_WR_SEND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	mov	w8, #2
	stp	w23, w8, [x20, #8]
	str	xzr, [x20, #16]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	str	xzr, [x20, #32]
	cbz	w21, LBB0_2
; %bb.1:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_rds_iw_data_sge
	mov	x23, x0
	str	x22, [x0]
	str	w21, [x0, #8]
	mov	x0, x19
	bl	_rds_iw_local_dma_lkey
	str	x0, [x23, #16]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_rds_iw_header_sge
	mov	x20, x0
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [x20, #12]
	ldr	x20, [x20]
LBB0_3:
	ldr	w8, [x19]
	add	x8, x8, x24, lsl #2
	str	x8, [x20]
	mov	w8, #4
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_rds_iw_local_dma_lkey
	str	x0, [x20, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WR_SEND,4,2                 ; @IB_WR_SEND
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_rds_iw_xmit_populate_wr
.subsections_via_symbols
