	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_dimension_add_t1stem
_ps_dimension_add_t1stem:               ## @ps_dimension_add_t1stem
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	xorl	%esi, %esi
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	testq	%r8, %r8
	je	LBB0_4
LBB0_3:
	movl	$-1, (%r8)
LBB0_4:
	movq	8(%r12), %rcx
	movq	16(%r12), %rax
	testq	%rcx, %rcx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jle	LBB0_5
## %bb.6:
	movq	%rcx, %rdx
	shlq	$4, %rdx
	addq	%rax, %rdx
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	addq	$16, %rax
	cmpq	%r14, %rcx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r13d, 4(%rax)
	jne	LBB0_9
## %bb.13:
	movq	%rax, -48(%rbp)
	jmp	LBB0_14
LBB0_10:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rax
	movq	%rcx, %r14
	jmp	LBB0_11
LBB0_1:
	leal	-21(%rbx), %eax
	cmpl	$-21, %r13d
	cmovnel	%ebx, %eax
	movq	_PS_HINT_FLAG_BOTTOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmovneq	%rsi, %rcx
	movq	_PS_HINT_FLAG_GHOST@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	xorl	%r13d, %r13d
	movl	%eax, %ebx
	movq	%rcx, %rsi
	testq	%r8, %r8
	jne	LBB0_3
	jmp	LBB0_4
LBB0_5:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
LBB0_11:
	leaq	8(%r12), %rdi
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movl	%r15d, %esi
	callq	_ps_hint_table_alloc
	testl	%eax, %eax
	jne	LBB0_18
## %bb.12:
	movq	-48(%rbp), %rax
	movl	%ebx, (%rax)
	movl	%r13d, 4(%rax)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
LBB0_14:
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_ps_mask_table_last
	testl	%eax, %eax
	jne	LBB0_18
## %bb.15:
	movl	-52(%rbp), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ps_mask_set_bit
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.16:
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, (%rcx)
	xorl	%eax, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_PS_HINT_FLAG_GHOST,8,3         ## @PS_HINT_FLAG_GHOST
	.comm	_PS_HINT_FLAG_BOTTOM,8,3        ## @PS_HINT_FLAG_BOTTOM
	.no_dead_strip	_ps_dimension_add_t1stem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_dimension_add_t1stem
_ps_dimension_add_t1stem:               ; @ps_dimension_add_t1stem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	tbnz	w2, #31, LBB0_10
; %bb.1:
	mov	x25, #0
	cbz	x19, LBB0_3
LBB0_2:
	mov	w8, #-1
	str	w8, [x19]
LBB0_3:
	mov	x0, x21
	ldp	x9, x8, [x0, #8]!
	cmp	x9, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x24, #0
	add	x10, x8, x9, lsl #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	add	x8, x8, #16
	cmp	x9, x24
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	cmp	w11, w22
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w11, [x8, #4]
	cmp	w11, w23
	b.ne	LBB0_5
; %bb.8:
	str	x8, [sp]
	b	LBB0_14
LBB0_9:
	mov	x8, x10
	mov	x24, x9
	b	LBB0_12
LBB0_10:
Lloh0:
	adrp	x8, _PS_HINT_FLAG_GHOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS_HINT_FLAG_GHOST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PS_HINT_FLAG_BOTTOM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PS_HINT_FLAG_BOTTOM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w10, w22, #21
	cmn	w23, #21
	csel	w22, w10, w22, eq
	csel	x9, x9, xzr, eq
	orr	x25, x9, x8
	mov	w23, #0
	cbnz	x19, LBB0_2
	b	LBB0_3
LBB0_11:
	mov	x24, #0
LBB0_12:
	str	x8, [sp]
	mov	x2, sp
	mov	x1, x20
	bl	_ps_hint_table_alloc
	cbnz	w0, LBB0_18
; %bb.13:
	ldr	x8, [sp]
	stp	w22, w23, [x8]
	str	x25, [x8, #8]
LBB0_14:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_ps_mask_table_last
	cbnz	w0, LBB0_18
; %bb.15:
	ldr	w0, [sp, #12]
	mov	x1, x24
	mov	x2, x20
	bl	_ps_mask_set_bit
	cbz	x19, LBB0_18
; %bb.16:
	cbnz	w0, LBB0_18
; %bb.17:
	str	w24, [x19]
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_PS_HINT_FLAG_GHOST,8,3         ; @PS_HINT_FLAG_GHOST
	.comm	_PS_HINT_FLAG_BOTTOM,8,3        ; @PS_HINT_FLAG_BOTTOM
	.no_dead_strip	_ps_dimension_add_t1stem
.subsections_via_symbols
