	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function NOTEPAD_LoadSettingsFromRegistry
LCPI0_0:
	.quad	0x3fee666666666666              ## double 0.94999999999999996
LCPI0_1:
	.quad	0x4008000000000000              ## double 3
LCPI0_2:
	.quad	0x3fd0000000000000              ## double 0.25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_NOTEPAD_LoadSettingsFromRegistry
	.p2align	4, 0x90
_NOTEPAD_LoadSettingsFromRegistry:      ## @NOTEPAD_LoadSettingsFromRegistry
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	_SM_CXSCREEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GetSystemMetrics
	movq	%rax, %r14
	movq	_SM_CYSCREEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GetSystemMetrics
	cmpq	%rax, %r14
	cmovgq	%r15, %rbx
	movl	(%rbx), %edi
	callq	_GetSystemMetrics
	cvtsi2sd	%rax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)
	cvttsd2si	%xmm0, %ecx
	mulsd	LCPI0_1(%rip), %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)
	cvttsd2si	%xmm0, %r8d
	movl	$144, %edi
	addq	_Globals@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SetRect
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_s_szRegistryKey@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_RegOpenKey
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	_Globals@GOTPCREL(%rip), %r14
	leaq	24(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	leaq	28(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	leaq	88(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %r15
	leaq	L_.str.3(%rip), %rdi
	callq	__T
	movl	%eax, %r12d
	movl	80(%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_QueryString
	movq	-48(%rbp), %rbx
	leaq	L_.str.4(%rip), %rdi
	callq	__T
	leaq	32(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.5(%rip), %rdi
	callq	__T
	leaq	72(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	__T
	leaq	36(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.7(%rip), %rdi
	callq	__T
	leaq	40(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.8(%rip), %rdi
	callq	__T
	leaq	44(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	__T
	leaq	48(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.10(%rip), %rdi
	callq	__T
	leaq	52(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryByte
	movq	-48(%rbp), %rbx
	leaq	L_.str.11(%rip), %rdi
	callq	__T
	leaq	64(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.12(%rip), %rdi
	callq	__T
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.13(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_QueryBool
	movq	-48(%rbp), %rbx
	leaq	L_.str.14(%rip), %rdi
	callq	__T
	leaq	4(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryBool
	movq	-48(%rbp), %r15
	leaq	L_.str.15(%rip), %rdi
	callq	__T
	movl	%eax, %r12d
	movl	104(%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_QueryString
	movq	-48(%rbp), %r15
	leaq	L_.str.16(%rip), %rdi
	callq	__T
	movl	%eax, %r12d
	movl	96(%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_QueryString
	movq	-48(%rbp), %rbx
	leaq	L_.str.17(%rip), %rdi
	callq	__T
	leaq	128(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	leaq	112(%r14), %r15
	movq	-48(%rbp), %rbx
	leaq	L_.str.18(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.19(%rip), %rdi
	callq	__T
	leaq	136(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.20(%rip), %rdi
	callq	__T
	leaq	120(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.21(%rip), %rdi
	callq	__T
	leaq	160(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	leaq	144(%r14), %r15
	movq	-48(%rbp), %rbx
	leaq	L_.str.22(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.23(%rip), %rdi
	callq	__T
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	movq	-48(%rbp), %rbx
	leaq	L_.str.24(%rip), %rdi
	callq	__T
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_QueryDword
	cvtsi2sdq	160(%r14), %xmm0
	addsd	-64(%rbp), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, 168(%r14)
	xorps	%xmm0, %xmm0
	cvtsi2sdq	144(%r14), %xmm0
	addsd	-56(%rbp), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, 152(%r14)
	xorl	%eax, %eax
	cmpl	$0, 4(%r14)
	sete	%al
	movl	%eax, 4(%r14)
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	movl	$100, %edi
	cmovnel	%eax, %edi
	callq	_HeightFromPointSize
	movq	%rax, 56(%r14)
	movq	-48(%rbp), %rdi
	callq	_RegCloseKey
	jmp	LBB0_3
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movq	_Globals@GOTPCREL(%rip), %rbx
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	leaq	112(%rbx), %rdi
	movl	$750, %esi                      ## imm = 0x2EE
	movl	$1000, %edx                     ## imm = 0x3E8
	movl	$750, %ecx                      ## imm = 0x2EE
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_SetRect
	movq	_STRING_PAGESETUP_HEADERVALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	100(%rbx), %r15d
	movl	104(%rbx), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_LoadString
	movl	96(%rbx), %r12d
	movl	100(%rbx), %r14d
	movq	_STRING_PAGESETUP_FOOTERVALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_LoadString
	leaq	24(%rbx), %rdi
	movl	$72, %esi
	callq	_ZeroMemory
	movq	_ANSI_CHARSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_CLIP_STROKE_PRECIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	$0, 88(%rbx)
	movl	80(%rbx), %r14d
	leaq	L_.str.25(%rip), %rdi
	callq	__T
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	__tcscpy
	movl	(%r13), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 72(%rbx)
	movq	_OUT_STRING_PRECIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_FIXED_PITCH@GOTPCREL(%rip), %rcx
	movq	_FF_MODERN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, 40(%rbx)
	movq	_PROOF_QUALITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rbx)
	movl	%eax, 48(%rbx)
	movl	%eax, 52(%rbx)
	movq	_FW_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movl	$100, %edi
	callq	_HeightFromPointSize
	movq	%rax, 56(%rbx)
LBB0_3:
	movq	_Globals@GOTPCREL(%rip), %r14
	leaq	24(%r14), %rdi
	callq	_CreateFontIndirect
	movq	%rax, %rbx
	movl	16(%r14), %edi
	movq	_WM_SETFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_SendMessage
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_DeleteObject
LBB0_6:
	movq	%rbx, 8(%r14)
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_CXSCREEN,4,2                ## @SM_CXSCREEN
	.comm	_SM_CYSCREEN,4,2                ## @SM_CYSCREEN
	.comm	_Globals,176,3                  ## @Globals
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.comm	_s_szRegistryKey,4,2            ## @s_szRegistryKey
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lfCharSet"

L_.str.1:                               ## @.str.1
	.asciz	"lfClipPrecision"

L_.str.2:                               ## @.str.2
	.asciz	"lfEscapement"

L_.str.3:                               ## @.str.3
	.asciz	"lfFaceName"

L_.str.4:                               ## @.str.4
	.asciz	"lfItalic"

L_.str.5:                               ## @.str.5
	.asciz	"lfOrientation"

L_.str.6:                               ## @.str.6
	.asciz	"lfOutPrecision"

L_.str.7:                               ## @.str.7
	.asciz	"lfPitchAndFamily"

L_.str.8:                               ## @.str.8
	.asciz	"lfQuality"

L_.str.9:                               ## @.str.9
	.asciz	"lfStrikeOut"

L_.str.10:                              ## @.str.10
	.asciz	"lfUnderline"

L_.str.11:                              ## @.str.11
	.asciz	"lfWeight"

L_.str.12:                              ## @.str.12
	.asciz	"iPointSize"

L_.str.13:                              ## @.str.13
	.asciz	"fWrap"

L_.str.14:                              ## @.str.14
	.asciz	"fStatusBar"

L_.str.15:                              ## @.str.15
	.asciz	"szHeader"

L_.str.16:                              ## @.str.16
	.asciz	"szTrailer"

L_.str.17:                              ## @.str.17
	.asciz	"iMarginLeft"

L_.str.18:                              ## @.str.18
	.asciz	"iMarginTop"

L_.str.19:                              ## @.str.19
	.asciz	"iMarginRight"

L_.str.20:                              ## @.str.20
	.asciz	"iMarginBottom"

L_.str.21:                              ## @.str.21
	.asciz	"iWindowPosX"

L_.str.22:                              ## @.str.22
	.asciz	"iWindowPosY"

L_.str.23:                              ## @.str.23
	.asciz	"iWindowPosDX"

L_.str.24:                              ## @.str.24
	.asciz	"iWindowPosDY"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_STRING_PAGESETUP_HEADERVALUE,4,2 ## @STRING_PAGESETUP_HEADERVALUE
	.comm	_STRING_PAGESETUP_FOOTERVALUE,4,2 ## @STRING_PAGESETUP_FOOTERVALUE
	.comm	_ANSI_CHARSET,4,2               ## @ANSI_CHARSET
	.comm	_CLIP_STROKE_PRECIS,4,2         ## @CLIP_STROKE_PRECIS
L_.str.25:                              ## @.str.25
	.asciz	"Lucida Console"

	.comm	_OUT_STRING_PRECIS,4,2          ## @OUT_STRING_PRECIS
	.comm	_FIXED_PITCH,4,2                ## @FIXED_PITCH
	.comm	_FF_MODERN,4,2                  ## @FF_MODERN
	.comm	_PROOF_QUALITY,4,2              ## @PROOF_QUALITY
	.comm	_FW_NORMAL,8,3                  ## @FW_NORMAL
	.comm	_WM_SETFONT,4,2                 ## @WM_SETFONT
	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NOTEPAD_LoadSettingsFromRegistry ; -- Begin function NOTEPAD_LoadSettingsFromRegistry
	.p2align	2
_NOTEPAD_LoadSettingsFromRegistry:      ; @NOTEPAD_LoadSettingsFromRegistry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x20, _SM_CXSCREEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SM_CXSCREEN@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_GetSystemMetrics
	mov	x19, x0
Lloh2:
	adrp	x21, _SM_CYSCREEN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SM_CYSCREEN@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_GetSystemMetrics
	cmp	x19, x0
	csel	x8, x21, x20, gt
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	scvtf	d0, x0
	mov	x8, #7378697629483820646
	movk	x8, #16366, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fmov	d1, #3.00000000
	fmul	d1, d0, d1
	fmov	d2, #0.25000000
	fmul	d1, d1, d2
	stp	d1, d0, [sp]
	fcvtzs	w3, d0
	fcvtzs	w4, d1
Lloh4:
	adrp	x19, _Globals@GOTPAGE
Lloh5:
	ldr	x19, [x19, _Globals@GOTPAGEOFF]
	add	x20, x19, #144
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_SetRect
Lloh6:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _s_szRegistryKey@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_szRegistryKey@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_RegOpenKey
Lloh12:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x21, [sp, #24]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #24
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #28
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #88
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__T
	mov	x22, x0
	ldr	w23, [x19, #80]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_QueryString
	ldr	x21, [sp, #24]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #32
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #72
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #36
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #40
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh31:
	adrp	x0, l_.str.8@PAGE
Lloh32:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #44
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh33:
	adrp	x0, l_.str.9@PAGE
Lloh34:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #48
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh35:
	adrp	x0, l_.str.10@PAGE
Lloh36:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #52
	mov	x0, x21
	bl	_QueryByte
	ldr	x21, [sp, #24]
Lloh37:
	adrp	x0, l_.str.11@PAGE
Lloh38:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #64
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh39:
	adrp	x0, l_.str.12@PAGE
Lloh40:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, sp, #16
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh41:
	adrp	x0, l_.str.13@PAGE
Lloh42:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_QueryBool
	ldr	x21, [sp, #24]
Lloh43:
	adrp	x0, l_.str.14@PAGE
Lloh44:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #4
	mov	x0, x21
	bl	_QueryBool
	ldr	x21, [sp, #24]
Lloh45:
	adrp	x0, l_.str.15@PAGE
Lloh46:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	__T
	mov	x22, x0
	ldr	w23, [x19, #104]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_QueryString
	ldr	x21, [sp, #24]
Lloh47:
	adrp	x0, l_.str.16@PAGE
Lloh48:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__T
	mov	x22, x0
	ldr	w23, [x19, #96]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_QueryString
	ldr	x21, [sp, #24]
Lloh49:
	adrp	x0, l_.str.17@PAGE
Lloh50:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #128
	mov	x0, x21
	bl	_QueryDword
	add	x21, x19, #112
	ldr	x22, [sp, #24]
Lloh51:
	adrp	x0, l_.str.18@PAGE
Lloh52:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh53:
	adrp	x0, l_.str.19@PAGE
Lloh54:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #136
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh55:
	adrp	x0, l_.str.20@PAGE
Lloh56:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #120
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh57:
	adrp	x0, l_.str.21@PAGE
Lloh58:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, x19, #160
	mov	x0, x21
	bl	_QueryDword
	ldr	x21, [sp, #24]
Lloh59:
	adrp	x0, l_.str.22@PAGE
Lloh60:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_QueryDword
	ldr	x20, [sp, #24]
Lloh61:
	adrp	x0, l_.str.23@PAGE
Lloh62:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_QueryDword
	ldr	x20, [sp, #24]
Lloh63:
	adrp	x0, l_.str.24@PAGE
Lloh64:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x2, sp
	mov	x0, x20
	bl	_QueryDword
	ldr	d0, [x19, #160]
	scvtf	d0, d0
	ldr	d1, [sp, #8]
	fadd	d0, d1, d0
	fcvtzs	x8, d0
	str	x8, [x19, #168]
	ldr	d0, [x19, #144]
	scvtf	d0, d0
	ldr	d1, [sp]
	fadd	d0, d1, d0
	fcvtzs	x8, d0
	str	x8, [x19, #152]
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #4]
	ldr	x8, [sp, #16]
	cmp	x8, #0
	mov	w9, #100
	csel	w0, w9, w8, eq
	bl	_HeightFromPointSize
	str	x0, [x19, #56]
	ldr	x0, [sp, #24]
	bl	_RegCloseKey
	b	LBB0_3
LBB0_2:
Lloh65:
	adrp	x23, _FALSE@GOTPAGE
Lloh66:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	w8, w8, [x19]
	add	x0, x19, #112
	mov	w1, #750
	mov	w2, #1000
	mov	w3, #750
	mov	w4, #1000
	bl	_SetRect
Lloh67:
	adrp	x8, _STRING_PAGESETUP_HEADERVALUE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _STRING_PAGESETUP_HEADERVALUE@GOTPAGEOFF]
Lloh69:
	ldr	w20, [x8]
	ldp	w21, w22, [x19, #100]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_LoadString
Lloh70:
	adrp	x8, _STRING_PAGESETUP_FOOTERVALUE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _STRING_PAGESETUP_FOOTERVALUE@GOTPAGEOFF]
Lloh72:
	ldr	w20, [x8]
	ldp	w22, w21, [x19, #96]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_LoadString
	add	x0, x19, #24
	mov	w1, #72
	bl	_ZeroMemory
Lloh73:
	adrp	x8, _ANSI_CHARSET@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ANSI_CHARSET@GOTPAGEOFF]
Lloh75:
	adrp	x9, _CLIP_STROKE_PRECIS@GOTPAGE
Lloh76:
	ldr	x9, [x9, _CLIP_STROKE_PRECIS@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #24]
	str	xzr, [x19, #88]
	ldr	w20, [x19, #80]
Lloh79:
	adrp	x0, l_.str.25@PAGE
Lloh80:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x20
	bl	__tcscpy
	ldr	w8, [x23]
Lloh81:
	adrp	x9, _OUT_STRING_PRECIS@GOTPAGE
Lloh82:
	ldr	x9, [x9, _OUT_STRING_PRECIS@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
Lloh84:
	adrp	x10, _FIXED_PITCH@GOTPAGE
Lloh85:
	ldr	x10, [x10, _FIXED_PITCH@GOTPAGEOFF]
	stp	w8, w9, [x19, #32]
Lloh86:
	ldr	w9, [x10]
Lloh87:
	adrp	x10, _FF_MODERN@GOTPAGE
Lloh88:
	ldr	x10, [x10, _FF_MODERN@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh90:
	adrp	x10, _PROOF_QUALITY@GOTPAGE
Lloh91:
	ldr	x10, [x10, _PROOF_QUALITY@GOTPAGEOFF]
Lloh92:
	ldr	w10, [x10]
	stp	w9, w10, [x19, #40]
	stp	w8, w8, [x19, #48]
Lloh93:
	adrp	x8, _FW_NORMAL@GOTPAGE
Lloh94:
	ldr	x8, [x8, _FW_NORMAL@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #64]
	mov	w0, #100
	bl	_HeightFromPointSize
	str	x0, [x19, #56]
LBB0_3:
	add	x0, x19, #24
	bl	_CreateFontIndirect
	mov	x20, x0
	ldr	w0, [x19, #16]
Lloh96:
	adrp	x8, _WM_SETFONT@GOTPAGE
Lloh97:
	ldr	x8, [x8, _WM_SETFONT@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
Lloh99:
	adrp	x8, _TRUE@GOTPAGE
Lloh100:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh101:
	ldr	w3, [x8]
	mov	x2, x20
	bl	_SendMessage
	cbz	x20, LBB0_7
; %bb.4:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_DeleteObject
LBB0_6:
	str	x20, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh77
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_CXSCREEN,4,2                ; @SM_CXSCREEN
	.comm	_SM_CYSCREEN,4,2                ; @SM_CYSCREEN
	.comm	_Globals,176,3                  ; @Globals
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.comm	_s_szRegistryKey,4,2            ; @s_szRegistryKey
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lfCharSet"

l_.str.1:                               ; @.str.1
	.asciz	"lfClipPrecision"

l_.str.2:                               ; @.str.2
	.asciz	"lfEscapement"

l_.str.3:                               ; @.str.3
	.asciz	"lfFaceName"

l_.str.4:                               ; @.str.4
	.asciz	"lfItalic"

l_.str.5:                               ; @.str.5
	.asciz	"lfOrientation"

l_.str.6:                               ; @.str.6
	.asciz	"lfOutPrecision"

l_.str.7:                               ; @.str.7
	.asciz	"lfPitchAndFamily"

l_.str.8:                               ; @.str.8
	.asciz	"lfQuality"

l_.str.9:                               ; @.str.9
	.asciz	"lfStrikeOut"

l_.str.10:                              ; @.str.10
	.asciz	"lfUnderline"

l_.str.11:                              ; @.str.11
	.asciz	"lfWeight"

l_.str.12:                              ; @.str.12
	.asciz	"iPointSize"

l_.str.13:                              ; @.str.13
	.asciz	"fWrap"

l_.str.14:                              ; @.str.14
	.asciz	"fStatusBar"

l_.str.15:                              ; @.str.15
	.asciz	"szHeader"

l_.str.16:                              ; @.str.16
	.asciz	"szTrailer"

l_.str.17:                              ; @.str.17
	.asciz	"iMarginLeft"

l_.str.18:                              ; @.str.18
	.asciz	"iMarginTop"

l_.str.19:                              ; @.str.19
	.asciz	"iMarginRight"

l_.str.20:                              ; @.str.20
	.asciz	"iMarginBottom"

l_.str.21:                              ; @.str.21
	.asciz	"iWindowPosX"

l_.str.22:                              ; @.str.22
	.asciz	"iWindowPosY"

l_.str.23:                              ; @.str.23
	.asciz	"iWindowPosDX"

l_.str.24:                              ; @.str.24
	.asciz	"iWindowPosDY"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_STRING_PAGESETUP_HEADERVALUE,4,2 ; @STRING_PAGESETUP_HEADERVALUE
	.comm	_STRING_PAGESETUP_FOOTERVALUE,4,2 ; @STRING_PAGESETUP_FOOTERVALUE
	.comm	_ANSI_CHARSET,4,2               ; @ANSI_CHARSET
	.comm	_CLIP_STROKE_PRECIS,4,2         ; @CLIP_STROKE_PRECIS
l_.str.25:                              ; @.str.25
	.asciz	"Lucida Console"

	.comm	_OUT_STRING_PRECIS,4,2          ; @OUT_STRING_PRECIS
	.comm	_FIXED_PITCH,4,2                ; @FIXED_PITCH
	.comm	_FF_MODERN,4,2                  ; @FF_MODERN
	.comm	_PROOF_QUALITY,4,2              ; @PROOF_QUALITY
	.comm	_FW_NORMAL,8,3                  ; @FW_NORMAL
	.comm	_WM_SETFONT,4,2                 ; @WM_SETFONT
	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
