	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bdf_list_ensure
__bdf_list_ensure:                      ## @_bdf_list_ensure
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	(%rdi), %rsi
	cmpq	%rax, %rsi
	jae	LBB0_4
## %bb.1:
	movq	_FT_INT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shrq	$3, %rax
	cmpq	%rax, %rsi
	jne	LBB0_2
## %bb.5:
	movq	_Out_Of_Memory@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FT_THROW                       ## TAILCALL
LBB0_2:
	movq	%rdi, %rbx
	movq	%rsi, %rcx
	shrq	%rcx
	addq	%rsi, %rcx
	addq	$5, %rcx
	cmpq	%rax, %rcx
	movq	%rcx, %r15
	cmovaq	%rax, %r15
	cmpq	%rsi, %rcx
	cmovbq	%rax, %r15
	movl	8(%rdi), %edi
	movq	%r15, %rdx
	callq	_FT_RENEW_ARRAY
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_FT_INT_MAX,4,2                 ## @FT_INT_MAX
	.comm	_Out_Of_Memory,4,2              ## @Out_Of_Memory
	.no_dead_strip	__bdf_list_ensure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bdf_list_ensure
__bdf_list_ensure:                      ; @_bdf_list_ensure
	.cfi_startproc
; %bb.0:
	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	x8, x1
Lloh0:
	adrp	x9, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x9]
	ldr	x1, [x0]
	cmp	x1, x8
	b.hs	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _FT_INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FT_INT_MAX@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	lsr	x8, x8, #3
	cmp	x1, x8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _Out_Of_Memory@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Out_Of_Memory@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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
	b	_FT_THROW
LBB0_3:
	mov	x20, x0
	add	x9, x1, x1, lsr #1
	add	x9, x9, #5
	cmp	x9, x8
	ccmp	x9, x1, #0, ls
	csel	x21, x8, x9, lo
	ldr	w0, [x0, #8]
	mov	x2, x21
	bl	_FT_RENEW_ARRAY
	cbnz	x0, LBB0_5
; %bb.4:
	str	x21, [x20]
LBB0_5:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_FT_INT_MAX,4,2                 ; @FT_INT_MAX
	.comm	_Out_Of_Memory,4,2              ; @Out_Of_Memory
	.no_dead_strip	__bdf_list_ensure
.subsections_via_symbols
