	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_presets_builtin_update      ## -- Begin function hb_presets_builtin_update
	.p2align	4, 0x90
_hb_presets_builtin_update:             ## @hb_presets_builtin_update
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, -40(%rbp)
	movq	_do_delete_builtin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_hb_presets@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	-40(%rbp), %rdx
	callq	_presets_do
	movq	_hb_presets_builtin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hb_value_dup
	movq	%rax, %r14
	movq	%rax, -48(%rbp)
	movq	(%r12), %rdi
	callq	_lookup_default_index
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movl	$1, -40(%rbp)
	movq	_do_clear_default@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rsi
	callq	_presets_do
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
	movq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_hb_value_array_len
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %esi
	movq	%r14, %rdi
	callq	_hb_value_array_get
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_hb_value_incref
	movq	(%r12), %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_hb_value_array_insert
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_5
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_hb_value_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_delete_builtin,4,2          ## @do_delete_builtin
	.comm	_hb_presets,8,3                 ## @hb_presets
	.comm	_hb_presets_builtin,4,2         ## @hb_presets_builtin
	.comm	_do_clear_default,4,2           ## @do_clear_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_presets_builtin_update      ; -- Begin function hb_presets_builtin_update
	.p2align	2
_hb_presets_builtin_update:             ; @hb_presets_builtin_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w8, #1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _do_delete_builtin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_delete_builtin@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x21, _hb_presets@GOTPAGE
Lloh4:
	ldr	x21, [x21, _hb_presets@GOTPAGEOFF]
	ldr	x1, [x21]
	add	x2, sp, #8
	bl	_presets_do
Lloh5:
	adrp	x8, _hb_presets_builtin@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hb_presets_builtin@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_hb_value_dup
	mov	x19, x0
	str	x0, [sp]
	ldr	x0, [x21]
	bl	_lookup_default_index
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [sp, #8]
Lloh8:
	adrp	x8, _do_clear_default@GOTPAGE
Lloh9:
	ldr	x8, [x8, _do_clear_default@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, x19
	bl	_presets_do
LBB0_3:
	mov	x0, x20
	bl	_free
	ldr	x19, [sp]
	mov	x0, x19
	bl	_hb_value_array_len
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	add	w22, w0, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w22, #2
	mov	x0, x19
	bl	_hb_value_array_get
	mov	x20, x0
	bl	_hb_value_incref
	ldr	x0, [x21]
	mov	w1, #0
	mov	x2, x20
	bl	_hb_value_array_insert
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_5
LBB0_6:
	mov	x0, sp
	bl	_hb_value_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_do_delete_builtin,4,2          ; @do_delete_builtin
	.comm	_hb_presets,8,3                 ; @hb_presets
	.comm	_hb_presets_builtin,4,2         ; @hb_presets_builtin
	.comm	_do_clear_default,4,2           ; @do_clear_default
.subsections_via_symbols
