	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_handle_req_failure
_nvmet_tcp_handle_req_failure:          ## @nvmet_tcp_handle_req_failure
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdx), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, (%rbx)
	movl	16(%r15), %edi
	callq	_nvme_is_write
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	8(%r15), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_prepare_receive_pdu      ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_nvmet_tcp_map_data
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_tcp_fatal_error          ## TAILCALL
LBB0_3:
	movq	_NVMET_TCP_RECV_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_nvmet_tcp_map_pdu_iovec
	movq	_NVMET_TCP_F_INIT_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d: failed to map data\n"

	.comm	_NVMET_TCP_RECV_DATA,4,2        ## @NVMET_TCP_RECV_DATA
	.comm	_NVMET_TCP_F_INIT_FAILED,4,2    ## @NVMET_TCP_F_INIT_FAILED
	.no_dead_strip	_nvmet_tcp_handle_req_failure
.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_req_failure
_nvmet_tcp_handle_req_failure:          ; @nvmet_tcp_handle_req_failure
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x2, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	str	x0, [x21]
	ldr	w0, [x19, #16]
	bl	_nvme_is_write
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
LBB0_2:
	mov	x0, x20
	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_prepare_receive_pdu
LBB0_3:
	mov	x0, x19
	bl	_nvmet_tcp_map_data
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x0, x20
	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_fatal_error
LBB0_5:
Lloh2:
	adrp	x8, _NVMET_TCP_RECV_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVMET_TCP_RECV_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_nvmet_tcp_map_pdu_iovec
Lloh5:
	adrp	x8, _NVMET_TCP_F_INIT_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NVMET_TCP_F_INIT_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d: failed to map data\n"

	.comm	_NVMET_TCP_RECV_DATA,4,2        ; @NVMET_TCP_RECV_DATA
	.comm	_NVMET_TCP_F_INIT_FAILED,4,2    ; @NVMET_TCP_F_INIT_FAILED
	.no_dead_strip	_nvmet_tcp_handle_req_failure
.subsections_via_symbols
