	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_ui_settings_update         ## -- Begin function ghb_ui_settings_update
	.p2align	4, 0x90
_ghb_ui_settings_update:                ## @ghb_ui_settings_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	callq	_g_debug
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	testq	%r12, %r12
	je	LBB0_5
## %bb.2:
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_GHB_OBJECT
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ghb_update_widget
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ghb_widget_to_setting
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_g_debug
	movl	$-1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb_ui_update() %s"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to find widget for key: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_ui_settings_update         ; -- Begin function ghb_ui_settings_update
	.p2align	2
_ghb_ui_settings_update:                ; @ghb_ui_settings_update
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_g_debug
	mov	w0, #0
	cbz	x21, LBB0_5
; %bb.1:
	cbz	x20, LBB0_5
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_GHB_OBJECT
	cbz	x0, LBB0_4
; %bb.3:
	mov	x22, x0
	mov	x1, x20
	bl	_ghb_update_widget
	mov	x0, x19
	mov	x1, x22
	bl	_ghb_widget_to_setting
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_g_debug
	mov	w0, #-1
LBB0_5:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb_ui_update() %s"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to find widget for key: %s\n"

.subsections_via_symbols
