	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_fast_reg_fmr
_iser_fast_reg_fmr:                     ## @iser_fast_reg_fmr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	(%rdx), %r13
	movq	8(%rdx), %r12
	movq	$0, 24(%r12)
	movq	_SIZE_4K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_iser_set_page@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_ib_sg_to_pages
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_iser_err
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_iser_data_buf_dump
	movq	%r12, %rdi
	callq	_iser_dump_page_vec
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r12), %rsi
	movq	24(%r12), %rdx
	movl	(%rsi), %ecx
	movq	%r13, %rdi
	callq	_ib_fmr_pool_map_phys
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_iser_err
	jmp	LBB0_5
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	(%r12), %r8
	movq	%r8, %xmm0
	pinsrd	$2, %esi, %xmm0
	pinsrd	$3, %edx, %xmm0
	movdqu	%xmm0, (%r14)
	movq	%rbx, 16(%r14)
	movq	%r8, %rcx
	shrq	$32, %rcx
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_iser_dbg
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_4K,4,2                    ## @SIZE_4K
	.comm	_iser_set_page,4,2              ## @iser_set_page
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"page vec too short to hold this SG\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"ib_fmr_pool_map_phys failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"fmr reg: lkey=0x%x, rkey=0x%x, addr=0x%llx, length=0x%x\n"

	.no_dead_strip	_iser_fast_reg_fmr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_fast_reg_fmr
_iser_fast_reg_fmr:                     ; @iser_fast_reg_fmr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x21, x1
	ldr	x8, [x0]
	ldr	x23, [x8]
	ldp	x22, x20, [x2]
	str	xzr, [x20, #24]
Lloh0:
	adrp	x8, _SIZE_4K@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_4K@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	w1, [x1, #4]
	ldr	w2, [x21]
Lloh3:
	adrp	x8, _iser_set_page@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iser_set_page@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x3, #0
	bl	_ib_sg_to_pages
	ldr	w8, [x21]
	cmp	w0, w8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iser_err
	ldr	w1, [x23]
	mov	x0, x21
	bl	_iser_data_buf_dump
	mov	x0, x20
	bl	_iser_dump_page_vec
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_2:
	ldp	x1, x2, [x20, #16]
	ldr	w3, [x1]
	mov	x0, x22
	bl	_ib_fmr_pool_map_phys
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x19, x0
	str	x19, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_iser_err
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21]
	ldp	w2, w1, [x8]
	ldr	d0, [x20]
	fmov	w4, s0
	mov.s	w3, v0[1]
	mov.s	v0[2], w1
	mov.s	v0[3], w2
	str	q0, [x19]
	str	x21, [x19, #16]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_iser_dbg
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_4K,4,2                    ; @SIZE_4K
	.comm	_iser_set_page,4,2              ; @iser_set_page
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"page vec too short to hold this SG\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"ib_fmr_pool_map_phys failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"fmr reg: lkey=0x%x, rkey=0x%x, addr=0x%llx, length=0x%x\n"

	.no_dead_strip	_iser_fast_reg_fmr
.subsections_via_symbols
