	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_pool_init            ## -- Begin function hb_buffer_pool_init
	.p2align	4, 0x90
_hb_buffer_pool_init:                   ## @hb_buffer_pool_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_hb_lock_init
	movq	_buffers@GOTPCREL(%rip), %r15
	movl	%eax, 24(%r15)
	movq	$0, 16(%r15)
	movq	_BUFFER_POOL_MAX_ELEMENTS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %edi
	movl	$1, %esi
	callq	_hb_fifo_init
	movq	(%r15), %rcx
	movq	_BUFFER_POOL_FIRST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rcx
	movl	$1024, (%rcx)                   ## imm = 0x400
	cmpq	$2, %rbx
	jb	LBB0_7
## %bb.1:
	movq	%rcx, 8(%rax)
	je	LBB0_7
## %bb.2:
	leaq	-2(%rbx), %rdx
	leaq	-3(%rbx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	movl	$2, %ecx
	cmpq	$3, %rsi
	jb	LBB0_5
## %bb.3:
	andq	$-4, %rdx
	negq	%rdx
	movl	$2, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movq	(%rsi,%rbx,8), %rdi
	movq	%rdi, (%rsi,%rcx,8)
	movq	(%r15), %rsi
	movq	(%rsi,%rbx,8), %rdi
	movq	%rdi, 8(%rsi,%rcx,8)
	movq	(%r15), %rsi
	movq	(%rsi,%rbx,8), %rdi
	movq	%rdi, 16(%rsi,%rcx,8)
	movq	(%r15), %rsi
	movq	(%rsi,%rbx,8), %rdi
	movq	%rdi, 24(%rsi,%rcx,8)
	leaq	(%rdx,%rcx), %rsi
	addq	$4, %rsi
	addq	$4, %rcx
	cmpq	$2, %rsi
	jne	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdx
	movq	(%rdx,%rbx,8), %rsi
	movq	%rsi, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_6
LBB0_7:
	incl	%ebx
	movq	_BUFFER_POOL_LAST@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jg	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_hb_fifo_init
	movslq	%ebx, %rcx
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r15), %rsi
	movq	%rax, (%rsi,%rcx,8)
	movq	(%r15), %rax
	movq	(%rax,%rcx,8), %rax
	movl	%edx, (%rax)
	leal	1(%rcx), %ebx
	cmpl	(%r12), %ebx
	jle	LBB0_8
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffers,32,3                   ## @buffers
	.comm	_BUFFER_POOL_MAX_ELEMENTS,4,2   ## @BUFFER_POOL_MAX_ELEMENTS
	.comm	_BUFFER_POOL_FIRST,8,3          ## @BUFFER_POOL_FIRST
	.comm	_BUFFER_POOL_LAST,4,2           ## @BUFFER_POOL_LAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_pool_init            ; -- Begin function hb_buffer_pool_init
	.p2align	2
_hb_buffer_pool_init:                   ; @hb_buffer_pool_init
	.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
	bl	_hb_lock_init
Lloh0:
	adrp	x19, _buffers@GOTPAGE
Lloh1:
	ldr	x19, [x19, _buffers@GOTPAGEOFF]
	str	w0, [x19, #24]
	str	xzr, [x19, #16]
Lloh2:
	adrp	x20, _BUFFER_POOL_MAX_ELEMENTS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _BUFFER_POOL_MAX_ELEMENTS@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	mov	w1, #1
	bl	_hb_fifo_init
	ldr	x9, [x19]
Lloh4:
	adrp	x8, _BUFFER_POOL_FIRST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BUFFER_POOL_FIRST@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	lsl	x10, x8, #3
	str	x0, [x9, x10]
	ldr	x9, [x19]
	ldr	x10, [x9, x10]
	mov	w11, #1024
	str	w11, [x10]
	cmp	x8, #2
	b.lo	LBB0_4
; %bb.1:
	str	x10, [x9, #8]
	b.eq	LBB0_4
; %bb.2:
	mov	w9, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19]
	ldr	x11, [x10, x8, lsl #3]
	str	x11, [x10, x9, lsl #3]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_4:
	add	w21, w8, #1
Lloh7:
	adrp	x22, _BUFFER_POOL_LAST@GOTPAGE
Lloh8:
	ldr	x22, [x22, _BUFFER_POOL_LAST@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.gt	LBB0_7
; %bb.5:
	mov	w23, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	w1, #1
	bl	_hb_fifo_init
	ldr	x8, [x19]
	sbfiz	x9, x21, #3, #32
	str	x0, [x8, x9]
	lsl	w8, w23, w21
	ldr	x10, [x19]
	ldr	x9, [x10, x9]
	str	w8, [x9]
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.le	LBB0_6
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_buffers,32,3                   ; @buffers
	.comm	_BUFFER_POOL_MAX_ELEMENTS,4,2   ; @BUFFER_POOL_MAX_ELEMENTS
	.comm	_BUFFER_POOL_FIRST,8,3          ; @BUFFER_POOL_FIRST
	.comm	_BUFFER_POOL_LAST,4,2           ; @BUFFER_POOL_LAST
.subsections_via_symbols
