	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_setup_r2t_pdu
_nvmet_setup_r2t_pdu:                   ## @nvmet_setup_r2t_pdu
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	48(%rdi), %r15
	movq	%r14, %rdi
	callq	_nvmet_tcp_hdgst_len
	movq	$0, 40(%rbx)
	movq	_NVMET_TCP_SEND_R2T@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	_nvme_tcp_r2t@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r15)
	movq	$56, (%r15)
	movq	$0, 16(%r15)
	leaq	56(%rax), %rdi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15)
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_nvmet_tcp_cmd_tag
	movl	%eax, 48(%r15)
	movq	16(%rbx), %rdi
	subq	8(%rbx), %rdi
	callq	_cpu_to_le32
	movq	%rax, 40(%r15)
	movq	8(%rbx), %rdi
	callq	_cpu_to_le32
	movq	%rax, 32(%r15)
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	_NVME_TCP_F_HDGST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
	movl	(%r14), %edi
	movq	%r15, %rsi
	movl	$56, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_tcp_hdgst                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMET_TCP_SEND_R2T,4,2         ## @NVMET_TCP_SEND_R2T
	.comm	_nvme_tcp_r2t,4,2               ## @nvme_tcp_r2t
	.comm	_NVME_TCP_F_HDGST,4,2           ## @NVME_TCP_F_HDGST
	.no_dead_strip	_nvmet_setup_r2t_pdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nvmet_setup_r2t_pdu
lCPI0_0:
	.long	56                              ; 0x38
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nvmet_setup_r2t_pdu:                   ; @nvmet_setup_r2t_pdu
	.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	x21, x0
	ldr	x19, [x0, #48]
	ldr	x20, [x0]
	mov	x0, x20
	bl	_nvmet_tcp_hdgst_len
Lloh0:
	adrp	x8, _NVMET_TCP_SEND_R2T@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVMET_TCP_SEND_R2T@GOTPAGEOFF]
	str	xzr, [x21, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #32]
Lloh3:
	adrp	x8, _nvme_tcp_r2t@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_tcp_r2t@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	str	xzr, [x19, #16]
	add	x0, x0, #56
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	str	w8, [x19, #52]
	ldr	x0, [x21]
	mov	x1, x21
	bl	_nvmet_tcp_cmd_tag
	str	w0, [x19, #48]
	ldp	x9, x8, [x21, #8]
	sub	x0, x8, x9
	bl	_cpu_to_le32
	str	x0, [x19, #40]
	ldr	x0, [x21, #8]
	bl	_cpu_to_le32
	str	x0, [x19, #32]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _NVME_TCP_F_HDGST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NVME_TCP_F_HDGST@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldr	w0, [x20]
	mov	x1, x19
	mov	w2, #56
	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
	b	_nvmet_tcp_hdgst
LBB0_2:
	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 AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMET_TCP_SEND_R2T,4,2         ; @NVMET_TCP_SEND_R2T
	.comm	_nvme_tcp_r2t,4,2               ; @nvme_tcp_r2t
	.comm	_NVME_TCP_F_HDGST,4,2           ; @NVME_TCP_F_HDGST
	.no_dead_strip	_nvmet_setup_r2t_pdu
.subsections_via_symbols
