	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_map_sgl_keyed
_nvmet_rdma_map_sgl_keyed:              ## @nvmet_rdma_map_sgl_keyed
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	40(%rdi), %rax
	movq	(%rax), %r14
	movl	8(%rsi), %edi
	callq	_le64_to_cpu
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	callq	_get_unaligned_le32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_get_unaligned_le24
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %r13
	movq	%r13, %rdi
	callq	_nvmet_req_alloc_sgl
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	leaq	32(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	4(%r14), %r15d
	movl	16(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	20(%r12), %ebx
	movq	%r13, %rdi
	callq	_nvmet_data_dir
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_rdma_rw_ctx_init
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	addl	%eax, (%r12)
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 28(%r12)
	movq	_NVMET_RDMA_REQ_INVALIDATE_RKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r12)
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	$0, (%r13)
	movq	_NVME_SC_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMET_RDMA_REQ_INVALIDATE_RKEY,4,2 ## @NVMET_RDMA_REQ_INVALIDATE_RKEY
	.comm	_NVME_SC_INTERNAL,4,2           ## @NVME_SC_INTERNAL
	.no_dead_strip	_nvmet_rdma_map_sgl_keyed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_map_sgl_keyed
_nvmet_rdma_map_sgl_keyed:              ; @nvmet_rdma_map_sgl_keyed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldr	x26, [x8]
	ldr	w0, [x1, #8]
	bl	_le64_to_cpu
	mov	x22, x0
	ldr	w0, [x23, #4]
	bl	_get_unaligned_le32
	mov	x21, x0
	ldr	w0, [x23]
	bl	_get_unaligned_le24
	mov	x23, x19
	str	x0, [x23, #8]!
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x23
	bl	_nvmet_req_alloc_sgl
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x24, x19, #32
	ldp	w26, w25, [x26]
	ldp	w28, w27, [x19, #16]
	mov	x0, x23
	bl	_nvmet_data_dir
	str	w0, [sp]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	mov	x4, x28
	mov	w5, #0
	mov	x6, x22
	mov	x7, x21
	bl	_rdma_rw_ctx_init
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	mov	w0, #0
	cbz	w20, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _NVMET_RDMA_REQ_INVALIDATE_RKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVMET_RDMA_REQ_INVALIDATE_RKEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	stp	w8, w21, [x19, #24]
	b	LBB0_6
LBB0_5:
	str	xzr, [x23]
Lloh3:
	adrp	x8, _NVME_SC_INTERNAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_SC_INTERNAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMET_RDMA_REQ_INVALIDATE_RKEY,4,2 ; @NVMET_RDMA_REQ_INVALIDATE_RKEY
	.comm	_NVME_SC_INTERNAL,4,2           ; @NVME_SC_INTERNAL
	.no_dead_strip	_nvmet_rdma_map_sgl_keyed
.subsections_via_symbols
