	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dict_clean
_dict_clean:                            ## @dict_clean
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_hb_value_dup
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -96(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_hb_value_get_string
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_iter_init
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_hb_error
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_hb_dict_remove
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_hb_dict_iter_next
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movq	%rax, %r15
	movq	_HB_DICT_ITER_DONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_29
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_hb_dict_iter_key
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_hb_dict_iter_value
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_hb_value_type
	movq	%rax, %r12
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_hb_dict_get
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hb_value_type
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r13, %r12
	jne	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %r12
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_hb_dict_get
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dict_clean
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_HB_VALUE_TYPE_ARRAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %r12
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %r13
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %r13
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_hb_value_is_number
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_hb_value_is_number
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_hb_value_xform
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_HB_VALUE_TYPE_ARRAY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_hb_value_array_len
	testl	%eax, %eax
	jle	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hb_value_array_get
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_hb_dict_get
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_hb_value_array_len
	testl	%eax, %eax
	jle	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=2
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_28
LBB0_25:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_hb_value_array_get
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_dict_clean
	jmp	LBB0_27
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_hb_error
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_hb_value_xform
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdx
	callq	_hb_dict_set
	jmp	LBB0_28
LBB0_29:
	leaq	-96(%rbp), %rdi
	callq	_hb_value_free
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	testl	%eax, %eax
	je	LBB0_30
LBB0_35:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_dict_iter_init
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_hb_dict_iter_next
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	_HB_DICT_ITER_DONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%rbx, %rdi
	callq	_hb_dict_iter_key
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_hb_dict_iter_value
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_hb_dict_get
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%r15, %rdi
	callq	_hb_value_dup
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_hb_dict_set
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PresetName"

	.comm	_HB_DICT_ITER_DONE,8,3          ## @HB_DICT_ITER_DONE
	.comm	_HB_VALUE_TYPE_DICT,8,3         ## @HB_VALUE_TYPE_DICT
	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ## @HB_VALUE_TYPE_ARRAY
L_.str.1:                               ## @.str.1
	.asciz	"Preset %s: Incompatible value types for key %s. Dropping."

L_.str.2:                               ## @.str.2
	.asciz	"Preset %s: Incorrect value type for key %s. Converting."

L_.str.3:                               ## @.str.3
	.asciz	"Folder"

	.no_dead_strip	_dict_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dict_clean
_dict_clean:                            ; @dict_clean
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	bl	_hb_value_dup
	mov	x21, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	cbz	x0, LBB0_2
; %bb.1:
	bl	_hb_value_get_string
	str	x0, [sp]                        ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	xzr, [sp]                       ; 8-byte Folded Spill
LBB0_3:
	mov	x0, x21
	bl	_hb_dict_iter_init
Lloh2:
	adrp	x8, _HB_DICT_ITER_DONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HB_DICT_ITER_DONE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_4:
	add	x0, sp, #8
	bl	_hb_value_free
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_hb_dict_iter_init
Lloh7:
	adrp	x8, _HB_DICT_ITER_DONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HB_DICT_ITER_DONE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_29
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	mov	x23, x0
Lloh10:
	adrp	x22, _HB_VALUE_TYPE_DICT@GOTPAGE
Lloh11:
	ldr	x22, [x22, _HB_VALUE_TYPE_DICT@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x26
	bl	_hb_error
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_hb_dict_remove
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_hb_dict_iter_next
	mov	x23, x0
Lloh14:
	adrp	x8, _HB_DICT_ITER_DONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HB_DICT_ITER_DONE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	mov	x0, x23
	bl	_hb_dict_iter_key
	mov	x26, x0
	mov	x0, x23
	bl	_hb_dict_iter_value
	mov	x28, x0
	bl	_hb_value_type
	mov	x24, x0
	mov	x0, x19
	mov	x1, x26
	bl	_hb_dict_get
	mov	x27, x0
	bl	_hb_value_type
	cbz	x27, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x25, x0
	ldr	x8, [x22]
	cmp	x24, x0
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x24, x8
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_hb_dict_get
	mov	x1, x27
	bl	_dict_clean
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x24, x8
	b.eq	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh17:
	adrp	x9, _HB_VALUE_TYPE_ARRAY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HB_VALUE_TYPE_ARRAY@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x24, x9
	ccmp	x25, x8, #4, ne
	ccmp	x25, x9, #4, ne
	b.eq	LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x28
	bl	_hb_value_is_number
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x27
	bl	_hb_value_is_number
	cbnz	x0, LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x26
	bl	_hb_error
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_hb_value_xform
	mov	x2, x0
	mov	x0, x20
	mov	x1, x26
	bl	_hb_dict_set
	b	LBB0_10
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh22:
	adrp	x8, _HB_VALUE_TYPE_ARRAY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HB_VALUE_TYPE_ARRAY@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_10
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x27
	bl	_hb_value_array_len
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x27
	mov	w1, #0
	bl	_hb_value_array_get
	mov	x27, x0
	bl	_hb_value_type
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.24:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_hb_dict_get
	mov	x25, x0
	bl	_hb_value_array_len
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.25:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x26, x0
	mov	w24, #0
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	w24, w24, #1
	cmp	w26, w24
	b.eq	LBB0_10
LBB0_27:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x24
	bl	_hb_value_array_get
	mov	x28, x0
	bl	_hb_value_type
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x28
	mov	x1, x27
	bl	_dict_clean
	b	LBB0_26
LBB0_29:
	mov	x21, x0
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hb_dict_iter_next
	mov	x21, x0
Lloh25:
	adrp	x8, _HB_DICT_ITER_DONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HB_DICT_ITER_DONE@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_hb_dict_iter_key
	mov	x22, x0
	mov	x0, x21
	bl	_hb_dict_iter_value
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_hb_dict_get
	cbnz	x0, LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x23
	bl	_hb_value_dup
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_hb_dict_set
	b	LBB0_30
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PresetName"

	.comm	_HB_DICT_ITER_DONE,8,3          ; @HB_DICT_ITER_DONE
	.comm	_HB_VALUE_TYPE_DICT,8,3         ; @HB_VALUE_TYPE_DICT
	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ; @HB_VALUE_TYPE_ARRAY
l_.str.1:                               ; @.str.1
	.asciz	"Preset %s: Incompatible value types for key %s. Dropping."

l_.str.2:                               ; @.str.2
	.asciz	"Preset %s: Incorrect value type for key %s. Converting."

l_.str.3:                               ; @.str.3
	.asciz	"Folder"

	.no_dead_strip	_dict_clean
.subsections_via_symbols
