	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_mask_table_merge
_ps_mask_table_merge:                   ## @ps_mask_table_merge
	.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
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	cmpq	%rdx, %rsi
	movq	%rdx, %r13
	cmovgq	%rsi, %r13
	movl	(%rax), %r15d
	cmovlq	%rsi, %rdx
	cmpq	%r13, %rdx
	jge	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	cmpq	(%rdi), %r13
	jge	LBB0_9
## %bb.2:
	movq	8(%r14), %rax
	leaq	(%rax,%r13), %rdi
	movq	(%rax,%r13), %rbx
	testq	%rbx, %rbx
	jle	LBB0_23
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rdx), %r12
	movq	(%rax,%rdx), %r14
	cmpq	%r14, %rbx
	jle	LBB0_7
## %bb.4:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_ps_mask_ensure
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_26
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ps_mask_clear_bit
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_5
## %bb.6:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	addq	$7, %rbx
	sarq	$3, %rbx
	movq	8(%r12), %rax
	movq	8(%rdi), %rcx
	cmpq	$2, %rbx
	movl	$1, %esi
	movl	$1, %r10d
	cmovgeq	%rbx, %r10
	cmpq	$8, %r10
	jb	LBB0_8
## %bb.10:
	cmpq	$2, %rbx
	cmovgeq	%rbx, %rsi
	leaq	(%rcx,%rsi,4), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_13
## %bb.11:
	leaq	(%rax,%rsi,4), %rsi
	cmpq	%rsi, %rcx
	jae	LBB0_13
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_21:
	incq	%rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx), %esi
	orl	%esi, (%rax,%rdx)
	addq	$4, %rdx
	decq	%rbx
	cmpq	$1, %rbx
	jg	LBB0_22
LBB0_23:
	movq	$0, (%rdi)
	movq	$0, 16(%rdi)
	movq	(%r14), %rax
	notq	%r13
	addq	%rax, %r13
	testq	%r13, %r13
	jle	LBB0_25
## %bb.24:
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -80(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)
	leaq	24(%rdi), %rsi
	shlq	$3, %r13
	leaq	(,%r13,2), %rbx
	addq	%r13, %rbx
	movq	%rbx, %rdx
	movq	%rdi, %r12
	callq	_ft_memmove
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, (%r12,%rbx)
	movq	-64(%rbp), %rax
	movq	%rax, 16(%r12,%rbx)
	movq	(%r14), %rax
LBB0_25:
	decq	%rax
	movq	%rax, (%r14)
	jmp	LBB0_26
LBB0_9:
	movq	%r13, %rdi
	callq	_FT_TRACE0
LBB0_26:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movabsq	$9223372036854775800, %r8       ## imm = 0x7FFFFFFFFFFFFFF8
	andq	%r10, %r8
	leaq	-8(%r8), %rsi
	movq	%rsi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rsi, %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:
	movq	%r9, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rdx,4), %xmm0
	movups	16(%rcx,%rdx,4), %xmm1
	movups	(%rax,%rdx,4), %xmm2
	orps	%xmm0, %xmm2
	movups	16(%rax,%rdx,4), %xmm0
	orps	%xmm1, %xmm0
	movups	32(%rax,%rdx,4), %xmm1
	movups	48(%rax,%rdx,4), %xmm3
	movups	%xmm2, (%rax,%rdx,4)
	movups	%xmm0, 16(%rax,%rdx,4)
	movups	32(%rcx,%rdx,4), %xmm0
	orps	%xmm1, %xmm0
	movups	48(%rcx,%rdx,4), %xmm1
	orps	%xmm3, %xmm1
	movups	%xmm0, 32(%rax,%rdx,4)
	movups	%xmm1, 48(%rax,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rsi
	jne	LBB0_15
	jmp	LBB0_17
LBB0_16:
	xorl	%edx, %edx
LBB0_17:
	testb	$1, %r9b
	je	LBB0_19
## %bb.18:
	movups	(%rax,%rdx,4), %xmm0
	movups	16(%rax,%rdx,4), %xmm1
	movups	(%rcx,%rdx,4), %xmm2
	orps	%xmm0, %xmm2
	movups	16(%rcx,%rdx,4), %xmm0
	orps	%xmm1, %xmm0
	movups	%xmm2, (%rax,%rdx,4)
	movups	%xmm0, 16(%rax,%rdx,4)
LBB0_19:
	cmpq	%r8, %r10
	je	LBB0_23
## %bb.20:
	leaq	(%rax,%r8,4), %rax
	leaq	(%rcx,%r8,4), %rcx
	subq	%r8, %rbx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.no_dead_strip	_ps_mask_table_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_mask_table_merge
_ps_mask_table_merge:                   ; @ps_mask_table_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	cmp	x1, x2
	csel	x22, x1, x2, gt
	csel	x8, x1, x2, lt
	cmp	x8, x22
	b.ge	LBB0_17
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0]
	cmp	x22, x9
	b.ge	LBB0_17
; %bb.2:
	ldr	x9, [x19, #8]
	add	x21, x9, x22
	ldr	x23, [x21]
	cmp	x23, #1
	b.lt	LBB0_14
; %bb.3:
	add	x24, x9, x8
	ldr	x25, [x24]
	cmp	x23, x25
	b.le	LBB0_7
; %bb.4:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x3
	bl	_ps_mask_ensure
	mov	x20, x0
	cbnz	w0, LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_ps_mask_clear_bit
	add	x25, x25, #1
	cmp	x23, x25
	b.ne	LBB0_5
; %bb.6:
	mov	w20, #0
LBB0_7:
	add	x8, x23, #7
	asr	x8, x8, #3
	ldr	x9, [x24, #8]
	ldr	x11, [x21, #8]
	cmp	x8, #1
	csinc	x10, x8, xzr, gt
	cmp	x10, #16
	b.lo	LBB0_12
; %bb.8:
	cmp	x8, #1
	csinc	x12, x8, xzr, gt
	lsl	x12, x12, #2
	add	x13, x9, x12
	add	x12, x11, x12
	cmp	x9, x12
	ccmp	x11, x13, #2, lo
	b.lo	LBB0_12
; %bb.9:
	and	x12, x10, #0x7ffffffffffffff0
	lsl	x14, x12, #2
	add	x13, x9, x14
	add	x14, x11, x14
	sub	x8, x8, x12
	add	x9, x9, #32
	add	x11, x11, #32
	mov	x15, x12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9]
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x15, x15, #16
	b.ne	LBB0_10
; %bb.11:
	mov	x9, x13
	mov	x11, x14
	cmp	x10, x12
	b.eq	LBB0_14
LBB0_12:
	add	x8, x8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x11], #4
	ldr	w12, [x9]
	orr	w10, w10, w12
	str	w10, [x9], #4
	sub	x8, x8, #1
	cmp	x8, #1
	b.gt	LBB0_13
LBB0_14:
	str	xzr, [x21]
	str	xzr, [x21, #16]
	ldr	x8, [x19]
	mvn	x9, x22
	add	x9, x8, x9
	cmp	x9, #1
	b.lt	LBB0_16
; %bb.15:
	ldr	q0, [x21]
	str	q0, [sp]
	ldr	x8, [x21, #16]
	str	x8, [sp, #16]
	add	x1, x21, #24
	add	x8, x9, x9, lsl #1
	lsl	x22, x8, #3
	mov	x0, x21
	mov	x2, x22
	bl	_ft_memmove
	add	x8, x21, x22
	ldr	q0, [sp]
	str	q0, [x8]
	ldr	x9, [sp, #16]
	str	x9, [x8, #16]
	ldr	x8, [x19]
LBB0_16:
	sub	x8, x8, #1
	str	x8, [x19]
	b	LBB0_18
LBB0_17:
	mov	x0, x22
	bl	_FT_TRACE0
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.no_dead_strip	_ps_mask_table_merge
.subsections_via_symbols
