	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_alloc_fastreg_pool        ## -- Begin function iser_alloc_fastreg_pool
	.p2align	4, 0x90
_iser_alloc_fastreg_pool:               ## @iser_alloc_fastreg_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	%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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	32(%rdi), %r12
	addq	$20, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	leaq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	leaq	24(%r15), %rdi
	callq	_spin_lock_init
	movq	$0, 8(%r15)
	testl	%ebx, %ebx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_iser_create_fastreg_desc
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	addq	$4, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	incq	8(%r15)
	decl	%ebx
	jne	LBB0_1
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_iser_free_fastreg_pool
	movl	%ebx, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_alloc_fastreg_pool        ; -- Begin function iser_alloc_fastreg_pool
	.p2align	2
_iser_alloc_fastreg_pool:               ; @iser_alloc_fastreg_pool
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #32]
	add	x23, x0, #20
	mov	x0, x23
	bl	_INIT_LIST_HEAD
	add	x24, x19, #16
	mov	x0, x24
	bl	_INIT_LIST_HEAD
	add	x0, x19, #24
	bl	_spin_lock_init
	str	xzr, [x19, #8]
	cbz	w21, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	w2, [x19]
	mov	x0, x22
	mov	x3, x20
	bl	_iser_create_fastreg_desc
	mov	x25, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x25, #4
	mov	x1, x23
	bl	_list_add_tail
	mov	x0, x25
	mov	x1, x24
	bl	_list_add_tail
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	subs	w21, w21, #1
	b.ne	LBB0_1
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x25
	bl	_PTR_ERR
	mov	x20, x0
	mov	x0, x19
	bl	_iser_free_fastreg_pool
	mov	x0, x20
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
