	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_config
_load_config:                           ## @load_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$8, -24(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_GetVersionEx
	movl	-20(%rbp), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	__T
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	_CALC_LAYOUT_STANDARD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GetProfileInt
	movq	_calc@GOTPCREL(%rip), %rcx
	movl	%eax, 16(%rcx)
	movq	%r14, %rdi
	callq	__T
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GetProfileInt
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	callq	__T
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	_CALC_LAYOUT_STANDARD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_LoadRegInt
	movq	_calc@GOTPCREL(%rip), %rcx
	movl	%eax, 16(%rcx)
	movq	%r14, %rdi
	callq	__T
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_LoadRegInt
LBB0_3:
	movq	(%r14), %rcx
	movq	%rcx, %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_5:
	movq	_calc@GOTPCREL(%rip), %rax
	movq	%rdx, 8(%rax)
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	callq	_UpdateNumberIntl
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SciCalc"

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

	.comm	_CALC_LAYOUT_STANDARD,8,3       ## @CALC_LAYOUT_STANDARD
	.comm	_calc,24,3                      ## @calc
L_.str.2:                               ## @.str.2
	.asciz	"UseSep"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
L_.str.3:                               ## @.str.3
	.asciz	"SOFTWARE\\Microsoft\\Calc"

	.no_dead_strip	_load_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_config
_load_config:                           ; @load_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w8, #8
	str	w8, [sp, #8]
	add	x0, sp, #8
	bl	_GetVersionEx
	ldr	w8, [sp, #12]
	and	w8, w8, #0xfffffffe
Lloh0:
	adrp	x21, _calc@GOTPAGE
Lloh1:
	ldr	x21, [x21, _calc@GOTPAGEOFF]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	__T
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh6:
	adrp	x8, _CALC_LAYOUT_STANDARD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CALC_LAYOUT_STANDARD@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	mov	x0, x20
	bl	_GetProfileInt
	str	w0, [x21, #16]
	mov	x0, x19
	bl	__T
	mov	x19, x0
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh11:
	adrp	x20, _FALSE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x0, x19
	bl	_GetProfileInt
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x19, l_.str.3@PAGE
Lloh14:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	__T
	mov	x20, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh17:
	adrp	x8, _CALC_LAYOUT_STANDARD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CALC_LAYOUT_STANDARD@GOTPAGEOFF]
Lloh19:
	ldr	x2, [x8]
	mov	x0, x20
	bl	_LoadRegInt
	str	w0, [x21, #16]
	mov	x0, x19
	bl	__T
	mov	x19, x0
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh22:
	adrp	x20, _FALSE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x0, x19
	bl	_LoadRegInt
LBB0_3:
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x8]
	ldr	x8, [x20]
	cmp	w0, #0
	csel	x9, x8, x9, eq
	stp	x8, x9, [x21]
	bl	_UpdateNumberIntl
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SciCalc"

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

	.comm	_CALC_LAYOUT_STANDARD,8,3       ; @CALC_LAYOUT_STANDARD
	.comm	_calc,24,3                      ; @calc
l_.str.2:                               ; @.str.2
	.asciz	"UseSep"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
l_.str.3:                               ; @.str.3
	.asciz	"SOFTWARE\\Microsoft\\Calc"

	.no_dead_strip	_load_config
.subsections_via_symbols
