	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function preset_category_opts_set
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_preset_category_opts_set:              ## @preset_category_opts_set
	.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, %rbx
	xorl	%eax, %eax
	callq	_hb_presets_get
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_hb_value_array_len
	movq	%rax, %r13
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_COMBO_BOX
	movq	%rax, %rdi
	callq	_gtk_combo_box_get_model
	movl	%eax, %edi
	callq	_GTK_LIST_STORE
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_gtk_list_store_clear
	leaq	1(%r13), %rdi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	testq	%r13, %r13
	jle	LBB0_8
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_hb_value_array_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_hb_dict_get
	movl	%eax, %edi
	callq	_hb_value_get_bool
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_hb_dict_get
	movl	%eax, %edi
	callq	_hb_value_get_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ghb_strv_contains
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_g_strdup
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%r14,%rcx,8)
	incq	%rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	callq	_gtk_list_store_append
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movl	$1, %r8d
	pushq	$-1
	pushq	$3
	pushq	%r12
	pushq	$2
	callq	_gtk_list_store_set
	addq	$32, %rsp
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_g_strfreev
	leaq	-44(%rbp), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gtk_list_store_append
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	$1, %r8d
	pushq	$-1
	pushq	$3
	pushq	%rax
	pushq	$2
	callq	_gtk_list_store_set
	addq	$72, %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	"Folder"

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

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"Add New Category"

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

	.no_dead_strip	_preset_category_opts_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preset_category_opts_set
_preset_category_opts_set:              ; @preset_category_opts_set
	.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	x22, x0
	bl	_hb_presets_get
	mov	x20, x0
	bl	_hb_value_array_len
	mov	x21, x0
	ldr	w0, [x22]
	mov	x1, x19
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	bl	_gtk_combo_box_get_model
	bl	_GTK_LIST_STORE
	mov	x19, x0
	bl	_gtk_list_store_clear
	add	x0, x21, #1
	mov	w1, #8
	bl	_calloc
	mov	x22, x0
	cmp	x21, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x23, #0
	mov	x27, #0
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x21, x23
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_hb_value_array_get
	mov	x26, x0
	mov	x1, x24
	bl	_hb_dict_get
	bl	_hb_value_get_bool
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_hb_dict_get
	bl	_hb_value_get_string
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x26
	bl	_ghb_strv_contains
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_g_strdup
	add	x28, x27, #1
	str	x0, [x22, x27, lsl #3]
	add	x1, sp, #12
	mov	x0, x19
	bl	_gtk_list_store_append
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	w5, [x8]
	scvtf	d0, x23
	mov	x8, #-4294967293
	str	x8, [sp]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #0
	mov	x3, x26
	mov	w4, #1
	mov	w6, #2
	mov	x7, x26
	bl	_gtk_list_store_set
	mov	x27, x28
	b	LBB0_2
LBB0_8:
	mov	x0, x22
	bl	_g_strfreev
	add	x1, sp, #12
	mov	x0, x19
	bl	_gtk_list_store_append
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	mov	x8, #-4294967293
Lloh10:
	adrp	x3, l_.str.2@PAGE
Lloh11:
	add	x3, x3, l_.str.2@PAGEOFF
	str	x8, [sp]
Lloh12:
	adrp	x7, l_.str.3@PAGE
Lloh13:
	add	x7, x7, l_.str.3@PAGEOFF
	add	x1, sp, #12
	fmov	d0, #-1.00000000
	mov	x0, x19
	mov	w2, #0
	mov	w4, #1
	mov	w6, #2
	bl	_gtk_list_store_set
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Folder"

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

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"Add New Category"

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

	.no_dead_strip	_preset_category_opts_set
.subsections_via_symbols
