	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gxv_morx_subtable_type2_ligActionIndex_validate
_gxv_morx_subtable_type2_ligActionIndex_validate: ## @gxv_morx_subtable_type2_ligActionIndex_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movslq	8(%rdx), %rax
	movq	(%rax), %rcx
	addq	%rcx, %rdi
	movq	_GXV_MORX_LIGACTION_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movslq	%esi, %rax
	imulq	%rdx, %rax
	leaq	(%rdi,%rax), %rbx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpq	%rax, %rcx
	jge	LBB0_5
## %bb.3:
	addq	%rcx, %rdi
	movq	%rbx, %rax
	subq	%rdi, %rax
	jmp	LBB0_4
LBB0_1:
	negq	%rax
LBB0_4:
	movq	%rax, %rdi
	callq	_GXV_TRACE
LBB0_5:
	movq	%rbx, %rdi
	callq	_FT_NEXT_ULONG
	movl	%eax, %ebx
	andl	$1073741823, %ebx               ## imm = 0x3FFFFFFF
	movq	%rbx, %rcx
	andq	$1073676288, %rcx               ## imm = 0x3FFF0000
	je	LBB0_9
## %bb.6:
	cmpl	$1073676288, %ecx               ## imm = 0x3FFF0000
	jne	LBB0_11
## %bb.7:
	movq	(%r14), %rcx
	movzwl	%bx, %edx
	cmpq	%rdx, (%rcx)
	jg	LBB0_8
LBB0_10:
	movzwl	%ax, %edi
	callq	_GXV_TRACE
	movq	_FT_INVALID_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GXV_SET_ERR_IF_PARANOID
LBB0_11:
	movq	%rbx, %rdi
	callq	_GXV_TRACE
	movq	_FT_INVALID_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_GXV_SET_ERR_IF_PARANOID        ## TAILCALL
LBB0_9:
	movq	(%r14), %rcx
	cmpq	%rbx, (%rcx)
	jle	LBB0_10
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GXV_MORX_LIGACTION_ENTRY_SIZE,4,2 ## @GXV_MORX_LIGACTION_ENTRY_SIZE
	.comm	_FT_INVALID_OFFSET,4,2          ## @FT_INVALID_OFFSET
	.no_dead_strip	_gxv_morx_subtable_type2_ligActionIndex_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gxv_morx_subtable_type2_ligActionIndex_validate
_gxv_morx_subtable_type2_ligActionIndex_validate: ; @gxv_morx_subtable_type2_ligActionIndex_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, x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldrsw	x8, [x2, #8]
Lloh0:
	adrp	x9, _GXV_MORX_LIGACTION_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GXV_MORX_LIGACTION_ENTRY_SIZE@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldrsw	x9, [x9]
	sxtw	x10, w1
	mul	x10, x9, x10
	add	x9, x8, x0
	add	x20, x9, x10
	tbnz	w10, #31, LBB0_3
; %bb.1:
	cmp	x8, x10
	b.ge	LBB0_5
; %bb.2:
	add	x8, x9, x8
	sub	x0, x20, x8
	b	LBB0_4
LBB0_3:
	neg	x0, x10
LBB0_4:
	bl	_GXV_TRACE
LBB0_5:
	mov	x0, x20
	bl	_FT_NEXT_ULONG
	and	w20, w0, #0x3fffffff
Lloh3:
	adrp	x21, _FT_INVALID_OFFSET@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FT_INVALID_OFFSET@GOTPAGEOFF]
	ands	x8, x20, #0x3fff0000
	b.eq	LBB0_10
; %bb.6:
	mov	w9, #1073676288
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, w20, uxth
	b.gt	LBB0_11
LBB0_8:
	and	w0, w0, #0xffff
	bl	_GXV_TRACE
	ldr	w0, [x21]
	bl	_GXV_SET_ERR_IF_PARANOID
LBB0_9:
	mov	x0, x20
	bl	_GXV_TRACE
	ldr	w0, [x21]
	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	_GXV_SET_ERR_IF_PARANOID
LBB0_10:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, x20
	b.le	LBB0_8
LBB0_11:
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GXV_MORX_LIGACTION_ENTRY_SIZE,4,2 ; @GXV_MORX_LIGACTION_ENTRY_SIZE
	.comm	_FT_INVALID_OFFSET,4,2          ; @FT_INVALID_OFFSET
	.no_dead_strip	_gxv_morx_subtable_type2_ligActionIndex_validate
.subsections_via_symbols
