	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_handle_command
_nvmet_rdma_handle_command:             ## @nvmet_rdma_handle_command
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	movq	16(%rsi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_sync_single_for_cpu
	movq	16(%r14), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_sync_single_for_cpu
	leaq	12(%r14), %rsi
	leaq	8(%r14), %rdx
	movq	_nvmet_rdma_ops@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	callq	_nvmet_req_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_nvmet_rdma_map_sgl
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvmet_req_complete             ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_nvmet_rdma_execute_command
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_spin_lock
	addq	$4, %rbx
	leaq	4(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_nvmet_rdma_ops,4,2             ## @nvmet_rdma_ops
	.no_dead_strip	_nvmet_rdma_handle_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_handle_command
_nvmet_rdma_handle_command:             ; @nvmet_rdma_handle_command
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	ldr	x8, [x1, #16]
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_ib_dma_sync_single_for_cpu
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldp	w2, w1, [x20, #8]
Lloh3:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_ib_dma_sync_single_for_cpu
	add	x1, x19, #12
	add	x2, x19, #8
Lloh6:
	adrp	x3, _nvmet_rdma_ops@GOTPAGE
Lloh7:
	ldr	x3, [x3, _nvmet_rdma_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_nvmet_req_init
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_nvmet_rdma_map_sgl
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvmet_req_complete
LBB0_3:
	mov	x0, x20
	bl	_nvmet_rdma_execute_command
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_spin_lock
	add	x0, x20, #4
	add	x1, x19, #4
	bl	_list_add_tail
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_nvmet_rdma_ops,4,2             ; @nvmet_rdma_ops
	.no_dead_strip	_nvmet_rdma_handle_command
.subsections_via_symbols
