	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadSoundFiles                 ## -- Begin function LoadSoundFiles
	.p2align	4, 0x90
_LoadSoundFiles:                        ## @LoadSoundFiles
	.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	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	%rsp, -1128(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -1088(%rbp)               ## 8-byte Spill
	movq	_hApplet@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_NO_SOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-1072(%rbp), %r13
	movq	%r13, %rdi
	callq	__countof
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_LoadString
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_TEXT
	movl	%eax, %ebx
	leaq	-1072(%rbp), %r12
	movq	%r12, %rdi
	callq	__countof
	cltq
	movl	%ebx, -1076(%rbp,%rax,4)
	movq	_IDC_SOUND_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_ComboBox_AddString
LBB0_2:
	movl	%r15d, -1076(%rbp)              ## 4-byte Spill
	movl	(%r14), %esi
	movq	-1088(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rdi
	callq	_GetWindowsDirectoryW
	movq	_FALSE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	movl	(%r14), %ecx
	addl	$-9, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_16
## %bb.4:
	movslq	%eax, %rcx
	cmpl	$92, -4(%r12,%rcx,4)
	je	LBB0_6
## %bb.5:
	movl	$92, (%r12,%rcx,4)
	incl	%eax
LBB0_6:
	movslq	%eax, %r14
	leaq	(%r12,%r14,4), %rdi
	leaq	l_.str(%rip), %rsi
	callq	_wcscpy
	leaq	-1104(%rbp), %rsi
	movq	%r12, %rdi
	callq	_FindFirstFileW
	movq	%rax, %r13
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_16
## %bb.7:
	leaq	(%r12,%r14,4), %rax
	addq	$24, %rax
	movq	%rax, -1120(%rbp)               ## 8-byte Spill
	movq	_FILE_ATTRIBUTE_DIRECTORY@GOTPCREL(%rip), %rbx
	movq	_IDC_SOUND_LIST@GOTPCREL(%rip), %r15
	movl	-1076(%rbp), %r14d              ## 4-byte Reload
	movq	%r13, -1112(%rbp)               ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	-1104(%rbp), %rsi
	callq	_FindNextFileW
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	testl	%eax, -1104(%rbp)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-1096(%rbp), %rdi
	movl	$92, %esi
	callq	_wcsrchr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-1096(%rbp), %eax
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	addl	$4, %eax
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r15), %esi
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	movq	%rax, %r12
	movq	_CB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-1096(%rbp), %rsi
	movq	-1120(%rbp), %rdi               ## 8-byte Reload
	callq	_wcscpy
	movl	(%r15), %r14d
	movq	%r15, %r13
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	callq	__wcsdup
	movl	-1076(%rbp), %edi               ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%r13, %r15
	movq	-1112(%rbp), %r13               ## 8-byte Reload
	movl	-1076(%rbp), %r14d              ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	jmp	LBB0_14
LBB0_15:
	movq	%r13, %rdi
	callq	_FindClose
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_16:
	movl	(%r15), %eax
	movq	-1128(%rbp), %rsp               ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_hApplet,4,2                    ## @hApplet
	.comm	_IDS_NO_SOUND,4,2               ## @IDS_NO_SOUND
	.comm	_IDC_SOUND_LIST,4,2             ## @IDC_SOUND_LIST
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	105                             ## 0x69
	.long	97                              ## 0x61
	.long	92                              ## 0x5c
	.long	42                              ## 0x2a
	.long	0                               ## 0x0

	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ## @FILE_ATTRIBUTE_DIRECTORY
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
	.comm	_CB_ERR,8,3                     ## @CB_ERR
	.comm	_CB_SETITEMDATA,4,2             ## @CB_SETITEMDATA
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadSoundFiles                 ; -- Begin function LoadSoundFiles
	.p2align	2
_LoadSoundFiles:                        ; @LoadSoundFiles
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1088
	mov	x19, sp
	mov	x20, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x24, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, _hApplet@GOTPAGE
Lloh8:
	ldr	x8, [x8, _hApplet@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
Lloh10:
	adrp	x8, _IDS_NO_SOUND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IDS_NO_SOUND@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	add	x25, x19, #48
	add	x0, x19, #48
	bl	__countof
	mov	x3, x0
	add	x2, x19, #48
	mov	x0, x22
	mov	x1, x23
	bl	_LoadString
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_TEXT
	mov	x22, x0
	add	x0, x19, #48
	bl	__countof
	add	x8, x25, w0, sxtw #2
	stur	w22, [x8, #-4]
Lloh13:
	adrp	x8, _IDC_SOUND_LIST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDC_SOUND_LIST@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	add	x1, x19, #48
	bl	_ComboBox_AddString
LBB0_2:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_GetWindowsDirectoryW
	cbz	w0, LBB0_7
; %bb.3:
	mov	x23, x0
	ldr	w8, [x24]
	sub	w8, w8, #9
	cmp	w0, w8
	b.ge	LBB0_7
; %bb.4:
	add	x8, x21, w23, sxtw #2
	ldur	w8, [x8, #-4]
	cmp	w8, #92
	b.eq	LBB0_6
; %bb.5:
	sxtw	x8, w23
	mov	w9, #92
	str	w9, [x21, x8, lsl #2]
	add	w23, w23, #1
LBB0_6:
	add	x0, x21, w23, sxtw #2
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wcscpy
	add	x1, x19, #32
	mov	x0, x21
	bl	_FindFirstFileW
Lloh18:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_7:
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	mov	sp, x26
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x22, x0
	stp	x26, x21, [x19, #8]             ; 16-byte Folded Spill
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x8, w23
	add	x8, x21, x8, lsl #2
	add	x8, x8, #24
	str	x8, [x19, #24]                  ; 8-byte Folded Spill
Lloh26:
	adrp	x28, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGE
Lloh27:
	ldr	x28, [x28, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGEOFF]
Lloh28:
	adrp	x21, _IDC_SOUND_LIST@GOTPAGE
Lloh29:
	ldr	x21, [x21, _IDC_SOUND_LIST@GOTPAGEOFF]
Lloh30:
	adrp	x25, _CB_ADDSTRING@GOTPAGE
Lloh31:
	ldr	x25, [x25, _CB_ADDSTRING@GOTPAGEOFF]
Lloh32:
	adrp	x27, _CB_ERR@GOTPAGE
Lloh33:
	ldr	x27, [x27, _CB_ERR@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x1, x19, #32
	mov	x0, x22
	bl	_FindNextFileW
	cbz	x0, LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #32]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x19, #40]
	mov	w1, #92
	bl	_wcsrchr
	add	w8, w0, #4
	ldr	w9, [x19, #40]
	ldr	w1, [x21]
	ldr	w2, [x25]
	cmp	x0, #0
	csel	w4, w9, w8, eq
	mov	x0, x20
	mov	w3, #0
	bl	_SendDlgItemMessageW
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x24, x0
	ldr	x1, [x19, #40]
	ldr	x0, [x19, #24]                  ; 8-byte Folded Reload
	bl	_wcscpy
	mov	x23, x25
	ldr	w25, [x21]
Lloh34:
	adrp	x8, _CB_SETITEMDATA@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CB_SETITEMDATA@GOTPAGEOFF]
Lloh36:
	ldr	w26, [x8]
	ldr	x0, [x19, #16]                  ; 8-byte Folded Reload
	bl	__wcsdup
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x25, x23
	mov	x2, x26
	mov	x3, x24
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_SendDlgItemMessageW
	b	LBB0_11
LBB0_15:
	mov	x0, x22
	bl	_FindClose
Lloh37:
	adrp	x8, _TRUE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	ldr	x26, [x19, #8]                  ; 8-byte Folded Reload
	b	LBB0_8
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_hApplet,4,2                    ; @hApplet
	.comm	_IDS_NO_SOUND,4,2               ; @IDS_NO_SOUND
	.comm	_IDC_SOUND_LIST,4,2             ; @IDC_SOUND_LIST
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	105                             ; 0x69
	.long	97                              ; 0x61
	.long	92                              ; 0x5c
	.long	42                              ; 0x2a
	.long	0                               ; 0x0

	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ; @FILE_ATTRIBUTE_DIRECTORY
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
	.comm	_CB_ERR,8,3                     ; @CB_ERR
	.comm	_CB_SETITEMDATA,4,2             ; @CB_SETITEMDATA
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
