	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_port_immutable
_read_port_immutable:                   ## @read_port_immutable
	.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	%rdi, %r14
	callq	_rdma_start_port
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_rdma_end_port
	movl	%eax, %r15d
	leal	4(,%r15,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	%r15d, %r12d
	jle	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movslq	%r12d, %rbx
	leaq	(%rax,%rbx,4), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	4(,%rbx,4), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_verify_immutable
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r12d, %r15d
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rdx
	addq	%rbx, %rdx
	incl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	*(%r14)
	addq	$4, %rbx
	testl	%eax, %eax
	je	LBB0_8
	jmp	LBB0_6
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_read_port_immutable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_port_immutable
_read_port_immutable:                   ; @read_port_immutable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_rdma_start_port
	mov	x20, x0
	mov	x0, x19
	bl	_rdma_end_port
	mov	x21, x0
	lsl	w8, w0, #2
	add	w0, w8, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.1:
	cmp	w20, w21
	b.le	LBB0_5
LBB0_2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	add	x2, x0, w20, sxtw #2
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	sxtw	x8, w20
	lsl	x8, x8, #2
	add	x22, x8, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_verify_immutable
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w21, w20
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x9, x8, [x19]
	add	x2, x8, x22
	add	w20, w20, #1
	mov	x0, x19
	mov	x1, x20
	blr	x9
	add	x22, x22, #4
	cbz	w0, LBB0_8
	b	LBB0_6
LBB0_11:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_read_port_immutable
.subsections_via_symbols
