	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function registry_set_formatopts
_registry_set_formatopts:               ## @registry_set_formatopts
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %edx
	movl	%edi, %ebx
	movl	$0, -40(%rbp)
	leaq	-36(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_registry_get_handle
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	-36(%rbp), %edi
	movq	_var_barstate0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_DWORD@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leal	(%r15,%rbx,4), %r8d
	xorl	%edx, %edx
	movl	$4, %r9d
	callq	_RegSetValueExW
	movl	-36(%rbp), %edi
	movq	_var_wrap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	leal	(%r14,%rbx,4), %r8d
	xorl	%edx, %edx
	movl	$4, %r9d
	callq	_RegSetValueExW
	movl	-36(%rbp), %edi
	callq	_RegCloseKey
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_var_barstate0,4,2              ## @var_barstate0
	.comm	_REG_DWORD,4,2                  ## @REG_DWORD
	.comm	_var_wrap,4,2                   ## @var_wrap
	.no_dead_strip	_registry_set_formatopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function registry_set_formatopts
_registry_set_formatopts:               ; @registry_set_formatopts
	.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	x19, x3
	mov	x20, x2
	mov	x2, x1
	mov	x21, x0
	str	wzr, [sp, #8]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_registry_get_handle
Lloh0:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
Lloh3:
	adrp	x8, _var_barstate0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _var_barstate0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x22, _REG_DWORD@GOTPAGE
Lloh7:
	ldr	x22, [x22, _REG_DWORD@GOTPAGEOFF]
	ldr	w3, [x22]
	lsl	w21, w21, #2
	add	w4, w20, w21
	mov	w2, #0
	mov	w5, #4
	bl	_RegSetValueExW
	ldr	w0, [sp, #12]
Lloh8:
	adrp	x8, _var_wrap@GOTPAGE
Lloh9:
	ldr	x8, [x8, _var_wrap@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x22]
	add	w4, w19, w21
	mov	w2, #0
	mov	w5, #4
	bl	_RegSetValueExW
	ldr	w0, [sp, #12]
	bl	_RegCloseKey
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_var_barstate0,4,2              ; @var_barstate0
	.comm	_REG_DWORD,4,2                  ; @REG_DWORD
	.comm	_var_wrap,4,2                   ; @var_wrap
	.no_dead_strip	_registry_set_formatopts
.subsections_via_symbols
