	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_reg_page_vec              ## -- Begin function iser_reg_page_vec
	.p2align	4, 0x90
_iser_reg_page_vec:                     ## @iser_reg_page_vec
	.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	%rdx, %r12
	movq	%rsi, %rbx
	movq	8(%rsi), %rsi
	movq	(%rsi), %r14
	movl	(%rdi), %edi
	movl	(%rbx), %edx
	movq	%r14, %rcx
	callq	_ib_fmr_pool_map_phys
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_iser_err
	jmp	LBB0_3
LBB0_2:
	movq	(%r15), %rax
	movq	8(%rax), %r9
	movq	%r9, 24(%r12)
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movl	(%rbx), %edx
	movl	$1, 4(%r12)
	movq	%r15, 16(%r12)
	addq	16(%rbx), %r14
	movq	%r14, 8(%r12)
	movslq	4(%rbx), %r8
	movl	%r8d, (%r12)
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%r8
	pushq	%r14
	pushq	%r15
	callq	_iser_dbg
	addq	$32, %rsp
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ib_fmr_pool_map_phys failed: %d\n"

	.comm	_SIZE_4K,4,2                    ## @SIZE_4K
L_.str.1:                               ## @.str.1
	.asciz	"PHYSICAL Mem.register, [PHYS p_array: 0x%p, sz: %d, entry[0]: (0x%08lx,%ld)] -> [lkey: 0x%08X mem_h: 0x%p va: 0x%08lX sz: %ld]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_reg_page_vec              ; -- Begin function iser_reg_page_vec
	.p2align	2
_iser_reg_page_vec:                     ; @iser_reg_page_vec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	ldr	x1, [x1, #8]
	ldr	x22, [x1]
	ldr	w0, [x0]
	ldr	w2, [x19]
	mov	x3, x22
	bl	_ib_fmr_pool_map_phys
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_iser_err
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21]
	ldr	x5, [x8, #8]
	str	x5, [x20, #24]
	ldr	w8, [x8]
	str	w8, [x20, #32]
	mov	w8, #1
	ldp	x10, x9, [x19, #8]
	add	x7, x9, x22
	stp	x7, x21, [x20, #8]
	ldp	w2, w4, [x19]
                                        ; kill: def $w4 killed $w4 def $x4
	sxtw	x4, w4
	stp	w4, w8, [x20]
	ldr	x3, [x10]
	str	x4, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
                                        ; kill: def $w5 killed $w5 killed $x5
	mov	x6, x21
	bl	_iser_dbg
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib_fmr_pool_map_phys failed: %d\n"

	.comm	_SIZE_4K,4,2                    ; @SIZE_4K
l_.str.1:                               ; @.str.1
	.asciz	"PHYSICAL Mem.register, [PHYS p_array: 0x%p, sz: %d, entry[0]: (0x%08lx,%ld)] -> [lkey: 0x%08X mem_h: 0x%p va: 0x%08lX sz: %ld]\n"

.subsections_via_symbols
