	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMDLG32_GetDisplayNameOf
_COMDLG32_GetDisplayNameOf:             ## @COMDLG32_GetDisplayNameOf
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	leaq	-28(%rbp), %rdi
	callq	_SHGetDesktopFolder
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	-28(%rbp), %edi
	movq	_SHGDN_FORPARSING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	%r15d, %esi
	callq	_IShellFolder_GetDisplayNameOf
	movl	%eax, %edi
	callq	_FAILED
	movq	%rax, %rbx
	movl	-28(%rbp), %edi
	callq	_IShellFolder_Release
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_StrRetToBufW
	movl	%eax, %edi
	callq	_SUCCEEDED
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SHGDN_FORPARSING,4,2           ## @SHGDN_FORPARSING
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.no_dead_strip	_COMDLG32_GetDisplayNameOf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMDLG32_GetDisplayNameOf
_COMDLG32_GetDisplayNameOf:             ; @COMDLG32_GetDisplayNameOf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	add	x0, sp, #12
	bl	_SHGetDesktopFolder
	bl	_FAILED
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
Lloh0:
	adrp	x8, _SHGDN_FORPARSING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHGDN_FORPARSING@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x1, x20
	bl	_IShellFolder_GetDisplayNameOf
	bl	_FAILED
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_IShellFolder_Release
	cbz	x21, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
Lloh6:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	_StrRetToBufW
	bl	_SUCCEEDED
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SHGDN_FORPARSING,4,2           ; @SHGDN_FORPARSING
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.no_dead_strip	_COMDLG32_GetDisplayNameOf
.subsections_via_symbols
