	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function presets_do
_presets_do:                            ## @presets_do
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_ARRAY@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_hb_dict_get
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_hb_value_type
	cmpq	(%r13), %rax
	jne	LBB0_2
LBB0_5:
	xorl	%ebx, %ebx
	movq	_PRESET_DO_DELETE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_hb_value_array_len
	cmpl	%eax, %ebx
	jge	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movslq	8(%r14), %rcx
	movl	%ebx, -4(%rax,%rcx,4)
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_value_array_get
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_presets_do
	cmpl	(%r13), %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_value_array_remove
	jmp	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_PRESET_DO_SKIP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	movq	_PRESET_DO_NEXT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
	jmp	LBB0_21
LBB0_10:
	movq	_PRESET_DO_NEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_12:
	movq	%r15, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_hb_dict_get
	movq	%rax, %rdi
	callq	_hb_value_get_bool
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*%r12
	movq	_PRESET_DO_NEXT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.15:
	incl	8(%r14)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_hb_dict_get
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_presets_do
	movq	_PRESET_DO_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_21
## %bb.16:
	decl	8(%r14)
	jmp	LBB0_21
LBB0_17:
	movq	%r15, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_19
## %bb.22:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_19:
	leaq	L_.str.5(%rip), %rdi
	callq	_hb_error
	movq	_PRESET_DO_DELETE@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ## @HB_VALUE_TYPE_ARRAY
	.comm	_PRESET_DO_DELETE,4,2           ## @PRESET_DO_DELETE
	.comm	_PRESET_DO_SKIP,4,2             ## @PRESET_DO_SKIP
	.comm	_PRESET_DO_NEXT,4,2             ## @PRESET_DO_NEXT
	.comm	_HB_VALUE_TYPE_DICT,8,3         ## @HB_VALUE_TYPE_DICT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VersionMajor"

L_.str.1:                               ## @.str.1
	.asciz	"PresetList"

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

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

	.comm	_PRESET_DO_SUCCESS,4,2          ## @PRESET_DO_SUCCESS
L_.str.4:                               ## @.str.4
	.asciz	"PresetName"

L_.str.5:                               ## @.str.5
	.asciz	"Error: invalid preset format in presets_do()"

	.comm	_PRESET_DO_DONE,4,2             ## @PRESET_DO_DONE
	.no_dead_strip	_presets_do
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function presets_do
_presets_do:                            ; @presets_do
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x1
	bl	_hb_value_type
Lloh0:
	adrp	x24, _HB_VALUE_TYPE_ARRAY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HB_VALUE_TYPE_ARRAY@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
Lloh2:
	adrp	x23, _HB_VALUE_TYPE_DICT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HB_VALUE_TYPE_DICT@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_hb_value_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_hb_dict_get
	cbz	x0, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_hb_dict_get
	mov	x20, x0
	bl	_hb_value_type
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_5:
	mov	w21, #0
Lloh8:
	adrp	x23, _PRESET_DO_DELETE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PRESET_DO_DELETE@GOTPAGEOFF]
Lloh10:
	adrp	x24, _PRESET_DO_SKIP@GOTPAGE
Lloh11:
	ldr	x24, [x24, _PRESET_DO_SKIP@GOTPAGEOFF]
Lloh12:
	adrp	x22, _PRESET_DO_NEXT@GOTPAGE
Lloh13:
	ldr	x22, [x22, _PRESET_DO_NEXT@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_hb_value_array_len
	cmp	w21, w0
	b.ge	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #2
	stur	w21, [x8, #-4]
	mov	x0, x20
	mov	x1, x21
	bl	_hb_value_array_get
	mov	x1, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x19
	bl	_presets_do
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_hb_value_array_remove
	b	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_6
	b	LBB0_12
LBB0_11:
	ldr	w0, [x22]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	mov	x0, x20
	bl	_hb_value_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.14:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	cbz	x0, LBB0_18
; %bb.15:
	mov	x0, x20
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	blr	x2
Lloh16:
	adrp	x8, _PRESET_DO_NEXT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PRESET_DO_NEXT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.16:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	mov	x1, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x19
	bl	_presets_do
Lloh21:
	adrp	x8, _PRESET_DO_SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PRESET_DO_SUCCESS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.17:
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_12
LBB0_18:
	mov	x0, x20
	bl	_hb_value_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.19:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x20
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x2
LBB0_21:
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_hb_error
Lloh28:
	adrp	x8, _PRESET_DO_DELETE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PRESET_DO_DELETE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ; @HB_VALUE_TYPE_ARRAY
	.comm	_PRESET_DO_DELETE,4,2           ; @PRESET_DO_DELETE
	.comm	_PRESET_DO_SKIP,4,2             ; @PRESET_DO_SKIP
	.comm	_PRESET_DO_NEXT,4,2             ; @PRESET_DO_NEXT
	.comm	_HB_VALUE_TYPE_DICT,8,3         ; @HB_VALUE_TYPE_DICT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VersionMajor"

l_.str.1:                               ; @.str.1
	.asciz	"PresetList"

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

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

	.comm	_PRESET_DO_SUCCESS,4,2          ; @PRESET_DO_SUCCESS
l_.str.4:                               ; @.str.4
	.asciz	"PresetName"

l_.str.5:                               ; @.str.5
	.asciz	"Error: invalid preset format in presets_do()"

	.comm	_PRESET_DO_DONE,4,2             ; @PRESET_DO_DONE
	.no_dead_strip	_presets_do
.subsections_via_symbols
