	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_settings_to_ui             ## -- Begin function ghb_settings_to_ui
	.p2align	4, 0x90
_ghb_settings_to_ui:                    ## @ghb_settings_to_ui
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ghb_value_dup
	movq	%rax, -72(%rbp)
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	%rax, %r12
	movq	_widget_priority_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movl	$8, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_widget_priority_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13), %rbx
	addq	$8, %r13
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -64(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ghb_dict_get_value
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_ghb_ui_settings_update
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	callq	_ghb_dict_iter_init
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	callq	_ghb_dict_iter_next
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	-64(%rbp), %rbx
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ghb_ui_settings_update
	movq	%r12, %rdi
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_ghb_dict_iter_next
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	leaq	-72(%rbp), %rdi
	callq	_ghb_value_free
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_widget_priority_list,8,3       ## @widget_priority_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_settings_to_ui             ; -- Begin function ghb_settings_to_ui
	.p2align	2
_ghb_settings_to_ui:                    ; @ghb_settings_to_ui
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ghb_value_dup
	str	x0, [sp]
	cbz	x19, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x23, _widget_priority_list@GOTPAGE
Lloh1:
	ldr	x23, [x23, _widget_priority_list@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x22, [x8]
	cbz	x22, LBB0_6
; %bb.2:
	mov	w24, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x22, [x8, x24]
	add	x24, x24, #8
	cbz	x22, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_ghb_dict_get_value
	str	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_ghb_ui_settings_update
	b	LBB0_3
LBB0_6:
	mov	x0, x21
	bl	_ghb_dict_iter_init
	str	w0, [sp, #28]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #28
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x21
	bl	_ghb_dict_iter_next
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x3, x2, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_ghb_ui_settings_update
	b	LBB0_7
LBB0_9:
	mov	x0, sp
	bl	_ghb_value_free
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_widget_priority_list,8,3       ; @widget_priority_list
.subsections_via_symbols
