	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function otv_ChainContextSubst_validate
_otv_ChainContextSubst_validate:        ## @otv_ChainContextSubst_validate
	.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
	movq	%rsi, %r14
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_OTV_NAME_ENTER
	movl	$2, %edi
	callq	_OTV_LIMIT_CHECK
	movl	%r15d, %edi
	callq	_FT_NEXT_USHORT
	movl	%eax, %r12d
	movslq	%eax, %rbx
	movq	%rbx, %rdi
	callq	_OTV_TRACE
	cmpl	$3, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$2, %r12d
	je	LBB0_4
## %bb.2:
	cmpl	$1, %r12d
	jne	LBB0_8
## %bb.3:
	movl	(%r14), %eax
	movl	%eax, 4(%r14)
	movq	_ChainContextSubstFormat1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ChainSubRuleSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ChainSubRule@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_ChainContextSubstFormat3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OTV_NEST1
	jmp	LBB0_7
LBB0_4:
	movq	_ChainContextSubstFormat2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ChainSubClassSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ChainSubClassRule@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	callq	_OTV_NEST3
LBB0_7:
	movl	%r15d, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OTV_RUN                        ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ChainContextSubst"

	.comm	_ChainContextSubstFormat1,4,2   ## @ChainContextSubstFormat1
	.comm	_ChainSubRuleSet,4,2            ## @ChainSubRuleSet
	.comm	_ChainSubRule,4,2               ## @ChainSubRule
	.comm	_ChainContextSubstFormat2,4,2   ## @ChainContextSubstFormat2
	.comm	_ChainSubClassSet,4,2           ## @ChainSubClassSet
	.comm	_ChainSubClassRule,4,2          ## @ChainSubClassRule
	.comm	_ChainContextSubstFormat3,4,2   ## @ChainContextSubstFormat3
	.comm	_FT_INVALID_FORMAT,4,2          ## @FT_INVALID_FORMAT
	.comm	_OTV_EXIT,4,2                   ## @OTV_EXIT
	.no_dead_strip	_otv_ChainContextSubst_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function otv_ChainContextSubst_validate
_otv_ChainContextSubst_validate:        ; @otv_ChainContextSubst_validate
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_OTV_NAME_ENTER
	mov	w0, #2
	bl	_OTV_LIMIT_CHECK
	mov	x0, x20
	bl	_FT_NEXT_USHORT
	mov	x21, x0
	sxtw	x0, w21
	bl	_OTV_TRACE
	cmp	w21, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #1
	b.ne	LBB0_8
; %bb.3:
	ldr	w8, [x19]
	str	w8, [x19, #4]
Lloh2:
	adrp	x8, _ChainContextSubstFormat1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ChainContextSubstFormat1@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ChainSubRuleSet@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ChainSubRuleSet@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _ChainSubRule@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ChainSubRule@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _ChainContextSubstFormat3@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ChainContextSubstFormat3@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_OTV_NEST1
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _ChainContextSubstFormat2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ChainContextSubstFormat2@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _ChainSubClassSet@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ChainSubClassSet@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _ChainSubClassRule@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ChainSubClassRule@GOTPAGEOFF]
LBB0_6:
	ldr	w2, [x8]
	bl	_OTV_NEST3
LBB0_7:
	mov	x0, x20
	mov	x1, 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
	b	_OTV_RUN
LBB0_8:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ChainContextSubst"

	.comm	_ChainContextSubstFormat1,4,2   ; @ChainContextSubstFormat1
	.comm	_ChainSubRuleSet,4,2            ; @ChainSubRuleSet
	.comm	_ChainSubRule,4,2               ; @ChainSubRule
	.comm	_ChainContextSubstFormat2,4,2   ; @ChainContextSubstFormat2
	.comm	_ChainSubClassSet,4,2           ; @ChainSubClassSet
	.comm	_ChainSubClassRule,4,2          ; @ChainSubClassRule
	.comm	_ChainContextSubstFormat3,4,2   ; @ChainContextSubstFormat3
	.comm	_FT_INVALID_FORMAT,4,2          ; @FT_INVALID_FORMAT
	.comm	_OTV_EXIT,4,2                   ; @OTV_EXIT
	.no_dead_strip	_otv_ChainContextSubst_validate
.subsections_via_symbols
