	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_mask_ensure
_ps_mask_ensure:                        ## @ps_mask_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	addl	$7, %ebx
	sarl	$3, %ebx
	addl	$7, %esi
	sarl	$3, %esi
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	%ebx, %esi
	jle	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	movl	%esi, %edi
	movl	$8, %esi
	callq	_FT_PAD_CEIL
	movl	%eax, %r12d
	movl	4(%r15), %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_FT_RENEW_ARRAY
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	shll	$3, %r12d
	movl	%r12d, (%r15)
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.no_dead_strip	_ps_mask_ensure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_mask_ensure
_ps_mask_ensure:                        ; @ps_mask_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	x19, x0
	ldr	w8, [x0]
	add	w8, w8, #7
	asr	w21, w8, #3
	add	w8, w1, #7
	asr	w0, w8, #3
Lloh0:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	cmp	w0, w21
	b.le	LBB0_3
; %bb.1:
	mov	w1, #8
	bl	_FT_PAD_CEIL
	mov	x22, x0
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x22
	bl	_FT_RENEW_ARRAY
	cbnz	w0, LBB0_3
; %bb.2:
	lsl	w8, w22, #3
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.no_dead_strip	_ps_mask_ensure
.subsections_via_symbols
