	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_list_insert                 ## -- Begin function hb_list_insert
	.p2align	4, 0x90
_hb_list_insert:                        ## @hb_list_insert
	.cfi_startproc
## %bb.0:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	cmpl	4(%rdi), %edx
	jne	LBB0_3
## %bb.2:
	movq	_HB_LIST_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movl	%edx, 4(%rbx)
	movq	8(%rbx), %rdi
	shll	$3, %edx
	movl	%edx, %esi
	callq	_realloc
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edx
LBB0_3:
	subl	%r15d, %edx
	jne	LBB0_5
## %bb.4:
	movslq	%r15d, %r12
	jmp	LBB0_6
LBB0_5:
	movq	8(%rbx), %rax
	movslq	%r15d, %r12
	leaq	(%rax,%r12,8), %rdi
	addq	$8, %rdi
	leaq	(%rax,%r12,8), %rsi
	shll	$3, %edx
	callq	_memmove
	movl	(%rbx), %r15d
LBB0_6:
	movq	8(%rbx), %rax
	movq	%r14, (%rax,%r12,8)
	incl	%r15d
	movl	%r15d, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_LIST_DEFAULT_SIZE,8,3       ## @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_list_insert                 ; -- Begin function hb_list_insert
	.p2align	2
_hb_list_insert:                        ; @hb_list_insert
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_7
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _HB_LIST_DEFAULT_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_LIST_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w8, w8, w9
	str	w8, [x19, #4]
	ldr	x0, [x19, #8]
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x19, #8]
	ldr	w8, [x19]
LBB0_3:
	subs	w8, w8, w21
	b.ne	LBB0_5
; %bb.4:
	sxtw	x22, w21
	b	LBB0_6
LBB0_5:
	ldr	x9, [x19, #8]
	mov	x10, x21
	sxtw	x22, w10
	add	x1, x9, w21, sxtw #3
	add	x0, x1, #8
	lsl	w2, w8, #3
	bl	_memmove
	ldr	w21, [x19]
LBB0_6:
	ldr	x8, [x19, #8]
	str	x20, [x8, x22, lsl #3]
	add	w8, w21, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_LIST_DEFAULT_SIZE,8,3       ; @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols
