	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_cid_map_alloc
_qed_cid_map_alloc:                     ## @qed_cid_map_alloc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_CONN_TYPES@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$8, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	(%rax), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	incq	%rbx
	movq	_MAX_CONN_TYPES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	movq	%r12, %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jae	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%rax), %rcx
	movq	%rbx, %rsi
	shlq	$4, %rsi
	leaq	(,%rbx,4), %r8
	addq	8(%rax), %r8
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rcx,%rsi), %rcx
	movq	%rdi, %r12
	movq	%rbx, %rsi
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	callq	_qed_cid_map_alloc_single
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %r14
	movq	_MAX_NUM_VFS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %r8
	addq	%r13, %r8
	movq	(%r14), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_qed_cid_map_alloc_single
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%r15
	addq	$4, %r13
	movq	_MAX_NUM_VFS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jb	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	%r12, %rdi
	callq	_qed_cid_map_free
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CONN_TYPES,8,3             ## @MAX_CONN_TYPES
	.comm	_MAX_NUM_VFS,8,3                ## @MAX_NUM_VFS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_qed_cid_map_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_cid_map_alloc
_qed_cid_map_alloc:                     ; @qed_cid_map_alloc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _MAX_CONN_TYPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_CONN_TYPES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	mov	x21, #0
	mov	x22, #0
	ldr	x24, [x0]
Lloh3:
	adrp	x25, _MAX_NUM_VFS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_NUM_VFS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	add	x22, x8, x22
	ldr	x8, [x26]
	add	x21, x8, x21
	add	x20, x20, #1
Lloh5:
	adrp	x8, _MAX_CONN_TYPES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_CONN_TYPES@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x20, x8
	b.hs	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldp	x9, x8, [x24, #8]
	add	x26, x8, x20, lsl #4
	add	x4, x9, x20, lsl #2
	mov	x27, x26
	ldr	x3, [x27, #8]!
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_qed_cid_map_alloc_single
	cbnz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	mov	x23, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x8, [x8, x20, lsl #3]
	add	x4, x8, x28
	ldr	x3, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_qed_cid_map_alloc_single
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x23, x23, #1
	ldr	x8, [x25]
	add	x28, x28, #4
	cmp	x23, x8
	b.lo	LBB0_6
	b	LBB0_2
LBB0_8:
	mov	x0, x19
	bl	_qed_cid_map_free
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CONN_TYPES,8,3             ; @MAX_CONN_TYPES
	.comm	_MAX_NUM_VFS,8,3                ; @MAX_NUM_VFS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_qed_cid_map_alloc
.subsections_via_symbols
