	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_presets_import_json         ## -- Begin function hb_presets_import_json
	.p2align	4, 0x90
_hb_presets_import_json:                ## @hb_presets_import_json
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	callq	_hb_value_json
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_hb_presets_import
	movl	%eax, %r14d
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	-24(%rbp), %rdi
	callq	_hb_value_get_json
	movq	%rax, (%rbx)
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_hb_value_free
	leaq	-24(%rbp), %rdi
	callq	_hb_value_free
	jmp	LBB0_7
LBB0_3:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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	_hb_presets_import_json         ; -- Begin function hb_presets_import_json
	.p2align	2
_hb_presets_import_json:                ; @hb_presets_import_json
	.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, x1
	cbz	x1, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	bl	_hb_value_json
	str	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, sp
	bl	_hb_presets_import
	mov	x20, x0
	cbz	x19, LBB0_5
; %bb.4:
	ldr	x0, [sp]
	bl	_hb_value_get_json
	str	x0, [x19]
LBB0_5:
	add	x0, sp, #8
	bl	_hb_value_free
	mov	x0, sp
	bl	_hb_value_free
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x20
	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
