	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ext_ver_list
_get_ext_ver_list:                      ## @get_ext_ver_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	(%rdi), %edi
	callq	_strlen
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_get_extension_script_directory
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_AllocateDir
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ReadDir
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r13
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_get_ext_ver_info
	movl	$1, (%rax)
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ReadDir
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	callq	_is_extension_script_filename
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	movl	(%r15), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$45, (%rdi,%rax)
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$45, 1(%rdi,%rax)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	$2, %rdi
	callq	_pstrdup
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$46, %esi
	callq	_strrchr
	movb	$0, (%rax)
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movb	$0, (%rax)
	addq	$2, %r13
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_get_ext_ver_info
	movq	%rax, %r14
	movq	%r13, %rdi
	leaq	-56(%rbp), %rsi
	callq	_get_ext_ver_info
	movl	4(%r14), %edi
	movq	%rax, %rsi
	callq	_lappend
	movl	%eax, 4(%r14)
	jmp	LBB0_10
LBB0_11:
	movq	%rbx, %rdi
	callq	_FreeDir
	movq	-56(%rbp), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

	.no_dead_strip	_get_ext_ver_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ext_ver_list
_get_ext_ver_list:                      ; @get_ext_ver_list
	.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, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w0, [x0]
	bl	_strlen
	mov	x20, x0
	mov	x0, x19
	bl	_get_extension_script_directory
	mov	x21, x0
	bl	_AllocateDir
	mov	x22, x0
	mov	x1, x21
	bl	_ReadDir
	cbz	x0, LBB0_11
; %bb.1:
	mov	x24, x0
	sxtw	x26, w20
	add	x27, x26, #1
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	mov	w28, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x24
	bl	_get_ext_ver_info
	str	w28, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_ReadDir
	mov	x24, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	bl	_is_extension_script_filename
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	ldr	w1, [x19]
	mov	x2, x20
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24]
	add	x8, x9, x26
	ldrb	w10, [x8]
	cmp	w10, #45
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x9, x27]
	cmp	w9, #45
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #2
	bl	_pstrdup
	mov	x24, x0
	mov	w1, #46
	bl	_strrchr
	strb	wzr, [x0]
	mov	x0, x24
	mov	x1, x23
	bl	_strstr
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	strb	wzr, [x25], #2
	mov	x0, x25
	mov	x1, x23
	bl	_strstr
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x24
	bl	_get_ext_ver_info
	mov	x24, x0
	add	x1, sp, #8
	mov	x0, x25
	bl	_get_ext_ver_info
	mov	x1, x0
	ldr	w0, [x24, #4]
	bl	_lappend
	str	w0, [x24, #4]
	b	LBB0_3
LBB0_11:
	mov	x0, x22
	bl	_FreeDir
	ldr	x0, [sp, #8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.no_dead_strip	_get_ext_ver_list
.subsections_via_symbols
