	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function core_option_manager_new
_core_option_manager_new:               ## @core_option_manager_new
	.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, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_config_file_new_from_path_to_string
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_config_file_new_alloc
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_24
LBB0_4:
	movl	16(%r14), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	xorl	%r15d, %r15d
	cmpq	$0, 16(%r13)
	jne	LBB0_8
	jmp	LBB0_22
LBB0_6:
	movq	%r15, %rdi
	callq	_config_file_new_from_path_to_string
	movq	%rax, %r15
	cmpq	$0, 16(%r13)
	je	LBB0_22
LBB0_8:
	xorl	%ebx, %ebx
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	$0, 40(%rax)
	leaq	24(%rax), %rax
	jne	LBB0_9
LBB0_12:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.13:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_22
## %bb.14:
	movq	%rbx, (%r14)
	cmpq	$0, 16(%r13)
	je	LBB0_20
## %bb.15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_core_option_manager_parse_option
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	cmpq	$0, 40(%r13)
	leaq	24(%r13), %r13
	jne	LBB0_16
LBB0_20:
	testq	%r15, %r15
	je	LBB0_26
## %bb.21:
	movq	%r15, %rdi
	callq	_config_file_free
	jmp	LBB0_26
LBB0_22:
	testq	%r15, %r15
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_config_file_free
LBB0_24:
	movq	%r14, %rdi
	callq	_core_option_manager_free
LBB0_25:
	xorl	%r14d, %r14d
LBB0_26:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_core_option_manager_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function core_option_manager_new
_core_option_manager_new:               ; @core_option_manager_new
	.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, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_24
; %bb.1:
	mov	x0, x22
	bl	_string_is_empty
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_config_file_new_from_path_to_string
	str	x0, [x19, #24]
	cbnz	x0, LBB0_4
; %bb.3:
	bl	_config_file_new_alloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_23
LBB0_4:
	ldr	w0, [x19, #16]
	mov	x1, x22
	mov	w2, #4
	bl	_strlcpy
	mov	x0, x21
	bl	_string_is_empty
	cbz	w0, LBB0_6
; %bb.5:
	mov	x21, #0
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_7
	b	LBB0_21
LBB0_6:
	mov	x0, x21
	bl	_config_file_new_from_path_to_string
	mov	x21, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_21
LBB0_7:
	mov	x22, #0
	mov	x8, x20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x8]
	ldr	x9, [x9]
	cbz	x9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	ldr	x9, [x8, #40]
	add	x8, x8, #24
	cbnz	x9, LBB0_8
LBB0_11:
	cbz	x22, LBB0_21
; %bb.12:
	mov	x0, x22
	mov	w1, #4
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_21
; %bb.13:
	str	x22, [x19]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_19
; %bb.14:
	mov	x22, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_core_option_manager_parse_option
	cbz	w0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x22, x22, #1
	ldr	x8, [x20, #40]
	add	x20, x20, #24
	cbnz	x8, LBB0_15
LBB0_19:
	cbz	x21, LBB0_24
; %bb.20:
	mov	x0, x21
	bl	_config_file_free
	b	LBB0_24
LBB0_21:
	cbz	x21, LBB0_23
; %bb.22:
	mov	x0, x21
	bl	_config_file_free
LBB0_23:
	mov	x0, x19
	bl	_core_option_manager_free
	mov	x19, #0
LBB0_24:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_core_option_manager_new
.subsections_via_symbols
