	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_file_new_from_path_to_string ## -- Begin function config_file_new_from_path_to_string
	.p2align	4, 0x90
_config_file_new_from_path_to_string:   ## @config_file_new_from_path_to_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movq	$0, -16(%rbp)
	callq	_path_is_valid
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_filestream_read_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, -24(%rbp)
	js	LBB0_6
## %bb.3:
	movq	-16(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_config_file_new_from_string
	movq	%rax, %rbx
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	-16(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_free
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_file_new_from_path_to_string ; -- Begin function config_file_new_from_path_to_string
	.p2align	2
_config_file_new_from_path_to_string:   ; @config_file_new_from_path_to_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	stp	xzr, xzr, [sp]
	bl	_path_is_valid
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	bl	_filestream_read_file
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_5
; %bb.3:
	ldr	x0, [sp]
	mov	x1, x19
	bl	_config_file_new_from_string
	mov	x19, x0
	ldr	x0, [sp]
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_4:
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	mov	x19, #0
	ldr	x0, [sp]
	cbz	x0, LBB0_7
LBB0_6:
	bl	_free
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
