	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_handle_h2c_data_pdu
_nvmet_tcp_handle_h2c_data_pdu:         ## @nvmet_tcp_handle_h2c_data_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	%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
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	24(%rdi), %r13
	shlq	$5, %r13
	leaq	(%r12,%r13), %r14
	movl	36(%rdi), %edi
	callq	_le32_to_cpu
	cmpq	(%r12,%r13), %rax
	jne	LBB0_1
## %bb.2:
	movl	32(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%r12,%r13)
	movq	$0, 8(%r12,%r13)
	movq	%r14, %rdi
	callq	_nvmet_tcp_map_pdu_iovec
	movq	%r14, 8(%rbx)
	movq	_NVMET_TCP_RECV_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	24(%rbx), %r15
	movl	36(%rbx), %edi
	callq	_le32_to_cpu
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_pr_err
	leaq	(%r12,%r13), %rdi
	addq	$24, %rdi
	movq	_NVME_SC_INVALID_FIELD@GOTPCREL(%rip), %rax
	movq	_NVME_SC_DNR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_nvmet_req_complete
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ttag %u unexpected data offset %u (expected %u)\n"

	.comm	_NVME_SC_INVALID_FIELD,4,2      ## @NVME_SC_INVALID_FIELD
	.comm	_NVME_SC_DNR,4,2                ## @NVME_SC_DNR
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_NVMET_TCP_RECV_DATA,4,2        ## @NVMET_TCP_RECV_DATA
	.no_dead_strip	_nvmet_tcp_handle_h2c_data_pdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_tcp_handle_h2c_data_pdu
_nvmet_tcp_handle_h2c_data_pdu:         ; @nvmet_tcp_handle_h2c_data_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	x20, x0
	ldp	x8, x9, [x0, #16]
	add	x19, x8, x9, lsl #5
	ldr	w0, [x0, #36]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #32]
	bl	_le32_to_cpu
	stp	xzr, x0, [x19, #8]
	mov	x0, x19
	bl	_nvmet_tcp_map_pdu_iovec
	mov	w0, #0
	str	x19, [x20, #8]
Lloh0:
	adrp	x8, _NVMET_TCP_RECV_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVMET_TCP_RECV_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
	ldr	x21, [x20, #24]
	ldr	w0, [x20, #36]
	bl	_le32_to_cpu
	mov	x2, x0
	ldr	x3, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_err
Lloh5:
	adrp	x8, _NVME_SC_INVALID_FIELD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NVME_SC_INVALID_FIELD@GOTPAGEOFF]
	add	x0, x19, #24
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _NVME_SC_DNR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NVME_SC_DNR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_nvmet_req_complete
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ttag %u unexpected data offset %u (expected %u)\n"

	.comm	_NVME_SC_INVALID_FIELD,4,2      ; @NVME_SC_INVALID_FIELD
	.comm	_NVME_SC_DNR,4,2                ; @NVME_SC_DNR
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_NVMET_TCP_RECV_DATA,4,2        ; @NVMET_TCP_RECV_DATA
	.no_dead_strip	_nvmet_tcp_handle_h2c_data_pdu
.subsections_via_symbols
