	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsExtensionAShortcut           ## -- Begin function IsExtensionAShortcut
	.p2align	4, 0x90
_IsExtensionAShortcut:                  ## @IsExtensionAShortcut
	.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
	subq	$448, %rsp                      ## imm = 0x1C0
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_KEY_READ@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	-452(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.1:
	movl	-452(%rbp), %edi
	callq	_IsShortcut
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-452(%rbp), %edi
	callq	_RegCloseKey
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_3:
	movq	$400, -472(%rbp)                ## imm = 0x190
	movl	-452(%rbp), %edi
	leaq	-448(%rbp), %r8
	leaq	-464(%rbp), %rcx
	leaq	-472(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegQueryValueEx
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:
	movq	-464(%rbp), %rax
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movl	-452(%rbp), %edi
	callq	_RegCloseKey
	movl	(%r14), %edi
	movl	(%r15), %ecx
	leaq	-448(%rbp), %rsi
	leaq	-452(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.7:
	movl	-452(%rbp), %edi
	callq	_IsShortcut
	movq	%rax, %rbx
	movl	-452(%rbp), %edi
	callq	_RegCloseKey
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_5:
	movl	-452(%rbp), %edi
	callq	_RegCloseKey
LBB0_10:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$448, %rsp                      ## imm = 0x1C0
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_CLASSES_ROOT,4,2          ## @HKEY_CLASSES_ROOT
	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_REG_SZ,8,3                     ## @REG_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsExtensionAShortcut           ; -- Begin function IsExtensionAShortcut
	.p2align	2
_IsExtensionAShortcut:                  ; @IsExtensionAShortcut
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x19, _HKEY_CLASSES_ROOT@GOTPAGE
Lloh4:
	ldr	x19, [x19, _HKEY_CLASSES_ROOT@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh5:
	adrp	x20, _KEY_READ@GOTPAGE
Lloh6:
	ldr	x20, [x20, _KEY_READ@GOTPAGEOFF]
	ldr	w3, [x20]
	add	x4, sp, #20
	mov	w2, #0
	bl	_RegOpenKeyExW
Lloh7:
	adrp	x21, _ERROR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	ldr	w0, [sp, #20]
	bl	_IsShortcut
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [sp, #20]
	bl	_RegCloseKey
Lloh9:
	adrp	x20, _TRUE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	w8, #400
	str	x8, [sp, #8]
	ldr	w0, [sp, #20]
	mov	x3, sp
	add	x4, sp, #24
	add	x5, sp, #8
	mov	x1, #0
	mov	x2, #0
	bl	_RegQueryValueEx
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [sp]
Lloh11:
	adrp	x9, _REG_SZ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _REG_SZ@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	w0, [sp, #20]
	bl	_RegCloseKey
	ldr	w0, [x19]
	ldr	w3, [x20]
	add	x1, sp, #24
	add	x4, sp, #20
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x21]
Lloh14:
	adrp	x20, _FALSE@GOTPAGE
Lloh15:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	ldr	w0, [sp, #20]
	bl	_IsShortcut
	mov	x19, x0
	ldr	w0, [sp, #20]
	bl	_RegCloseKey
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	x19, #0
	csel	x20, x20, x8, eq
	b	LBB0_9
LBB0_7:
	ldr	w0, [sp, #20]
	bl	_RegCloseKey
LBB0_8:
Lloh18:
	adrp	x20, _FALSE@GOTPAGE
Lloh19:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x20]
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_CLASSES_ROOT,4,2          ; @HKEY_CLASSES_ROOT
	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_REG_SZ,8,3                     ; @REG_SZ
.subsections_via_symbols
