	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_places_bar_enabled
_is_places_bar_enabled:                 ## @is_places_bar_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rax
	cmpl	$12, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_OFN_EX_NOPLACESBAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_5
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_5:
	movq	_OFN_EXPLORER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	je	LBB0_2
## %bb.6:
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-4(%rbp), %rdx
	callq	_RegOpenKeyA
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	$0, -16(%rbp)
	movl	-4(%rbp), %edi
	leaq	_is_places_bar_enabled.noplacesbarW(%rip), %rsi
	leaq	-16(%rbp), %rdx
	callq	_get_config_key_as_dword
	movl	-4(%rbp), %edi
	callq	_RegCloseKey
	xorl	%eax, %eax
	cmpq	$0, -16(%rbp)
	sete	%al
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_is_places_bar_enabled.noplacesbarW:    ## @is_places_bar_enabled.noplacesbarW
	.asciz	"NoPlacesBar"

	.comm	_OFN_EX_NOPLACESBAR,4,2         ## @OFN_EX_NOPLACESBAR
	.comm	_OFN_EXPLORER,4,2               ## @OFN_EXPLORER
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Comdlg32"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_is_places_bar_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_places_bar_enabled
_is_places_bar_enabled:                 ; @is_places_bar_enabled
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #12
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x8, #4]
Lloh0:
	adrp	x10, _OFN_EX_NOPLACESBAR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OFN_EX_NOPLACESBAR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
	ldr	w8, [x8, #8]
Lloh5:
	adrp	x9, _OFN_EXPLORER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OFN_EXPLORER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.6:
Lloh8:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	bl	_RegOpenKeyA
	cbz	x0, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_8:
	str	xzr, [sp, #8]
	ldr	w0, [sp, #4]
Lloh15:
	adrp	x1, _is_places_bar_enabled.noplacesbarW@PAGE
Lloh16:
	add	x1, x1, _is_places_bar_enabled.noplacesbarW@PAGEOFF
	add	x2, sp, #8
	bl	_get_config_key_as_dword
	ldr	w0, [sp, #4]
	bl	_RegCloseKey
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_is_places_bar_enabled.noplacesbarW:    ; @is_places_bar_enabled.noplacesbarW
	.asciz	"NoPlacesBar"

	.comm	_OFN_EX_NOPLACESBAR,4,2         ; @OFN_EX_NOPLACESBAR
	.comm	_OFN_EXPLORER,4,2               ; @OFN_EXPLORER
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Comdlg32"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_is_places_bar_enabled
.subsections_via_symbols
