	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_rdma_map_sg_inline
_nvme_rdma_map_sg_inline:               ## @nvme_rdma_map_sg_inline
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	testl	%ecx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	8(%rsi), %r15
	movq	16(%rsi), %r14
	addq	$28, %r15
	xorl	%ebx, %ebx
	movl	%ecx, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_sg_dma_address
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_sg_dma_len
	movq	%rax, -12(%r15)
	movq	8(%r13), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -4(%r15)
	addl	%eax, %ebx
	addq	$4, %r14
	addq	$16, %r15
	decl	%r12d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le64
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	movq	_NVME_SGL_FMT_DATA_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$4, %eax
	movq	_NVME_SGL_FMT_OFFSET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_SGL_FMT_DATA_DESC,4,2     ## @NVME_SGL_FMT_DATA_DESC
	.comm	_NVME_SGL_FMT_OFFSET,4,2        ## @NVME_SGL_FMT_OFFSET
	.no_dead_strip	_nvme_rdma_map_sg_inline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_rdma_map_sg_inline
_nvme_rdma_map_sg_inline:               ; @nvme_rdma_map_sg_inline
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	cmp	w3, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
	ldp	x8, x24, [x20, #8]
	add	x25, x8, #28
	mov	x26, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_sg_dma_address
	str	w0, [x25]
	mov	x0, x24
	bl	_sg_dma_len
	stur	x0, [x25, #-12]
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	stur	w8, [x25, #-4]
	add	w22, w22, w0
	add	x24, x24, #4
	add	x25, x25, #16
	subs	w26, w26, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_cpu_to_le64
	str	w0, [x21, #8]
	mov	x0, x22
	bl	_cpu_to_le32
Lloh0:
	adrp	x8, _NVME_SGL_FMT_DATA_DESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_SGL_FMT_DATA_DESC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NVME_SGL_FMT_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVME_SGL_FMT_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8, lsl #4
	stp	w8, w0, [x21]
	ldr	w8, [x20]
	add	w8, w8, w19
	str	w8, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_SGL_FMT_DATA_DESC,4,2     ; @NVME_SGL_FMT_DATA_DESC
	.comm	_NVME_SGL_FMT_OFFSET,4,2        ; @NVME_SGL_FMT_OFFSET
	.no_dead_strip	_nvme_rdma_map_sg_inline
.subsections_via_symbols
