	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_pref_save                  ## -- Begin function ghb_pref_save
	.p2align	4, 0x90
_ghb_pref_save:                         ## @ghb_pref_save
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_ghb_dict_get_value
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_prefsDict@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ghb_dict_get
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ghb_value_cmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ghb_value_dup
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_ghb_dict_set
	xorl	%eax, %eax
	callq	_store_prefs
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_prefs_modified@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prefsDict,8,3                  ## @prefsDict
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preferences"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_prefs_modified,4,2             ## @prefs_modified
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_pref_save                  ; -- Begin function ghb_pref_save
	.p2align	2
_ghb_pref_save:                         ; @ghb_pref_save
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_ghb_dict_get_value
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _prefsDict@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prefsDict@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	mov	x1, x19
	bl	_ghb_dict_get
	mov	x1, x0
	mov	x0, x20
	bl	_ghb_value_cmp
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_ghb_value_dup
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_ghb_dict_set
	bl	_store_prefs
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _prefs_modified@GOTPAGE
Lloh9:
	ldr	x9, [x9, _prefs_modified@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_prefsDict,8,3                  ; @prefsDict
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preferences"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_prefs_modified,4,2             ; @prefs_modified
.subsections_via_symbols
