	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_registry_read_pagemargins      ## -- Begin function registry_read_pagemargins
	.p2align	4, 0x90
_registry_read_pagemargins:             ## @registry_read_pagemargins
	.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
	movl	$4, -4(%rbp)
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	movq	_var_pagemargin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	_margins@GOTPCREL(%rip), %r8d
	leaq	-4(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_RegQueryValueExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpl	$4, -4(%rbp)
	je	LBB0_4
LBB0_3:
	movq	_margins@GOTPCREL(%rip), %rdi
	movl	$1757, %esi                     ## imm = 0x6DD
	movl	$1417, %edx                     ## imm = 0x589
	movl	$1757, %ecx                     ## imm = 0x6DD
	movl	$1417, %r8d                     ## imm = 0x589
	callq	_SetRect
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_var_pagemargin,4,2             ## @var_pagemargin
	.comm	_margins,4,2                    ## @margins
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_registry_read_pagemargins      ; -- Begin function registry_read_pagemargins
	.p2align	2
_registry_read_pagemargins:             ; @registry_read_pagemargins
	.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
	mov	w8, #4
	stur	w8, [x29, #-4]
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _var_pagemargin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _var_pagemargin@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x4, _margins@GOTPAGE
Lloh4:
	ldr	x4, [x4, _margins@GOTPAGEOFF]
	sub	x5, x29, #4
	mov	w2, #0
	mov	x3, #0
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_RegQueryValueExW
Lloh5:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldur	w9, [x29, #-4]
	cmp	x0, x8
	ccmp	w9, #4, #0, eq
	b.eq	LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, _margins@GOTPAGE
Lloh9:
	ldr	x0, [x0, _margins@GOTPAGEOFF]
	mov	w1, #1757
	mov	w2, #1417
	mov	w3, #1757
	mov	w4, #1417
	bl	_SetRect
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_var_pagemargin,4,2             ; @var_pagemargin
	.comm	_margins,4,2                    ; @margins
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
.subsections_via_symbols
