	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetFileName95
_GetFileName95:                         ## @GetFileName95
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	_UNIMPLEMENTED_FLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	(%rax), %esi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
LBB0_2:
	movq	%r15, %rdi
	callq	_is_places_bar_enabled
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_NEWFILEOPENORD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_NEWFILEOPENV2ORD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	movq	_COMDLG32_hInstance@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	callq	_MAKEINTRESOURCEW
	movq	_RT_DIALOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FindResourceW
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_LoadResource
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %edi
	callq	_LockResource
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r14
	movq	8(%r15), %rcx
	movl	(%rcx), %eax
	movq	_OFN_EXPLORER@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_14
## %bb.12:
	movq	_OFN_ENABLEHOOK@GOTPCREL(%rip), %rdx
	movq	_OFN_ENABLETEMPLATE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	_OFN_ENABLETEMPLATEHANDLE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	testl	%eax, %esi
	jne	LBB0_14
## %bb.13:
	movq	_OFN_ENABLESIZING@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_14:
	movq	_OFN_ENABLESIZING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%r15)
	movups	%xmm0, 56(%r15)
LBB0_16:
	movq	%r15, %rdi
	callq	_is_dialog_hooked
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_FILEOKSTRINGW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegisterWindowMessageW
	movq	%rax, 48(%r15)
	movq	_LBSELCHSTRINGW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegisterWindowMessageW
	movq	%rax, 40(%r15)
	movq	_HELPMSGSTRINGW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegisterWindowMessageW
	movq	%rax, 32(%r15)
	movq	_SHAREVISTRINGW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegisterWindowMessageW
	movq	%rax, 24(%r15)
LBB0_18:
	cmpq	$0, 16(%r15)
	movl	(%r12), %edi
	movq	8(%r15), %rax
	movl	4(%rax), %edx
	movq	_FileOpenDlgProc95@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movl	%r15d, %r8d
	je	LBB0_20
## %bb.19:
	callq	_DialogBoxIndirectParamW
	jmp	LBB0_21
LBB0_10:
	movq	_CDERR_LOADRESFAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_CDERR_FINDRESFAILURE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	callq	_COMDLG32_SetCommDlgExtendedError
LBB0_24:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	_DialogBoxIndirectParamA
LBB0_21:
	movl	%eax, %ebx
	cmpq	$0, (%r15)
	je	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_OleUninitialize
LBB0_23:
	cmpl	$-1, %ebx
	je	LBB0_24
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIMPLEMENTED_FLAGS,4,2        ## @UNIMPLEMENTED_FLAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flags 0x%08x not yet implemented\n"

	.comm	_NEWFILEOPENV2ORD,4,2           ## @NEWFILEOPENV2ORD
	.comm	_NEWFILEOPENORD,4,2             ## @NEWFILEOPENORD
	.comm	_COMDLG32_hInstance,4,2         ## @COMDLG32_hInstance
	.comm	_RT_DIALOG,8,3                  ## @RT_DIALOG
	.comm	_CDERR_FINDRESFAILURE,4,2       ## @CDERR_FINDRESFAILURE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_CDERR_LOADRESFAILURE,4,2       ## @CDERR_LOADRESFAILURE
	.comm	_OFN_EXPLORER,4,2               ## @OFN_EXPLORER
	.comm	_OFN_ENABLEHOOK,4,2             ## @OFN_ENABLEHOOK
	.comm	_OFN_ENABLETEMPLATE,4,2         ## @OFN_ENABLETEMPLATE
	.comm	_OFN_ENABLETEMPLATEHANDLE,4,2   ## @OFN_ENABLETEMPLATEHANDLE
	.comm	_OFN_ENABLESIZING,4,2           ## @OFN_ENABLESIZING
	.comm	_FILEOKSTRINGW,4,2              ## @FILEOKSTRINGW
	.comm	_LBSELCHSTRINGW,4,2             ## @LBSELCHSTRINGW
	.comm	_HELPMSGSTRINGW,4,2             ## @HELPMSGSTRINGW
	.comm	_SHAREVISTRINGW,4,2             ## @SHAREVISTRINGW
	.comm	_FileOpenDlgProc95,4,2          ## @FileOpenDlgProc95
	.no_dead_strip	_GetFileName95
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetFileName95
_GetFileName95:                         ; @GetFileName95
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _UNIMPLEMENTED_FLAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNIMPLEMENTED_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w1, w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_2:
	mov	x0, x19
	bl	_is_places_bar_enabled
Lloh5:
	adrp	x8, _NEWFILEOPENORD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NEWFILEOPENORD@GOTPAGEOFF]
Lloh7:
	adrp	x9, _NEWFILEOPENV2ORD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NEWFILEOPENV2ORD@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
Lloh9:
	adrp	x21, _COMDLG32_hInstance@GOTPAGE
Lloh10:
	ldr	x21, [x21, _COMDLG32_hInstance@GOTPAGEOFF]
	ldr	w20, [x21]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
Lloh11:
	adrp	x8, _RT_DIALOG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RT_DIALOG@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_FindResourceW
	cbz	w0, LBB0_15
; %bb.3:
	mov	x1, x0
	ldr	w0, [x21]
	bl	_LoadResource
	cbz	w0, LBB0_14
; %bb.4:
	bl	_LockResource
	cbz	x0, LBB0_14
; %bb.5:
	mov	x20, x0
	ldr	x10, [x19, #8]
	ldr	w8, [x10]
Lloh14:
	adrp	x9, _OFN_EXPLORER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OFN_EXPLORER@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x9]
Lloh17:
	adrp	x9, _OFN_ENABLESIZING@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OFN_ENABLESIZING@GOTPAGEOFF]
	tst	w11, w8
	b.eq	LBB0_8
; %bb.6:
Lloh19:
	adrp	x11, _OFN_ENABLEHOOK@GOTPAGE
Lloh20:
	ldr	x11, [x11, _OFN_ENABLEHOOK@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
Lloh22:
	adrp	x12, _OFN_ENABLETEMPLATE@GOTPAGE
Lloh23:
	ldr	x12, [x12, _OFN_ENABLETEMPLATE@GOTPAGEOFF]
Lloh24:
	ldr	w12, [x12]
	orr	w11, w12, w11
Lloh25:
	adrp	x12, _OFN_ENABLETEMPLATEHANDLE@GOTPAGE
Lloh26:
	ldr	x12, [x12, _OFN_ENABLETEMPLATEHANDLE@GOTPAGEOFF]
Lloh27:
	ldr	w12, [x12]
	orr	w11, w11, w12
	tst	w11, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	w11, [x9]
	orr	w8, w11, w8
	str	w8, [x10]
LBB0_8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #72]
	stur	q0, [x19, #56]
LBB0_10:
	mov	x0, x19
	bl	_is_dialog_hooked
	cbz	x0, LBB0_12
; %bb.11:
Lloh28:
	adrp	x8, _FILEOKSTRINGW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FILEOKSTRINGW@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_RegisterWindowMessageW
	str	x0, [x19, #48]
Lloh31:
	adrp	x8, _LBSELCHSTRINGW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LBSELCHSTRINGW@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_RegisterWindowMessageW
	str	x0, [x19, #40]
Lloh34:
	adrp	x8, _HELPMSGSTRINGW@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HELPMSGSTRINGW@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_RegisterWindowMessageW
	str	x0, [x19, #32]
Lloh37:
	adrp	x8, _SHAREVISTRINGW@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SHAREVISTRINGW@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_RegisterWindowMessageW
	str	x0, [x19, #24]
LBB0_12:
	ldr	w0, [x21]
	ldp	x9, x8, [x19, #8]
	ldr	w2, [x9, #4]
Lloh40:
	adrp	x9, _FileOpenDlgProc95@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FileOpenDlgProc95@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x9]
	mov	x1, x20
	mov	x4, x19
	cbz	x8, LBB0_17
; %bb.13:
	bl	_DialogBoxIndirectParamW
	b	LBB0_18
LBB0_14:
Lloh43:
	adrp	x8, _CDERR_LOADRESFAILURE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CDERR_LOADRESFAILURE@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh45:
	adrp	x8, _CDERR_FINDRESFAILURE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CDERR_FINDRESFAILURE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	bl	_COMDLG32_SetCommDlgExtendedError
Lloh47:
	adrp	x8, _FALSE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_17:
	bl	_DialogBoxIndirectParamA
LBB0_18:
	mov	x20, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_OleUninitialize
LBB0_20:
Lloh50:
	adrp	x8, _FALSE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmn	w20, #1
	csel	w0, w8, w20, eq
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIMPLEMENTED_FLAGS,4,2        ; @UNIMPLEMENTED_FLAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flags 0x%08x not yet implemented\n"

	.comm	_NEWFILEOPENV2ORD,4,2           ; @NEWFILEOPENV2ORD
	.comm	_NEWFILEOPENORD,4,2             ; @NEWFILEOPENORD
	.comm	_COMDLG32_hInstance,4,2         ; @COMDLG32_hInstance
	.comm	_RT_DIALOG,8,3                  ; @RT_DIALOG
	.comm	_CDERR_FINDRESFAILURE,4,2       ; @CDERR_FINDRESFAILURE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_CDERR_LOADRESFAILURE,4,2       ; @CDERR_LOADRESFAILURE
	.comm	_OFN_EXPLORER,4,2               ; @OFN_EXPLORER
	.comm	_OFN_ENABLEHOOK,4,2             ; @OFN_ENABLEHOOK
	.comm	_OFN_ENABLETEMPLATE,4,2         ; @OFN_ENABLETEMPLATE
	.comm	_OFN_ENABLETEMPLATEHANDLE,4,2   ; @OFN_ENABLETEMPLATEHANDLE
	.comm	_OFN_ENABLESIZING,4,2           ; @OFN_ENABLESIZING
	.comm	_FILEOKSTRINGW,4,2              ; @FILEOKSTRINGW
	.comm	_LBSELCHSTRINGW,4,2             ; @LBSELCHSTRINGW
	.comm	_HELPMSGSTRINGW,4,2             ; @HELPMSGSTRINGW
	.comm	_SHAREVISTRINGW,4,2             ; @SHAREVISTRINGW
	.comm	_FileOpenDlgProc95,4,2          ; @FileOpenDlgProc95
	.no_dead_strip	_GetFileName95
.subsections_via_symbols
