	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_enum_modules               ## -- Begin function elf_enum_modules
	.p2align	4, 0x90
_elf_enum_modules:                      ## @elf_enum_modules
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%ebx, -36(%rbp)
	movq	_ELF_INFO_DEBUG_HEADER@GOTPCREL(%rip), %rax
	movq	_ELF_INFO_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_elf_search_loader
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-48(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	%r15d, -72(%rbp)
	movq	%r14, -80(%rbp)
	movq	-56(%rbp), %rsi
	movq	_elf_enum_modules_translate@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	leaq	-80(%rbp), %rcx
	callq	_elf_enum_modules_internal
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-56(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	jmp	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_INFO_DEBUG_HEADER,4,2      ## @ELF_INFO_DEBUG_HEADER
	.comm	_ELF_INFO_NAME,4,2              ## @ELF_INFO_NAME
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_elf_enum_modules_translate,4,2 ## @elf_enum_modules_translate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_enum_modules               ; -- Begin function elf_enum_modules
	.p2align	2
_elf_enum_modules:                      ; @elf_enum_modules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w21, [sp, #44]
Lloh0:
	adrp	x8, _ELF_INFO_DEBUG_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELF_INFO_DEBUG_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ELF_INFO_NAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELF_INFO_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #16]
	add	x0, sp, #40
	add	x1, sp, #16
	bl	_elf_search_loader
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #32]
	str	w8, [sp, #40]
	str	w20, [sp, #8]
	str	x19, [sp]
	ldr	x1, [sp, #24]
Lloh6:
	adrp	x8, _elf_enum_modules_translate@GOTPAGE
Lloh7:
	ldr	x8, [x8, _elf_enum_modules_translate@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #40
	mov	x3, sp
	bl	_elf_enum_modules_internal
	mov	x19, x0
	bl	_GetProcessHeap
	ldr	x2, [sp, #24]
	mov	w1, #0
	bl	_HeapFree
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
LBB0_3:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_INFO_DEBUG_HEADER,4,2      ; @ELF_INFO_DEBUG_HEADER
	.comm	_ELF_INFO_NAME,4,2              ; @ELF_INFO_NAME
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_elf_enum_modules_translate,4,2 ; @elf_enum_modules_translate
.subsections_via_symbols
