	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_presets_import              ## -- Begin function hb_presets_import
	.p2align	4, 0x90
_hb_presets_import:                     ## @hb_presets_import
	.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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	$1, -24(%rbp)
	movl	$0, -40(%rbp)
	callq	_hb_value_dup
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%rax, %rdi
	callq	_hb_presets_version
	movq	_do_preset_import@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_presets_do
	movl	-28(%rbp), %edi
	movl	-36(%rbp), %edx
	movl	-32(%rbp), %esi
	movl	$29, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cmpVersion
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	cmpl	$0, -40(%rbp)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_hb_presets_update_version
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, %rdi
	callq	_import_hierarchy_29_0_0
	movq	%rax, -48(%rbp)
	movq	%rax, %rdi
	callq	_hb_presets_update_version
	movq	%rax, (%r14)
	leaq	-48(%rbp), %rdi
	callq	_hb_value_free
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_hb_value_dup
LBB0_5:
	movq	%rax, (%r14)
LBB0_6:
	leaq	-56(%rbp), %rdi
	callq	_hb_value_free
	movl	-40(%rbp), %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_preset_import,4,2           ## @do_preset_import
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_presets_import              ; -- Begin function hb_presets_import
	.p2align	2
_hb_presets_import:                     ; @hb_presets_import
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	w8, #1
	str	w8, [sp, #40]
	str	wzr, [sp, #24]
	bl	_hb_value_dup
	mov	x20, x0
	str	x0, [sp, #16]
	add	x8, sp, #24
	add	x1, x8, #12
	add	x2, x8, #8
	orr	x3, x8, #0x4
	bl	_hb_presets_version
Lloh0:
	adrp	x8, _do_preset_import@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_preset_import@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #24
	mov	x1, x20
	bl	_presets_do
	ldp	w1, w0, [sp, #32]
	ldr	w2, [sp, #28]
	mov	w3, #29
	mov	w4, #0
	mov	w5, #0
	bl	_cmpVersion
	cmp	x0, #0
	b.le	LBB0_3
; %bb.1:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_hb_presets_update_version
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_import_hierarchy_29_0_0
	str	x0, [sp, #8]
	bl	_hb_presets_update_version
	str	x0, [x19]
	add	x0, sp, #8
	bl	_hb_value_free
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_hb_value_dup
LBB0_5:
	str	x0, [x19]
LBB0_6:
	add	x0, sp, #16
	bl	_hb_value_free
	ldr	w0, [sp, #24]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_do_preset_import,4,2           ; @do_preset_import
.subsections_via_symbols
