	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_list_active
_module_list_active:                    ## @module_list_active
	.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	%rdi, %r12
	movq	_MODULE_LIST_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	20(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %r14
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_is_submodule_active
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ALLOC_GROW
	movslq	%ebx, %rax
	movq	%r14, (%r13,%rax,8)
	movl	%r12d, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_5:
	movq	8(%r12), %rdi
	callq	_free
	movl	%ebx, (%r12)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r12)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%r12)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODULE_LIST_INIT,24,3          ## @MODULE_LIST_INIT
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_module_list_active
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_list_active
_module_list_active:                    ; @module_list_active
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MODULE_LIST_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODULE_LIST_INIT@GOTPAGEOFF]
	ldp	w24, w23, [x8]
	ldr	x20, [x8, #8]
	ldr	d0, [x8, #16]
	ldr	w8, [x0]
	cmp	w8, #1
	str	q0, [sp]                        ; 16-byte Folded Spill
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	fmov	w21, s0
Lloh2:
	adrp	x26, _the_repository@GOTPAGE
Lloh3:
	ldr	x26, [x26, _the_repository@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x27, [x8, x25, lsl #3]
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_is_submodule_active
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w24, #1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ALLOC_GROW
	str	x27, [x20, w24, sxtw #3]
	mov	x24, x22
	b	LBB0_2
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_free
	stp	w24, w23, [x19]
	str	x20, [x19, #8]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	d0, [x19, #16]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MODULE_LIST_INIT,24,3          ; @MODULE_LIST_INIT
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_module_list_active
.subsections_via_symbols
