	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_registry_read_options          ## -- Begin function registry_read_options
	.p2align	4, 0x90
_registry_read_options:                 ## @registry_read_options
	.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	_key_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rdi
	xorl	%esi, %esi
	callq	_registry_get_handle
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.2:
	movq	-16(%rbp), %rdi
	callq	_registry_read_pagemargins
	movq	-16(%rbp), %rdi
	callq	_RegCloseKey
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
	callq	_registry_read_pagemargins
LBB0_3:
	movq	_key_settings@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rdi
	xorl	%esi, %esi
	callq	_registry_get_handle
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.5:
	movq	-16(%rbp), %rdi
	callq	_registry_read_previewpages
	movq	-16(%rbp), %rdi
	callq	_RegCloseKey
	jmp	LBB0_6
LBB0_4:
	xorl	%edi, %edi
	callq	_registry_read_previewpages
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_key_options,4,2                ## @key_options
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_key_settings,4,2               ## @key_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_registry_read_options          ; -- Begin function registry_read_options
	.p2align	2
_registry_read_options:                 ; @registry_read_options
	.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
Lloh0:
	adrp	x8, _key_options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _key_options@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_registry_get_handle
Lloh3:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_registry_read_pagemargins
	ldr	x0, [sp, #8]
	bl	_RegCloseKey
	b	LBB0_3
LBB0_2:
	mov	x0, #0
	bl	_registry_read_pagemargins
LBB0_3:
Lloh5:
	adrp	x8, _key_settings@GOTPAGE
Lloh6:
	ldr	x8, [x8, _key_settings@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_registry_get_handle
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_registry_read_previewpages
	ldr	x0, [sp, #8]
	bl	_RegCloseKey
	b	LBB0_6
LBB0_5:
	mov	x0, #0
	bl	_registry_read_previewpages
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_key_options,4,2                ; @key_options
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_key_settings,4,2               ; @key_settings
.subsections_via_symbols
