	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_bitvec_add_bits
_hb_bitvec_add_bits:                    ## @hb_bitvec_add_bits
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	(%rdi), %eax
	leal	31(%rax), %r13d
	sarl	$5, %r13d
	leal	(%rax,%r14), %ebx
	addl	$31, %ebx
	sarl	$5, %ebx
	cmpl	%r13d, %ebx
	jle	LBB0_4
## %bb.1:
	movq	8(%r12), %rdi
	leal	(,%rbx,8), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movslq	%r13d, %rax
	leaq	(%r15,%rax,8), %rdi
	notl	%r13d
	addl	%r13d, %ebx
	leaq	8(,%rbx,8), %rsi
	callq	___bzero
	movq	%r15, 8(%r12)
	movl	(%r12), %eax
LBB0_4:
	addl	%r14d, %eax
	movl	%eax, (%r12)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movl	$-1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hb_bitvec_add_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_bitvec_add_bits
_hb_bitvec_add_bits:                    ; @hb_bitvec_add_bits
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	add	w9, w8, #31
	asr	w22, w9, #5
	add	w9, w9, w1
	asr	w23, w9, #5
	cmp	w23, w22
	b.le	LBB0_3
; %bb.1:
	ldr	x0, [x19, #8]
	lsl	w1, w23, #3
	bl	_realloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	add	x0, x0, w22, sxtw #3
	mvn	w8, w22
	add	w8, w23, w8
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
	str	x21, [x19, #8]
	ldr	w8, [x19]
LBB0_3:
	mov	w0, #0
	add	w8, w8, w20
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hb_bitvec_add_bits
.subsections_via_symbols
