	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FD31_WMInitDialog
_FD31_WMInitDialog:                     ## @FD31_WMInitDialog
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	movq	_FD31_OFN_PROP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	callq	_SetPropA
	movl	%r12d, 24(%rbx)
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	16(%rbx), %r14
	movl	(%r14), %ebx
	movq	8(%r14), %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movl	48(%r14), %esi
	movl	%r12d, %edi
	callq	_SetWindowTextW
	movq	16(%r14), %r15
	testq	%r15, %r15
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	je	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_TRACE
	cmpb	$0, (%r15)
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_cmb1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movslq	%ebx, %r13
	movq	16(%r14), %r8
	addq	%r13, %r8
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_lstrlenW
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_lstrlenW
	movslq	%eax, %r12
	leaq	(%r12,%r15), %r14
	incq	%r14
	addq	%r15, %r12
	movq	%r15, %rdi
	callq	_debugstr_w
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_cmb1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_SendDlgItemMessageW
	movq	%r14, %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	addl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	leal	(%rax,%r13), %ebx
	addl	$2, %ebx
	movq	%r14, %rdi
	callq	_lstrlenW
	cltq
	leaq	(%rax,%r12), %r15
	addq	$2, %r15
	cmpb	$0, 2(%rax,%r12)
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_5
LBB0_6:
	movq	40(%r14), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	cmpb	$0, (%rax)
	je	LBB0_11
## %bb.8:
	xorl	%edi, %edi
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_cmb1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movslq	%edi, %r8
	addq	%rax, %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_lstrlenW
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_lstrlenW
	movslq	%eax, %r12
	leaq	(%r12,%r13), %r14
	incq	%r14
	addq	%r13, %r12
	movq	%r13, %rdi
	callq	_debugstr_w
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_cmb1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_SendDlgItemMessageW
	movq	%r14, %rdi
	callq	_lstrlenW
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_lstrlenW
	cltq
	cmpb	$0, 2(%rax,%r12)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	(%rax,%r12), %r13
	addq	$2, %r13
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addl	%r15d, %edi
	addl	%ebx, %edi
	addl	$2, %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	jmp	LBB0_9
LBB0_11:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %ecx
	testl	%ecx, %ecx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_14
## %bb.12:
	xorl	%ecx, %ecx
	cmpq	$0, 16(%rbx)
	jne	LBB0_14
## %bb.13:
	movl	$1, 24(%rbx)
	movl	$1, %ecx
LBB0_14:
	movq	_cmb1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%ecx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.15:
	cmpb	$0, (%rdi)
	je	LBB0_17
## %bb.16:
	callq	_debugstr_w
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	_edt1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rdx
	movl	%r14d, %edi
	jmp	LBB0_18
LBB0_17:
	movq	16(%rbx), %rdi
	movq	40(%rbx), %rsi
	movl	24(%rbx), %edx
	decl	%edx
	callq	_FD31_GetFileType
	movq	_BUFFILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_lstrcpynW
	movl	24(%rbx), %r15d
	movq	%r12, %rdi
	callq	_debugstr_w
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_edt1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r12, %rdx
LBB0_18:
	callq	_SetDlgItemTextW
	movb	$0, (%r12)
	movq	_cmb2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DDL_DRIVES@GOTPCREL(%rip), %rax
	movq	_DDL_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movl	%r14d, %edi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_DlgDirListComboBoxW
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.19:
	movq	%r12, %rdi
	movl	$511, %edx                      ## imm = 0x1FF
	callq	_lstrcpynW
	movq	%r12, %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.20:
	leal	-1(%rax), %ecx
	movb	(%r12,%rcx), %cl
	cmpb	$58, %cl
	je	LBB0_24
## %bb.21:
	cmpb	$92, %cl
	je	LBB0_24
## %bb.22:
	movl	%eax, %eax
	movw	$92, (%r12,%rax)
	jmp	LBB0_24
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_23:
	movb	$0, (%r12)
LBB0_24:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_FD31_ScanDir
	testl	%eax, %eax
	jne	LBB0_27
## %bb.25:
	movb	$0, (%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_FD31_ScanDir
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	callq	_debugstr_w
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_WARN
LBB0_27:
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	$6044257, -56(%rbp)             ## imm = 0x5C3A61
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_GetCurrentDirectoryA
	movl	$-1, %ebx
	movl	$-25, %r13d
	movq	_DRIVE_NO_ROOT_DIR@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r12d
	leal	122(%r13), %eax
	movb	%al, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_GetDriveTypeA
	xorl	%ebx, %ebx
	cmpq	(%r14), %rax
	setg	%bl
	addl	%r12d, %ebx
	movsbl	-56(%rbp), %edi
	callq	_toupper
	movq	%rax, %r12
	movsbl	(%r15), %edi
	callq	_toupper
	cmpq	%rax, %r12
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	leal	1(%r13), %eax
	testl	%r13d, %r13d
	movl	%eax, %r13d
	jne	LBB0_28
LBB0_30:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	_cmb2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movq	_OFN_SHOWHELP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_32
## %bb.31:
	movq	_pshHelp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movq	_SW_HIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movl	(%rbx), %eax
LBB0_32:
	movq	_OFN_HIDEREADONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_34
## %bb.33:
	movq	_chx1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movq	_SW_HIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
LBB0_34:
	cmpq	$0, 8(%rbx)
	je	LBB0_36
## %bb.35:
	movq	_WM_INITDIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_FD31_CallWindowProc
	jmp	LBB0_38
LBB0_36:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_37:
	movl	(%rax), %eax
LBB0_38:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.39:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFILE,4,2                    ## @BUFFILE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_FD31_OFN_PROP,4,2              ## @FD31_OFN_PROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags=%x initialdir=%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"lpstrCustomFilter = %p\n"

	.comm	_cmb1,4,2                       ## @cmb1
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
L_.str.2:                               ## @.str.2
	.asciz	"add str=%s associated to %s\n"

	.comm	_CB_SETITEMDATA,4,2             ## @CB_SETITEMDATA
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
L_.str.3:                               ## @.str.3
	.asciz	"SetText of edt1 to %s\n"

	.comm	_edt1,4,2                       ## @edt1
L_.str.4:                               ## @.str.4
	.asciz	"nFilterIndex = %d, SetText of edt1 to %s\n"

	.comm	_cmb2,4,2                       ## @cmb2
	.comm	_DDL_DRIVES,4,2                 ## @DDL_DRIVES
	.comm	_DDL_EXCLUSIVE,4,2              ## @DDL_EXCLUSIVE
L_.str.5:                               ## @.str.5
	.asciz	"Couldn't read initial directory %s!\n"

	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_DRIVE_NO_ROOT_DIR,8,3          ## @DRIVE_NO_ROOT_DIR
	.comm	_OFN_SHOWHELP,4,2               ## @OFN_SHOWHELP
	.comm	_pshHelp,4,2                    ## @pshHelp
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_OFN_HIDEREADONLY,4,2           ## @OFN_HIDEREADONLY
	.comm	_chx1,4,2                       ## @chx1
	.comm	_WM_INITDIALOG,4,2              ## @WM_INITDIALOG
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_FD31_WMInitDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FD31_WMInitDialog
_FD31_WMInitDialog:                     ; @FD31_WMInitDialog
	.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, #48
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFFILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFFILE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	mov	sp, x8
	cbz	x2, LBB0_13
; %bb.1:
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	stur	w1, [x29, #-116]                ; 4-byte Folded Spill
Lloh8:
	adrp	x8, _FD31_OFN_PROP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FD31_OFN_PROP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_SetPropA
	str	w21, [x19, #24]
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	ldr	x22, [x19, #16]
	ldr	x0, [x22, #8]
	ldr	w19, [x22]
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #-16]!
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
	ldr	w1, [x22, #48]
	mov	x0, x21
	bl	_SetWindowTextW
	ldr	x25, [x22, #16]
Lloh13:
	adrp	x19, _cmb1@GOTPAGE
Lloh14:
	ldr	x19, [x19, _cmb1@GOTPAGEOFF]
	cbz	x25, LBB0_5
; %bb.2:
	str	x25, [sp, #-16]!
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
	ldrb	w8, [x25]
	cbz	w8, LBB0_5
; %bb.3:
	mov	w20, #0
Lloh17:
	adrp	x23, _CB_SETITEMDATA@GOTPAGE
Lloh18:
	ldr	x23, [x23, _CB_SETITEMDATA@GOTPAGEOFF]
Lloh19:
	adrp	x24, l_.str.2@PAGE
Lloh20:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
Lloh21:
	adrp	x8, _CB_ADDSTRING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CB_ADDSTRING@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	x8, [x22, #16]
	add	x4, x8, w20, sxtw
	mov	x0, x21
	mov	w3, #0
	bl	_SendDlgItemMessageW
	mov	x26, x0
	mov	x0, x25
	bl	_lstrlenW
	mov	x27, x0
	mov	x0, x25
	bl	_lstrlenW
	add	x8, x25, w0, sxtw
	add	x28, x8, #1
	mov	x0, x25
	bl	_debugstr_w
	mov	x25, x0
	mov	x0, x28
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #-16]!
	mov	x0, x24
	bl	_TRACE
	add	sp, sp, #16
	ldr	w1, [x19]
	ldr	w2, [x23]
	mov	x0, x21
	mov	x3, x26
	mov	x4, x28
	bl	_SendDlgItemMessageW
	mov	x0, x28
	bl	_lstrlenW
	add	w8, w20, w27
	add	w8, w8, w0
	add	w20, w8, #2
	mov	x0, x28
	bl	_lstrlenW
	add	x25, x28, w0, sxtw
	ldrb	w8, [x25, #1]!
	cbnz	w8, LBB0_4
LBB0_5:
	ldr	x8, [x22, #40]
	cbz	x8, LBB0_10
; %bb.6:
	ldrb	w9, [x8]
	cbz	w9, LBB0_10
; %bb.7:
	mov	w20, #0
Lloh24:
	adrp	x23, _CB_SETITEMDATA@GOTPAGE
Lloh25:
	ldr	x23, [x23, _CB_SETITEMDATA@GOTPAGEOFF]
	mov	x26, x8
Lloh26:
	adrp	x24, l_.str.2@PAGE
Lloh27:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
Lloh28:
	adrp	x9, _CB_ADDSTRING@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CB_ADDSTRING@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x9]
	add	x4, x8, w20, sxtw
	mov	x0, x21
	mov	w3, #0
	bl	_SendDlgItemMessageW
	mov	x27, x0
	mov	x0, x26
	bl	_lstrlenW
	mov	x25, x0
	mov	x0, x26
	bl	_lstrlenW
	add	x8, x26, w0, sxtw
	add	x28, x8, #1
	mov	x0, x26
	bl	_debugstr_w
	mov	x26, x0
	mov	x0, x28
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #-16]!
	mov	x0, x24
	bl	_TRACE
	add	sp, sp, #16
	ldr	w1, [x19]
	ldr	w2, [x23]
	mov	x0, x21
	mov	x3, x27
	mov	x4, x28
	bl	_SendDlgItemMessageW
	mov	x0, x28
	bl	_lstrlenW
	mov	x27, x0
	mov	x0, x28
	bl	_lstrlenW
	add	x26, x28, w0, sxtw
	ldrb	w8, [x26, #1]!
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w20, w25
	add	w8, w8, w27
	add	w20, w8, #2
	ldr	x8, [x22, #40]
	b	LBB0_8
LBB0_10:
	ldr	w8, [x22, #24]
	ldur	x20, [x29, #-112]               ; 8-byte Folded Reload
	cbnz	w8, LBB0_15
; %bb.11:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_14
; %bb.12:
	mov	w8, #0
	b	LBB0_15
LBB0_13:
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_37
LBB0_14:
	mov	w8, #1
	str	w8, [x22, #24]
LBB0_15:
	ldr	w1, [x19]
Lloh33:
	adrp	x26, _CB_SETCURSEL@GOTPAGE
Lloh34:
	ldr	x26, [x26, _CB_SETCURSEL@GOTPAGEOFF]
	ldr	w2, [x26]
	sub	w3, w8, #1
	mov	x0, x21
	mov	x4, #0
	bl	_SendDlgItemMessageW
	ldr	x0, [x22, #32]
	cbz	x0, LBB0_18
; %bb.16:
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.17:
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh35:
	adrp	x0, l_.str.3@PAGE
Lloh36:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
Lloh37:
	adrp	x8, _edt1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _edt1@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	x2, [x22, #32]
	mov	x0, x21
	b	LBB0_19
LBB0_18:
	ldr	x0, [x22, #16]
	ldr	x1, [x22, #40]
	ldr	w8, [x22, #24]
	sub	w2, w8, #1
	bl	_FD31_GetFileType
	mov	x1, x0
Lloh40:
	adrp	x8, _BUFFILE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BUFFILE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_lstrcpynW
	ldr	w19, [x22, #24]
	mov	x0, x20
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #-16]!
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
Lloh45:
	adrp	x8, _edt1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _edt1@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
LBB0_19:
	bl	_SetDlgItemTextW
	strb	wzr, [x20]
Lloh48:
	adrp	x19, _cmb2@GOTPAGE
Lloh49:
	ldr	x19, [x19, _cmb2@GOTPAGEOFF]
Lloh50:
	adrp	x8, _DDL_DRIVES@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DDL_DRIVES@GOTPAGEOFF]
	ldr	w2, [x19]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _DDL_EXCLUSIVE@GOTPAGE
Lloh54:
	ldr	x9, [x9, _DDL_EXCLUSIVE@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_DlgDirListComboBoxW
	ldr	x1, [x22, #8]
	cbz	x1, LBB0_24
; %bb.20:
	mov	x0, x20
	mov	w2, #511
	bl	_lstrcpynW
	mov	x0, x20
	bl	_lstrlenW
	subs	w8, w0, #1
	b.lt	LBB0_25
; %bb.21:
	ldrb	w8, [x20, w8, uxtw]
	cmp	w8, #58
	b.eq	LBB0_25
; %bb.22:
	cmp	w8, #92
	b.eq	LBB0_25
; %bb.23:
	mov	w8, #92
	strh	w8, [x20, w0, uxtw]
	b	LBB0_25
LBB0_24:
	strb	wzr, [x20]
LBB0_25:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_FD31_ScanDir
	cbnz	w0, LBB0_28
; %bb.26:
	strb	wzr, [x20]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_FD31_ScanDir
	cbnz	w0, LBB0_28
; %bb.27:
	mov	x0, x20
	bl	_debugstr_w
	mov	x1, x0
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_WARN
LBB0_28:
	mov	x20, sp
Lloh58:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	mov	x9, x0
Lloh61:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh62:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x0, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	mov	w8, #14945
	movk	w8, #92, lsl #16
	stur	w8, [x29, #-92]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x23
	bl	_GetCurrentDirectoryA
	mov	w27, #0
	mov	w24, #-1
Lloh63:
	adrp	x28, _DRIVE_NO_ROOT_DIR@GOTPAGE
Lloh64:
	ldr	x28, [x28, _DRIVE_NO_ROOT_DIR@GOTPAGEOFF]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	w8, w27, #97
	sturb	w8, [x29, #-92]
	sub	x0, x29, #92
	bl	_GetDriveTypeA
	ldr	x8, [x28]
	cmp	x0, x8
	cinc	w24, w24, gt
	ldursb	w0, [x29, #-92]
	bl	_toupper
	mov	x25, x0
	ldrsb	w0, [x23]
	bl	_toupper
	cmp	x25, x0
	ccmp	w27, #25, #4, ne
	add	w27, w27, #1
	b.ne	LBB0_29
; %bb.30:
	mov	sp, x20
	ldr	w1, [x19]
	ldr	w2, [x26]
	mov	x0, x21
	mov	x3, x24
	mov	x4, #0
	bl	_SendDlgItemMessageW
	ldr	w8, [x22]
Lloh65:
	adrp	x9, _OFN_SHOWHELP@GOTPAGE
Lloh66:
	ldr	x9, [x9, _OFN_SHOWHELP@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
Lloh68:
	adrp	x19, _SW_HIDE@GOTPAGE
Lloh69:
	ldr	x19, [x19, _SW_HIDE@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_32
; %bb.31:
Lloh70:
	adrp	x8, _pshHelp@GOTPAGE
Lloh71:
	ldr	x8, [x8, _pshHelp@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDlgItem
	ldr	w1, [x19]
	bl	_ShowWindow
	ldr	w8, [x22]
LBB0_32:
Lloh73:
	adrp	x9, _OFN_HIDEREADONLY@GOTPAGE
Lloh74:
	ldr	x9, [x9, _OFN_HIDEREADONLY@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.33:
Lloh76:
	adrp	x8, _chx1@GOTPAGE
Lloh77:
	ldr	x8, [x8, _chx1@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDlgItem
	ldr	w1, [x19]
	bl	_ShowWindow
LBB0_34:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_36
; %bb.35:
Lloh79:
	adrp	x8, _WM_INITDIALOG@GOTPAGE
Lloh80:
	ldr	x8, [x8, _WM_INITDIALOG@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	ldr	w3, [x0]
	ldur	w2, [x29, #-116]                ; 4-byte Folded Reload
	bl	_FD31_CallWindowProc
	b	LBB0_38
LBB0_36:
Lloh82:
	adrp	x8, _TRUE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_37:
	ldr	w0, [x8]
LBB0_38:
	ldur	x8, [x29, #-88]
Lloh84:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh85:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	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_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFILE,4,2                    ; @BUFFILE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_FD31_OFN_PROP,4,2              ; @FD31_OFN_PROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags=%x initialdir=%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"lpstrCustomFilter = %p\n"

	.comm	_cmb1,4,2                       ; @cmb1
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
l_.str.2:                               ; @.str.2
	.asciz	"add str=%s associated to %s\n"

	.comm	_CB_SETITEMDATA,4,2             ; @CB_SETITEMDATA
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
l_.str.3:                               ; @.str.3
	.asciz	"SetText of edt1 to %s\n"

	.comm	_edt1,4,2                       ; @edt1
l_.str.4:                               ; @.str.4
	.asciz	"nFilterIndex = %d, SetText of edt1 to %s\n"

	.comm	_cmb2,4,2                       ; @cmb2
	.comm	_DDL_DRIVES,4,2                 ; @DDL_DRIVES
	.comm	_DDL_EXCLUSIVE,4,2              ; @DDL_EXCLUSIVE
l_.str.5:                               ; @.str.5
	.asciz	"Couldn't read initial directory %s!\n"

	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_DRIVE_NO_ROOT_DIR,8,3          ; @DRIVE_NO_ROOT_DIR
	.comm	_OFN_SHOWHELP,4,2               ; @OFN_SHOWHELP
	.comm	_pshHelp,4,2                    ; @pshHelp
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_OFN_HIDEREADONLY,4,2           ; @OFN_HIDEREADONLY
	.comm	_chx1,4,2                       ; @chx1
	.comm	_WM_INITDIALOG,4,2              ; @WM_INITDIALOG
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_FD31_WMInitDialog
.subsections_via_symbols
