	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_ib_create_mr_pool          ## -- Begin function rds_ib_create_mr_pool
	.p2align	4, 0x90
_rds_ib_create_mr_pool:                 ## @rds_ib_create_mr_pool
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	44(%rax), %rdi
	callq	_init_llist_head
	leaq	40(%rbx), %rdi
	callq	_init_llist_head
	leaq	36(%rbx), %rdi
	callq	_init_llist_head
	leaq	32(%rbx), %rdi
	callq	_mutex_init
	leaq	28(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	_rds_ib_mr_pool_flush_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_fmr_message_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	4(%r14), %ecx
	movl	%ecx, 20(%rbx)
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movl	(%r14), %ecx
	imull	%ecx, %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	leal	(%rcx,%rcx,2), %eax
	leal	(%rcx,%rcx,2), %esi
	addl	$3, %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	movl	%edx, (%rbx)
	sarl	$2, %esi
	movl	%esi, 4(%rbx)
	movl	%ecx, 8(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rds_ib_mr_pool_flush_worker,4,2 ## @rds_ib_mr_pool_flush_worker
	.comm	_fmr_message_size,4,2           ## @fmr_message_size
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_ib_create_mr_pool          ; -- Begin function rds_ib_create_mr_pool
	.p2align	2
_rds_ib_create_mr_pool:                 ; @rds_ib_create_mr_pool
	.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, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, x0, #44
	bl	_init_llist_head
	add	x0, x19, #40
	bl	_init_llist_head
	add	x0, x19, #36
	bl	_init_llist_head
	add	x0, x19, #32
	bl	_mutex_init
	add	x0, x19, #28
	bl	_init_waitqueue_head
	add	x0, x19, #24
Lloh3:
	adrp	x8, _rds_ib_mr_pool_flush_worker@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rds_ib_mr_pool_flush_worker@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh6:
	adrp	x8, _fmr_message_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fmr_message_size@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldp	w11, w10, [x20]
	stp	w9, w10, [x19, #16]
	mul	w9, w11, w8
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	add	w10, w11, w11, lsl #1
	add	w12, w10, #3
	cmp	w10, #0
	csel	w10, w12, w10, lt
	asr	w9, w9, #2
	asr	w10, w10, #2
	stp	w9, w10, [x19]
	stp	w11, w8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rds_ib_mr_pool_flush_worker,4,2 ; @rds_ib_mr_pool_flush_worker
	.comm	_fmr_message_size,4,2           ; @fmr_message_size
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
.subsections_via_symbols
