	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_prev_module                ## -- Begin function get_prev_module
	.p2align	4, 0x90
_get_prev_module:                       ## @get_prev_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
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	decl	%eax
	movq	_module_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	cmpl	$-1, %eax
	jne	LBB0_7
	jmp	LBB0_3
LBB0_1:
	movq	_module_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_3:
	movq	_TOTAL_MODULES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rcx,%rdx,4), %eax
	decq	%rdx
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_7:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_module_list,8,3                ## @module_list
	.comm	_TOTAL_MODULES,4,2              ## @TOTAL_MODULES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_prev_module                ; -- Begin function get_prev_module
	.p2align	2
_get_prev_module:                       ; @get_prev_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
	cmp	w0, #0
	b.le	LBB0_2
; %bb.1:
	sub	w9, w0, #1
Lloh0:
	adrp	x8, _module_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _module_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8, w9, uxtw #2]
	cmn	w0, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _module_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _module_list@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
LBB0_3:
Lloh6:
	adrp	x9, _TOTAL_MODULES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TOTAL_MODULES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	x8, x8, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8, x9, lsl #2]
	sub	x9, x9, #1
	cmn	w0, #1
	b.eq	LBB0_4
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_module_list,8,3                ; @module_list
	.comm	_TOTAL_MODULES,4,2              ; @TOTAL_MODULES
.subsections_via_symbols
