	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_done_recv_pdu
_nvmet_tcp_done_recv_pdu:               ## @nvmet_tcp_done_recv_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	(%rdi), %rax
	movq	_NVMET_TCP_Q_CONNECTING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	movq	56(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_nvme_tcp_icreq@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_tcp_handle_icreq         ## TAILCALL
LBB0_4:
	movq	_nvme_tcp_h2c_data@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_handle_h2c_data_pdu
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	xorl	%r14d, %r14d
	testq	%rax, %rax
	cmovnel	%ebx, %r14d
	jmp	LBB0_21
LBB0_2:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_nvmet_tcp_fatal_error
	movq	_EPROTO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_6:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_get_cmd
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rsi
	movl	40(%rbx), %edx
	movl	36(%rbx), %ecx
	movl	48(%rbx), %r8d
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_nvmet_tcp_fatal_error
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_8:
	leaq	48(%rbx), %rsi
	movq	16(%rbx), %r15
	movq	(%r15), %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	32(%rbx), %rsi
	leaq	28(%rbx), %rdx
	movq	_nvmet_tcp_ops@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	callq	_nvmet_req_init
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	(%r15), %r12
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %edi
	movl	4(%r12), %r13d
	callq	_le32_to_cpu
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_pr_err
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_nvmet_tcp_handle_req_failure
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_10:
	movq	16(%rbx), %rdi
	callq	_nvmet_tcp_map_data
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	8(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	16(%rbx), %rdi
	callq	_nvmet_tcp_has_inline_data
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_fatal_error
	jmp	LBB0_14
LBB0_15:
	movq	16(%rbx), %rdi
	callq	_nvmet_tcp_need_data_in
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	callq	_nvmet_tcp_has_inline_data
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_NVMET_TCP_RECV_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rdi
	callq	_nvmet_tcp_map_pdu_iovec
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_13:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_nvmet_req_complete
LBB0_14:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_20:
	movq	%rbx, %rdi
	callq	_nvmet_prepare_receive_pdu
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	_nvmet_req_execute
	jmp	LBB0_20
LBB0_18:
	movq	16(%rbx), %rdi
	callq	_nvmet_tcp_queue_response
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMET_TCP_Q_CONNECTING,8,3     ## @NVMET_TCP_Q_CONNECTING
	.comm	_nvme_tcp_icreq,8,3             ## @nvme_tcp_icreq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected pdu type (%d) before icreq\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_nvme_tcp_h2c_data,8,3          ## @nvme_tcp_h2c_data
L_.str.1:                               ## @.str.1
	.asciz	"queue %d: out of commands (%d) send_list_len: %d, opcode: %d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvmet_tcp_ops,4,2              ## @nvmet_tcp_ops
L_.str.2:                               ## @.str.2
	.asciz	"failed cmd %p id %d opcode %d, data_len: %d\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.3:                               ## @.str.3
	.asciz	"queue %d: failed to map data\n"

	.comm	_NVMET_TCP_RECV_DATA,4,2        ## @NVMET_TCP_RECV_DATA
	.no_dead_strip	_nvmet_tcp_done_recv_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_done_recv_pdu
_nvmet_tcp_done_recv_pdu:               ; @nvmet_tcp_done_recv_pdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVMET_TCP_Q_CONNECTING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVMET_TCP_Q_CONNECTING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	ldr	x1, [x19, #56]
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _nvme_tcp_icreq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_tcp_icreq@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_nvmet_tcp_handle_icreq
LBB0_3:
Lloh6:
	adrp	x8, _nvme_tcp_h2c_data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nvme_tcp_h2c_data@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_nvmet_tcp_handle_h2c_data_pdu
	mov	x19, x0
	bl	_unlikely
	cmp	x0, #0
	csel	w20, wzr, w19, eq
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	bl	_nvmet_tcp_fatal_error
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	x0, x19
	bl	_nvmet_tcp_get_cmd
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x1, [x19, #8]
	ldp	w9, w8, [x19, #36]
	ldr	w10, [x19, #48]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	bl	_nvmet_tcp_fatal_error
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	add	x1, x19, #48
	ldr	x21, [x19, #16]
	ldr	x0, [x21]
	mov	w2, #4
	bl	_memcpy
	add	x1, x19, #32
	add	x2, x19, #28
Lloh17:
	adrp	x3, _nvmet_tcp_ops@GOTPAGE
Lloh18:
	ldr	x3, [x3, _nvmet_tcp_ops@GOTPAGEOFF]
	mov	x0, x21
	bl	_nvmet_req_init
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.9:
	ldr	x20, [x21]
	ldp	w23, w22, [x20, #4]
	ldr	w0, [x20]
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #8]
	str	x22, [sp]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_err
	ldr	x1, [x19, #16]
	mov	x0, x19
	mov	x2, x21
	bl	_nvmet_tcp_handle_req_failure
Lloh21:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_11:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_12:
	ldr	x0, [x19, #16]
	bl	_nvmet_tcp_map_data
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.13:
	ldr	x1, [x19, #8]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	ldr	x0, [x19, #16]
	bl	_nvmet_tcp_has_inline_data
	cbz	x0, LBB0_18
; %bb.14:
	mov	x0, x19
	bl	_nvmet_tcp_fatal_error
	b	LBB0_19
LBB0_15:
	ldr	x0, [x19, #16]
	bl	_nvmet_tcp_need_data_in
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbz	x8, LBB0_21
; %bb.16:
	bl	_nvmet_tcp_has_inline_data
	cbz	x0, LBB0_22
; %bb.17:
Lloh25:
	adrp	x8, _NVMET_TCP_RECV_DATA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NVMET_TCP_RECV_DATA@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_nvmet_tcp_map_pdu_iovec
	mov	w20, #0
	b	LBB0_11
LBB0_18:
	mov	x0, x21
	mov	x1, x20
	bl	_nvmet_req_complete
LBB0_19:
Lloh28:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_20:
	mov	x0, x19
	bl	_nvmet_prepare_receive_pdu
	b	LBB0_11
LBB0_21:
	bl	_nvmet_req_execute
	b	LBB0_20
LBB0_22:
	ldr	x0, [x19, #16]
	bl	_nvmet_tcp_queue_response
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMET_TCP_Q_CONNECTING,8,3     ; @NVMET_TCP_Q_CONNECTING
	.comm	_nvme_tcp_icreq,8,3             ; @nvme_tcp_icreq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected pdu type (%d) before icreq\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_nvme_tcp_h2c_data,8,3          ; @nvme_tcp_h2c_data
l_.str.1:                               ; @.str.1
	.asciz	"queue %d: out of commands (%d) send_list_len: %d, opcode: %d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvmet_tcp_ops,4,2              ; @nvmet_tcp_ops
l_.str.2:                               ; @.str.2
	.asciz	"failed cmd %p id %d opcode %d, data_len: %d\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.3:                               ; @.str.3
	.asciz	"queue %d: failed to map data\n"

	.comm	_NVMET_TCP_RECV_DATA,4,2        ; @NVMET_TCP_RECV_DATA
	.no_dead_strip	_nvmet_tcp_done_recv_pdu
.subsections_via_symbols
