	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shell_item_exists
_shell_item_exists:                     ## @shell_item_exists
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_SIGDN_FILESYSPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_IShellItem_GetDisplayName
	movl	%eax, %edi
	callq	_SUCCEEDED
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	-12(%rbp), %edi
	callq	_GetFileAttributesW
	movq	_INVALID_FILE_ATTRIBUTES@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	movl	-12(%rbp), %edi
	callq	_CoTaskMemFree
	jmp	LBB0_3
LBB0_2:
	movq	_SFGAO_VALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_IShellItem_GetAttributes
	movl	%eax, %edi
	callq	_SUCCEEDED
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGDN_FILESYSPATH,4,2          ## @SIGDN_FILESYSPATH
	.comm	_INVALID_FILE_ATTRIBUTES,8,3    ## @INVALID_FILE_ATTRIBUTES
	.comm	_SFGAO_VALIDATE,4,2             ## @SFGAO_VALIDATE
	.no_dead_strip	_shell_item_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shell_item_exists
_shell_item_exists:                     ; @shell_item_exists
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SIGDN_FILESYSPATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGDN_FILESYSPATH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_IShellItem_GetDisplayName
	bl	_SUCCEEDED
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_GetFileAttributesW
Lloh3:
	adrp	x8, _INVALID_FILE_ATTRIBUTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INVALID_FILE_ATTRIBUTES@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w19, ne
	ldr	w0, [sp, #12]
	bl	_CoTaskMemFree
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _SFGAO_VALIDATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SFGAO_VALIDATE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_IShellItem_GetAttributes
	bl	_SUCCEEDED
	mov	x19, x0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGDN_FILESYSPATH,4,2          ; @SIGDN_FILESYSPATH
	.comm	_INVALID_FILE_ATTRIBUTES,8,3    ; @INVALID_FILE_ATTRIBUTES
	.comm	_SFGAO_VALIDATE,4,2             ; @SFGAO_VALIDATE
	.no_dead_strip	_shell_item_exists
.subsections_via_symbols
