	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SaveRegInt
_SaveRegInt:                            ## @SaveRegInt
	.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
	movl	%esi, %ebx
	movl	%edi, %esi
	movl	%edx, -16(%rbp)
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_OPTION_NON_VOLATILE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_KEY_SET_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-12(%rbp), %rax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_RegCreateKeyEx
	addq	$32, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	-12(%rbp), %edi
	movq	_REG_DWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-16(%rbp), %r8
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$4, %r9d
	callq	_RegSetValueEx
	movl	-12(%rbp), %edi
	callq	_RegCloseKey
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.comm	_REG_OPTION_NON_VOLATILE,4,2    ## @REG_OPTION_NON_VOLATILE
	.comm	_KEY_SET_VALUE,4,2              ## @KEY_SET_VALUE
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_REG_DWORD,4,2                  ## @REG_DWORD
	.no_dead_strip	_SaveRegInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SaveRegInt
_SaveRegInt:                            ; @SaveRegInt
	.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
	mov	x19, x1
	mov	x1, x0
	str	w2, [sp, #12]
Lloh0:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _REG_OPTION_NON_VOLATILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_OPTION_NON_VOLATILE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _KEY_SET_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_SET_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	str	xzr, [sp]
	add	x7, sp, #8
	mov	w2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_RegCreateKeyEx
Lloh9:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
Lloh12:
	adrp	x8, _REG_DWORD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_DWORD@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x1, x19
	mov	w2, #0
	mov	w5, #4
	bl	_RegSetValueEx
	ldr	w0, [sp, #8]
	bl	_RegCloseKey
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.comm	_REG_OPTION_NON_VOLATILE,4,2    ; @REG_OPTION_NON_VOLATILE
	.comm	_KEY_SET_VALUE,4,2              ; @KEY_SET_VALUE
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_REG_DWORD,4,2                  ; @REG_DWORD
	.no_dead_strip	_SaveRegInt
.subsections_via_symbols
