	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_map_data
_nvme_tcp_map_data:                     ## @nvme_tcp_map_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_blk_mq_rq_to_pdu
	movq	%rax, %r12
	movq	8(%rax), %r15
	movq	_NVME_CMD_SGL_METABUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_rq_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_nvme_tcp_inline_data_size
	cmpq	%rax, %rbx
	jle	LBB0_3
LBB0_4:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_nvme_tcp_set_sg_host_data
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r12), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nvme_tcp_set_sg_inline
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_CMD_SGL_METABUF,4,2       ## @NVME_CMD_SGL_METABUF
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_nvme_tcp_map_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_map_data
_nvme_tcp_map_data:                     ; @nvme_tcp_map_data
	.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	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_blk_mq_rq_to_pdu
	mov	x21, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _NVME_CMD_SGL_METABUF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_CMD_SGL_METABUF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x22
	bl	_rq_data_dir
Lloh3:
	adrp	x8, _WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x22, [x21]
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_nvme_tcp_inline_data_size
	cmp	x22, x0
	b.le	LBB0_5
LBB0_3:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_nvme_tcp_set_sg_host_data
LBB0_4:
	mov	w0, #0
	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
LBB0_5:
	ldr	x2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_tcp_set_sg_inline
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_CMD_SGL_METABUF,4,2       ; @NVME_CMD_SGL_METABUF
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_nvme_tcp_map_data
.subsections_via_symbols
