	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_preset_index_append         ## -- Begin function hb_preset_index_append
	.p2align	4, 0x90
_hb_preset_index_append:                ## @hb_preset_index_append
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rsi)
	jle	LBB0_4
## %bb.1:
	movl	(%rdi), %edx
	xorl	%eax, %eax
	movq	_HB_MAX_PRESET_FOLDER_DEPTH@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r8), %edx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rcx
	movl	(%rcx,%rax,4), %r9d
	movq	8(%rdi), %rcx
	movslq	%edx, %rdx
	movl	%r9d, (%rcx,%rdx,4)
	incq	%rax
	movl	(%rdi), %edx
	incl	%edx
	movl	%edx, (%rdi)
	movslq	(%rsi), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_2
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_MAX_PRESET_FOLDER_DEPTH,4,2 ## @HB_MAX_PRESET_FOLDER_DEPTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_preset_index_append         ; -- Begin function hb_preset_index_append
	.p2align	2
_hb_preset_index_append:                ; @hb_preset_index_append
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	w10, [x0]
Lloh0:
	adrp	x9, _HB_MAX_PRESET_FOLDER_DEPTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_MAX_PRESET_FOLDER_DEPTH@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w10, w11
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x1, #8]
	ldr	w11, [x11, x8, lsl #2]
	ldr	x12, [x0, #8]
	str	w11, [x12, w10, sxtw #2]
	add	x8, x8, #1
	ldr	w10, [x0]
	add	w10, w10, #1
	str	w10, [x0]
	ldrsw	x11, [x1]
	cmp	x8, x11
	b.lt	LBB0_2
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_MAX_PRESET_FOLDER_DEPTH,4,2 ; @HB_MAX_PRESET_FOLDER_DEPTH
.subsections_via_symbols
