	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_module                ## -- Begin function get_next_module
	.p2align	4, 0x90
_get_next_module:                       ## @get_next_module
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_get_module_index
	incl	%eax
	movq	_TOTAL_MODULES@GOTPCREL(%rip), %rdx
	movq	_module_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rdx), %eax
	je	LBB0_2
## %bb.1:
	cltq
	movl	(%rcx,%rax,4), %eax
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOTAL_MODULES,4,2              ## @TOTAL_MODULES
	.comm	_module_list,8,3                ## @module_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_module                ; -- Begin function get_next_module
	.p2align	2
_get_next_module:                       ; @get_next_module
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_module_index
Lloh0:
	adrp	x8, _TOTAL_MODULES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOTAL_MODULES@GOTPAGEOFF]
	add	w9, w0, #1
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _module_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _module_list@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w9, w10
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x8, w9, sxtw #2]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TOTAL_MODULES,4,2              ; @TOTAL_MODULES
	.comm	_module_list,8,3                ; @module_list
.subsections_via_symbols
